CN103631785A - Electronic device and mode switching method applied to electronic device - Google Patents

Electronic device and mode switching method applied to electronic device Download PDF

Info

Publication number
CN103631785A
CN103631785A CN201210299575.9A CN201210299575A CN103631785A CN 103631785 A CN103631785 A CN 103631785A CN 201210299575 A CN201210299575 A CN 201210299575A CN 103631785 A CN103631785 A CN 103631785A
Authority
CN
China
Prior art keywords
database
electronic equipment
primary importance
mode
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210299575.9A
Other languages
Chinese (zh)
Other versions
CN103631785B (en
Inventor
刘永锋
董春燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201711418684.7A priority Critical patent/CN107944298A/en
Priority to CN201210299575.9A priority patent/CN103631785B/en
Publication of CN103631785A publication Critical patent/CN103631785A/en
Application granted granted Critical
Publication of CN103631785B publication Critical patent/CN103631785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones

Abstract

The invention discloses an electronic device and a mode switching method applied to the electronic device. The electronic device has a first mode and a second mode, wherein the first mode corresponds to a first database, the second mode corresponds to a second database, and a first application can be loaded to the first database and the second database. The mode switching method applied to the electronic device comprises the steps of obtaining a first switching instruction, wherein the first switching instruction is used for instructing the mode of the electronic device to be switched from the first mode to the second mode; moving the first database corresponding to the first mode from a first position to a second position according to the first switching instruction; moving the second database corresponding to the second mode from a third position to the first position according to the first switching instruction, loading the first application to the second database, and building a correlation relation between the first application and the second database so that a user can have access to data stored in the second database through the first application. According to the technical scheme, the process of mode switching of the electronic device can be easily implemented, and adaptability is good.

Description

A kind of electronic equipment and be applied to the mode switching method of electronic equipment
Technical field
The present invention relates to communication technical field, especially relate to a kind of electronic equipment and be applied to the mode switching method of electronic equipment.
Background technology
Generally; in the electronic equipment that user holds, can store the private data (such as photo, contact person, note, web page browsing record etc.) that relates in a large number personal information; and in daily life; often there will be user that electronic equipment is lent to the situation that friend uses; in this case; user can not mind that friend plays the game on electronic equipment, but does not wish the private data that it checks storage in electronic equipment.In order to protect privacy of user; existing electronic devices is supported visitor's pattern, and, before electronic equipment is lent to others, user can be set to visitor's pattern by electronic equipment; to not wish that the private data that others checks stashes, and guarantees the security of privacy of user data with this.
At present, the implementation of electronic equipment visitor pattern is: transformation may relate to the application program of privacy of user, makes it have switching function, and by the mode of closure or cut-off switch, comes controlling application program to read the authority of privacy of user data.For example, the application code of revising note makes it have switching function, if user's electronic equipment is set to visitor's pattern, it is the switch of closed application, can forbid that short message application program goes to read user's short message content in it corresponding database, thereby realize the object of hiding this private data of note for visitor; If user exits visitor's pattern, disconnect the switch of application program, can recover short message application program and go corresponding with it database read to take the authority of family short message content.Although this mode has realized the object that visitor's authority is set, the transformation application program of need to take is cost, causes the suitability of visitor's pattern that this mode realizes very poor.
Summary of the invention
The present invention aims to provide a kind of electronic equipment and is applied to the mode switching method of electronic equipment, simple realization the handoff procedure between two kinds of patterns of electronic equipment.
The invention provides a kind of mode switching method, described method is applied in an electronic equipment, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described method comprises:
Obtain the first switching command, described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode;
According to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance;
According to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved.
Preferably, described described the first database is removed to the second place from primary importance, specifically comprise: call a root authority passage service, based on a described root authority passage service, described the first database is removed to the described second place from described primary importance; Described the second database is removed to described primary importance from the 3rd position, specifically comprise: call the 2nd root authority passage service, based on described the 2nd root authority passage service, described the second database is removed to described primary importance from described the 3rd position.
Preferably, described method also comprises:
Obtain the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
According to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
Preferably, described described the first database is removed to described primary importance from the described second place, specifically comprises:
Call the 3rd root authority passage service, based on described the 3rd root authority passage service, described the first database is removed to described primary importance from the described second place.
Preferably, after described acquisition the second switching command, described method also comprises:
Judge whether to preserve the data of described the second database, produce the first judged result;
If described the first judged result represents to preserve the data of described the second database,, before described the first database is removed to described primary importance from the described second place, described the second database is removed to the 3rd position from described primary importance.
Correspondingly, the present invention also provides a kind of electronic equipment, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described electronic equipment comprises:
The first instruction obtains unit, and for obtaining the first switching command, described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode;
First removes unit, and for according to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance;
Second removes unit, be used for according to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved.
Preferably, described first removes unit, specifically for calling a root authority passage service, based on a described root authority passage service, described the first database is removed to the described second place from described primary importance; Described second removes unit, specifically for calling the 2nd root authority passage service, based on described the 2nd root authority passage service, described the second database is removed to described primary importance from described the 3rd position.
Preferably, described electronic equipment also comprises:
The second instruction obtains unit, and for obtaining the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
The 3rd removes unit, be used for according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
Preferably, the described the 3rd removes unit, specifically for calling the 3rd root authority passage service, based on described the 3rd root authority passage service, described the first database is removed to described primary importance from the described second place.
Preferably, described electronic equipment also comprises:
Judging unit, for after described the second instruction acquisition unit obtains described the second switching command, the data that judge whether to preserve described the second database, produce the first judged result;
The 4th removes unit, for when described the first judged result represents to preserve the data of described the second database, the described the 3rd, remove before unit removes to described primary importance by described the first database from the described second place, described the second database is removed to the 3rd position from described primary importance.
Compared with prior art, the present invention has following beneficial effect:
Electronic equipment has two kinds of patterns, and these two kinds of patterns are respectively to there being database separately, when carrying out pattern switching, directly the first database that is loaded with the first application is removed to the second place from current primary importance, and then the second database is moved on to primary importance, and the first application is loaded into the second database, set up the incidence relation of the second database and the first application, make user can pass through the data of first application access the second database, so far just complete the pattern handoff procedure of electronic equipment.This handoff procedure is simple and suitability is very strong, can also effectively limit the authority that user accesses electronic equipment data simultaneously, guarantees the safety of electronic equipment data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of mode switching method embodiment 1 of the present invention;
Fig. 2 is the process flow diagram of mode switching method embodiment 2 of the present invention;
Fig. 3 is the process flow diagram of mode switching method embodiment 3 of the present invention;
Fig. 4 is the schematic diagram of electronic equipment embodiment 1 of the present invention;
Fig. 5 is the schematic diagram of electronic equipment embodiment 2 of the present invention;
Fig. 6 is the schematic diagram of electronic equipment embodiment 3 of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
The invention provides a kind of electronic equipment and be applied to the mode switching method of electronic equipment, for the simple switching between two kinds of patterns of electronic equipment that realizes, technical scheme of the present invention is that two kinds of patterns arrange respectively a database, and these two databases all can load the application that electronic equipment has.When needs switch, database that will be hiding (not wishing database accessed by the user) removes to the second place from primary importance, the database that simultaneously also will show (getting final product database accessed by the user) moves on to primary importance, and loading the application that electronic equipment has, this user just can be by the database in the application access primary importance loading.When implementation pattern switches, the effective access rights of limited subscriber to database, protect the safety of electronic equipment data.
Referring to Fig. 1, show the process flow diagram of mode switching method embodiment 1 of the present invention, described method is applied in an electronic equipment, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described method comprises:
Step 101, obtains the first switching command, and described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode.
The operation of Real-Time Monitoring user to electronic equipment, when user has switching demand, can control the handoff functionality that starts electronic equipment, such as user, can by click, switch the modes such as icon, operation switching key, phonetic entry switching command and send the first switching command to electronic equipment, indication electronic equipment carries out pattern switching.
Take and visitor's pattern is set as example; if first mode is owner's pattern; the second pattern is visitor's pattern; when owner will lend electronic equipment friend's use; safety for private data in protection equipment; electronic equipment slave holotype can be switched to visitor's pattern, the process that owner opens visitor's pattern is the process that sends the first switching command to electronic equipment.
Step 102, according to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance.
Step 103, according to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved.
After step 101 obtains the first switching command, electronic equipment is triggered and starts to carry out pattern switching, first it should be noted that, two kinds of patterns that electronic equipment has are respectively to there being a database, and each database all can load application, therefore under different mode, user just can be by the data of preserving in database corresponding to this pattern of application access, but there will not be the situation of simultaneously accessing data in two databases, two kinds of patterns are selected a demonstration, if the current demonstration first mode of electronic equipment (data that user can preserve by application access the first database), the second pattern is in hidden state (user can not access the data that the second database is preserved), vice versa.Based on this, when being triggered, electronic equipment carries out pattern while switching, the addressable database of active user will be removed to the second place from primary importance, hidden, prevent that user from accessing the data in this database; Also current database not accessed by the user to be moved to primary importance simultaneously, by its demonstration, further, in order to realize user, access the data this purpose in this database, also need load application to arrive this database, set up the incidence relation between application and this database, user could be by the data in this database of application access like this.
It should be noted that, for two these operational motions of database present position of change, user does not have authority to carry out, this just need to be by the root authority passage service of operating system, domestic consumer's authority is converted to root user right, and (root user is super keeper unique in system, there is the authority that is equal to operating system), thereby complete database location, change this operational motion.
Still take and visitor's pattern is set as example, when owner selects to hide owner's database corresponding to owner's pattern, while showing visitor's database corresponding to visitor's pattern (visitor's database can be an empty database that dispatches from the factory and create while starting shooting for the first time at electronic equipment), handoff procedure mainly comprises following two aspects:
First aspect, hides owner's database.Call a root authority passage service, the executor of action is converted to root user, by a root authority passage service, owner's database is removed to the second place from primary importance, hide owner's database, prevent that visitor from getting the data in owner's database.In addition, owner's DB Backup, to the second place, can also be selected to exit visitor's pattern owner, while coming back to owner's pattern, owner still can continue, by the data in application access owner database, to avoid losing owner's data.
Second aspect, shows visitor's database.Call the 2nd root authority passage service, the executor of action is converted to root user, by the 2nd root authority passage service, visitor's database is removed to primary importance from the 3rd position, cover the owner's database in primary importance, show visitor's database.Again in visitor's database, load the application of electronic equipment simultaneously, with note, be applied as example, note application is loaded into visitor's database, set up note application and be currently located at the incidence relation between the visitor's database in primary importance, visitor just can be by the data in note application access visitor database like this, for example read a short message, but but cannot be by the short message in note application reading machine master data base.
For a root authority passage service and the service of the 2nd root authority passage, it can be as described in above-mentioned example, for two removing actions, two corresponding root authority passage services are set respectively, certainly also two removing actions can be fused in a root authority passage service and realize, this the present invention is not limited, as long as Neng Cong domestic consumer is transformed into root user.
It should be noted that, the database in the present invention can arrange for application, such as the note data storehouse for note application, for the message registration database of message registration application, for the contact database of contact application etc.; Also can be for user identity setting, for example for owner's database of owner, for visitor's database of visitor, no matter be that owner's database or visitor's database still can continue, for different application segmentation, this present invention not to be limited certainly.
Referring to Fig. 2, show the process flow diagram of mode switching method embodiment 2 of the present invention, electronic equipment being switched to from first mode the second pattern according to method shown in Fig. 1, also can electronic equipment be switched back to first mode again by the second pattern according to user's selection, specifically can comprise the following steps:
Step 201, obtains the second switching command, and described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern.
Similar with step 101, the operation of Real-Time Monitoring user to electronic equipment, when user has switching demand, can control equally the handoff functionality that starts electronic equipment, such as user, can by click, switch the modes such as icon, operation switching key, phonetic entry switching command and send the second switching command to electronic equipment, indication electronic equipment carries out pattern switching.
Take and exit visitor's pattern as example, when friend returns electronic equipment after owner, owner just can be switched back owner's pattern from visitor's pattern by electronic equipment, and the process that owner exits visitor's pattern is the process that sends the second switching command to electronic equipment.
Step 202, according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
After step 201 obtains the second switching command, electronic equipment is triggered and starts to carry out pattern switching, the first database that is removed to the second place is removed to primary importance again, again back up the data of the first database in the second place to primary importance, and then by the mode of load application, set up the incidence relation between the first database and application, the final object that realizes the data of preserving by application access the first database.
Similarly, the operational motion that removes the first database also need to be realized by the root authority passage service of operating system.Still take and exit visitor's pattern as example, when owner selects the owner's database that shows that owner's pattern is corresponding, while hiding visitor's database corresponding to visitor's pattern, will call the 3rd root authority passage service, the executor of action is converted to root user, by the 3rd root authority passage service, the first database is removed to primary importance from the second place, show owner's database.Again in owner's database, load the application of electronic equipment simultaneously, with note, be applied as example, note application is reloaded to the database into owner, set up note application and be currently located at the incidence relation between the owner's database in primary importance, owner just can again by the data in note application access owner database, for example, read a short message like this.
For the 3rd root authority passage service, similar with the 2nd root authority passage service with an above-mentioned root authority passage service, can be separately for this removing action setting, also can be fused in a root authority passage service and realize with above-mentioned two removing actions, this the present invention is not also limited, as long as Neng Cong domestic consumer is transformed into root user.
It should be noted that, the first database is removed to after primary importance again, can delete the data of the first database backing up in the second place, also can continue to retain the data of backup.For the situation that retains Backup Data, when carrying out pattern switching next time, can utilize the data that back up before the data cover of the first new database, guarantee that the data that back up in the second place are always up-to-date data; In the situation that electronic equipment internal memory allows, also can in the second place, back up the data of the first database different times, so just can to it, present the historical data that different times produces according to owner's selection, this present invention is not limited.
Referring to Fig. 3, show the process flow diagram of mode switching method embodiment 3 of the present invention, electronic equipment being switched to from first mode the second pattern according to method shown in Fig. 1, also can electronic equipment be switched back to first mode again by the second pattern according to user's selection, specifically can comprise the following steps:
Step 301, obtains the second switching command, and described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern.
Step 301 is identical with step 201, repeats no more herein.
Step 302, the data that judge whether to preserve described the second database, produce the first judged result.
Step 303, if the data that described the first judged result represents to preserve described the second database remove to the 3rd position by described the second database from described primary importance.
In step 301, obtain after the second switching command, directly from the second pattern, be not switched to first mode, but first point out user whether to preserve the data of the second database corresponding to the second pattern, according to user's selection, if preserved, this partial data is backuped to the 3rd position, and then carry out the process that is switched to first mode; Otherwise directly carry out the process that is switched to first mode.
Still take and exit visitor's pattern as example, when friend returns owner by electronic equipment, likely wish the own data that are stored in electronic equipment with visitor's identity to save, therefore, owner, triggering electronic equipment exits after visitor's pattern, electronic equipment just can inquire whether owner preserves the data of visitor's database, if owner selects to preserve, by root passage rights service, this part data is removed to the 3rd position, while avoiding the first database again to be removed to primary importance, this part data is capped and causes loss of data.
Step 304, according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
Step 304 is similar with step 202, just the two opportunity being triggered is different, step 202 is after obtaining the second switching command, be triggered and remove the first database on primary importance, step 304 item be according to user's selection, process the data of the second database after, just under the indication of the second switching command, remove the first database on primary importance.
It should be noted that, mode switching method provided by the invention is simple, and without transformation application program, suitability is very strong, in addition, realize limited subscriber to electronic equipment data access authority in, also can arrange user to application access rights.For example, when visitor's pattern is set, can a certain application be removed to ad-hoc location according to owner's selection, hide this application, visitor just can not view the application that owner hides like this, more can not pass through this application access owner data.When owner selects to exit visitor's pattern, electronic equipment also can show this application according to contrary operation.Correspondence removes the operational motion of application, need to realize by the service of root authority passage equally, repeats no more herein.
Referring to Fig. 4, show the schematic diagram of electronic equipment embodiment 1 of the present invention, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described electronic equipment comprises:
The first instruction obtains unit 401, and for obtaining the first switching command, described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode.
First removes unit 402, and for according to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance;
Particularly, described first removes unit for calling a root authority passage service, based on a described root authority passage service, described the first database is removed to the described second place from described primary importance.
Second removes unit 403, be used for according to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved;
Particularly, described second removes unit for calling the 2nd root authority passage service, based on described the 2nd root authority passage service, described the second database is removed to described primary importance from described the 3rd position.
Electronic equipment of the present invention is that two kinds of patterns arrange respectively a database, and these two databases all can load the application that electronic equipment has.When needs switch, database that will be hiding (not wishing database accessed by the user) removes to the second place from primary importance, the database that simultaneously also will show (getting final product database accessed by the user) moves on to primary importance, and loading the application that electronic equipment has, this user just can be by the database in the application access primary importance loading.When implementation pattern switches, the effective access rights of limited subscriber to database, protect the safety of electronic equipment data.
Referring to Fig. 5, show the schematic diagram of electronic equipment embodiment 2 of the present invention, electronic equipment, from first mode is switched to the second pattern, also can be switched back to first mode by electronic equipment by the second pattern according to user's selection again, described electronic equipment also comprises:
The second instruction obtains unit 501, and for obtaining the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
The 3rd removes unit 502, be used for according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved;
Particularly, the described the 3rd removes unit for calling the 3rd root authority passage service, based on described the 3rd root authority passage service, described the first database is removed to described primary importance from the described second place.
Referring to Fig. 6, show the schematic diagram of electronic equipment embodiment 3 of the present invention, electronic equipment, from first mode is switched to the second pattern, also can be switched back to first mode by electronic equipment by the second pattern according to user's selection again, described electronic equipment also comprises:
The second instruction obtains unit 601, and for obtaining the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
Judging unit 602, for after described the second instruction acquisition unit obtains described the second switching command, the data that judge whether to preserve described the second database, produce the first judged result;
The 4th removes unit 603, for when described the first judged result represents to preserve the data of described the second database, described the second database is removed to the 3rd position from described primary importance.
The 3rd removes unit 604, be used for according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
When electronic equipment is switched back to first mode from the second pattern, also can point out user whether to preserve the data of the second database corresponding to the second pattern, and under user's indication, process after the data of the second database, remove again the first database to primary importance, with this, improve the dirigibility that electronic equipment pattern of the present invention is switched.
Above a kind of mode switching method provided by the present invention is introduced, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a mode switching method, it is characterized in that, described method is applied in an electronic equipment, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described method comprises:
Obtain the first switching command, described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode;
According to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance;
According to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved.
2. method according to claim 1, is characterized in that,
Described described the first database is removed to the second place from primary importance, specifically comprises:
Call a root authority passage service, based on a described root authority passage service, described the first database is removed to the described second place from described primary importance;
Described the second database is removed to described primary importance from the 3rd position, specifically comprises:
Call the 2nd root authority passage service, based on described the 2nd root authority passage service, described the second database is removed to described primary importance from described the 3rd position.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
Obtain the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
According to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
4. method according to claim 3, is characterized in that, described described the first database is removed to described primary importance from the described second place, specifically comprises:
Call the 3rd root authority passage service, based on described the 3rd root authority passage service, described the first database is removed to described primary importance from the described second place.
5. method according to claim 3, is characterized in that, after described acquisition the second switching command, described method also comprises:
Judge whether to preserve the data of described the second database, produce the first judged result;
If described the first judged result represents to preserve the data of described the second database,, before described the first database is removed to described primary importance from the described second place, described the second database is removed to the 3rd position from described primary importance.
6. an electronic equipment, it is characterized in that, described electronic equipment has first mode and the second pattern, corresponding the first database of described first mode, corresponding the second database of described the second pattern, described the first database and described the second database all can load the first application, and described electronic equipment comprises:
The first instruction obtains unit, and for obtaining the first switching command, described the first switching command is used to indicate electronic equipment and is switched to described the second pattern from described first mode;
First removes unit, and for according to described the first switching command, described the first database that described first mode is corresponding removes to the second place from primary importance;
Second removes unit, be used for according to described the first switching command, described the second database that described the second pattern is corresponding removes to described primary importance from the 3rd position, and described the first application is loaded into described the second database, set up the incidence relation of described the first application and described the second database, so that user is by the data that described in described the first application access, the second database is preserved.
7. electronic equipment according to claim 6, is characterized in that,
Described first removes unit, specifically for calling a root authority passage service, based on a described root authority passage service, described the first database is removed to the described second place from described primary importance;
Described second removes unit, specifically for calling the 2nd root authority passage service, based on described the 2nd root authority passage service, described the second database is removed to described primary importance from described the 3rd position.
8. according to the electronic equipment described in claim 6 or 7, it is characterized in that, described electronic equipment also comprises:
The second instruction obtains unit, and for obtaining the second switching command, described the second switching command is used to indicate electronic equipment and is switched to described first mode from described the second pattern;
The 3rd removes unit, be used for according to described the second switching command, described the first database is removed to described primary importance from the described second place, and described the first application is loaded into described the first database, set up the incidence relation of described the first application and described the first database, so that user is by the data that described in described the first application access, the first database is preserved.
9. electronic equipment according to claim 8, is characterized in that,
The described the 3rd removes unit, specifically for calling the 3rd root authority passage service, based on described the 3rd root authority passage service, described the first database is removed to described primary importance from the described second place.
10. electronic equipment according to claim 8, is characterized in that, described electronic equipment also comprises:
Judging unit, for after described the second instruction acquisition unit obtains described the second switching command, the data that judge whether to preserve described the second database, produce the first judged result;
The 4th removes unit, for when described the first judged result represents to preserve the data of described the second database, the described the 3rd, remove before unit removes to described primary importance by described the first database from the described second place, described the second database is removed to the 3rd position from described primary importance.
CN201210299575.9A 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment Active CN103631785B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711418684.7A CN107944298A (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment
CN201210299575.9A CN103631785B (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299575.9A CN103631785B (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201711418684.7A Division CN107944298A (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment

Publications (2)

Publication Number Publication Date
CN103631785A true CN103631785A (en) 2014-03-12
CN103631785B CN103631785B (en) 2017-12-29

Family

ID=50212860

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210299575.9A Active CN103631785B (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment
CN201711418684.7A Pending CN107944298A (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201711418684.7A Pending CN107944298A (en) 2012-08-21 2012-08-21 A kind of electronic equipment and the mode switching method applied to electronic equipment

Country Status (1)

Country Link
CN (2) CN103631785B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682485A (en) * 2016-11-29 2017-05-17 维沃移动通信有限公司 Method for processing verification code and mobile terminal
CN103927119B (en) * 2014-04-16 2017-06-16 广东欧珀移动通信有限公司 Switch to the method and system at account interface
CN109462687A (en) * 2018-09-05 2019-03-12 深圳市万普拉斯科技有限公司 Control method, device, terminal device and the storage medium of terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225111A (en) * 2020-01-03 2020-06-02 北京小米移动软件有限公司 Function control method, function control device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005661A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with data and menu hidden function and its enciphering hiding method
CN101192158A (en) * 2006-11-28 2008-06-04 佛山市顺德区顺达电脑厂有限公司 Method for personal digital assistant machine accomplishing multi- human application
CN101616199A (en) * 2008-06-27 2009-12-30 深圳富泰宏精密工业有限公司 Multiple modes of operation switched system and method
US7792301B2 (en) * 2006-06-29 2010-09-07 Microsoft Corporation Access control and encryption in multi-user systems
CN102075618A (en) * 2010-12-14 2011-05-25 东莞宇龙通信科技有限公司 Personal information management method, system and mobile terminal
CN102087602A (en) * 2009-12-04 2011-06-08 纬创资通股份有限公司 Account management method and account management device for Android system
CN102415204A (en) * 2009-06-16 2012-04-11 英特尔公司 Multi-mode handheld wireless device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003518287A (en) * 1999-12-23 2003-06-03 ジェネラル・インスツルメント・コーポレイション Dual mode processor
DE10332700A1 (en) * 2003-06-24 2005-01-13 Robert Bosch Gmbh Method for switching between at least two operating modes of a processor unit and corresponding processor unit
JP4438048B2 (en) * 2003-08-08 2010-03-24 キヤノン株式会社 Peripheral device, firmware update method for the peripheral device, and program
CN101937363B (en) * 2009-07-01 2013-12-25 联想(北京)有限公司 Mobile terminal operating mode switching method and mobile terminal
AU2011202837B2 (en) * 2010-12-21 2013-08-22 Lg Electronics Inc. Mobile terminal and method of controlling a mode switching therein

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7792301B2 (en) * 2006-06-29 2010-09-07 Microsoft Corporation Access control and encryption in multi-user systems
CN101005661A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with data and menu hidden function and its enciphering hiding method
CN101192158A (en) * 2006-11-28 2008-06-04 佛山市顺德区顺达电脑厂有限公司 Method for personal digital assistant machine accomplishing multi- human application
CN101616199A (en) * 2008-06-27 2009-12-30 深圳富泰宏精密工业有限公司 Multiple modes of operation switched system and method
CN102415204A (en) * 2009-06-16 2012-04-11 英特尔公司 Multi-mode handheld wireless device
CN102087602A (en) * 2009-12-04 2011-06-08 纬创资通股份有限公司 Account management method and account management device for Android system
CN102075618A (en) * 2010-12-14 2011-05-25 东莞宇龙通信科技有限公司 Personal information management method, system and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927119B (en) * 2014-04-16 2017-06-16 广东欧珀移动通信有限公司 Switch to the method and system at account interface
CN106682485A (en) * 2016-11-29 2017-05-17 维沃移动通信有限公司 Method for processing verification code and mobile terminal
CN109462687A (en) * 2018-09-05 2019-03-12 深圳市万普拉斯科技有限公司 Control method, device, terminal device and the storage medium of terminal

Also Published As

Publication number Publication date
CN103631785B (en) 2017-12-29
CN107944298A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN102110220B (en) Application program monitoring method and device
CN104657213B (en) Using the method and terminal of switching between a kind of system
CN103631785A (en) Electronic device and mode switching method applied to electronic device
CN103023649A (en) Method, device and equipment for protecting privacy information
CN103324518B (en) A kind of operation mapping method and device
CN103164229A (en) Method and device for clearing progresses of mobile terminal
CN104239140A (en) Mobile terminal as well as method and device for controlling switching of operation systems of mobile terminal
CN103268438A (en) Android authority management method and system based on calling chain
CN102495761A (en) Method and device for closing applications
CN101882092A (en) Management method and device for application program
CN103902862A (en) Mobile device management method and device and mobile device
CN104424412A (en) Method for protecting information in intelligent terminal, page switching method and intelligent terminal
CN108287647B (en) Application running method and device
CN103369660A (en) Network-element data synchronization method and network-element device
CN105930749A (en) Anti-theft processing method and device for mobile terminal
CN105975344A (en) Control method and device preventing application from excessively using sensor
CN106302099A (en) Conversation processing method in a kind of instant messaging and device
CN104598810A (en) Method and equipment for realizing safe use of intelligent terminal
CN104104783B (en) Mobile phone terminal and starting-up method thereof
CN103093529B (en) The method of dynamic refresh data
CN103458394A (en) Mobile terminal, processing method and processing device for internal information of mobile terminal
CN108307463A (en) mode switching method, system and access control system
CN104102498A (en) Mobile terminal and booting method thereof
CN106294209B (en) A kind of information processing method and electronic equipment
CN104038618A (en) Access control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant