Summary of the invention
The technical problem to be solved in the present invention is, a kind of login method of new smart mobile phone is provided for smart mobile phone, can uses for the multi-user, each user can have different authorities, the unshared information content that is isolated from each other, thus fail safe and the practicality of mobile phone improved.Another technical problem that will solve of the present invention provides a kind of multi-user's smart mobile phone.
The above-mentioned technical problem of the present invention solves like this, construct a kind of multi-user's smart mobile phone login method, described smart mobile phone comprises microprocessor, the input and output interactive interface and the memory that are connected with microprocessor respectively, it is characterized in that, in described memory stores multi-user's configuration file is arranged, wherein dispose user name for each user, login username, login password, exclusive user folder, described exclusive user folder comprises exclusive address list file, exclusive message registration file, exclusive short message file, exclusive system parameters, dedicated programs and exclusive data file; Described exclusive system parameters comprises acquiescence time zone, default language, acquiescence the tinkle of bells, acquiescence screen protection;
Described microprocessor is carried out following steps when described smart mobile phone powers up or resets:
S1) determine user name by the input and output interactive interface;
S2) if determine username good, from described memory, load exclusive address list file, exclusive message registration file, exclusive short message file, exclusive system parameters, dedicated programs and the exclusive data file of active user's exclusive user file underedge under one's name in multi-user's configuration file;
S3) user name mistake or password mistake then start the GPS unit as in limiting number of times or limiting time, determining, the GPS positional information is sent to mailbox or other recipients who sets in advance.
In the above-mentioned multi-user's smart mobile phone of the present invention login method, described step S1 may further comprise the steps:
S11) display password input picture on the input and output interactive interface;
S12) input of reception login password information;
S13) in multi-user's configuration file, search the login password information login username identical with the input login password;
S14) such as the login username of only having of coupling, then determine user corresponding to this login username current user name by name;
S15) such as the more than one login username that has of coupling, then be called current user name with user corresponding to the user login name of user's input;
S16) as not finding the login username of coupling, make mistakes number of times or time are added up, as make mistakes number of times or time exceed pre-determined number or time, then determine user name mistake or password mistake.
In the above-mentioned multi-user's smart mobile phone of the present invention login method, described step S12) adopt character password input, graphical passwords input, finger-print cipher input or face characteristic as login password information in.
In the above-mentioned multi-user's smart mobile phone of the present invention login method, described step S3 also comprises and starts the front camera, sends to the mailbox that sets in advance or other recipients' step with photographing photo.
In the above-mentioned multi-user's smart mobile phone of the present invention login method, store the global address list file in the described memory, share the message registration file, share the short message file, share application program and shared data file, wherein, each record in the global address list file, share each record in the message registration file, share each record in the short message file, each shared application program and each shared data file have respectively a shared attribute that can record a plurality of user names, comprise current user name as sharing in the attribute, this record of global address list file institute mark, share this record of institute's mark in the message registration file, share this record of institute's mark in the short message file, and this shared application program and this shared data file that this user name mark is arranged, belong to the exclusive of current user name.
The present invention also provides a kind of smart mobile phone that uses above-mentioned login method.
Implement multi-user's smart mobile phone provided by the invention and login method thereof, this method and mobile phone can allow the mobile phone holder use mobile phone with different user (account) name, unshared data and program are isolated from each other between the account, both satisfied fail safe, prevent that important information from leaking, satisfy again instructions for use under the special occasions, do not know that password does not affect the basic use of mobile phone, also can reduce energy consumption yet.In addition, when the present invention has also designed certain number of times or interior password of time or user name input error, the automatic activation safe mode, automatically the report mobile phone was given the recipient who sets in advance in the position at that time, illegal login is as occuring in the mobile phone login process like this, and the face photo that can notify the mobile phone position at once even report illegal registrant is to the recipient who sets in advance.The present invention considers the saving login time, only adopts under normal circumstances password login, and need not input login username, has saved the time; Password can adopt can identify figure login, the track password form of 9 lattice or 16 lattice for example, and like this, register is both quick, and is interesting again.Based on this shortcoming, can be configured to many accounts to mobile phone and log in.Different user uses mobile phone like this, sees the application program of different accounts, address list, the information such as note.
Log in by allowing that mobile phone is configured to many accounts, timely so different user uses same mobile phone, also sees own account application program in addition, address list, the information such as note.
Method of the present invention adopts to mobile phone and configures many accounts login function; allow different user pass through figure release interface; finger marks different patterns; perhaps input different passwords and enter the different account of mobile phone; so both can the quick release mobile phone; also can enter fast different accounts, the protection privacy of user prevents that important information from leaking.
The present invention adopts to mobile phone and configures many accounts login function; allow different user pass through figure release interface; finger marks different patterns; perhaps input different passwords and enter the different account of mobile phone; so both can the quick release mobile phone; also can enter fast different accounts, the protection privacy of user prevents that important information from leaking.
Embodiment
The present invention is provided with many accounts or multi-user's mechanism in an operating system, the smart mobile phone of many accounts mechanism that the present invention proposes, such as Fig. 1, comprisemicroprocessor 1, the input and outputinteractive interface 2 that is connected withmicroprocessor 1 respectively,communication unit 5,GPS unit 6, be contained in input and outputinteractive unit 2,camera 7 andmemory 3, whereincamera 7 is contained in the phone housing and outwards takes, namely when the bad password number of times is too much, take the illegal mobile phone person that uses, and the data upload that provides with the GPS unit is to default recipient.The input and output interactive unit can be to have to show and the touch-screen of input function, also can be the combination of display screen and button, also can be camera+keyboard or finger scan+keyboard as input unit, display screen as output unit.As long as can realize man-machine information interaction by requirement of system design.
In the smart mobile phone of implementing the inventive method the first embodiment, atmemory 3, can the time external memory storage, storemulti-user's configuration file 4 of supporting the inventive method, the content of thismulti-user's configuration file 4 and form can have different choice, but be at least the user (account) more than 2 or 2, preserve user name, login username, login password, exclusive user folder, user name is the internal system sign, can set in advance a user name " admin " when dispatching from the factory, this user name has the whole authorities of system, comprises the authority of sharing whole resources, comprises the authority that increases or delete New Consumers (account).Login username is the title of externally using, can be consistent with user name, also can be inconsistent, the title of input or demonstration is login username normally, then can there be different forms to select with user's id. login password by name in the system, can be traditional numeral or character style, it also can be discernible figure input form, for example, the track input of 9 lattice or 25 lattice, also can be to adopt fingerprint recognition as password, as long as when login password is set, determine the password of that a kind of form, and set and preserve by this form and get final product.Also provide this user's exclusive user folder in multi-user's configuration file for each user (account), exclusive at least address list file, exclusive message registration file, exclusive short message file, exclusive system parameters, dedicated programs and exclusive data file in this file; Wherein, exclusive address list is that this user (account) is proprietary, when the active user is a, when receiving incoming call, if the caller is " Zhang San " in the exclusive address list of a, this moment caller identification be " Zhang San ", on the contrary, in the exclusive address list that is not included in the active user, then caller identification is concrete telephone number.Same, that the active user can be by its number of name look-up also can only be the people who belongs in the exclusive address list.Exclusive message registration is exactly that the active user can only see oneself for during the active user, and the situation of calling is transferred to or received to mobile phone, and can not see the call scenarios of other users between the operating period.The effect of exclusive short message file also is the same, and the active user can only see that its duration of work is received or the record of the short message that sends, can not see during the short message record that produces when other users (account) use; Exclusive system parameters comprises acquiescence time zone, default language, acquiescence the tinkle of bells, Default Subject, is active user institute exclusive.For example, casual user by the work of time zone, North America, can be after the start login, there is smart mobile phone will be shown as the current time time in time zone, North America according to exclusive system parameters, equally, each user can arrange the tinkle of bells, theme, the language of liking, and behind the login mobile phone, these exclusive settings are automatically come into force.Dedicated programs refers to the operable dedicated programs of user, and these dedicated programs can download and install voluntarily by the active user, also can have the system manager to download but the application program shared by the sharer is set it can be used.By such setting, can reduce unnecessary system loading, even same person, during working, as the user is set for " work ", the application of selecting is only relevant with work, program quantity can be seldom, like this login speed is fast, and application program loads less and occupying system resources is also few, and After Hours available " life " user name login, then need not the relevant and heartily amusement of concern work, thereby the reasonable arrangement a good life guarantees data security, and exclusive data file comprises that the active user moves the needed user data of dedicated programs.
In smart mobile phone, be provided with aftermulti-user's configuration file 4, whenmicroprocessor 1 is carried out multi-user logging method provided by the invention when mobile phone powers up or reset, in conjunction with Fig. 3, can see, specifically whole process can be divided into three link.One, determines the active user; If two active users determine, then enter this current user's exclusive registration and exclusive operation; If three active users can not determine, then start the smart mobile phone security alarm.
The step of determining the active user is as follows:
1) shows login password input picture at input and outputinteractive interface 2.
Use for the first time if dispatch from the factory, what occurred this moment can be common character password input mode, first user name and login username that mobile phone is accepted are exactly " admin ", " admin " initial setting up password producer provides, after the initial log, system's meeting proposed amendments password, the acquiescence form of the shape of login password is the figure input at this moment, certainly, the login password form of acquiescence can reset to make amendment.And when logining for the second time in system, the password form is graphics mode.For example, the grid form of 3*3 or 4*4 or 5*5, the user only order when arranging inputs, and just satisfies requirement, when for example using 4*4 grid trace graphics input login password, if password is set to (1,2), (2,1), (3,3), (4, also should by this order, otherwise will not identify when 4) then inputting; Login password can adopt character password input, graphical passwords input, finger-print cipher input or face characteristic as login password information.As adopt finger-print cipher, then require the microprocessor of smart mobile phone also to be connected withfingerprint identification module 8, as shown in Figure 2.
2) receive the input of login password information at input and outputinteractive interface 2.
For example, as adopt differentiable graphical passwords input, whenprevious step demonstration 4*4 grid as shown in Figure 3 carried out the login password input of trace graphics form, the input and outputinteractive unit 2 of 1 pair of touch screen of microprocessor scanned recognition, as above routine, the well-behaved graphical passwords that recognition is arrived input is (1,2), (2,1), (3,3), (4,4), as shown in Figure 3, these data are delivered to microprocessor from input and outputinteractive unit 2;
Whether 3)microprocessor 1 is searched inmulti-user's configuration file 4 corresponding login user, here is exactly to check the identical user name of trace graphics login password data is arranged, and finding the login password information number that encrypted message is identical therewith is n; If do not allow different user to adopt different passwords, then can guarantee to only have at most a login user corresponding with login password; The present invention adopts input password rather than input login username and login password, can save the time of user login operation, and login time shortens in the time of also, and simultaneously, the input mode of login password is also very approaching with the operation of removing the screen lock.
4) login username of only having as mating, be n=1, then determine user corresponding to this login username current user name by name, do not allow to arrange under the situation of identical login password for different user, this is unique correct outlet, and other have been the password mistake then;
5) as allowing different login users that identical login password is arranged, this step will be selected one and be current user name in 2 of coupling or 2 above login username, specific practice is exactly the user login name by input and output interactive unit input family input, as identical with one of login username more than 2 or 2 of mating, the corresponding user name of this user login name is counted current user name;
6) as li do not find the login username of coupling instep 3, or instep 5 li, the mistake during login username of input then adds up make mistakes number of times or time, as make mistakes number of times or time exceed pre-determined number or time, then determine user name mistake or password mistake.
Second link if the active user is definite, then enters this current user's exclusive registration and exclusive operation, and its specific implementation step is as follows:
If determine username good, frommemory 3, load the following content of active user's exclusive user file underedge under one's name in multi-user's configuration file 4:
1) exclusive address list file;
2) exclusive message registration file;
3) exclusive short message file;
4) exclusive system parameters;
5) dedicated programs, and
6) exclusive data file;
These a little files can be distinguished independent the existence, also can be included in the global address list file in thememory 3, share the message registration file, share the short message file, share in application program and the shared data file, at this moment, each record in the global address list file, share each record in the message registration file, share each record in the short message file, each shared application program and each shared data file have respectively a shared attribute that can record a plurality of user names, comprise current user name as sharing in the attribute, this record of global address list file institute mark, share this record of institute's mark in the message registration file, share this record of institute's mark in the short message file, and this shared application program and this shared data file that this user name mark is arranged, belong to the exclusive of current user name.
Be exemplified below table, establishing global address list has four records
| Name | Mobile phone | Office telephone | Home Telephone | Share attribute |
| Zhang San | 1300291234 | 8721231 | | Liang,wang |
| Li Si | 1360291238 | | 3218990 | Liang |
| JOHN | 1380221235 | | | xuj |
| Zhao is large | 1390294321 | | 8287230 | wang |
As above table sharing in the attribute, three user name Liang, wang and xuj have occurred, wherein Zhang San's information can be Liang, wang in the address list, Li Si's information can be Liang and shares, and the information of JOHN can be xuj and shares, and the information that Zhao is large can be wang and shares.In other words, for Liang, its exclusive address list file is the address list that only comprises 2 records of Zhang San, Li Si.Such as active user Liang by name, just only has the address list such as the following table content in the address list that he can see.
| Name | Mobile phone | Office telephone | Home Telephone |
| Zhang San | 1300291234 | 8721231 | |
| Li Si | 1360291238 | | 3218990 |
Similarly, message registration file, short message file etc. all have dual mode to realize.Unique file or public documents additive attribute mark.
After loading end, operation smart mobile phone kernel program allows exclusive system parameters come into force, and system parameters comprises acquiescence time zone, default language, acquiescence the tinkle of bells etc.
Three link, if the active user can not determine, then start the smart mobile phone security alarm.Detailed process is described as follows;
In the limiting time (setting of this number of times or time can allow the user revise) such as the restriction number of times that arranges in system or system's regulation,microprocessor 1 does not obtain the correct user name of determining from input and outputinteractive unit 2, the manipulator of explanation mobile phone this moment may be illegal so, therefore, security alarm function when login method of the present invention is provided with user name mistake or password mistake, specifically carry out following steps:
1) start figure GPS unit 6 (Fig. 1), obtain current location information from GPS unit, deliver tomicroprocessor 1,
2) obtained security information recipient's information in the exclusive system parameters bymicroprocessor 1, for example, phone number, mail or other;
3) with this phone number or this mobile phone current user name, add that comprising positional information that the GPS unit provides etc. sends to mailbox or mobile phone or other recipients who sets in advance at interior people's warning message with note or mail or other modes.
In the inventive method above-described embodiment, can allow the user enter cell phone system with different accounts fast, the quick release mobile phone is realized multi-user operation, and can prevent that private information from leaking, and promotes the user and experiences.
In another embodiment of the present invention, such as Fig. 1, also be provided withcamera 7, thiscamera 7 can photograph the human face in the face of input and outputinteractive interface 2, in this embodiment, except the position signalling that transmission GPS provides, also send the suspicious illegal registrant's who is taken bycamera 7 photo.The shooting here can be inputed by mistake password or user and carry out when number of times surpasses stipulated number, after the security information recipient receives this information and GPS positional information, can determine very soon the position of mobile phone and illegally login the mobile phone person's face.And with bad password or the user name person's that attempts illegally to login the mobile phone face, can in time report, allow illegal registrant can not use dedicated resources under other user names of smart mobile phone.
In an embodiment below the present invention, specify system manager (admin) user's login and management function and the implementation procedure thereof that other users are logined.
The default user of mobile phone is by name " admin " the system manager, password adopts character mode;
Such as smart mobile phone start or when resetting, when being called admin such as the active user who obtains by the input and output interactive interface, frommemory 3, load whole global address list files, share the message registration file, share the short message file, share application program and shared data file.
In an embodiment below the present invention, such as the login user name of inputting be " admin " system manager, then can select to start the step S4 that creates new users by input and outputinteractive interface 2; Described step S4 may further comprise the steps:
S41) input new user user name, login user name and log in password;
S42) confirm the password that logs in of input;
S43) show one by one whole global address list files, shared message registration file, shared short message file, shared application program and shared data file, affirmation which part wherein can be shared by new user, to choosing record or the file of being shared by new user, in its shared attribute, increase new user's user name;
S44) be that this new user preserves the parameter that configures at described multi-user's configuration file (4), comprise user name, login username, login password, exclusive user folder.
In the smart mobile phone that uses the inventive method, can allow and configure many accounts and log in, in module is set, add interface, and give the admin administrator right for one of them account, delete other accounts in order to add.
In another embodiment of the present invention, except account is directly transferred accounts, other demands please satisfy as far as possible.This embodiment mainly illustrates the adjustment process to other user name authorities by the admin keeper.Login user name such as input is " admin " system manager, then can be by the step S5 of input and outputinteractive interface 2 selection adjustment user Share Permissions; Described step S5 may further comprise the steps:
S51) input will be adjusted the user name of authority;
S52) show one by one whole global address list files, shared message registration file, shared short message file, shared application program and shared data file, confirm that the shared attribute of which part wherein can be modified;
S53) after the attribute that is modified is confirmed through input and outputinteractive interface 2, to choosing the attribute that is modified to be saved in whole global address list files, share the message registration file, share the short message file, sharing in the shared attribute in application program and the shared data file, modification attribute wherein refers to take out user name in the attribute or increase user name from sharing.
In following examples of the present invention, illustrate how to use default user name to carry out the login of smart mobile phone, below be the setting up procedure of default user name.
1) reads and show inmulti-user's configuration file 4 user names that all existed;
2) selecting one by input and outputinteractive interface 2 is default user name; Wherein, as not logging in afterwards at the appointed time Password Input after the input login user name, control described smart mobile phone and enter operation with the default subscribers pattern.
3) the record default user name is inmulti-user's configuration file 4;
The effect of above-mentioned 3 steps is user names that default subscribers is set.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included in protection scope of the present invention.