WO2016145706A1 - 实现智能终端用户模式切换的方法、装置以及智能终端 - Google Patents

实现智能终端用户模式切换的方法、装置以及智能终端 Download PDF

Info

Publication number
WO2016145706A1
WO2016145706A1 PCT/CN2015/076764 CN2015076764W WO2016145706A1 WO 2016145706 A1 WO2016145706 A1 WO 2016145706A1 CN 2015076764 W CN2015076764 W CN 2015076764W WO 2016145706 A1 WO2016145706 A1 WO 2016145706A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
lock
user
password
folder
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.)
Ceased
Application number
PCT/CN2015/076764
Other languages
English (en)
French (fr)
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to US15/559,135 priority Critical patent/US20180084420A1/en
Publication of WO2016145706A1 publication Critical patent/WO2016145706A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • H04M1/673Preventing unauthorised calls from a telephone set by electronic means the user being required to key in a code
    • 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
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • H04M1/724631User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
    • H04M1/724634With partially locked states, e.g. when some telephonic functional locked states or applications remain accessible in the locked states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and an intelligent terminal for implementing intelligent terminal user mode switching.
  • Smart terminals such as mobile phones and PADs have become very popular in people's lives. People can complete work, communication (including telephone, SMS, instant messaging, mail, etc.), entertainment, photography, inquiries and other activities on the smart terminal. Therefore, smart terminals, especially mobile phones, have become an indispensable part of people's lives and work.
  • a smart terminal such as a mobile phone or a PAD
  • a child In real life, it is often necessary to give a smart terminal (such as a mobile phone or a PAD) to a child to play or lend to others to operate. At this time, the child is not expected to operate some important files, such as mail in the mailbox, address book, etc., if it is lending to another person to operate or demonstrate, the privacy content in the smart terminal is not expected to be viewed.
  • a smart terminal such as a mobile phone or a PAD
  • the present invention has been made in order to provide a method, apparatus, and intelligent terminal for implementing intelligent terminal user mode switching that overcomes the above problems or at least partially solves the above problems.
  • a method for implementing smart terminal user mode switching wherein the user mode includes a normal mode and a locked mode, and the method includes:
  • the entered lock password is saved and switched to the lock mode
  • the unlock password input interface is displayed
  • the exit lock mode returns to the normal mode, otherwise, the lock mode is continued.
  • an apparatus for implementing smart terminal user mode switching includes a normal mode and a lock mode, and the device includes:
  • the control adding unit is adapted to add a user mode switching control on the folder display interface of the smart terminal;
  • the mode switching response unit is adapted to display a lock password input interface when the user opens any one of the smart terminals and triggers the user mode switch control in the normal mode; when the user enters the lock password in the lock password input interface After that, the input lock password is saved and a notification of switching to the lock mode is sent to the lock mode unit;
  • a lock mode unit adapted to restrict the user from accessing only the content in the folder after receiving the notification of switching to the lock mode; and adapted to release the restriction after receiving the notification of the exit lock mode;
  • the mode switching response unit is further adapted to display an unlock password input interface when the user triggers the mode unlock button in the lock mode; and when the user inputs the unlock password in the unlock password input interface, determine whether the input unlock password is saved and saved.
  • the lock password is the same, and the notification of the exit lock mode is sent to the lock mode unit to cause the smart terminal to return to the normal mode, otherwise the lock mode unit is not notified.
  • an intelligent terminal comprising the apparatus for implementing smart terminal user mode switching as described in any of the above.
  • a computer program comprising computer readable code that, when executed on a terminal, causes the terminal to perform the method of the preceding clause.
  • a computer readable medium storing the computer program described in the preceding paragraph is provided.
  • the user can switch the smart terminal to the lock mode when the smart terminal is loaned to the child or the other, so that the child or the other person can only operate the application in the specified folder, thereby avoiding misoperation or privacy content.
  • the technical solution of the present invention is simple in operation and convenient for the user to perform mode switching.
  • FIG. 1 is a flow chart showing a method for implementing smart terminal user mode switching according to an embodiment of the present invention
  • FIG. 2A is a schematic diagram showing a folder display page provided with a user mode switching control according to an embodiment of the present invention
  • FIG. 2B shows a schematic diagram of the user mode switching control shown in FIG. 2A when triggered according to an embodiment of the present invention
  • 2C is a schematic diagram showing a lock password input interface according to an embodiment of the present invention.
  • 2D shows a schematic diagram of entering a password in a lock password input interface, in accordance with one embodiment of the present invention
  • 2E shows a schematic diagram of staying on an interface of an entered password, in accordance with one embodiment of the present invention
  • 2F shows an interface diagram of an entry lock mode in accordance with one embodiment of the present invention
  • 2G is a schematic diagram showing an unlock password input interface according to an embodiment of the present invention.
  • 2H is a schematic diagram showing inputting an unlock password in an unlock password input interface and unlocking successfully according to an embodiment of the present invention
  • 2I is a schematic diagram showing entering a normal mode after successful unlocking according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of an apparatus for implementing smart terminal user mode switching according to an embodiment of the present invention
  • Figure 4 shows a block diagram of a terminal for performing the method according to the invention
  • Figure 5 shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 shows a flow chart of a method for implementing smart terminal user mode switching according to an embodiment of the present invention.
  • the user mode includes a normal mode and a lock mode, and the method includes step S101- Step S106:
  • Step S101 Add a user mode switching control on the folder display interface of the smart terminal.
  • the user after adding the user mode switching control on the folder display interface of the smart terminal, the user opens the folder to see the user mode switching control on the current interface of the folder, so as to facilitate the user operation.
  • Step S102 in the normal mode, when the user opens any one of the smart terminals and triggers the user mode switching control, the lock password input interface is displayed.
  • the normal mode described here is a normal state when no restriction means is adopted in the smart terminal.
  • Step S103 after the user inputs the lock password in the lock password input interface, save the input lock password and switch to the lock mode.
  • the user in order to ensure that the user enters the correct password, the user can input the password again. If the two passwords are the same, it is determined that the user has entered the correct password. If not, the user password is incorrect and re-entered.
  • Step S104 in the lock mode, restricting the user to only access the content in the folder.
  • the user in the lock mode, the user can only start and execute the APPs in the folder, and cannot return to the upper-level directory and the homepage, that is, cannot leave the current folder, and can not see the application of the non-this folder. Message.
  • Step S105 in the lock mode, when the user triggers the mode unlock button, the unlock password input interface is displayed.
  • a mode unlock button is set on the user interface for the user to unlock the mode.
  • Step S106 After the user inputs the unlock password in the unlock password input interface, it is determined whether the input unlock password is the same as the saved lock password, and then the exit lock mode returns to the normal mode, otherwise, the lock mode is continued.
  • the user can pre-set the file suitable for children and the folder suitable for others, and switch the smart terminal to the lock mode of the corresponding folder when the smart terminal needs to be loaned to the child or others. , so that children or others can only operate the apps in the specified folder, thus avoiding misuse or leakage of private content.
  • the user mode switching control is set on the folder display interface of the smart terminal, the operation is simple and the user experience is good when the mode is switched for the user.
  • the scheme of the password staying preset time is added to the method shown in FIG. 1 , specifically, After the user enters the lock password in the lock password input interface in step S103, the user presets a preset time (eg, stays for 2 seconds) on the password input interface including the input lock password to prompt the user to input the lock password. After the preset time, the step of saving the entered lock password and switching to the lock mode is performed.
  • a preset time eg, stays for 2 seconds
  • the method shown in FIG. 1 further includes: when switching to the lock mode, the Activity component in the Android system adds the display of the folder to the Window Manager of the Android system, and When adding, the type of the picture is specified as TYPE_SYSTEM_ERROR, so that the picture is added to the forefront of the current picture.
  • TYPE_SYSTEM_ERROR there is a description in the google official SDK, where type (type) represents Window type: internal system error windows, appear on top of everything they can, so you can add this picture to the front of the current picture.
  • the restricting the user to only access the content in the folder in the step S104 includes: shielding a function key that leaves the folder and returning to the home page of the system (including setting on the smart terminal) Hard buttons and soft buttons on the screen), and block notification messages (such as the sliding notification bar at the top of the Android interface).
  • the lock mode only the application in the current file can be accessed, and the notification of the incoming call, the notification of the short message, and other notifications of the application push not in the folder can not be seen.
  • the function key for shielding from leaving the folder and returning to the homepage of the system specifically includes: registering an Intent.ACTION_CLOSE_SYSTEM_DIALOGS of the Android system to listen to a function key that leaves the folder and returns to the system homepage, and receives When the message is reached, the display screen of the folder is kept at the forefront of the current screen to prevent the screen from changing. Specifically, after registering the system event, the user can receive a message when the user presses the home button and the recent app button (the long press of the home button also has this effect), and at this time, the display of the folder is placed. The front end of the current screen of the smart terminal to avoid the lock screen running away.
  • the mask notification message includes: adding a check logic to the onWindowFocusChanged function provided by the Android system, and maintaining the display screen of the folder at the forefront of the current screen when the window focus change is detected ( That is, if it is not the front end, it is placed at the front end again, blocking the change of the picture. This causes the notification bar to be automatically retracted when there is a notification message in lock mode.
  • the restricting user in S104 can only access the folder.
  • the content includes: setting a function key other than the power key to leave the folder and returning to the system homepage to be invalid, and shielding the notification message other than the incoming call notification.
  • the power button is exceptionally processed in the function keys so that the machine can be turned on and off in the lock mode. An exception is handled in the notification message to prevent the user from missing the call.
  • the lock mode the machine can also be turned on and off, so that when the user forgets the unlock code of the unlock mode, the lock mode can be released by turning off and then on.
  • step S106 after the user inputs the unlock password in the unlock password input interface, it is not necessary to press the confirm button, that is, whether the unlock password for the judgment input is the same as the saved lock password. Then exit the lock mode to return to the normal mode, otherwise continue to remain in the lock mode step. In this way, when the user enters the correct unlock password, the user will immediately switch to the normal mode, without the user having to press the confirmation button once more, thereby improving the user experience.
  • FIG. 2A shows a schematic diagram of a folder display page provided with a user mode switching control, in accordance with one embodiment of the present invention.
  • the icon in the upper right corner of the interface is the trigger button of the user mode switching control.
  • FIG. 2B shows a schematic diagram of the user mode switching control shown in FIG. 2A when triggered, in accordance with one embodiment of the present invention.
  • a pop-up menu including the "Lock at this folder" option is included.
  • FIG. 2C shows a schematic diagram of a lock password input interface in accordance with one embodiment of the present invention.
  • the "Lock at this folder" option shown in Figure 2B is triggered, the displayed lock password input interface is shown in Figure 2C.
  • FIG. 2D shows a schematic diagram of entering a password in a lock password input interface, in accordance with one embodiment of the present invention. As shown in Fig. 2D, a 4-bit password 0360 is input in this embodiment.
  • FIG. 2E shows a schematic diagram of staying on the interface of the entered password, in accordance with one embodiment of the present invention.
  • the entered password 0360 stays on the interface for a preset time, such as 2 seconds.
  • FIG. 2F shows an interface diagram of an entry lock mode in accordance with one embodiment of the present invention. As shown in FIG. 2F, after entering the lock mode, a mode unlock button is set on the display interface of the current folder, as shown in the upper part of FIG. 2F.
  • FIG. 2G shows a schematic diagram of an unlock password input interface in accordance with one embodiment of the present invention. As shown in Figure 2G As shown, the unlock password input interface is displayed when the mode unlock button in FIG. 2F is triggered.
  • 2H shows a schematic diagram of entering an unlock password in an unlock password input interface and unlocking successfully according to an embodiment of the present invention.
  • 2I shows a schematic diagram of entering a normal mode after successful unlocking, in accordance with one embodiment of the present invention.
  • the user can conveniently set the smart terminal to the lock mode of a certain folder, and only the application in the folder can be operated in the lock mode.
  • the user can set a folder containing different contents in advance for different situations (playing the mobile phone for children, lending the mobile phone to others, etc.), and when the corresponding situation occurs, simply select the locked folder on the corresponding folder. Enter the lock mode that can only operate the apps in this file.
  • FIG. 3 is a structural diagram of an apparatus for implementing smart terminal user mode switching according to an embodiment of the present invention.
  • the user mode includes a normal mode and a lock mode.
  • the device 300 for implementing smart terminal user mode switching includes:
  • the control adding unit 310 is adapted to add a user mode switching control on the folder display interface of the smart terminal. After adding the user mode switching control on the folder display interface of the smart terminal, the user opens any folder and sees the user mode switching control on the current interface of the folder, so as to facilitate the user operation.
  • the mode switching response unit 320 is adapted to display a lock password input interface when the user opens any one of the smart terminals and triggers the user mode switching control in the normal mode; when the user inputs the lock in the lock password input interface After the password, the entered lock password is saved and a notification to switch to lock mode is sent to the lock mode unit.
  • the normal mode described here is a normal state when no restriction means is adopted in the smart terminal.
  • the lock mode unit 330 is adapted to restrict the user from accessing only the content in the folder after receiving the notification of switching to the lock mode; and is adapted to release the restriction after receiving the notification of the exit lock mode.
  • the user can only start and execute the APPs in the folder, and cannot return to the upper directory and the home page, that is, cannot leave the current folder.
  • the mode switching response unit 320 is further adapted to display an unlock password input interface when the user triggers the mode unlock button in the lock mode; and when the user inputs the unlock password in the unlock password input interface, determine whether the input unlock password is The saved lock password is the same, and the notification of the exit lock mode is sent to the lock mode unit 330 to return the smart terminal to the normal mode, otherwise the lock mode is not notified. unit.
  • the user can pre-set the file suitable for children and the folder suitable for others, and switch the smart terminal to the corresponding folder when the smart terminal needs to be loaned to the child or others.
  • Mode which allows children or others to operate only the applications in the specified folder, thus avoiding misuse or leakage of private content.
  • the user mode switching control is set on the folder display interface of the smart terminal, the operation is simple and the user experience is good when the mode is switched for the user.
  • the mode switching response unit 320 is adapted to further control the preset time on the password input interface including the input lock password after the user inputs the lock password in the lock password input interface.
  • the user enters the lock password, and performs the step of saving the input lock password and switching to the lock mode after the preset time. This can effectively solve the problem that the user does not have a deep impression on the password that he or she has entered, and may forget it later.
  • the time spent on the password input interface containing the entered lock password can be set according to the actual situation, such as 2 seconds.
  • the lock mode unit 330 is further adapted to enable the Activity component in the Android system to add the display of the folder to the Window Manager of the Android system when switching to the lock mode. And when adding, the type of the picture is specified as TYPE_SYSTEM_ERROR, so that the picture is added to the forefront of the current picture.
  • type represents Window type: internal system error windows, appear on top of everything they can, so you can add this picture to the front of the current picture.
  • the lock mode unit 330 is adapted to block a function key that leaves the folder and return to the home page of the system after receiving the notification of switching to the lock mode, and mask the notification message.
  • the lock mode only the application in the current file can be accessed, and the notification of the incoming call, the notification of the short message, and other notifications of the application push not in the folder can not be seen.
  • the lock mode unit 330 is adapted to register an Intent.ACTION_CLOSE_SYSTEM_DIALOGS of the Android system to listen to a function key that leaves the folder and returns to the system homepage, and when the message is received, keep the folder.
  • the display screen is at the forefront of the current screen, preventing the screen from changing.
  • the user can receive the message when the user presses the home button and the recent app button (the long press of the home button also has this effect), and at this time the folder (such as a child-specific file)
  • the screen of the clip is placed at the forefront of the screen again to avoid the lock screen running away.
  • the lock mode unit 330 is adapted to add check logic to the onWindowFocusChanged function provided by the Android system, and when the window focus changes are checked, the display screen of the folder is kept at the most The front end prevents the picture from changing. .
  • the lock mode unit 330 is adapted to, after receiving the notification of switching to the lock mode, set a function key other than the power button to leave the folder and return to the system homepage as Invalid and block notification messages other than call notifications.
  • the power button is exceptionally processed in the function keys so that the machine can be turned on and off in the lock mode. An exception is handled in the notification message to prevent the user from missing the call.
  • the mode switching response unit 320 is adapted to perform, after the user inputs the unlocking password in the unlocking password input interface, whether to execute the unlocking password of the determined input and save the saved password.
  • the lock password is the same, and the exit lock mode returns to the normal mode, otherwise it continues to remain in the lock mode. In this way, when the user enters the correct unlock password, the user will immediately switch to the normal mode, without the user having to press the confirmation button once more, thereby improving the user experience.
  • the corresponding user interface is illustrated in FIG. 2A to FIG. 2I, and is not repeated herein.
  • an intelligent terminal is further disclosed, which includes the apparatus for implementing smart terminal user mode switching as described in any of the above embodiments.
  • the smart terminal can be a mobile phone or a PAD.
  • a user can separately set a file suitable for children and a plurality of folders suitable for others, and switch the smart terminal to when the smart terminal needs to be loaned to a child or others.
  • the lock mode of the corresponding folder allows children or others to operate only the applications in the specified folder, thus avoiding misuse or leakage of private content.
  • the user mode switching control is set on the folder display interface of the smart terminal, the operation is simple and the user experience is good when the mode is switched for the user.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • Those skilled in the art will appreciate that some or all of some or all of the means for implementing smart terminal user mode switching in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or digital signal processor (DSP).
  • DSP digital signal processor
  • the invention may also be embodied as a device for performing some or all of the methods described herein.
  • a device or device program for example, a computer program and a computer program product).
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 4 illustrates a terminal, such as a smart terminal, that can implement user mode switching in accordance with the present invention.
  • the terminal conventionally includes a processor 410 and a computer program product or computer readable medium in the form of a memory 420.
  • the memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above.
  • storage space 430 for program code may include various program code 431 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such computer program products are typically portable or fixed storage units as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 420 in the terminal of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 431', i.e., code readable by a processor, such as 410, that when executed by the terminal causes the terminal to perform various steps in the methods described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种实现智能终端用户模式切换的方法、装置以及智能终端。该方法包括:在智能终端的文件夹展示界面上添加用户模式切换控件;在正常模式下,当用户打开任一个文件夹并触发用户模式切换控件时,展示锁定密码输入界面;当用户输入锁定密码后,保存锁定密码并切换到锁定模式;在锁定模式下,限制用户只能访问所述文件夹中的内容;在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;当用户输入解锁密码后,判断其是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式。本发明的技术方案,使得用户能够将智能终端借给儿童或他人使用时将智能终端切换到锁定模式,从而避免误操作或隐私内容的泄露。

Description

实现智能终端用户模式切换的方法、装置以及智能终端 技术领域
本发明涉及计算机技术领域,具体涉及一种实现智能终端用户模式切换的方法、装置以及一种智能终端。
背景技术
手机、PAD等智能终端在人们的生活中已经非常普及。人们可以在智能终端上完成工作、通信(包括电话、短信、即时通信、邮件等)、娱乐、照相、查询等活动。因此智能终端,特别是手机已成为人们生活工作中必不可少的配备。
在实际生活当中,经常需要将智能终端(如手机或PAD)给儿童玩或者借给他人操作的情况。此时不希望儿童操作一些重要的文件,如邮箱中的邮件,通讯录等等,如果是借给他人操作或演示则不希望智能终端中的隐私内容被查看。但目前还没有解决该问题的技术。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种实现智能终端用户模式切换的方法、装置以及一种智能终端。
依据本发明的一个方面,提供了一种实现智能终端用户模式切换的方法,其中,用户模式包括正常模式和锁定模式,该方法包括:
在智能终端的文件夹展示界面上添加用户模式切换控件;
在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面;
当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并切换到锁定模式;
在锁定模式下,限制用户只能访问所述文件夹中的内容;
在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;
当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式。
依据本发明的另一个方面,提供了一种实现智能终端用户模式切换的装置, 其中,用户模式包括正常模式和锁定模式,该装置包括:
控件添加单元,适于在智能终端的文件夹展示界面上添加用户模式切换控件;
模式切换响应单元,适于在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面;当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并向锁定模式单元发送切换到锁定模式的通知;
锁定模式单元,适于在收到切换到锁定模式的通知后,限制用户只能访问所述文件夹中的内容;以及适于在收到退出锁定模式的通知后,解除限制;
所述模式切换响应单元,还适于在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则向锁定模式单元发送退出锁定模式的通知以使得智能终端返回到正常模式,否则不通知锁定模式单元。
依据本发明的又一个方面,提供了一种智能终端,该智能终端包括如上述任一项所述的实现智能终端用户模式切换的装置。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在终端上运行时,导致所述终端执行前项所述的方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了前项所述的计算机程序。
由上述实施例可以看出,与现有技术相比,本发明的有益效果在于:
根据本发明的技术方案,使得用户能够将智能终端借给儿童或他人使用时将智能终端切换到锁定模式,使得儿童或他人只能操作指定文件夹中的应用,从而避免误操作或隐私内容的泄露。并且本发明的技术方案对于用户来说进行模式切换时操作简单,用户体验好。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的 部件。在附图中:
图1示出了根据本发明一个实施例的一种实现智能终端用户模式切换的方法的流程图;
图2A示出了根据本发明一个实施例的设置有用户模式切换控件的文件夹展示页面示意图;
图2B示出了根据本发明一个实施例的图2A中所示的用户模式切换控件被触发时的示意图;
图2C示出了根据本发明一个实施例的锁定密码输入界面示意图;
图2D示出了根据本发明一个实施例的在锁定密码输入界面中输入密码的示意图;
图2E示出了根据本发明一个实施例的在输入的密码的界面上停留的示意图;
图2F示出了根据本发明一个实施例的进入锁定模式的界面示意图;
图2G示出了根据本发明一个实施例的解锁密码输入界面示意图;
图2H示出了根据本发明一个实施例的在解锁密码输入界面中输入解锁密码并解锁成功的示意图;
图2I示出了根据本发明一个实施例的解锁成功后进入正常模式的示意图;
图3示出了根据本发明一个实施例的一种实现智能终端用户模式切换的装置的结构图;
图4示出了用于执行根据本发明的方法的终端的框图;以及
图5示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
附图实施例
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
图1示出了根据本发明一个实施例的一种实现智能终端用户模式切换的方法的流程图。其中,用户模式包括正常模式和锁定模式,该方法包括步骤S101- 步骤S106:
步骤S101,在智能终端的文件夹展示界面上添加用户模式切换控件。
在本步骤中,在智能终端的文件夹展示界面上添加用户模式切换控件后,用户打开任何一个文件夹都会在该文件夹的当前界面上看到该用户模式切换控件,以方便用户操作。
步骤S102,在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面。
这里所述的正常模式即为智能终端中未采用任何限制手段时的平常状态。
步骤S103,当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并切换到锁定模式。
本步骤中,为了确保用户输入正确的密码,可令用户再重复输入一次密码,如果两次输入的密码相同则确定用户输入了正确的密码,如果不相同则提示用户密码不正确并重新输入。
步骤S104,在锁定模式下,限制用户只能访问所述文件夹中的内容。
本步骤中,在锁定模式下用户只能启动和执行所述文件夹中的APPs,无法返回上一级目录和主页,即无法离开当前文件夹,也看不到非本文件夹的应用的相关消息。
步骤S105,在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面。
在锁定模式下,用户界面上设置有模式解锁按键,以供用户来解除锁定模式。
步骤S106,当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式。
根据图1所述的技术方案,用户可以预先设置好适用于儿童的文件以及适用于他人的文件夹,当需要将智能终端借给儿童或他人使用时将智能终端切换到相应文件夹的锁定模式,即可使得儿童或他人只能操作指定文件夹中的应用,从而避免误操作或隐私内容的泄露。并且本发明的技术方案中由于在智能终端的文件夹展示界面上设置了用户模式切换控件,因此对于用户来说进行模式切换时操作简单,用户体验好。
在本发明的一个实施例中,针对用户对自己随手输入的密码印象不深,稍后可能会忘记的情况,在图1所示方法中增加了密码停留预设时间的方案,具体来说,在步骤S103中当用户在锁定密码输入界面中输入锁定密码后,在包含输入的锁定密码的密码输入界面上停留预设时间(如停留2秒)以提示用户所输入的锁定密码,在所述的预设时间后执行保存输入的锁定密码并切换到锁定模式的步骤。
在本发明的一个实施例中,图1所示方法进一步包括:在切换到锁定模式时,令安卓系统中的Activity组件将所述文件夹的展示画面添加到安卓系统的Window Manager中,并在添加时指定所述画面的类型为TYPE_SYSTEM_ERROR,以使得将所述画面添加到当前画面的最前面。关于TYPE_SYSTEM_ERROR,在google官方SDK中有说明,这里type(类型)代表Window type:internal system error windows,appear on top of everything they can,所以可以把这个画面加到当前画面的最前面。
在本发明的一个实施例中,步骤S104中所述限制用户只能访问所述文件夹中的内容包括:屏蔽离开所述文件夹和返回系统主页(home)的功能键(包括智能终端上设置的硬按键和屏幕上的软按键),并屏蔽通知消息(如安卓界面最上方的可下滑的通知栏)。这样在锁定模式下,只能访问当前文件中的应用,并且也不能看到来电通知、短信通知以及其他非本文件夹中的应用推送的通知。
在本发明的一个实施例中,所述屏蔽离开所述文件夹和返回系统主页的功能键具体包括:注册安卓系统的Intent.ACTION_CLOSE_SYSTEM_DIALOGS监听离开所述文件夹和返回系统主页的功能键,当收到讯息时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。具体来说注册该系统事件后,可以在用户按下home键跟recent app键(长按home键也有此效果)的时候,收到讯息,并在这时候将所述文件夹的展示画面置于智能终端的当前画面的最前端,以避免锁定画面跑掉。
在本发明的一个实施例中,所述屏蔽通知消息包括:对安卓系统提供的onWindowFocusChanged函数增加检查逻辑,当检查到窗口焦点变化时,保持所述文件夹的展示画面在当前画面的最前端(即如果已不是最前端,则再次置于最前端),阻止画面的变化。这使得锁定模式下有通知消息时自动收回通知栏。
在本发明的另一个实施例中,S104中所述限制用户只能访问所述文件夹中 的内容包括:将除电源键以外的离开所述文件夹和返回系统主页的功能键设置为无效,并屏蔽来电通知以外的通知消息。在本实施例中,在功能键中将电源键做了例外处理,以使得在锁定模式下也能开关机。在通知消息中将来电通知做了例外处理,以避免用户漏接电话。在锁定模式下也能开关机,可以使得用户忘记了解除锁定模式的解锁密码时,可以通过关机再重新开机来解除锁定模式。
在本发明的一个实施例中,在步骤S106中,当用户在解锁密码输入界面中输入解锁密码后,无需按确认键,即执行所述判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式的步骤。这样当用户输入正确的解锁密码后,会立即切换到正常模式,无需用户多按一次确认键,提高了用户体验。
为了使本发明的技术方案更加清楚,下面以图2A-图2I所示的手机用户界面为例进行说明。
图2A示出了根据本发明一个实施例的设置有用户模式切换控件的文件夹展示页面示意图。如图2A所示,该界面的右上角的图标即为用户模式切换控件的触发按钮。
图2B示出了根据本发明一个实施例的图2A中所示的用户模式切换控件被触发时的示意图。如图2B所示,当文件夹展示页面上的用户模式切换控件被触发时,弹出菜单,其中包括“Lock at this folder”选项。
图2C示出了根据本发明一个实施例的锁定密码输入界面示意图。当图2B中所示“Lock at this folder”选项被触发时,展示的锁定密码输入界面如图2C所示。
图2D示出了根据本发明一个实施例的在锁定密码输入界面中输入密码的示意图。如图2D所示,在本实施例中输入的是4位的密码0360。
图2E示出了根据本发明一个实施例的在输入的密码的界面上停留的示意图。如图2E所示,输入的密码0360在界面上停留预设时间,如2秒。
图2F示出了根据本发明一个实施例的进入锁定模式的界面示意图。如图2F所示,在进入锁定模式后当前文件夹的展示界面上设置有模式解锁按键,如图2F上部的“锁”状图标。
图2G示出了根据本发明一个实施例的解锁密码输入界面示意图。如图2G 所示,当图2F中的模式解锁按键被触发时展示该解锁密码输入界面。
图2H示出了根据本发明一个实施例的在解锁密码输入界面中输入解锁密码并解锁成功的示意图。
图2I示出了根据本发明一个实施例的解锁成功后进入正常模式的示意图。
根据本发明提供的上述方案,用户可以方便地将智能终端设定到某个文件夹的锁定模式,在锁定模式下只能操作该文件夹中的应用。这样用户可以预先为不同的状况(将手机给儿童玩,将手机借给别人等)设置包含不同内容的文件夹,当相应状况发生时,只需在相应文件夹上选择锁定该文件夹即可进入只能操作该文件中的应用的锁定模式。这种方案解决了用户需求,并且用户操作简单,用户体验好。
图3示出了根据本发明一个实施例的一种实现智能终端用户模式切换的装置的结构图。其中,用户模式包括正常模式和锁定模式,则如图3所示,该实现智能终端用户模式切换的装置300包括:
控件添加单元310,适于在智能终端的文件夹展示界面上添加用户模式切换控件。在智能终端的文件夹展示界面上添加用户模式切换控件后,用户打开任何一个文件夹都会在该文件夹的当前界面上看到该用户模式切换控件,以方便用户操作。
模式切换响应单元320,适于在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面;当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并向锁定模式单元发送切换到锁定模式的通知。这里所述的正常模式即为智能终端中未采用任何限制手段时的平常状态。
锁定模式单元330,适于在收到切换到锁定模式的通知后,限制用户只能访问所述文件夹中的内容;以及适于在收到退出锁定模式的通知后,解除限制。在锁定模式下用户只能启动和执行所述文件夹中的APPs,无法返回上一级目录和主页,即无法离开当前文件夹。
所述模式切换响应单元320,还适于在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则向锁定模式单元330发送退出锁定模式的通知以使得智能终端返回到正常模式,否则不通知锁定模式 单元。
根据图3所示的装置的功能,用户可以预先设置好适用于儿童的文件以及适用于他人的文件夹,当需要将智能终端借给儿童或他人使用时将智能终端切换到相应文件夹的锁定模式,即可使得儿童或他人只能操作指定文件夹中的应用,从而避免误操作或隐私内容的泄露。并且本发明的技术方案中由于在智能终端的文件夹展示界面上设置了用户模式切换控件,因此对于用户来说进行模式切换时操作简单,用户体验好。
在本发明的一个实施例中,所述模式切换响应单元320,适于当用户在锁定密码输入界面中输入锁定密码后,进一步控制在包含输入的锁定密码的密码输入界面上停留预设时间以提示用户所输入的锁定密码,在所述的预设时间后执行保存输入的锁定密码并切换到锁定模式的步骤。这可以有效解决用户对自己随手输入的密码印象不深,稍后可能会忘记的问题。在包含输入的锁定密码的密码输入界面上停留的时间可以根据实际情况设定,如2秒。
在本发明的一个实施例中,所述锁定模式单元330,进一步适于在切换到锁定模式时,令安卓系统中的Activity组件将所述文件夹的展示画面添加到安卓系统的Window Manager中,并在添加时指定所述画面的类型为TYPE_SYSTEM_ERROR,以使得将所述画面添加到当前画面的最前面。
关于TYPE_SYSTEM_ERROR,在google官方SDK中有说明,这里type(类型)代表Window type:internal system error windows,appear on top of everything they can,所以可以把这个画面加到当前画面的最前面。
在本发明的一个实施例中,所述锁定模式单元330,适于在收到切换到锁定模式的通知后,屏蔽离开所述文件夹和返回系统主页的功能键,并屏蔽通知消息。这样在锁定模式下,只能访问当前文件中的应用,并且也不能看到来电通知、短信通知以及其他非本文件夹中的应用推送的通知。
在本发明的一个实施例中,所述锁定模式单元330,适于注册安卓系统的Intent.ACTION_CLOSE_SYSTEM_DIALOGS监听离开所述文件夹和返回系统主页的功能键,当收到讯息时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。具体来说注册该系统事件后,可以在用户按下home键跟recent app键(长按home键也有此效果)的时候,收到讯息,并在这时候将所述文件夹(如儿童专用文件夹)的画面再次置于画面最前端,避免锁定画面跑掉。
在本发明的一个实施例中,所述锁定模式单元330,适于对安卓系统提供的onWindowFocusChanged函数增加检查逻辑,当检查到窗口焦点变化时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。。
在本发明的另一个实施例中,所述锁定模式单元330,适于在收到切换到锁定模式的通知后,将除电源键以外的离开所述文件夹和返回系统主页的功能键设置为无效,并屏蔽来电通知以外的通知消息。在本实施例中,在功能键中将电源键做了例外处理,以使得在锁定模式下也能开关机。在通知消息中将来电通知做了例外处理,以避免用户漏接电话。
在本发明的一个实施例中,所述模式切换响应单元320,适于当用户在解锁密码输入界面中输入解锁密码后,无需按确认键,即执行所述判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式的步骤。这样当用户输入正确的解锁密码后,会立即切换到正常模式,无需用户多按一次确认键,提高了用户体验。
本发明实施例中的实现智能终端用户模式切换的装置300应用到智能终端上时,其相应的用户界面如图2A-图2I所示意,这里不再复述。
在本发明的一个实施例中,还公开了一种智能终端,该智能终端包括如上述任一实施例中所述的实现智能终端用户模式切换的装置。该智能终端可以为手机或PAD。
综上所述,根据本发明的技术方案,用户可以预先分别设置好适用于儿童的文件以及适用于他人的多个文件夹,当需要将智能终端借给儿童或他人使用时将智能终端切换到相应文件夹的锁定模式,即可使得儿童或他人只能操作指定文件夹中的应用,从而避免误操作或隐私内容的泄露。并且本发明的技术方案中由于在智能终端的文件夹展示界面上设置了用户模式切换控件,因此对于用户来说进行模式切换时操作简单,用户体验好。
需要说明的是:
在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且 上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的实现智能终端用户模式切换的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设 备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图4示出了可以实现根据本发明的用户模式切换的终端,例如智能终端。该终端传统上包括处理器410和以存储器420形式的计算机程序产品或者计算机可读介质。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有用于执行上述方法中的任何方法步骤的程序代码431的存储空间430。例如,用于程序代码的存储空间430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码431。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图5所述的便携式或者固定存储单元。该存储单元可以具有与图4的终端中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码431’,即可以由例如诸如410之类的处理器读取的代码,这些代码当由终端运行时,导致该终端执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之 前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (20)

  1. 一种实现智能终端用户模式切换的方法,其中,用户模式包括正常模式和锁定模式,该方法包括:
    在智能终端的文件夹展示界面上添加用户模式切换控件;
    在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面;
    当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并切换到锁定模式;
    在锁定模式下,限制用户只能访问所述文件夹中的内容;
    在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;
    当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式。
  2. 如权利要求1所述的方法,其中,该方法进一步包括:
    当用户在锁定密码输入界面中输入锁定密码后,在包含输入的锁定密码的密码输入界面上停留预设时间以提示用户所输入的锁定密码,在所述的预设时间后执行保存输入的锁定密码并切换到锁定模式的步骤。
  3. 如权利要求1所述的方法,其中,该方法进一步包括:在切换到锁定模式时,令安卓系统中的Activity组件将所述文件夹的展示画面添加到安卓系统的Window Manager中,并在添加时指定所述画面的类型为TYPE_SYSTEM_ERROR,以使得将所述画面添加到当前画面的最前面。
  4. 如权利要求1所述的方法,其中,所述限制用户只能访问所述文件夹中的内容包括:
    屏蔽离开所述文件夹和返回系统主页的功能键,并屏蔽通知消息。
  5. 如权利要求4所述的方法,其中,
    所述屏蔽离开所述文件夹和返回系统主页的功能键包括:注册安卓系统的Intent.ACTION_CLOSE_SYSTEM_DIALOGS监听离开所述文件夹和返回系统主页的功能键,当收到讯息时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。
  6. 如权利要求4所述的方法,其中,所述屏蔽通知消息包括:
    对安卓系统提供的onWindowFocusChanged函数增加检查逻辑;
    当检查到窗口焦点变化时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。
  7. 如权利要求1所述的方法,其中,所述限制用户只能访问所述文件夹中的内容包括:
    将除电源键以外的离开所述文件夹和返回系统主页的功能键设置为无效,并屏蔽来电通知以外的通知消息。
  8. 如权利要求1所述的方法,其中,当用户在解锁密码输入界面中输入解锁密码后,无需按确认键,即执行所述判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式的步骤。
  9. 一种实现智能终端用户模式切换的装置,其中,用户模式包括正常模式和锁定模式,该装置包括:
    控件添加单元,适于在智能终端的文件夹展示界面上添加用户模式切换控件;
    模式切换响应单元,适于在正常模式下,当用户打开智能终端中的任一个文件夹并触发所述用户模式切换控件时,展示锁定密码输入界面;当用户在锁定密码输入界面中输入锁定密码后,保存输入的锁定密码并向锁定模式单元发送切换到锁定模式的通知;
    锁定模式单元,适于在收到切换到锁定模式的通知后,限制用户只能访问所述文件夹中的内容;以及适于在收到退出锁定模式的通知后,解除限制;
    所述模式切换响应单元,还适于在锁定模式下,当用户触发模式解锁按键时,展示解锁密码输入界面;当用户在解锁密码输入界面中输入解锁密码后,判断输入的解锁密码是否与保存的锁定密码相同,是则向锁定模式单元发送退出锁定模式的通知以使得智能终端返回到正常模式,否则不通知锁定模式单元。
  10. 如权利要求9所述的装置,其中,
    所述模式切换响应单元,适于当用户在锁定密码输入界面中输入锁定密码后,进一步控制在包含输入的锁定密码的密码输入界面上停留预设时间以提示用户所输入的锁定密码,在所述的预设时间后执行保存输入的锁定密码并切换到锁定模式的步骤。
  11. 如权利要求9所述的装置,其中,
    所述锁定模式单元,进一步适于在切换到锁定模式时,令安卓系统中的Activity组件将所述文件夹的展示画面添加到安卓系统的Window Manager中,并在添加时指定所述画面的类型为TYPE_SYSTEM_ERROR,以使得将所述画面添加到当前画面的最前面。
  12. 如权利要求9所述的装置,其中,
    所述锁定模式单元,适于在收到切换到锁定模式的通知后,屏蔽离开所述文件夹和返回系统主页的功能键,并屏蔽通知消息。
  13. 如权利要求12所述的装置,其中,
    所述锁定模式单元,适于注册安卓系统的Intent.ACTION_CLOSE_SYSTEM_DIALOGS监听离开所述文件夹和返回系统主页的功能键,当收到讯息时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。
  14. 如权利要求12所述的装置,其中,
    所述锁定模式单元,适于对安卓系统提供的onWindowFocusChanged函数增加检查逻辑,当检查到窗口焦点变化时,保持所述文件夹的展示画面在当前画面的最前端,阻止画面的变化。
  15. 如权利要求9所述的装置,其中,
    所述锁定模式单元,适于在收到切换到锁定模式的通知后,将除电源键以外的离开所述文件夹和返回系统主页的功能键设置为无效,并屏蔽来电通知以外的通知消息。
  16. 如权利要求9所述的装置,其中,
    所述模式切换响应单元,适于当用户在解锁密码输入界面中输入解锁密码后,无需按确认键,即执行所述判断输入的解锁密码是否与保存的锁定密码相同,是则退出锁定模式返回到正常模式,否则继续保持在锁定模式的步骤。
  17. 一种智能终端,其中,该智能终端包括如权利要求9-16中任一项所述的实现智能终端用户模式切换的装置。
  18. 如权利要求17所述的智能终端,其中,该智能终端为手机或PAD。
  19. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在终端上运行时,导致所述终端执行根据权利要求1至8中的任一所述的方法。
  20. 一种计算机可读介质,其中存储了如权利要求19所述的计算机程序。
PCT/CN2015/076764 2015-03-18 2015-04-16 实现智能终端用户模式切换的方法、装置以及智能终端 Ceased WO2016145706A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/559,135 US20180084420A1 (en) 2015-03-18 2015-04-16 Method and device for switching user mode of intelligent terminal, and intelligent terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510119248.4 2015-03-18
CN201510119248.4A CN104715174B (zh) 2015-03-18 2015-03-18 实现智能终端用户模式切换的方法、装置以及智能终端

Publications (1)

Publication Number Publication Date
WO2016145706A1 true WO2016145706A1 (zh) 2016-09-22

Family

ID=53414497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076764 Ceased WO2016145706A1 (zh) 2015-03-18 2015-04-16 实现智能终端用户模式切换的方法、装置以及智能终端

Country Status (3)

Country Link
US (1) US20180084420A1 (zh)
CN (1) CN104715174B (zh)
WO (1) WO2016145706A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262909B (zh) * 2015-11-30 2020-06-12 腾讯科技(深圳)有限公司 一种移动终端使用方法、移动终端及存储介质
CN105516339B (zh) * 2015-12-30 2019-03-15 北京悠客网信息技术有限公司 智能终端的远程控制方法及远程控制系统
CN105740738A (zh) * 2016-02-02 2016-07-06 广东欧珀移动通信有限公司 一种移动终端显示方法及装置
CN106658209A (zh) * 2016-12-28 2017-05-10 北京风行在线技术有限公司 一种智能桌面的切换方法
JP7035977B2 (ja) * 2018-02-14 2022-03-15 カシオ計算機株式会社 電子機器、電子機器の制御方法及びプログラム
KR102255922B1 (ko) 2019-03-22 2021-05-25 주식회사 케이티앤지 에어로졸 생성 장치의 잠금 모드를 해제하는 방법 및 그 에어로졸 생성 장치
CN114840842A (zh) * 2019-05-24 2022-08-02 华为技术有限公司 智能终端的登录方法及电子设备
CN115022695B (zh) * 2021-03-04 2023-09-19 聚好看科技股份有限公司 显示设备及Widget控件显示方法
CN113158164A (zh) * 2021-05-20 2021-07-23 读书郎教育科技有限公司 一种Android学生平板管控应用的方法
CN113158165B (zh) * 2021-05-20 2023-05-02 读书郎教育科技有限公司 一种Android终端快速锁定应用的方法及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014215673A (ja) * 2013-04-23 2014-11-17 Necカシオモバイルコミュニケーションズ株式会社 携帯端末装置、画面ロック制御方法、及びプログラム
CN104156637A (zh) * 2014-07-11 2014-11-19 北京奇虎科技有限公司 一种保护智能终端中的隐私内容的方法和装置
CN104166813A (zh) * 2014-07-11 2014-11-26 北京奇虎科技有限公司 基于屏幕锁保护智能终端中的隐私内容的方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722820A (zh) * 2004-07-12 2006-01-18 上海乐金广电电子有限公司 广播频道信息管理方法
CN101727549A (zh) * 2008-10-29 2010-06-09 同方股份有限公司 一种指纹识别的计算机系统及其指纹识别方法
CN103177044B (zh) * 2011-12-26 2017-11-21 腾讯科技(深圳)有限公司 网页显示屏幕锁定方法和系统
CN103458396A (zh) * 2012-05-29 2013-12-18 盛乐信息技术(上海)有限公司 终端锁定方法、终端解锁方法、终端锁定和解锁方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014215673A (ja) * 2013-04-23 2014-11-17 Necカシオモバイルコミュニケーションズ株式会社 携帯端末装置、画面ロック制御方法、及びプログラム
CN104156637A (zh) * 2014-07-11 2014-11-19 北京奇虎科技有限公司 一种保护智能终端中的隐私内容的方法和装置
CN104166813A (zh) * 2014-07-11 2014-11-26 北京奇虎科技有限公司 基于屏幕锁保护智能终端中的隐私内容的方法和装置

Also Published As

Publication number Publication date
US20180084420A1 (en) 2018-03-22
CN104715174B (zh) 2016-08-24
CN104715174A (zh) 2015-06-17

Similar Documents

Publication Publication Date Title
US11394555B2 (en) Mobile terminal privacy protection method and protection apparatus, and mobile terminal
CN104471920B (zh) 一种数据和消息处理的方法及装置
US7738857B2 (en) Wireless mobile phone with authenticated mode of operation including photo based authentication
CN103294941B (zh) 访问隐私空间的方法及移动设备
US20150111559A1 (en) System, method and article for managing mobile devices
CN104715174B (zh) 实现智能终端用户模式切换的方法、装置以及智能终端
CN102687492A (zh) 当设备被锁定时用于用户交互的方法和装置
CN104765552A (zh) 权限管理方法和装置
CN101911738A (zh) 具有在紧急情况下状态的移动终端和用于进入这种状态的方法
US9569611B2 (en) Electronic apparatus and screen unlock method thereof
CN104902074B (zh) 一种基于多权限模式的手机信息安全管理方法
CN104182662A (zh) 隐藏应用程序的隐藏和打开方法、系统以及移动终端
CN104008346A (zh) 启动数据处理设备的隐私模式的方法和装置
CN104639533B (zh) 基于终端的安全控制方法及装置
WO2020253197A1 (zh) 虚拟用户识别卡的管理方法、装置、终端设备及存储介质
WO2019047148A1 (zh) 一种密码验证方法、终端、计算机可读存储介质
CN111866270A (zh) 应用程序控制方法、装置和电子设备
CN106372468A (zh) 移动终端的操作方法和移动终端
CN102984387A (zh) 一种防止手机使用者误操作的方法和装置
WO2017008348A1 (zh) 一种数据卡切换控制方法、装置及终端设备
CN108647510A (zh) 应用程序访问方法及装置
CN107766712A (zh) 消息提示方法、终端及计算机可读介质
WO2017008415A1 (en) Apparatus and method for launching mobile applications from a lock screen
CN107045604A (zh) 信息处理方法及装置
CN106022027B (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: 15885089

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15559135

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885089

Country of ref document: EP

Kind code of ref document: A1