1. An electronic device comprising:
a fingerprint detector; and
circuitry configured to execute a first function when a detected fingerprint substantially coincides with a first fingerprint from a plurality of registered fingerprints of a user, and to execute a second function different from the first function when a detected fingerprint substantially coincides with a second fingerprint different from the first fingerprint from a plurality of registered fingerprints of the user.
2. The electronic device according to claim 1, wherein
the circuitry is further configured to execute authentication based on a detected fingerprint, wherein the circuitry is further configured to execute:
the first function when a detected fingerprint substantially coincides with the first fingerprint and the authentication of the user succeeds;
the second function when a detected fingerprint substantially coincides with the second fingerprint and the authentication succeeds; and
restriction of at least one of the first function and the second function when the authentication fails or is not executed.
3. The electronic device according to claim 2, wherein the circuitry is further configured to execute a third function, prior to the execution of the first function or the second function respectively when the authentication succeeds.
4. The electronic device according to claims 1, wherein the circuitry is further configured to preset a distinct function to each of the plurality of registered functions corresponding to the plurality of registered fingerprints.
5. The electronic device according to claims 1, wherein the circuitry is further configured to execute a preset function when a detected fingerprint does not coincide with any of the plurality of registered fingerprints.
6. A method executed in an electronic device comprising:
detecting a fingerprint by a detector,
executing a first function when a detected fingerprint substantially coincides with a first fingerprint from a plurality of registered fingerprints of a user; and
executing a second function different from the first function when a detected fingerprint substantially coincides with a second fingerprint different from the first fingerprint from a plurality of registered fingerprints of the user.
7. The method according to claim 6, further comprising:
executing authentication based on a detected fingerprint;
executing the first function when a detected fingerprint substantially coincides with the first fingerprint and the authentication of the user succeeds;
executing the second function when a detected fingerprint substantially coincides with the second fingerprint and the authentication succeeds; and
restricting execution of at least one of the first function and the second function when the authentication failed or is not executed.
8. The method according to claim 7, further executing a third function, prior to the execution of the first function or the second function respectively when the authentication succeeds.
9. The method according to claims 6, wherein presetting a distinct function to each of the plurality of registered functions corresponding to the plurality of registered fingerprints.
10. The method according to claims 6, further executing a preset function when a detected fingerprint does not coincide with any of the plurality of registered fingerprints.
11. A computer program product having a non-transitory computer readable medium including programmed instructions for controlling an electronic device capable to detect a fingerprint, wherein the instructions, when executed by a computer, cause the computer to execute:
a first function when a detected fingerprint substantially coincides with a first fingerprint from a plurality of registered fingerprints of a user; and
a second function different from the first function when a detected fingerprint substantially coincides with a second fingerprint different from the first fingerprint from a plurality of registered fingerprints of the user.
12. The computer program product according to claim 11, wherein the instructions further cause the computer to execute:
authentication based on a detected fingerprint;
the first function when a detected fingerprint substantially coincides with the first fingerprints and the authentication of the user succeeds;
the second function when a detected fingerprint substantially coincides with the second fingerprint and the authentication succeeds; and
restriction of at least one of the first function and the second function when the authentication fails or is not executed.
13. The computer program product according to claim 12, wherein the instructions further cause the computer to execute a third function, prior to the execution of the first function or the second function respectively when the authentication succeeds.
14. The computer program product according to claims 11, wherein the instructions further cause the computer to execute to preset a distinct function to each of the plurality of registered functions corresponding to the plurality of registered fingerprints.
15. The computer program product according to claims 11, wherein the instructions further cause the computer to execute a preset function when a detected fingerprint does not coincide with any of the plurality of registered fingerprints.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. Process for the preparation of 2-(diphenylmethyl)thioacetamide a compound of formula (I) comprising reacting 2-(diphenylmethyl)thioacetic acid, a compound of formula (III) with alcohols, in presence of catalytic amount of inorganic acid or organic acid at reflux temperature of alcohol to obtain ester of formula (V) which is reacted with ammonia to give 2-(diphenylmethyl)thioacetamide
2. Process according to claim 1, wherein R is an alkyl group with 1 to 6 carbon atoms and if desired 2-(diphenylmethyl)thioacetamide thus produced is reacted with hydrogen peroxide to produce Modafinil, a compound of formula (II).
3. Process according to claim 1, wherein said ammonia is added to said ester in-situ.
4. Process according to claim 1, wherein said ammonia is added to ester after isolating the said ester from the reaction mixture.
5. Process according to claim 1, wherein the said alcohol is selected from alcohols with alkyl groups with one to six carbon atoms.
6. Process according to claim 4, wherein the said alcohol is selected from methanol, ethanol, n-propanol or n-butanol.
7. Process according to claim 5, wherein the said alcohol is selected preferably from methanol and ethanol.
8. Process according to claim 1, wherein the said inorganic acid is selected from mineral acids.
9. Process according to claim 7, wherein the said mineral acid is selected from conc. H2SO4 and HCl.
10. Process according to claim 1, wherein the said organic acids are selected from alkyl and aryl sulphonic acids and their derivatives.
11. Process according to claim 9, wherein the said sulphonic acids are selected from p-toluenesulphonic acid and methanesulphonic acid.
12. Process according to claim 1, wherein the said ammonia is purged into the solution of ester (V) in alcohol.
13. Process according to claim 1, wherein said ammonia is alcoholic ammonia.
14. Process according to claim 12, wherein the said alcoholic ammonia is prepared by passing ammonia through alcohols, preferably through methanol and ethanol before reaction.
15. Process according to claim 1, wherein the pressure of said ammonia is maintained at 0 to 6 kg , preferably 1.5-2 kg.
16. Process according to claim 1 wherein, the temperature for preparing 2-(diphenylmethyl)thioacetamide is maintained at 20-80\xb0 C. preferably 25-35\xb0 C.
17. (canceled)