WO2017024519A1 - 智能终端系统启动方法、装置及智能终端 - Google Patents

智能终端系统启动方法、装置及智能终端 Download PDF

Info

Publication number
WO2017024519A1
WO2017024519A1 PCT/CN2015/086642 CN2015086642W WO2017024519A1 WO 2017024519 A1 WO2017024519 A1 WO 2017024519A1 CN 2015086642 W CN2015086642 W CN 2015086642W WO 2017024519 A1 WO2017024519 A1 WO 2017024519A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
smart terminal
guest
data partition
user
Prior art date
Application number
PCT/CN2015/086642
Other languages
English (en)
French (fr)
Inventor
党健
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580081150.2A priority Critical patent/CN107710211A/zh
Priority to PCT/CN2015/086642 priority patent/WO2017024519A1/zh
Publication of WO2017024519A1 publication Critical patent/WO2017024519A1/zh

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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and an intelligent terminal for starting a smart terminal system.
  • One way to protect user privacy data is to set the guest mode with specific information as private information.
  • Protect user privacy information by not being able to access specific information (such as text messages, pictures, videos, contacts, etc.) in guest mode.
  • the current guest mode can only protect specific information and cannot protect personal information in the application installed by the user.
  • the visitor can see which applications the user has installed, and can see the users' applications. Personal information in the program, therefore, the guest mode has little protection for the user's personal privacy information and cannot meet the user's needs.
  • the embodiment of the invention provides a method, a device and an intelligent terminal for starting an intelligent terminal system, so as to solve the problem that the personal privacy information protection in the prior art is small and cannot meet the user demand.
  • the first aspect provides a smart terminal system startup method, where the smart terminal sets an organic master password and a guest password, and the method includes:
  • the smart terminal system mounts a guest data partition, where the guest data partition is a storage area other than the system data partition and the owner data partition in the smart terminal.
  • the system data partition is used to store a system program that is included in the smart terminal system
  • the machine master data partition is used to store information stored by the user when the smart terminal is used by the machine master password;
  • the smart terminal system mounts the machine master data partition.
  • the smart terminal system mounts the visitor Data partitioning, including:
  • the current mount user partition is not the guest data partition
  • the current mount user partition is unmounted and the guest data partition is mounted.
  • the method when the access password input by the user is detected, determining whether the access password is Before matching with the guest password or the owner password, the method further includes:
  • the guest data partition is divided on the random access memory of the smart terminal by a random access memory based file system.
  • the method further includes:
  • the smart terminal When the smart terminal is shut down or the user data partition mounted by the smart terminal is switched to the owner data partition by the guest data partition, the user is shown whether to save the visitor data, and the visitor data is the user
  • the guest password uses data generated by the smart terminal
  • the confirmation save instruction is generated by the smart terminal detecting that the user confirms the operation of saving the visitor data;
  • the first type of storage area includes the guest data partition, an external storage device of the smart terminal, and a cloud server. At least one of the external storage device and the cloud server of the smart terminal, if the visitor data partition is a storage area in the random storage memory of the smart terminal.
  • determining whether the access password matches the guest password or the owner password includes:
  • the access password is the same as the pre-stored guest password, it is determined that the access password matches the guest password.
  • the non-volatile memory of the smart terminal further stores an access password and a user data partition.
  • the mapping relationship after determining whether the access password matches the guest password or the owner password, the method further includes:
  • the method further includes: before detecting whether the user inputs the access password, when the smart terminal is in the system startup process or the lock screen state, the method further includes:
  • the access password input interface is displayed to allow the user to enter an access password.
  • an intelligent terminal system starting device where the smart terminal sets an organic master password and a guest password, and the device includes:
  • the detecting module is configured to detect whether the user inputs an access password when the smart terminal is in a system startup process or a lock screen state;
  • a determining module configured to: when the detecting module detects that the user inputs an access password, determine whether the access password matches a guest password or a host password;
  • a first partition mounting module configured to mount a guest data partition when the determining module determines that the access password matches a guest password, where the guest data partition is a system data partition and a host data partition in the smart terminal a system storage area, where the system data partition is used to store a system program that is included in the smart terminal system, where the machine main data partition is used to store information stored by the user when the smart terminal is used by the machine master password; or
  • a second partition mounting module configured to mount the main data partition of the machine when the determining module determines that the access password matches the owner password.
  • the first partition mounting module is specifically configured to:
  • the first determining sub-module determines that the currently mounted user partition is not the guest data partition, uninstalling the current mounted user partition and mounting the guest data partition.
  • the apparatus further includes:
  • a dividing module configured to pre-define a guest data partition on the non-volatile memory of the smart terminal; or for dividing the random access memory of the smart terminal by a random access memory-based file system The guest data partition.
  • the device further includes:
  • a first display module configured to display to the user whether to save the visitor data when the smart terminal is shut down or the user data partition mounted by the smart terminal is switched by the visitor data partition to the owner data partition
  • the visitor data is data generated by the user using the smart terminal through the visitor password
  • a storage module configured to store the visitor data in a first type of storage area after detecting the confirmation save instruction, where the confirmation save instruction is generated by the smart terminal detecting that the user confirms the operation of saving the visitor data ;
  • the first type of storage area includes the guest data partition, an external storage device of the smart terminal, and a cloud server. At least one of the external storage device and the cloud server of the smart terminal, if the visitor data partition is a storage area in the random storage memory of the smart terminal.
  • the determining module is specifically configured to:
  • the access password is the same as the pre-stored guest password, it is determined that the access password matches the visitor password.
  • an intelligent terminal where the smart terminal sets an organic master password and a guest password, and the smart terminal includes: a memory and a processor;
  • the processor is configured to: by calling a program or instruction stored in the memory:
  • the smart terminal system mounts a guest data partition, where the guest data partition is a storage area other than the system data partition and the owner data partition in the smart terminal, the system The data partition is used to store a system program that is included in the smart terminal system, and the machine master data partition is used to store information stored by the user when using the smart terminal by using the master password; or
  • the smart terminal system mounts the machine master data partition.
  • the smart terminal system mounts the visitor When data partitioning, it is specifically used to:
  • the current mount user partition is not the guest data partition
  • the current mount user partition is unmounted and the guest data partition is mounted.
  • the processor determines the access when detecting an access password input by a user Before the password matches the guest or owner password, it is also used to:
  • the guest data partition is divided on the random access memory of the smart terminal by a random access memory based file system.
  • the processor is further configured to: after the smart terminal system mounts the guest data partition:
  • the smart terminal When the smart terminal is shut down or the user data partition mounted by the smart terminal is switched to the owner data partition by the guest data partition, the user is shown whether to save the visitor data, and the visitor data is the user
  • the guest password uses data generated by the smart terminal
  • the confirmation save instruction is generated by the smart terminal detecting that the user confirms the operation of saving the visitor data;
  • the first type of storage area includes the guest data partition, an external storage device of the smart terminal, and a cloud server. At least one of; if the visitor data partition is a storage area in a random storage memory of the smart terminal, then The first type of storage area includes at least one of an external storage device and a cloud server of the smart terminal.
  • the access password is the same as the pre-stored guest password, it is determined that the access password matches the guest password.
  • the non-volatile memory of the smart terminal further stores a mapping between the access password and the data partition. The relationship is further used after the processor determines whether the access password matches the guest password or the owner password:
  • the processor before the processor detects whether the user inputs an access password, the processor is further configured to:
  • the access password input interface is displayed to allow the user to enter an access password.
  • the smart terminal system startup method has two access passwords: a guest password and a host master password respectively, and the user inputs different passwords, and the intelligent terminal system mounts different user data partitions.
  • the user data partition includes a host data partition and a guest data partition. Specifically, if the access password input by the user is a guest password, the smart terminal system mounts the guest data partition; the guest data partition is a storage area other than the system data partition and the owner data partition in the smart terminal.
  • the system data partition is used to store a system program that is included in the smart terminal system; the machine master data partition is used to store information stored by the user when the smart terminal is used by the owner password, and the information includes the user installed application and the user using the smart device.
  • FIG. 1 is a flow chart showing a method for starting an intelligent terminal system according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing another method for starting an intelligent terminal system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of another method for starting an intelligent terminal system according to an embodiment of the present invention.
  • FIG. 4 is a flowchart showing another method for starting a smart terminal system according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing an apparatus for starting a smart terminal system according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing another smart terminal system starting device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
  • the smart terminal may be a smart phone, a tablet, or a PDA (Personal Digital Assistant, personal). Digital Assistant), POS (Point of Sales), or on-board computer.
  • PDA Personal Digital Assistant
  • POS Point of Sales
  • the smart terminal is provided with two access passwords, namely, a master password and a guest password, and is divided between a specific area storage access password and the user data partition in the non-volatile storage area of the smart terminal.
  • the mapping relationship specifically, the mapping relationship between the owner master password and the owner data partition, and the mapping relationship between the guest password and the guest data partition.
  • the system program of the intelligent terminal is stored in the system data partition, and the system data partition is a read-only storage area, and the user cannot modify the data in the system data partition under normal circumstances, for example, the application that is included in the system cannot be deleted.
  • the data generated when the user uses the smart terminal through the owner password is stored in the owner data partition; the user who uses the smart terminal through the owner password is collectively referred to as the owner, not just the owner of the smart terminal.
  • the application installed by the owner is stored in the owner data partition; for example, the user uses the data generated by the application, such as call records, contacts, social software chat records, and the like.
  • the guest data partition is a storage area other than the system data partition and the master data partition in the smart terminal.
  • the method may include the following steps:
  • the smart terminal when the smart terminal is in the system startup process or in the lock screen state, the smart terminal detects whether the user inputs an access password; if the access password input by the user is detected, S120 is performed; if the access password input by the user is not detected, the process ends. Current process.
  • the smart terminal when the smart terminal starts up, the user is prompted to input an access password, and the smart terminal detects the access password input by the user.
  • the smart terminal is fully activated, is in a lock screen state, and needs to input an access password to unlock and access the smart terminal.
  • S120 The smart terminal determines whether the access password matches the guest password or the owner password; if the access password matches the guest password, executing S130; if the access password matches the owner password, executing S140; if the access password is If the owner password and guest password do not match, the current process ends.
  • the pre-stored guest password and the owner password are read from the non-volatile storage area, and the access password input by the user is compared with the guest password or the owner password.
  • the smart terminal may first determine whether the access password is the same as the owner password; when the access password is different from the owner password, continue to determine whether the access password is the same as the guest password; If the access password is the same as the guest password, it is determined that the access password is a guest password; if the access password is different from the guest password, it is determined that the access password is incorrect, and the current process is ended.
  • judge the access password is the same as the owner password
  • the access password is different from the owner password
  • the smart terminal system mounts a visitor data partition.
  • the intelligent terminal queries the mapping relationship between the access password and the user data partition to obtain a visitor data partition corresponding to the guest password.
  • the guest data partition is a storage area in the smart terminal except the system data partition and the main data partition; the system data partition is used to store a system program of the operating system of the smart terminal; The information stored by the user when the smart terminal is used by the owner password is stored.
  • the smart terminal mounts the guest data partition, which means that the smart terminal system loads the guest data partition, thereby enabling the smart terminal system to read/write the guest data partition.
  • the operating system of the intelligent terminal mounts the guest data partition, just like the factory reset, only the application that comes with the system can not see the application installed by the owner, and the owner is not in use.
  • Data stored in the smart terminal such as call history, address book, and the like. It should be understood that the smart terminal is based on The guest password or the owner password is mounted on different data partitions of the same operating system, rather than different operating systems, unlike the dual systems in which some smart terminals exist.
  • the smart terminal system mounts the main data partition of the machine.
  • the intelligent terminal queries the mapping relationship between the access password and the user data partition, and obtains the owner data partition corresponding to the owner password.
  • the intelligent terminal system mounts the main data partition of the machine. After the main data partition of the mounter, the owner can use the smart terminal normally, can see all the applications installed by the owner, and can see the data generated when the owner uses the smart phone. .
  • two access passwords are respectively a guest password and a host password, and the user inputs different passwords
  • the intelligent terminal system mounts different user data partitions
  • the user data partition includes the machine.
  • Primary data partition and guest data partition Specifically, if the access password input by the user is a guest password, the smart terminal system will mount the guest data partition; if the access password is the owner password, the smart terminal system mounts the main data partition of the machine.
  • the guest data partition is a storage area in the smart terminal except the system data partition and the main data partition.
  • the system data partition is used to store the system program that comes with the intelligent terminal system;
  • the owner data partition is used to store information stored by the user when using the smart terminal by the owner password, and the information includes the application installed by the user and the process of using the smart terminal by the user.
  • the data generated in After the smart terminal system mounts the guest data partition, just like the factory reset, there is only the application that comes with the system, and there is no data stored when the user uses the smart terminal through the owner password; that is, the visitor cannot see The owner installs the application itself, and does not see any data stored by the owner when using the system application of the smart terminal. Therefore, this method can more fully protect the owner's private information.
  • FIG. 2 a flowchart of another method for starting a smart terminal system according to an embodiment of the present invention is shown in the application scenario.
  • the smart terminal in this embodiment is described by taking a mobile phone as an example.
  • the method includes the following steps:
  • the mobile phone After detecting the boot operation command in the shutdown state, the mobile phone first mounts the system data partition (that is, the data partition where the operating system is located), that is, starts the application that comes with the system; wherein the boot operation instruction is detected by the mobile phone by the user. Occurs after a power-on or restart operation event.
  • the system data partition that is, the data partition where the operating system is located
  • S220 The mobile phone displays an access password input interface to the user, and obtains an access password input by the user on the access password input interface.
  • the interface for inputting the access password is displayed, prompting the user to input the access password; and obtaining the access password input by the user on the access password input interface.
  • the way to prompt the user to enter the access password may be to display the interface for entering the access password directly on the display of the mobile phone.
  • the mobile phone listens to the user's input events on the interface at specified intervals and obtains the access password entered by the user.
  • the mobile phone determines whether the access password is a host password or a visitor password; if the access password is a guest password, executing S240; if the access password is a host password, executing S260; if the access password is with the owner password and the visitor password Not the same, the current process ends.
  • the mobile phone pre-stores the master password and the mapping relationship between the master password and the owner data partition in a specific area in the non-volatile memory; and stores the guest password and the mapping between the guest password and the guest data partition. relationship.
  • the mapping relationship between the access password and the user data partition is specifically: the guest password corresponds to the guest data partition; the owner password corresponds to the master data partition.
  • the access password is a digital password
  • the specific number of the password is stored in the non-volatile memory (eg, flash memory) of the mobile phone, and so on.
  • the graphic password a specific graphic is stored, and if it is a fingerprint password, the specific one is stored. fingerprint.
  • the mobile phone After the mobile phone obtains the access password input by the user, it compares whether the access password is the same as the pre-stored owner or guest password.
  • the mobile phone queries a mapping relationship between the pre-stored access password and the user data partition, and obtains a visitor data partition corresponding to the guest password.
  • the mobile phone mounts the visitor data partition.
  • the mobile phone pre-arranges an area in the non-volatile memory, that is, a visitor data partition reserved for the visitor, and can save data generated when the visitor uses the mobile phone.
  • tmpfs is mounted as the guest data partition in a RAM (Random Access Memory).
  • RAM Random Access Memory
  • tmpfs is a memory-based file system
  • tmpfs can use RAM or swap partition to store files
  • tmpfs mainly stores temporary files. That is, a temporary storage area for the visitor is stored in the RAM for storing the visitor data.
  • the mobile phone queries a mapping relationship between the pre-stored access password and the user data partition, and obtains a machine owner data partition corresponding to the owner password.
  • the mobile phone mounts the main data partition of the machine.
  • the intelligent terminal system mounts the main data partition of the machine, that is, the owner can use the intelligent terminal normally, and can see the owner All installed applications, as well as the ability to see the data generated by the owner when using the smartphone.
  • the smart terminal system startup method after starting the application program provided by the system in the startup process of the smart terminal, presents an access password input interface to the user, and obtains an access password input by the user on the interface. Query the correspondence between the access password and the user data partition, obtain the user data partition corresponding to the access password input by the user, and mount the user data partition. Specifically, when the user inputs the guest password, the guest data partition corresponding to the guest password is mounted; when the user inputs the owner password, the owner data partition corresponding to the owner password is mounted. After the smart terminal system mounts the guest data partition, only the application that comes with the system, the visitor does not see the application installed by the owner, and does not see any data stored by the owner when using the system application of the smart terminal. Therefore, this method can more fully protect the privacy information of the owner.
  • FIG. 3 a flowchart of another method for starting a smart terminal system according to an embodiment of the present invention is shown.
  • the present embodiment is applied to an application scenario in which different data partitions are switched when the smart terminal is in a lock screen state after being started. This embodiment is still described by taking a mobile phone as an example.
  • the method may include the following steps:
  • S310 The mobile phone is in a lock screen state, and obtains an access password input by the user.
  • S320 The mobile phone determines whether the access password matches the owner password or the visitor password; if the access password matches the visitor password, executing S330; if the access password matches the owner password, executing S370. If the access password is neither the owner password nor the guest password, the current process ends.
  • the mobile phone queries a mapping relationship between the access password and the user data partition, and obtains a visitor data partition corresponding to the guest password.
  • S340 The mobile phone determines whether the currently mounted user partition is the guest data partition. If the currently mounted user partition is not a guest data partition, executing S350; if the currently mounted user partition is a guest data partition, executing S360.
  • the mobile phone uninstalls the currently mounted user partition and mounts the visitor data partition.
  • the data partition is unloaded, that is, the mobile phone system removes the already loaded data partition, that is, the mobile phone cannot read/write the unloaded data partition.
  • the mobile phone stops the currently running system service, uninstalls the currently installed machine master data partition, then mounts the guest data partition, and restarts the system service.
  • the mobile phone queries a mapping relationship between the access password and the user data partition, and obtains a host data partition corresponding to the owner password.
  • step S380 The mobile phone determines whether the currently mounted user partition is the owner data partition. If the currently mounted user partition is not the owner data partition, step S390 is performed; if the currently mounted user partition is the owner data partition, Then execute S3100.
  • the mobile phone uninstalls the currently mounted user partition, and mounts the main data partition of the machine.
  • the mobile phone keeps the current host data partition unchanged.
  • the smart terminal system startup method determines the type of the access password after obtaining the access password input by the user when the smart terminal is in the lock screen state; if the access password is the guest password, it continues to determine that the smart terminal is currently hanging.
  • the type of the user data partition that is carried; if the currently mounted user partition is the owner data partition, the machine main data partition is unmounted and the guest data partition corresponding to the guest password is mounted. If the currently mounted user partition is a guest data partition, the currently mounted user data partition remains unchanged.
  • the access password is the owner password
  • continue to determine the type of the user data partition currently mounted by the smart terminal if the currently mounted user partition is a guest data partition, uninstall the guest data partition and mount the machine main data partition, Therefore, the upper layer application of the smart terminal is restarted, and the user data partition corresponding to the access password input by the user is switched, and the operation is more convenient.
  • the smart terminal does not need to be restarted, and only the upper layer application is restarted, and the startup speed is fast.
  • FIG. 4 a flow chart of another method for starting a smart terminal system according to an embodiment of the present invention is shown.
  • the smart terminal can save visitor data generated by a visitor using the smart terminal.
  • the method may further include the following steps on the basis of any of the embodiments in FIG. 1-3.
  • the embodiment adds the following steps to the embodiment shown in FIG. 1:
  • the smart terminal uninstalls the visitor data partition, show the user whether to save the visitor data; the visitor data is data generated by the user using the smart terminal by using the visitor password.
  • the smart terminal is currently mounted with a guest data partition.
  • the smart terminal When the smart terminal is powered off, the smart terminal will uninstall the guest data partition; for example, when the user data partition mounted by the smart terminal is switched from the guest data partition to the owner data partition, the smart The terminal also needs to uninstall the guest data partition.
  • the confirmation save instruction is generated by the smart terminal detecting an operation of confirming the save of the visitor data by the user.
  • the smart terminal divides a visitor data partition for a visitor in a non-volatile memory.
  • the first type of storage area includes the visitor data partition and the smart terminal.
  • the guest data can be stored in the guest data partition; or the guest data is stored in an external storage device; or the guest data is stored in the guest data partition and simultaneously synchronized to the cloud server; or the guest data is stored in the external storage
  • the device is simultaneously synchronized to the cloud server.
  • the smart terminal mounts tmpfs as a guest data partition on the RAM, that is, divides a temporary storage partition for the guest on the RAM to store the visitor data.
  • the first type of storage area includes at least one of the external storage device and the cloud server. Loss of data is lost when RAM is powered down, so guest data cannot be stored on RAM.
  • the smart terminal when the smart terminal uninstalls the guest data partition, the smart terminal prompts whether to save the visitor data. If the user confirms that the visitor data needs to be saved, the visitor data may be stored to the visitor data reserved for the visitor. At least one of the partition, the external storage device, and the cloud server, so that the next time the visitor uses the smart terminal, the user can conveniently see the data stored when the smart terminal is used, which makes the visitor use more convenient.
  • the present invention also provides an intelligent terminal system starting device embodiment.
  • the device may include a detecting module 110, a determining module 120, a first partition mounting module 130, and a second Partition mount module 140.
  • the detecting module 110 is configured to detect whether the user inputs an access password when the smart terminal is in the system startup process or in the lock screen state.
  • the smart terminal is started by the power-off state.
  • the system data partition is mounted.
  • the user enters the password input interface, and the user can input the password input interface.
  • Access password The detecting module 110 detects whether the user inputs an access password on the access password input interface.
  • the determining module 120 is configured to determine, when the detecting module 110 detects that the user inputs the access password, whether the access password matches the guest password or the owner password.
  • the determining module is specifically configured to: compare whether the access password is the same as a host password or a guest password pre-stored in the non-volatile memory of the smart terminal; when the access password and the pre-stored owner password Similarly, it is determined that the access password matches the owner password; or, when the access password is the same as the pre-stored guest password, it is determined that the access password matches the visitor password.
  • the owner password and the guest password are pre-stored in a non-volatile storage area of the smart terminal.
  • the non-volatile memory further stores a mapping relationship between the access password and the user data partition, and after determining whether the access password matches the guest password or the owner password, querying between the access password and the user data partition Mapping the relationship to obtain a data partition corresponding to the access password entered by the user; if the user inputs For the guest password, the corresponding user data partition is the guest data partition; if the user inputs the owner password, the corresponding user data partition is the owner data partition.
  • the first partition mounting module 130 is configured to mount the guest data partition when the determining module 120 determines that the access password matches the guest password.
  • the guest data partition is a storage area in the smart terminal except the system data partition and the machine main data partition, and the system data partition is used to store a system program that is included in the smart terminal system, and the machine main data partition is used for storing The information stored by the user when using the smart terminal by the owner password.
  • the smart terminal is in a frequency-locked state, and the user inputs a guest password
  • the first partition mounting module is specifically configured to: determine whether the current mounted user partition of the intelligent terminal system is a visitor data partition; The first determining sub-module determines that the current mounted user partition is unloaded when the currently mounted user partition is not the guest data partition, and mounts the guest data partition.
  • the second partition mounting module 140 is configured to mount the main data partition of the machine when the determining module 120 determines that the access password matches the owner password.
  • the smart terminal is provided with two access passwords, namely a guest password and a host password, and the user inputs different passwords, and the intelligent terminal system mounts different user data partitions, and the user data partition Includes owner data partitions and guest data partitions.
  • the access password input by the user is a guest password
  • the smart terminal system will mount the guest data partition; after the smart terminal system mounts the guest data partition, as if the factory reset is performed, only the system's own application is installed.
  • the device can more fully protect the owner's private information.
  • the device may further include a dividing module 210, a first display module 220, and The storage module 230.
  • a dividing module 210 configured to pre-define a guest data partition on a non-volatile memory of the smart terminal; or for dividing the visitor data on the random access memory of the smart terminal by using a random access memory-based file system Partition.
  • the dividing module 210 can mount tmpfs as a guest data partition in a RAM (Random Access Memory) of the smart terminal.
  • tmpfs is a memory-based file system
  • tmpfs can use RAM or swap partition to store files
  • tmpfs mainly stores temporary files. That is, a temporary storage area for the visitor is stored in the RAM for storing the visitor data.
  • the first display module 220 is configured to: when the smart terminal is shut down or the user data partition mounted by the smart terminal is switched to the owner data partition by the guest data partition, show the user whether to save the visitor data, the visitor Data is data generated by the user using the smart terminal through the guest password;
  • the storage module 230 is configured to store the visitor data into the first type of storage area after detecting the confirmation save instruction, where the confirmation save instruction is detected by the smart terminal after the user confirms the operation of saving the visitor data produce.
  • the first type of storage area includes at least one of a guest data partition, an external storage device of the smart terminal, and a cloud server; if the guest data partition is smart
  • the storage area in the random storage memory of the terminal the first type of storage area includes at least one of an external storage device and a cloud server of the smart terminal.
  • the smart terminal when the smart terminal uninstalls the guest data partition, the smart terminal prompts whether to save the visitor data. If the user confirms that the visitor data needs to be saved, the visitor data may be stored to the visitor data reserved for the visitor. At least one of the partition, the external storage device, and the cloud server, so that the next time the visitor uses the smart terminal, the user can conveniently see the data stored when the smart terminal is used, which makes the visitor use more convenient.
  • the present invention also provides an intelligent terminal embodiment.
  • the smart terminal 300 may be a mobile phone, a tablet computer, a PDA, a POS machine, or a vehicle-mounted computer.
  • the smart terminal 300 includes at least one processor 301, at least one communication bus 302, a user interface 303, a memory 304, and at least one network interface 305.
  • the communication bus 302 is used to implement connection communication between these components; the intelligent terminal is connected to the network through the network interface 305.
  • the user interface 303 may include a display (eg, a touch screen, LCD, CRT, Holographic or Projector, etc.), a keyboard or a pointing device (eg, a mouse, a trackball, a touchpad or a touch screen, etc.), etc. .
  • a display eg, a touch screen, LCD, CRT, Holographic or Projector, etc.
  • a keyboard or a pointing device eg, a mouse, a trackball, a touchpad or a touch screen, etc.
  • Memory 304 can include read only memory and random access memory and provides instructions and data to processor 301. A portion of memory 304 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 304 stores elements, executable modules or data structures, or a subset thereof, or their extended set; in this embodiment, the memory 304 includes an operating system 3041 and an application module 3042.
  • the operating system 3041 includes various system programs for implementing various basic services and processing hardware-based tasks;
  • the application module 3042 includes various applications, such as a launcher, a media player, a browser, etc., for implementing various application services.
  • the processor 301 by calling a program or instruction stored in the memory 304, the processor 301 is configured to:
  • the smart terminal system mounts a guest data partition, where the guest data partition is a storage area other than the system data partition and the owner data partition in the smart terminal, the system The data partition is used to store a system program that is included in the smart terminal system, and the machine master data partition is used to store information stored by the user when using the smart terminal by using the master password; or
  • the smart terminal system mounts the machine master data partition.
  • the smart terminal system mounts the visitor data partition, specifically for:
  • the current mounted user partition is unmounted and the guest data partition is mounted.
  • the processor 301 is further configured to: before detecting whether the access password matches the guest password or the owner password when detecting the access password input by the user:
  • the guest data partition is divided on the random access memory of the smart terminal by a random access memory based file system.
  • the processor 301 is further configured to: after the smart terminal system mounts the guest data partition:
  • the smart terminal When the smart terminal is shut down or the user data partition mounted by the smart terminal is switched to the owner data partition by the guest data partition, the user is shown whether to save the visitor data, and the visitor data is the password of the user through the visitor.
  • the visitor data is the password of the user through the visitor.
  • the guest data partition is a storage area in the non-volatile memory of the smart terminal, the first type of storage area includes at least one of a guest data partition, an external storage device of the smart terminal, and a cloud server;
  • the guest data partition is a storage area in the random storage memory of the smart terminal, and the first type of storage area includes at least one of an external storage device and a cloud server of the smart terminal.
  • the processor 301 detects the access password input by the user and determines whether the access password matches the guest password or the owner password, the processor 301 is specifically configured to:
  • the access password is the same as the pre-stored owner password, it is determined that the access password matches the owner password; or,
  • the access password is the same as the pre-stored guest password, then the access password is determined to match the guest password.
  • the non-volatile memory of the smart terminal further stores a mapping relationship between the access password and the data partition. After the processor 301 determines whether the access password matches the guest password or the host password, the processor 301 is further used by the processor 301. :
  • the query mapping relationship is obtained by the visitor data partition corresponding to the guest password.
  • the query mapping relationship is obtained from the owner data partition corresponding to the owner password.
  • the processor 301 is further configured to: before the processor 301 detects whether the user inputs an access password, the processor 301 is further configured to:
  • the access password input interface is displayed to allow the user to enter an access password.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the invention can also be practiced in distributed computing environments where these are distributed In a computing environment, tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Telephone Function (AREA)

Abstract

一种智能终端系统启动方法、装置及智能终端,设置有两个访问密码分别是访客密码和机主密码,用户输入不同的密码,智能终端系统将挂载不同的用户数据分区,该用户数据分区包括机主数据分区和访客数据分区。如果用户输入的访问密码是访客密码,智能终端系统将挂载访客数据分区;智能终端系统挂载访客数据分区后,就像进行了恢复出厂设置一样,仅有系统自带的应用程序,且没有用户通过机主密码使用智能终端时所存储的数据;即,访客看不到机主自行安装的应用程序,而且看不到机主使用智能终端的系统应用时所存储的任何数据,因此,采用该方法能够更全面地保护机主的隐私信息。

Description

智能终端系统启动方法、装置及智能终端 技术领域
本发明涉及计算机技术领域,尤其是涉及智能终端系统启动方法、装置及智能终端。
背景技术
随着智能终端(例如,智能手机、平板电脑)上能够安装的应用程序的数量不断增加,例如,支付宝、微信、手机银行等涉及个人隐私的应用程序,用户的隐私内容也越来越多。如果用户的智能终端被其它用户使用,智能终端内涉及用户隐私的内容将被其它用户看到,无法保证用户隐私内容的安全。
现有的一种保护用户隐私数据的方式是设置访客模式,特定信息作为隐私信息。在访客模式下无法访问特定信息(例如,短信、图片、视频、通讯录等),从而保护用户隐私信息。
但是,目前的访客模式只能保护特定信息,无法保护用户安装的应用程序内的个人信息,即在访客模式下,访客可以看到用户安装了哪些应用程序,而且,能够看到用户的这些应用程序中的个人信息,因此,访客模式对用户的个人隐私信息的保护力度很小,无法满足用户的需求。
发明内容
本发明实施例中提供了一种智能终端系统启动方法、装置及智能终端,以解决现有技术中的个人隐私信息保护力度小、无法满足用户需求的问题。
为了解决上述技术问题,本发明实施例公开了如下技术方案:
第一方面,提供一种智能终端系统启动方法,所述智能终端设置有机主密码和访客密码,所述方法包括:
当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所 述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
如果所述访问密码与所述机主密码相匹配,则所述智能终端系统挂载所述机主数据分区。
结合第一方面,在第一方面的第一种可能的实现方式中,当智能终端处于锁屏状态时,所述如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,包括:
判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
当所述当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,在所述当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配之前,所述方法还包括:
预先在所述智能终端的非易失性存储器上划分出访客数据分区;
或者,
通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,在所述智能终端系统挂载访客数据分区之后,所述方法还包括:
当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
结合第一方面,在第一方面的第四种可能的实现方式中,所述当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配包括:
比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码 或访客密码是否相同;
如果所述访问密码与预先存储的机主密码相同,则确定所述访问密码与机主密码相匹配;或者,
如果所述访问密码与预先存储的访客密码相同,则确定所述访问密码与访客密码相匹配。
结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述智能终端的非易失性存储器中进一步存储有访问密码与用户数据分区之间的映射关系,在判断所述访问密码是否与访客密码或机主密码相匹配之后,所述方法还包括:
如果所述访问密码与所述访客密码相匹配,则查询所述映射关系得到与所述访客密码相对应的访客数据分区;或者,
如果所述访问密码与所述机主密码相匹配,则查询所述映射关系得到与所述机主密码相对应的机主数据分区。
结合第一方面,在第一方面的第六种可能的实现方式中,在当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码之前,所述方法还包括:
当智能终端检测到开机操作指令时,挂载所述系统数据分区;
展示访问密码输入界面,以使用户输入访问密码。
第二方面,提供一种智能终端系统启动装置,所述智能终端设置有机主密码和访客密码,所述装置包括:
检测模块,用于当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
判断模块,用于当所述检测模块检测到用户输入访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
第一分区挂载模块,用于当所述判断模块确定所述访问密码与访客密码相匹配时,挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
第二分区挂载模块,用于当所述判断模块确定所述访问密码与所述机主密码相匹配时,挂载所述机主数据分区。
结合第二方面,在第二方面的第一种可能的实现方式中,当智能终端处于锁屏状 态时,所述第一分区挂载模块具体用于:
判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
当所述第一判断子模块确定当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述装置还包括:
划分模块,用于预先在所述智能终端的非易失性存储器上划分出访客数据分区;或者,用于通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
结合第二方面,在第二方面的第三种可能的实现方式中,所述装置还包括:
第一展示模块,用于当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
存储模块,用于当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
结合第二方面,在第二方面的第四种可能的实现方式中,所述判断模块具体用于:
比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;
当所述访问密码与预先存储的机主密码相同,确定所述访问密码与机主密码相匹配;或者,
当所述访问密码与预先存储的访客密码相同,确定所述访问密码与访客密码相匹配。
第三方面,提供一种智能终端,所述智能终端设置有机主密码和访客密码,所述智能终端包括:存储器和处理器;
通过调用所述存储器内存储的程序或指令,所述处理器用于:
当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
如果所述访问密码与所述机主密码相匹配,则所述智能终端系统挂载所述机主数据分区。
结合第三方面,在第三方面的第一种可能的实现方式中,当智能终端处于锁屏状态时,如果所述处理器确定访问密码与访客密码相匹配,所述智能终端系统挂载访客数据分区时,具体用于:
判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
当所述当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述处理器在当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配之前,还用于:
预先在所述智能终端的非易失性存储器上划分出访客数据分区;
或者,
通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述处理器在所述智能终端系统挂载访客数据分区之后,还用于:
当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则 所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
结合第三方面,在第三方面的第四种可能的实现方式中,所述处理器检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配时,具体用于:
比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;
如果所述访问密码与预先存储的机主密码相同,则确定所述访问密码与机主密码相匹配;或者,
如果所述访问密码与预先存储的访客密码相同,则确定所述访问密码与访客密码相匹配。
结合第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述智能终端的非易失性存储器中进一步存储有访问密码与数据分区之间的映射关系,在所述处理器判断所述访问密码是否与访客密码或机主密码相匹配之后,还用于:
如果所述访问密码与所述访客密码相匹配,则查询所述映射关系得到与所述访客密码相对应的访客数据分区;或者,
如果所述访问密码与所述机主密码相匹配,则查询所述映射关系得到与所述机主密码相对应的机主数据分区。
结合第三方面,在第三方面的第六种可能的实现方式中,在所述处理器检测用户是否输入访问密码之前,所述处理器还用于:
当智能终端检测到开机操作指令时,挂载所述系统数据分区;
展示访问密码输入界面,以使用户输入访问密码。
由以上技术方案可见,本发明实施例提供的智能终端系统启动方法,设置有两个访问密码分别是访客密码和机主密码,用户输入不同的密码,智能终端系统将挂载不同的用户数据分区,该用户数据分区包括机主数据分区和访客数据分区。具体的,如果用户输入的访问密码是访客密码,智能终端系统将挂载访客数据分区;该访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域。系统数据分区用于存储智能终端系统自带的系统程序;所述机主数据分区用于存储用户通过机主密码使用智能终端时所存储的信息,该信息包括用户安装的应用程序及用户使用智能终端过程中所产生的数据。智能终端系统挂载访客数据分区后,就像进行了恢复出厂设置一样,仅有系统自带的应用程序,且没有用户通过机主密码使用智能终端时所存储的 数据;即,访客看不到机主自行安装的应用程序,而且看不到机主使用智能终端的系统应用时所存储的任何数据,因此,采用该方法能够更全面地保护机主的隐私信息。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1示出了本发明实施例一种智能终端系统启动方法的流程示图;
图2示出了本发明实施例另一种智能终端系统启动方法的流程示图;
图3示出了本发明实施例另一种智能终端系统启动方法的流程示图;
图4示出了本发明实施例另一种智能终端系统启动方法的流程示图;
图5示出了本发明实施例一种智能终端系统启动装置的框图;
图6示出了本发明实施例示出的另一种智能终端系统启动装置的框图;
图7示出了本发明实施例示出的一种智能终端的结构示意图。
具体实施方式
为了使本领域技术人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所述描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参见图1,示出了本发明实施例一种智能终端系统启动方法的流程图,该方法应用于智能终端中,例如,智能终端可以是智能手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、或车载电脑等。
本发明实施例中,智能终端设置有两个访问密码分别是机主密码和访客密码,而且,在智能终端的非易失性存储区域内划分一个特定的区域存储访问密码与用户数据分区之间的映射关系,具体的,保存机主密码与机主数据分区之间的映射关系,以及访客密码和访客数据分区之间的映射关系。
其中,智能终端的系统程序存储在系统数据分区内,且该系统数据分区是只读存储区,用户在正常情况下无法修改系统数据分区内的数据,例如,无法删除系统自带的应用程序。用户通过机主密码使用智能终端时所产生的数据存储在机主数据分区;通过机主密码使用智能终端的用户统称为机主,并非仅指智能终端的拥有者。例如, 机主安装的应用程序存储在机主数据分区中;又如,用户使用应用程序所产生的数据,例如,通话记录、通讯录、社交软件聊天记录等。访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域。
如图1所示,所述方法可以包括以下步骤:
S110,在智能终端处于系统启动过程中或锁屏状态时,智能终端检测用户是否输入访问密码;如果检测到用户输入的访问密码,则执行S120;如果没有检测到用户输入的访问密码,则结束当前流程。
在本发明一个应用场景中,智能终端在启动时,就提示用户输入访问密码,智能终端检测用户输入的访问密码。
在本发明另一个应用场景中,智能终端已经完全启动,处于锁屏状态,而且需要输入访问密码才能解锁进而访问智能终端。
S120,智能终端判断所述访问密码是否与访客密码或机主密码相匹配;如果访问密码与访客密码相匹配,则执行S130;如果访问密码与机主密码相匹配,则执行S140;如果访问密码与机主密码和访客密码均不匹配,则结束当前流程。
在智能终端启动时,从非易失性存储区域内读取预先存储的访客密码和机主密码,比较用户输入的访问密码是否与访客密码或机主密码相同。
例如,智能终端检测到用户输入的访问密码后,可以首先判断该访问密码是否与机主密码相同;当访问密码与机主密码不相同时,继续判断该访问密码是否与访客密码相同;如果该访问密码与访客密码相同,则判断出访问密码是访客密码;如果该访问密码与访客密码不相同,则判断出访问密码不正确,结束当前流程。当然,判断
S130,智能终端系统挂载访客数据分区。
智能终端查询访问密码与用户数据分区之间的映射关系,得到与所述访客密码对应的访客数据分区。
所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域;所述系统数据分区用于存储智能终端的操作系统自带的系统程序;所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息。
智能终端挂载访客数据分区,是指智能终端系统加载访客数据分区,进而使智能终端系统能够对访客数据分区进行读/写操作。
智能终端的操作系统挂载访客数据分区后,就像进行了恢复出厂设置一样,仅有系统自带的应用程序,完全看不到机主自行安装的应用程序,也看不到机主在使用智能终端时所存储的数据,例如,通话记录、通讯录等。应当理解的是,智能终端根据 访客密码或机主密码挂载的是同一个操作系统的不同的数据分区,而不是不同的操作系统,与一些智能终端存在的双系统不同。
S140,智能终端系统挂载所述机主数据分区。
智能终端查询访问密码与用户数据分区之间的映射关系,得到与所述机主密码对应的机主数据分区。
智能终端系统挂载机主数据分区,挂载机主数据分区后机主能够正常使用智能终端,能够看到机主安装的全部应用程序,以及能够看到机主使用智能手机时所产生的数据。
本实施例提供的智能终端系统启动方法,设置有两个访问密码分别是访客密码和机主密码,用户输入不同的密码,智能终端系统将挂载不同的用户数据分区,该用户数据分区包括机主数据分区和访客数据分区。具体的,如果用户输入的访问密码是访客密码,智能终端系统将挂载访客数据分区;如果访问密码是机主密码,则智能终端系统挂载机主数据分区。其中,访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域。系统数据分区用于存储智能终端系统自带的系统程序;机主数据分区用于存储用户通过机主密码使用智能终端时所存储的信息,该信息包括用户安装的应用程序及用户使用智能终端过程中所产生的数据。智能终端系统挂载访客数据分区后,就像进行了恢复出厂设置一样,仅有系统自带的应用程序,且没有用户通过机主密码使用智能终端时所存储的数据;即,访客看不到机主自行安装的应用程序,而且看不到机主使用智能终端的系统应用时所存储的任何数据,因此,采用该方法能够更全面地保护机主的隐私信息。
请参见图2,示出了本发明实施例另一种智能终端系统启动方法的流程图,本实施例用于智能终端开机启动的应用场景中。该实施例中的智能终端以手机为例进行描述,如图2所示,该方法包括以下步骤:
S210,手机检测到开机操作指令时,挂载系统数据分区。
手机在关机状态下检测到开机操作指令后,首先挂载系统数据分区(即,操作系统所在的数据分区),即启动系统自带的应用程序;其中,开机操作指令由手机侦听到用户的开机或重启操作事件后产生。
S220,手机向用户展示访问密码输入界面,并获取用户在所述访问密码输入界面输入的访问密码。
手机挂载系统数据分区后,展示输入访问密码的界面,提示用户输入访问密码;并获取用户在访问密码输入界面输入的访问密码。
提示用户输入访问密码的方式可以是直接在手机的显示屏上显示输入访问密码的界面。手机按照指定的时间间隔侦听用户在该界面的输入事件,并获取用户输入的访问密码。
S230,手机判断所述访问密码是否是机主密码或访客密码;如果访问密码是访客密码,则执行S240;如果访问密码是机主密码则执行S260;如果访问密码与机主密码和访客密码均不相同,则结束当前流程。
手机预先在非易失性存储器内的特定区域内存储机主密码及该机主密码与机主数据分区之间的映射关系;以及,存储访客密码及该访客密码与访客数据分区之间的映射关系。访问密码与用户数据分区之间的映射关系具体是:访客密码对应访客数据分区;机主密码对应机主数据分区。
如果访问密码是数字密码,则在手机的非易失性存储器(例如,闪存)中存储该密码的具体数字,依次类推,对于图形密码,则存储具体图形,如果是指纹密码,则存储具体的指纹。
手机获得用户输入的访问密码后,比较该访问密码与预先存储的机主密码或访客密码是否相同。
S240,手机查询预先存储的访问密码与用户数据分区之间的映射关系,得到与所述访客密码相对应的访客数据分区。
S250,手机挂载所述访客数据分区。
手机挂载访客数据分区后,仅有系统自带的应用程序,完全看不到机主自行安装的应用程序,也看不到机主在使用智能终端时所存储的数据,例如,通话记录、通讯录等。
在本发明一个实施例中,手机预先在非易失性存储器中划分一块区域,即为访客预留的访客数据分区,可以保存访客使用手机时产生的数据。
在本发明另一个实施例中,在RAM(Random Access Memory,随机存取存储器)中通过挂载tmpfs作为所述访客数据分区。其中,tmpfs是一种基于内存的文件系统,tmpfs可以使用RAM或swap分区来存储文件,tmpfs主要存储暂存的文件。即在RAM中为访客临时划分一个存储区域,用来存储访客数据。
S260,手机查询预先存储的访问密码与用户数据分区之间的映射关系,得到与所述机主密码相对应的机主数据分区。
S270,手机挂载所述机主数据分区。
智能终端系统挂载机主数据分区,即机主能够正常使用智能终端,能够看到机主 安装的全部应用程序,以及能够看到机主使用智能手机时所产生的数据。
本实施例提供的智能终端系统启动方法,在智能终端启动过程中,启动完系统自带的应用程序后,向用户展示访问密码输入界面,并获取用户在该界面输入的访问密码。查询访问密码与用户数据分区之间的对应关系,得到用户输入的访问密码所对应的用户数据分区,并挂载该用户数据分区。具体的,用户输入访客密码,则挂载与访客密码相对应的访客数据分区;用户输入机主密码,则挂载与机主密码相对应的机主数据分区。智能终端系统挂载访客数据分区后,仅有系统自带的应用程序,访客看不到机主自行安装的应用程序,而且看不到机主使用智能终端的系统应用时所存储的任何数据,因此,采用该方法能够更全面地保护机主的隐私信息。
请参见图3,示出了本发明实施例另一种智能终端系统启动方法的流程图,本实施例应用于智能终端启动后处于锁屏状态时,切换不同的数据分区的应用场景中。本实施例仍以手机为例进行描述,如图3所示,该方法可以包括以下步骤:
S310,手机处于锁屏状态下,获取用户输入的访问密码。
S320,手机判断所述访问密码是否与机主密码或访客密码相匹配;如果访问密码与访客密码相匹配,则执行S330;如果访问密码与机主密码相匹配,则执行S370。如果访问密码既不是机主密码又不是访客密码,则结束当前流程。
S330,手机查询访问密码与用户数据分区之间的映射关系,得到与所述访客密码相对应的访客数据分区。
S340,手机判断当前挂载用户分区是否是所述访客数据分区,如果当前挂载用户分区不是访客数据分区,则执行S350;如果当前挂载用户分区是访客数据分区,则执行S360。
S350,手机卸载所述当前挂载用户分区,并挂载所述访客数据分区。
卸载数据分区,即手机系统移除已经加载的数据分区,即手机不能对卸载后的数据分区进行读/写操作。
手机停止当前运行的系统服务,卸载当前已经挂载的机主数据分区,然后挂载访客数据分区,并重启系统服务。
S360,手机保持当前挂载的访客数据分区不变。
S370,手机查询访问密码与用户数据分区之间的映射关系,得到与所述机主密码相对应的机主数据分区。
S380,手机判断当前挂载用户分区是否是所述机主数据分区,如果当前挂载用户分区不是机主数据分区,则执行步骤S390;如果当前挂载用户分区是机主数据分区, 则执行S3100。
S390,手机卸载所述当前挂载用户分区,并挂载所述机主数据分区。
手机停止当前运行的系统服务,卸载当前挂载的访客数据分区,然后挂载机主数据分区,并重启系统服务。
S3100,手机保持当前挂载的机主数据分区不变。
本实施例提供的智能终端系统启动方法,在智能终端启动后处于锁屏状态时,获得用户输入的访问密码后,判断访问密码的类型;如果访问密码是访客密码,则继续判断智能终端当前挂载的用户数据分区的类型;如果当前挂载用户分区是机主数据分区,则卸载所述机主数据分区并挂载与访客密码对应的访客数据分区。如果当前挂载用户分区是访客数据分区,则保持当前挂载的用户数据分区不变。如果访问密码是机主密码,则继续判断智能终端当前挂载的用户数据分区的类型;如果当前挂载用户分区是访客数据分区,则卸载所述访客数据分区,并挂载机主数据分区,从而实现智能终端上层应用重启,切换到用户输入的访问密码所对应的用户数据分区,操作更方便,不需要智能终端整机重启,仅是上层应用重新启动,启动速度快。
请参见图4,示出了本发明实施例另一种智能终端系统启动方法流程图,智能终端可以保存访客使用该智能终端所产生的访客数据。
该方法在图1-3任一实施例的基础上还可以包括以下步骤,本实施例在图1所示实施例的基础上增加以下步骤:
S410,当所述智能终端卸载所述访客数据分区时,向用户展示是否保存访客数据;所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据。
例如,智能终端当前挂载的是访客数据分区,当智能终端关机时智能终端会卸载访客数据分区;又如,智能终端挂载的用户数据分区由访客数据分区切换到机主数据分区时,智能终端也需要卸载访客数据分区。
S420,当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中。所述确认保存指令由所述智能终端检测到用户的确认保存所述访客数据的操作后产生。
在本发明一个应用场景中,智能终端在非易失性存储器中为访客划分了访客数据分区,在此种应用场景下,第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中至少一个。
例如,访客数据可以存储到访客数据分区中;或者,访客数据存储到外置存储设备中;或者,访客数据存储到访客数据分区,同时同步到云服务器中;或者,访客数据存储到外置存储设备,同时同步到云服务器中。访客数据存储到云服务器中后,用 户可以将访客数据同步到其它智能终端中。
在本发明另一个应用场景中,智能终端在RAM上挂载tmpfs作为访客数据分区,即在RAM上为访客划分一个临时存储分区用来存储访客数据。在此种应用场景下,所述第一类存储区域包括所述外置存储设备和云服务器中的至少一个。RAM掉电会丢失数据,因此,RAM上不能存储访客数据。
本实施例提供的智能终端系统启动方法,当智能终端卸载访客数据分区时,智能终端会提示是否保存访客数据,如果用户确认需要保存访客数据,可以将访客数据存储到为访客预留的访客数据分区、外置存储设备和云服务器中的至少一种,从而使得访客下次使用该智能终端时,能够方便得看到自己使用该智能终端时所存储的数据,使访客使用更方便。
相应于上述的智能终端系统启动方法实施例,本发明还提供了智能终端系统启动装置实施例。
请参见图5,示出了本发明实施例一种智能终端系统启动装置的框图,如图5所示,该装置可以包括检测模块110、判断模块120、第一分区挂载模块130、第二分区挂载模块140。
检测模块110,用于当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码。
在本发明的一个应用场景下,智能终端由关机状态启动,当智能终端检测到开机操作指令时,挂载系统数据分区;然后,向用户展示访问密码输入界面,用户可以在访问密码输入界面输入访问密码。检测模块110检测用户是否在访问密码输入界面输入访问密码。
判断模块120,用于当检测模块110检测到用户输入访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配。
所述判断模块具体用于:比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;当所述访问密码与预先存储的机主密码相同,确定所述访问密码与机主密码相匹配;或者,当所述访问密码与预先存储的访客密码相同,确定所述访问密码与访客密码相匹配。
其中,机主密码和访客密码预先存储在智能终端的非易失性存储区域中。
该非易失性存储器中进一步存储有访问密码与用户数据分区之间的映射关系,在判断所述访问密码是否与访客密码或机主密码相匹配之后,查询访问密码与用户数据分区之间的映射关系,获得与用户输入的访问密码相对应的数据分区;如果用户输入 访客密码,则对应的用户数据分区是访客数据分区;如果用户输入机主密码,则对应的用户数据分区是机主数据分区。
第一分区挂载模块130,用于当判断模块120确定访问密码与访客密码相匹配时,挂载访客数据分区。
所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息。
在本发明一应用场景中,智能终端处于锁频状态,用户输入访客密码,则第一分区挂载模块具体用于:判断智能终端系统的当前挂载用户分区是否是访客数据分区;当所述第一判断子模块确定当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
第二分区挂载模块140,用于当判断模块120确定访问密码与所述机主密码相匹配时,挂载机主数据分区。
本实施例提供的智能终端系统启动装置,智能终端设置有两个访问密码分别是访客密码和机主密码,用户输入不同的密码,智能终端系统将挂载不同的用户数据分区,该用户数据分区包括机主数据分区和访客数据分区。具体的,如果用户输入的访问密码是访客密码,智能终端系统将挂载访客数据分区;智能终端系统挂载访客数据分区后,就像进行了恢复出厂设置一样,仅有系统自带的应用程序,且没有用户通过机主密码使用智能终端时所存储的数据;即,访客看不到机主自行安装的应用程序,而且看不到机主使用智能终端的系统应用时所存储的任何数据,因此,采用该装置能够更全面地保护机主的隐私信息。
请参见图6,示出了本发明实施例示出的另一种智能终端系统启动装置的框图,该装置在图5所示实施例的基础上还可以包括划分模块210、第一展示模块220和存储模块230。
划分模块210,用于预先在智能终端的非易失性存储器上划分出访客数据分区;或者,用于通过基于随机存取存储器的文件系统,在智能终端的随机存取存储器上划分出访客数据分区。
该划分模块210可以在智能终端的RAM(Random Access Memory,随机存取存储器)中通过挂载tmpfs作为访客数据分区。其中,tmpfs是一种基于内存的文件系统,tmpfs可以使用RAM或swap分区来存储文件,tmpfs主要存储暂存的文件。即在RAM中为访客临时划分一个存储区域,用来存储访客数据。
第一展示模块220,用于当智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
存储模块230,用于当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生。
若访客数据分区是智能终端的非易失性存储器内的存储区域,则第一类存储区域包括访客数据分区、智能终端的外置存储设备和云服务器中的至少一个;若访客数据分区是智能终端的随机存储存储器内的存储区域,则第一类存储区域包括智能终端的外置存储设备和云服务器中的至少一个。
本实施例提供的智能终端系统启动装置,当智能终端卸载访客数据分区时,智能终端会提示是否保存访客数据,如果用户确认需要保存访客数据,可以将访客数据存储到为访客预留的访客数据分区、外置存储设备和云服务器中的至少一种,从而使得访客下次使用该智能终端时,能够方便得看到自己使用该智能终端时所存储的数据,使访客使用更方便。
相应于上述的智能终端系统启动装置实施例,本发明还提供了智能终端实施例。
请参见图7,示出了本发明实施例示出的一种智能终端的结构示意图,该智能终端300可以是手机、平板电脑、PDA、POS机或车载电脑等。
如图7所示,智能终端300包括至少一个处理器301,至少一个通信总线302,用户接口303,存储器304,至少一个网络接口305。通信总线302用于实现这些组件之间的连接通信;智能终端通过网络接口305连接网络。
用户接口303可以包括显示器(例如,触摸屏、LCD、CRT、全息成像(Holographic)或者投影(Projector)等),键盘或者点击设备(例如,鼠标,轨迹球(trackball),触感板或者触摸屏等)等。
存储器304可以包括只读存储器和随机存取存储器,并向处理器301提供指令和数据。存储器304的一部分还可以包括非易失性随机存取存储器(NVRAM)。
在一些实施方式中,存储器304存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集;本实施例中,存储器304包括操作系统3041和应用程序模块3042。
操作系统3041包含各种系统程序,用于实现各种基础业务以及处理基于硬件的任务;
应用程序模块3042包含各种应用程序,例如桌面(launcher)、媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。
在本发明实施例中,通过调用存储器304存储的程序或指令,处理器301用于:
当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
如果所述访问密码与所述机主密码相匹配,则所述智能终端系统挂载所述机主数据分区。
其中,当智能终端处于锁屏状态时,如果处理器301确定访问密码与访客密码相匹配,智能终端系统挂载访客数据分区,具体用于:
判断智能终端系统的当前挂载用户分区是否是访客数据分区;
若当前挂载用户分区不是所述访客数据分区,则卸载当前挂载用户分区,并挂载访客数据分区。
其中,处理器301在当检测到用户输入的访问密码时,判断访问密码是否与访客密码或机主密码相匹配之前,还用于:
预先在智能终端的非易失性存储器上划分出访客数据分区;
或者,
通过基于随机存取存储器的文件系统,在智能终端的随机存取存储器上划分出访客数据分区。
其中,处理器301在智能终端系统挂载访客数据分区之后,还用于:
当智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
当检测到确认保存指令后,将访客数据存储到第一类存储区域中,确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
若访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括访客数据分区、智能终端的外置存储设备和云服务器中的至少一个;若 访客数据分区是所述智能终端的随机存储存储器内的存储区域,则第一类存储区域包括智能终端的外置存储设备和云服务器中的至少一个。
其中,处理器301检测到用户输入的访问密码时,判断访问密码是否与访客密码或机主密码相匹配时,具体用于:
比较访问密码与预先存储在智能终端的非易失性存储器中的机主密码或访客密码是否相同;
如果访问密码与预先存储的机主密码相同,则确定访问密码与机主密码相匹配;或者,
如果访问密码与预先存储的访客密码相同,则确定访问密码与访客密码相匹配。
其中,智能终端的非易失性存储器中进一步存储有访问密码与数据分区之间的映射关系,在处理器301判断访问密码是否与访客密码或机主密码相匹配之后,处理器301还用于:
如果访问密码与访客密码相匹配,则查询映射关系得到与访客密码相对应的访客数据分区;或者,
如果访问密码与机主密码相匹配,则查询映射关系得到与机主密码相对应的机主数据分区。
其中,在所述处理器301检测用户是否输入访问密码之前,处理器301还用于:
当智能终端检测到开机操作指令时,挂载系统数据分区;
展示访问密码输入界面,以使用户输入访问密码。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式 计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (19)

  1. 一种智能终端系统启动方法,其特征在于,所述智能终端设置有机主密码和访客密码,所述方法包括:
    当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
    当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
    如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
    如果所述访问密码与所述机主密码相匹配,则所述智能终端系统挂载所述机主数据分区。
  2. 根据权利要求1所述的方法,其特征在于,当智能终端处于锁屏状态时,所述如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,包括:
    判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
    当所述当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配之前,所述方法还包括:
    预先在所述智能终端的非易失性存储器上划分出访客数据分区;
    或者,
    通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
  4. 根据权利要求3所述的方法,其特征在于,在所述智能终端系统挂载访客数据分区之后,所述方法还包括:
    当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
    当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述 确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
    若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
  5. 根据权利要求1所述的方法,其特征在于,所述当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配包括:
    比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;
    如果所述访问密码与预先存储的机主密码相同,则确定所述访问密码与机主密码相匹配;或者,
    如果所述访问密码与预先存储的访客密码相同,则确定所述访问密码与访客密码相匹配。
  6. 根据权利要求5所述的方法,其特征在于,所述智能终端的非易失性存储器中进一步存储有访问密码与用户数据分区之间的映射关系,在判断所述访问密码是否与访客密码或机主密码相匹配之后,所述方法还包括:
    如果所述访问密码与所述访客密码相匹配,则查询所述映射关系得到与所述访客密码相对应的访客数据分区;或者,
    如果所述访问密码与所述机主密码相匹配,则查询所述映射关系得到与所述机主密码相对应的机主数据分区。
  7. 根据权利要求1所述的方法,其特征在于,在当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码之前,所述方法还包括:
    当智能终端检测到开机操作指令时,挂载所述系统数据分区;
    展示访问密码输入界面,以使用户输入访问密码。
  8. 一种智能终端系统启动装置,其特征在于,所述智能终端设置有机主密码和访客密码,所述装置包括:
    检测模块,用于当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
    判断模块,用于当所述检测模块检测到用户输入访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
    第一分区挂载模块,用于当所述判断模块确定所述访问密码与访客密码相匹配时,挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机 主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
    第二分区挂载模块,用于当所述判断模块确定所述访问密码与所述机主密码相匹配时,挂载所述机主数据分区。
  9. 根据权利要求8所述的装置,其特征在于,当智能终端处于锁屏状态时,所述第一分区挂载模块具体用于:
    判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
    当所述第一判断子模块确定当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
  10. 根据权利要求8或9所述的装置,其特征在于,所述装置还包括:
    划分模块,用于预先在所述智能终端的非易失性存储器上划分出访客数据分区;或者,用于通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    第一展示模块,用于当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
    存储模块,用于当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
    若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
  12. 根据权利要求8所述的装置,其特征在于,所述判断模块具体用于:
    比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;
    当所述访问密码与预先存储的机主密码相同,确定所述访问密码与机主密码相匹配;或者,
    当所述访问密码与预先存储的访客密码相同,确定所述访问密码与访客密码相匹配。
  13. 一种智能终端,其特征在于,所述智能终端设置有机主密码和访客密码,所述智能终端包括:存储器和处理器;
    通过调用所述存储器内存储的程序或指令,所述处理器用于:
    当智能终端处于系统启动过程中或锁屏状态时,检测用户是否输入访问密码;
    当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配;
    如果所述访问密码与访客密码相匹配,则所述智能终端系统挂载访客数据分区,所述访客数据分区是智能终端内除系统数据分区和机主数据分区之外的存储区域,所述系统数据分区用于存储智能终端系统自带的系统程序,所述机主数据分区用于存储用户通过所述机主密码使用智能终端时所存储的信息;或者,
    如果所述访问密码与所述机主密码相匹配,则所述智能终端系统挂载所述机主数据分区。
  14. 根据权利要求13所述的智能终端,其特征在于,当智能终端处于锁屏状态时,如果所述处理器确定访问密码与访客密码相匹配,所述智能终端系统挂载访客数据分区时,具体用于:
    判断所述智能终端系统的当前挂载用户分区是否是访客数据分区;
    当所述当前挂载用户分区不是所述访客数据分区时,卸载所述当前挂载用户分区,并挂载所述访客数据分区。
  15. 根据权利要求13或14所述的智能终端,其特征在于,所述处理器在当检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配之前,还用于:
    预先在所述智能终端的非易失性存储器上划分出访客数据分区;
    或者,
    通过基于随机存取存储器的文件系统,在所述智能终端的随机存取存储器上划分出访客数据分区。
  16. 根据权利要求15所述的智能终端,其特征在于,所述处理器在所述智能终端系统挂载访客数据分区之后,还用于:
    当所述智能终端关机或所述智能终端挂载的用户数据分区由所述访客数据分区切换到所述机主数据分区时,向用户展示是否保存访客数据,所述访客数据是用户通过所述访客密码使用所述智能终端所产生的数据;
    当检测到确认保存指令后,将所述访客数据存储到第一类存储区域中,所述确认保存指令由所述智能终端检测到用户确认保存所述访客数据的操作后产生;
    若所述访客数据分区是所述智能终端的非易失性存储器内的存储区域,则所述第一类存储区域包括所述访客数据分区、所述智能终端的外置存储设备和云服务器中的至少一个;若所述访客数据分区是所述智能终端的随机存储存储器内的存储区域,则所述第一类存储区域包括所述智能终端的外置存储设备和云服务器中的至少一个。
  17. 根据权利要求13所述的智能终端,其特征在于,所述处理器检测到用户输入的访问密码时,判断所述访问密码是否与访客密码或机主密码相匹配时,具体用于:
    比较所述访问密码与预先存储在所述智能终端的非易失性存储器中的机主密码或访客密码是否相同;
    如果所述访问密码与预先存储的机主密码相同,则确定所述访问密码与机主密码相匹配;或者,
    如果所述访问密码与预先存储的访客密码相同,则确定所述访问密码与访客密码相匹配。
  18. 根据权利要求17所述的智能终端,其特征在于,所述智能终端的非易失性存储器中进一步存储有访问密码与数据分区之间的映射关系,在所述处理器判断所述访问密码是否与访客密码或机主密码相匹配之后,还用于:
    如果所述访问密码与所述访客密码相匹配,则查询所述映射关系得到与所述访客密码相对应的访客数据分区;或者,
    如果所述访问密码与所述机主密码相匹配,则查询所述映射关系得到与所述机主密码相对应的机主数据分区。
  19. 根据权利要求13所述的装置,其特征在于,在所述处理器检测用户是否输入访问密码之前,所述处理器还用于:
    当智能终端检测到开机操作指令时,挂载所述系统数据分区;
    展示访问密码输入界面,以使用户输入访问密码。
PCT/CN2015/086642 2015-08-11 2015-08-11 智能终端系统启动方法、装置及智能终端 WO2017024519A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580081150.2A CN107710211A (zh) 2015-08-11 2015-08-11 智能终端系统启动方法、装置及智能终端
PCT/CN2015/086642 WO2017024519A1 (zh) 2015-08-11 2015-08-11 智能终端系统启动方法、装置及智能终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/086642 WO2017024519A1 (zh) 2015-08-11 2015-08-11 智能终端系统启动方法、装置及智能终端

Publications (1)

Publication Number Publication Date
WO2017024519A1 true WO2017024519A1 (zh) 2017-02-16

Family

ID=57983965

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086642 WO2017024519A1 (zh) 2015-08-11 2015-08-11 智能终端系统启动方法、装置及智能终端

Country Status (2)

Country Link
CN (1) CN107710211A (zh)
WO (1) WO2017024519A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180173A (zh) * 2017-04-27 2017-09-19 上海与德科技有限公司 解锁方法及装置
CN110032448A (zh) * 2019-04-15 2019-07-19 Oppo广东移动通信有限公司 一种终端解锁控制方法、装置及计算机可读存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805946B (zh) * 2020-06-15 2023-08-18 苏州佳世达电通有限公司 用于安卓系统的非易失属性的处理方法、装置及电子设备
CN111988409B (zh) * 2020-08-20 2023-06-13 深圳市臂云科技有限公司 一种实现云手机挂载外部存储启动的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107114A1 (en) * 2003-09-29 2005-05-19 Ocock Timothy J. Multi-user mobile telephone
CN102457619A (zh) * 2011-12-30 2012-05-16 广东欧珀移动通信有限公司 一种手机权限密码的设置方法
CN103023649A (zh) * 2012-11-29 2013-04-03 北京小米科技有限责任公司 一种隐私信息保护方法、装置和设备
CN104584521A (zh) * 2012-02-23 2015-04-29 模拟和密码有限公司 移动通信设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107114A1 (en) * 2003-09-29 2005-05-19 Ocock Timothy J. Multi-user mobile telephone
CN102457619A (zh) * 2011-12-30 2012-05-16 广东欧珀移动通信有限公司 一种手机权限密码的设置方法
CN104584521A (zh) * 2012-02-23 2015-04-29 模拟和密码有限公司 移动通信设备
CN103023649A (zh) * 2012-11-29 2013-04-03 北京小米科技有限责任公司 一种隐私信息保护方法、装置和设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180173A (zh) * 2017-04-27 2017-09-19 上海与德科技有限公司 解锁方法及装置
CN110032448A (zh) * 2019-04-15 2019-07-19 Oppo广东移动通信有限公司 一种终端解锁控制方法、装置及计算机可读存储介质
CN110032448B (zh) * 2019-04-15 2021-08-17 Oppo广东移动通信有限公司 一种终端解锁控制方法、装置及计算机可读存储介质

Also Published As

Publication number Publication date
CN107710211A (zh) 2018-02-16

Similar Documents

Publication Publication Date Title
US20160232374A1 (en) Permission control method and apparatus
US20160224207A1 (en) Method and system for freezing and unfreezing applications
WO2017024519A1 (zh) 智能终端系统启动方法、装置及智能终端
CN110197075B (zh) 资源访问方法、装置、计算设备以及存储介质
CN109582496B (zh) 一致性快照组的创建方法、装置及计算机可读存储介质
WO2017049731A1 (zh) 一种多系统间的应用安全保护方法及终端
CN103744708A (zh) 一种实现linux操作系统下固定磁盘设备名的方法
US20190332773A1 (en) Remote integrity assurance of a secured virtual environment
WO2020253386A1 (zh) 应用程序处理方法、装置、电子设备及存储介质
US10516699B2 (en) Electronic device and method for suggesting response manual in occurrence of denial
CN108563472B (zh) 基于多开应用的服务插件加载方法及装置
CN109117153B (zh) 应用程序的处理方法、装置、终端和存储介质
US9727351B2 (en) Method and device for setting status of application
WO2016192161A1 (zh) 一种数据处理方法和装置
WO2015106710A1 (en) Contact information processing method, apparatus, and system
WO2019144621A1 (zh) 一种获取uefi os启动项的方法、装置及服务器
US9513928B2 (en) Method of operating multiple operating systems and the electronic device thereof
CN103455750A (zh) 一种嵌入式设备的高安验证方法及装置
CN114020340A (zh) 一种服务器系统及其数据处理方法
CN107329753B (zh) 一种固件接口代码的调整方法及电子设备
CN110363011B (zh) 用于验证基于uefi的bios的安全性的方法和设备
CN110399166B (zh) ME Nonce值的保存方法、装置、设备及存储介质
CN110874729B (zh) 电子红包识别策略的切换方法、切换装置及移动终端
US10621015B2 (en) Notification for unsaved data
CN108132803B (zh) 基于移动终端的定时保活及唤醒方法、系统、终端及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900717

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15900717

Country of ref document: EP

Kind code of ref document: A1