WO2012116647A1 - 终端设备控制方法及终端设备和电子设备 - Google Patents
终端设备控制方法及终端设备和电子设备 Download PDFInfo
- Publication number
- WO2012116647A1 WO2012116647A1 PCT/CN2012/071821 CN2012071821W WO2012116647A1 WO 2012116647 A1 WO2012116647 A1 WO 2012116647A1 CN 2012071821 W CN2012071821 W CN 2012071821W WO 2012116647 A1 WO2012116647 A1 WO 2012116647A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- instruction
- input
- instructions
- terminal device
- locked state
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
Definitions
- Embodiments of the present invention relate to the field of mobile terminal technologies, and in particular, to a terminal device control method, a terminal device, and an electronic device. Background technique
- terminal devices are moving toward an increasingly intelligent direction.
- intelligent means that the terminal device is not only used for making calls, but also for surfing the Internet, navigating, watching TV, listening to music, and so on.
- smart terminal devices usually have many functional modules, such as WI FI (wireless fidelity), GPS (Global Positioning System, Global Positioning System), CM MB (China Mobile Missedia Broadcasting, China).
- WI FI wireless fidelity
- GPS Global Positioning System
- CM MB China Mobile Missedia Broadcasting, China.
- Mobile Multimedia Broadcasting On the other hand, the terminal device usually receives the user's input by receiving a user's key operation or sliding, clicking, etc. of the touch screen, and completes the corresponding instruction.
- the terminal device can enter the locked state (can be automatically entered or entered by the user manually), at this time, except that the user performs a special operation (pressing the specified key combination or performing some specified stroke) Operation, etc.) to unlock, or to call outside the emergency call number.
- the terminal device will no longer respond to other input from the user. This avoids the trouble of power consumption or accidental dialing of the phone due to accidental touch on the keyboard or screen (such as being touched by other items when placed in a bag).
- Embodiments of the present invention provide a terminal device control method, a terminal device, and an electronic device, which can enhance the intelligence of the terminal device.
- an embodiment of the present invention provides the following solutions: A terminal device control method, where the method is applied to a terminal device, where the terminal device has a complete set of instructions, and the terminal device has a locked state and An unlocked state in which the terminal device responds to a first set of instructions that is the first portion of the set of ensemble instructions, in the non-locked state, the terminal device responds as the first set in the set of instructions a second set of instructions, wherein the number of instructions in the first set of instructions is less than the number of instructions in the second set of instructions, the method comprising:
- the determining, by the non-locking state, the second instruction in the second instruction set corresponding to the first input comprises:
- a call instruction for calling an application corresponding to the function module is determined as the second instruction.
- the determining, by the non-locking state, the second instruction in the second instruction set corresponding to the first input comprises:
- An open command for turning on the function module is determined as the second command.
- the determining, by the non-locking state, the second instruction in the second instruction set corresponding to the first input comprises:
- An open command for turning on the function module and a call command for calling an application corresponding to the function module are determined as the second command.
- the terminal device has a touch screen, and the first input comprises sliding input on the touch screen; Determining, in the non-locking state, the second instruction in the second instruction set corresponding to the first input includes:
- the terminal device has a touch screen, and the first input includes an input of clicking or dragging a screen lock on the touch screen, and the screen lock is multiple;
- Determining, in the non-locked state, the second instruction in the second instruction set corresponding to the first input includes:
- determining the first instruction comprises:
- the first instruction is generated.
- determining the second instruction comprises:
- the method further includes:
- a second instruction corresponding to the end position is determined according to a correspondence between a preset end position and an instruction.
- different start positions correspond to different applications
- different end positions corresponding to the same start position correspond to different operation objects/parameters to be applied
- the second instruction corresponding to the end position is:
- the second instruction is determined according to an application corresponding to the start position and an operation object/parameter corresponding to the end position.
- the method further includes: Determining, in the locked state, a corresponding display position of the at least two operation objects/parameters of the application corresponding to the start position in the state switching area according to the start position of the continuity track;
- the at least two operation objects/parameters are displayed at the corresponding display positions in the state switching area as candidate end positions.
- a terminal device having a set of a complete set of instructions, the terminal device having a locked state and an unlocked state, wherein the terminal device responds as a Determining, in the non-locked state, the first instruction set of the first part of the set of instruction sets, in the non-locked state, the second instruction set that is the second part of the set of the set of instructions, wherein the first set of instructions is The number of instructions is less than the number of instructions in the second set of instructions, and the terminal device includes:
- a obtaining unit configured to obtain a first input
- a first parsing unit configured to determine, in the locked state, a first instruction in the first instruction set corresponding to the first input, where the first instruction is an unlocking instruction
- An unlocking unit configured to switch from the locked state to the unlocked state according to the unlocking instruction; and a second analyzing unit, configured to determine, in the unlocked state, the first corresponding to the first input a second instruction in the set of two instructions;
- a response unit configured to respond to the second instruction.
- the second parsing unit comprises:
- a first function module determining a subunit, configured to determine, according to the first input, a function module corresponding to the first input, where the function module is in an activated state in the locked state;
- a first determining subunit configured to determine a calling instruction for calling an application corresponding to the function module as the second instruction.
- the second parsing unit comprises:
- a second function module determining a subunit, configured to determine, according to the first input, a function module corresponding to the first input, where the function module is in a sleep state in the locked state;
- the second parsing unit comprises:
- the third function module determines a subunit, configured to determine, according to the first input, a function module corresponding to the first input, where the function module is in a sleep state in a locked state;
- the terminal device has a touch screen, and the first input comprises sliding input on the touch screen;
- the second parsing unit includes:
- a fourth determining subunit configured to, according to a direction and/or a shape of the sliding track generated by the sliding input, correspond to a direction and/or a shape of the preset sliding track and each instruction in the second instruction set In the relationship, an instruction corresponding to a direction and/or a shape of the sliding track generated by the sliding input is determined as the second instruction.
- the terminal device has a touch screen, and the first input includes an input of clicking or dragging a screen lock on the touch screen, and the screen lock is multiple;
- the second parsing unit includes:
- a fifth determining subunit configured to, according to a screen lock clicked or dragged, a corresponding lock between the preset screen lock and each instruction in the second instruction set, and the click or drag screen lock A corresponding instruction is determined as the second instruction.
- a terminal device control method is further provided, where the method is applied to a terminal device, where the terminal device has a complete set of instructions, and the terminal device has a locked state and an unlocked state.
- the terminal device responds to the first instruction set as the first part of the set of ensemble instructions in the locked state, and the terminal device responds to the second part as the second part of the set of the complete set in the non-locked state.
- a set of instructions where the number of instructions in the first set of instructions is less than the number of instructions in the second set of instructions, the method comprising:
- the first instruction is an unlocking instruction
- the responding to the first instruction in the locked state includes:
- control is switched from the locked state to the unlocked state.
- the step of determining the second instruction corresponding to the first input comprises: determining, in the locked state, an application corresponding to the first input and an operation object/parameter in the application.
- the step of responding to the second instruction in the unlocked state comprises: after switching from the locked state to the unlocked state, starting the operation based on the operating object/parameter Unlock Operate the corresponding application.
- the first input generates a continuous trajectory, and determining, in the locked state, an application corresponding to the first input and an operation object/parameter in the application, according to the continuous
- the starting position of the sexual trajectory determines the corresponding application, and the operating object/parameter in the application is determined according to the ending position of the continuous trajectory.
- control method further includes:
- the at least two operation objects/parameters are displayed at the corresponding display positions in the state switching area as candidate end positions.
- responding to the second instruction in the unlocked state comprises:
- the function module is turned on
- the application is invoked according to the second instruction.
- a terminal device having a set of a complete set of instructions, the terminal device having a locked state and an unlocked state, wherein the terminal device responds as a Determining, in the non-locked state, the first instruction set of the first part of the set of instruction sets, in the non-locked state, the second instruction set that is the second part of the set of the set of instructions, wherein the first set of instructions is The number of instructions is less than the number of instructions in the second set of instructions, and the terminal device includes:
- a obtaining unit configured to obtain a first input in the locked state
- a parsing unit configured to determine a first instruction and a second instruction corresponding to the first input, where the first instruction belongs to the first instruction set, and the second instruction belongs to the second instruction set;
- a first response unit configured to respond to the first instruction in the locked state
- a second response unit configured to respond to the second instruction in the unlocked state.
- the terminal device parses the terminal device into an unlocking command and then switches the terminal device from the locked state to the unlocked state, and then parses the terminal device.
- a second instruction that can respond in an unlocked state and is responsive to the second instruction.
- the second instruction that can respond in the non-locked state is parsed, and in response to the second instruction, the flow of the function module corresponding to the second instruction by the user can be simplified, the user operation is saved, and the intelligence of the terminal device is enhanced.
- An embodiment of the present invention further provides an electronic device, wherein the electronic device has a locked state and an unlocked state, and the electronic device includes:
- a detecting unit configured to detect an input operation in a locked state, the input operation generating a continuous track
- An end position determining unit configured to determine an end position of the continuity track
- a determining unit configured to determine whether the end position belongs to a preset state switching area, and obtain a determination result
- a first instruction generating unit configured to: when the determining result indicates that the end position belongs to a state switching area, generating a first instruction, where the first instruction is a state switching instruction;
- a second instruction determining unit configured to determine a second instruction corresponding to the end position according to a preset relationship between the preset end position and the instruction
- an instruction execution unit configured to switch the electronic device to an unlocked state by executing the first instruction, and execute the second instruction corresponding to an end position of the input operation.
- a starting position determining unit configured to determine a starting position of the continuity track
- the second instruction determining unit is specifically configured to: determine, according to the start position, a second instruction corresponding to the end position according to a correspondence between a preset end position and an instruction.
- a plurality of different end positions can be provided for the input operation of the user, and the instructions in different non-locking states are corresponding to different end positions, so that when the user performs the unlocking operation, not only the electronic device can be used.
- Switching to the non-locked state you can also directly execute an instruction in the unlocked state, including starting an application, even operating the operation object/parameter in an application, etc., thus reducing the user's search in a large amount of information. Operation, thereby improving the intelligence of the electronic device.
- FIG. 2 is a schematic diagram of a screen interface in a method provided by an embodiment of the present invention.
- FIG. 3 is a schematic diagram of another screen interface in the method provided by the embodiment of the present invention.
- FIG. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of another terminal device according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of a first interface in a method according to an embodiment of the present disclosure.
- FIG. 9 is a schematic diagram of a second interface in a method according to an embodiment of the present invention.
- 10-1 is a schematic diagram of a third interface in the method provided by the embodiment of the present invention.
- 10-2 is a schematic diagram of a fourth interface in the method provided by the embodiment of the present invention.
- FIG. 11 is a schematic diagram of a fifth interface in a method according to an embodiment of the present invention.
- FIG. 12 is a schematic diagram of a sixth interface in a method according to an embodiment of the present disclosure.
- FIG. 14 is a schematic diagram of an apparatus according to an embodiment of the present invention.
- FIG. 15 is a schematic diagram of another apparatus according to an embodiment of the present invention. detailed description
- the embodiment of the invention provides a terminal device control method, which is applied to a terminal device.
- the terminal device has a complete set of instructions, and the terminal device has a locked state and an unlocked state; in the locked state, the terminal device can respond to the first set of instructions that is the first part of the set of the complete set of instructions.
- the terminal device In the unlocked state, the terminal device can respond to the second set of instructions that is the second portion of the set of instructions, and the number of instructions in the first set of instructions is less than the number of instructions in the second set of instructions.
- the terminal device can respond to a part of the instruction in the locked state.
- the locked state means that the terminal device can only respond to the state of the instruction in the first instruction set.
- the instructions in the first instruction set include communication prompt instructions (such as an incoming call prompt, a short message prompt instruction), and a timed reminder instruction (such as an alarm, a memo, etc.) to And unlock authentication, unlock instructions, and more.
- the terminal device when the terminal device is in the locked state, the terminal device can be switched from the locked state to the unlocked state by executing the unlocking instruction.
- the unlocking authentication can be generated, and the unlocking authentication information can be received. If the unlocking authentication is performed, the unlocking command can be generated.
- the unlock authentication may be an authentication of a reservation string, or a subscription touch track or a predetermined biometric. That is, the unlocking authentication is used to prompt the user to input the unlocking authentication information, and the unlocking command is used to switch the terminal device from the locked state to the unlocked state.
- the terminal device can also respond to a part of the command, which can be almost all the commands in the ensemble command set. For example, it may include calling, accessing local data, accessing a local network, etc.; it may also include instructions that may respond in a locked state, such as communication prompts, timed reminders, and the like.
- the terminal device can respond to a part of the instruction in the locked state and the non-locked state. If the command that can respond in the locked state constitutes the first instruction set, and the command that can respond in the unlocked state constitutes the second instruction set, The first set of instructions and the second set of instructions usually have an intersection, and because of the command that can respond in the locked state, the response can be almost in the unlocked state, but the command that can respond in the unlocked state is in the locked state. The next is not necessarily responsive, therefore, the instruction data in the second set of instructions is typically larger than the number of instructions in the first set of instructions.
- the embodiment of the present invention provides the following terminal device control method. Referring to FIG. 1, the method includes the following steps:
- the first input may be a user input when the terminal device is in a locked state, and may be some unlocking authentication operation, for example, inputting a specified character string through a keyboard, or specifying a sliding track or direction drawn on the touch screen, etc. .
- S12 determining, in the locked state, a first instruction in the first instruction set corresponding to the first input, where the first instruction is an unlock instruction;
- the terminal device When the terminal device receives the first input in the locked state, if the first input meets the preset condition, the terminal device may identify it as an unlocking authentication operation, and after the authentication is passed, generate an unlocking instruction.
- S14 determining, in the non-locked state, a second instruction in the second instruction set corresponding to the first input;
- the first input not only corresponds to the unlocking instruction in the first instruction set, but also corresponds to the second instruction in the second instruction set.
- the correspondence between the first input and the second instruction may be preset. After the first input is received, and the terminal device is switched from the locked state to the unlocked state, the corresponding relationship may be queried. Determining a second instruction corresponding to the first input.
- step S12 determining, in the locked state, a first instruction in the first instruction set corresponding to the first input, where the first instruction is unlocking
- step S14 determining, in the non-locked state, the second instruction in the second instruction set corresponding to the first input.
- the first instruction determined in step S12 and the second instruction determined in step S14 are all determined based on the first input obtained in step S11.
- the operating body completes the first input on the terminal device, and the terminal device obtains a sliding track and/or direction corresponding to the first input or is special button information, according to the first in the locked state.
- the second instruction Inputting a corresponding sliding track and/or direction or determining, for special button information, the first command and the sliding track and/or direction corresponding to the first input in the unlocked state or determining for special button information The second instruction.
- the second instruction After determining that the first input corresponds to the second instruction in the second set of instructions, the second instruction can be responded to in the unlocked state.
- the method for controlling the terminal device provided by the embodiment of the present invention is described above. It can be seen that, in the embodiment of the present invention, when the user performs the first input when the terminal device is in the locked state, the terminal device parses it into unlocking. After the instruction, and the terminal device is switched from the locked state to the unlocked state, it is also parsed into a second instruction that can respond in the unlocked state, and responds to the second instruction.
- the user can not only switch the terminal device from the locked state to the unlocked state, but also can resolve the unlocking operation to the second command that can respond in the unlocked state, and respond to the second command, where
- the second instruction in the second instruction set is usually an instruction related to a certain function module in the terminal device, so the flow of the function related to the function module corresponding to the second instruction can be simplified, the user operation is saved, and the terminal is enhanced.
- the intelligence of the device is usually an instruction related to a certain function module in the terminal device, so the flow of the function related to the function module corresponding to the second instruction can be simplified, the user operation is saved, and the terminal is enhanced.
- the function module generally refers to a hardware component unit of the terminal device, and the terminal device can only implement the corresponding function if it has the function module on the hardware.
- the GSM module its function is to make calls, send and receive text messages, etc.
- the GSM module in the hardware sense includes signal transceiver devices, receiving antennas, etc., only through the devices on these hardware, can receive from The caller's signal and sends the signal of the unit.
- it is not enough to have hardware support.
- a human-computer interaction interface is provided through software, so that the user can perform communication information search, short message editing, etc. operating. Therefore, for the embodiment of the present invention, the function module is equivalent to the hardware component unit of the terminal device, and the application program corresponding to the function module refers to the human-computer interaction interface that needs to be provided when the function corresponding to the function module is applied, and The application usually provides an interface for the user to facilitate human-computer interaction.
- the function that can be implemented is that the terminal device can be connected to the Internet, that is, the terminal device can be used to access the Internet.
- the WIFI module In order to be able to access the Internet, only the WIFI module is not enough. You need an application such as a browser or instant messaging software. Therefore, for the WIFI module, the browser, or instant messaging software, is equivalent to the application corresponding to the function of the function module.
- the object actually operated by the user is usually a software product of various application levels.
- the functions related to the function module are implemented, including opening the function module, or calling the application corresponding to the function module, so as to display the operation interface of the function corresponding to the function module for the user, and the like.
- the specific meaning of the second instruction may be multiple.
- each functional module is in an active state after the terminal device enters the locked state.
- This locked state is only to close the software corresponding to each function module.
- the correspondence between the first input and each function module may be preset, so that after receiving the first input, the function module corresponding to the first input may be first determined according to the first input, and then , the calling instruction for calling the application corresponding to the function module is determined as the second instruction. In this way, when the second command is responded to, the application can be directly called, which is equivalent to displaying an operation interface corresponding to the function of the function module, and the user directly uses the operation interface to implement the corresponding function.
- the setting of the correspondence between the first input and each function module may be set according to the operation type of the first input, wherein the operation type may be implemented by using a plurality of specified character strings, or a plurality of stroke tracks.
- the first input may be that the user slides the input on the touch screen, and the different types of operations of the first input may be distinguished by the direction and/or shape of the sliding track.
- various slide rails can be used.
- the direction and/or shape of the trace corresponds to a specific functional module.
- a screen lock can be displayed on the touch screen in a software manner, and the following correspondence relationship is set: dragging the screen lock to the left (equivalent to generating a swipe track to the left), corresponding to the WIFI module; Drag the screen lock down (equivalent to generating a downward swipe), corresponding to the GSM module; drag the screen lock to the right (equivalent to generating a swipe to the right), corresponding to the BT module.
- the user when the terminal device is locked, the user can directly drag the screen lock to the left to enter the browser interface, and then the browser can browse the network information required by the input URL, etc., which is very convenient. . That is to say, from the user's point of view, if the user wants to access the Internet through the terminal device and the current terminal device is in the locked state, the user can drag the screen lock to the left, and then when the screen is lit, the lock is unlocked. After the status, the user can directly see the browser interface.
- the module corresponding to the unlock operation of dragging the screen lock to the right is the GSM module
- the screen lock can be dragged to the right, and then the user can see the numeric keypad and proceed from the address book. Look for the button for the entry, click on the number on the numeric keypad, or find the contact.
- it is always necessary to use a certain function of the terminal device, or to make a call, or to send a text message, or to access the Internet, etc. so that the user can perform the corresponding type of unlocking operation according to actual needs. Can directly enter the corresponding operation interface.
- the user's operation flow is simplified, and the intelligence of the terminal device is enhanced.
- the application that is actually called may also be preset and may be changed.
- the application corresponding to the WIFI module may have a browser, and may also have instant communication software, etc.
- the corresponding calling application may It is a browser; of course, if the user is accustomed to using the terminal device to chat with the netizen instead of browsing the webpage, usually using instant messaging software instead of the browser, the user can also manually correspond to the first input of the operation type.
- the application is modified to the instant messaging software; thus, when the user performs the first input of dragging the screen lock to the left, the interface of the instant messaging software is directly displayed to the user.
- the first input can click or drag the input of the screen lock on the touch screen, and the screen lock is multiple.
- the correspondence between the first input and the function module it can be realized by setting the correspondence between the screen lock and the function module.
- screen lock A corresponds to WIFI module
- Screen lock B corresponds to CMMB module
- Screen lock C corresponds to GPS module.
- the second instruction may be parsed as: Calling the browser
- the browser program can be directly invoked to enter the browser interface.
- the energy saving of the terminal device can be considered at the same time.
- most smart terminal devices are faced with large power consumption problems, and for smart terminal devices, standby time is a very important factor for measuring the performance of terminal devices.
- the standby time of the smart terminal device is much shorter than that of the ordinary non-intelligent terminal device.
- the reason in addition to the need for a smartphone to support a high-definition large-screen display, a major reason is that the various functional modules supported by the smart terminal device, as described above, in addition to the basic voice and other communication functions. It may also include WIFI, BT, GPS, CMMB, etc.
- the following solution may be adopted:
- the terminal device enters the locked state, only the basic communication module is kept in the startup state, so as to be able to receive an incoming call or receive a short message, etc.; because in the locked state, other functional modules It is usually not used, so it can be put to sleep. Since the terminal module does not need to be powered during the sleep state, in the locked state, the power of the terminal device is greatly saved, the power consumption of the system chipset is reduced, and the energy saving effect is achieved.
- the instruction to enable a certain function module may also be used as an instruction in the second instruction set, that is, the user may perform an unlock operation to complete the opening of a function module. Operation.
- the terminal device when the first input of the user is received, that is, the user needs to perform the unlocking operation, it is proved that the user may need to use a certain function of the terminal device, and at this time, the preset first input and function may also be utilized.
- the corresponding relationship between the modules, the function module corresponding to the current first input is obtained, and at this time, the determined
- the second instruction may be: an opening instruction for opening the corresponding function module, and in response to the second instruction, the corresponding function module may be turned on.
- the embodiment of the present invention does not do this because the power of the system is consumed as long as the function module is in the on state; and the user usually does not need to use all the function modules at the same time, but only one of them is used. kind or several, therefore, the power consumed by other unused functional modules that are turned on is a waste.
- the function module corresponding to the first input when the user performs some kind of first input, only the function module corresponding to the first input is turned on while the terminal device is switched from the locked state to the unlocked state.
- the user operation can be simplified, the intelligence of the terminal device can be enhanced, the power consumption of the terminal device can be reduced as much as possible, and the standby time of the terminal device can be extended.
- the setting of the correspondence between the first input and the function module may be the same as that in the first method, and details are not described herein again.
- the first mode and the second mode can be combined. That is to say, when the terminal device enters the locked state, only the basic communication module is restarted, and other functional modules enter the sleep state; meanwhile, the correspondence between the first input and the function module is set, and when the first is received, When inputting, first determining a function module corresponding to the first input according to the first input, determining an open instruction for starting the function module and a call instruction for calling an application corresponding to the function module as the second instruction When responding to the second instruction, the corresponding function module is first turned on, and then the application corresponding to the function module is called, thereby displaying the operation interface of the corresponding function of the function module.
- the first input may have multiple types of operations, for example, a plurality of specified character strings, or a plurality of stroke tracks, and the like;
- the first instruction corresponding to the expressions may be an unlock instruction, and That is, regardless of The first input of the type of operation performed by the user, the terminal device can resolve it to unlock the authentication, and generate an unlocking command after the authentication is passed, so as to switch the terminal device from the locked state to the unlocked state.
- the corresponding The two instructions may also be different, and the first input of the same operation type may have a plurality of corresponding second instructions.
- the operation type of the first input directly corresponds to the specific second instruction, and not only corresponds to a certain function module.
- the first input can also be a user sliding input on the touch screen, and the different types of operations of the first input can be distinguished by the direction and/or shape of the sliding track.
- the direction and/or shape of the sliding track generated according to the sliding input of the user may be preset.
- an instruction corresponding to the direction and/or shape of the sliding track generated by the sliding input is determined as the corresponding second instruction.
- the preset correspondence when the user performs a swipe operation to the right, a second instruction is corresponding, and when the user performs a swipe operation to the left, it may correspond to another second instruction, and the like.
- the terminal device switches to the unlocked state, when it is required to determine the second instruction in the second instruction set corresponding to the first input, the first point and the end point coordinate may be determined according to the swipe operation, etc. Entering a direction and/or a shape of the generated trajectory, and then determining, according to a correspondence between a direction and/or a shape of the preset trajectory and each instruction in the second instruction set, the first input corresponds to Which one or more of the second instruction set should be, and then respond to the corresponding instruction.
- the second instruction in the second instruction set may be the various instructions described in the manners one to three, and may specifically include calling the application corresponding to the function module when the function module is in the activated state in the locked state. Or; when the function module is in the sleep state in the locked state, the opening command of a certain function module is turned on; or, when the function module is in the sleep state in the locked state, the opening instruction of a certain function module is turned on, and is used for calling The calling instruction of the application corresponding to the function module. And when the correspondence between the first input and the second instruction is set in advance, the operation type of the first input and each functional module may be set. The correspondence between the two is achieved. And, in this manner, a first input can correspond to a plurality of second instructions.
- an "L" type track may also be set, and when the operation type of the first input is an "L" type track, the corresponding may be Call an application of the CMMB module, and so on.
- Other various possible settings are not listed here.
- the first input may also be an input of clicking or dragging a screen lock on the touch screen, and the screen lock is multiple, so that different operation types of the first input can be operated by different screen locks.
- the screen lock can be implemented by software and displayed in different positions on the touch screen. Specifically, after the terminal device is switched to the non-locked state, when it is required to determine the second instruction in the second instruction set corresponding to the first input, the first input corresponding to the first input may be determined according to information such as coordinates of the user's click location. Which screen lock is used, and then according to the correspondence between the preset screen lock and each instruction in the second instruction set, determine which one or which instructions in the second instruction set corresponding to the first input, and then respond to the corresponding The command can be.
- the correspondence between the operation type of the first input and the second instruction when the correspondence between the operation type of the first input and the second instruction is preset, the correspondence between the operation type of the first input and the function module may also be set. to realise.
- three screen locks can be displayed on the touch screen, namely screen lock A, screen lock B, and screen lock C. And set the following corresponding relationship: When the screen lock A is clicked, the corresponding second command is to open the GSM module, the 3G module and the WIFI module, and call the application browser of the WIFI module; when the screen lock B is dragged, the corresponding second instruction is turned on.
- the first input of different operation types may correspond to various second instructions, so that when the user needs to use the function corresponding to a certain function module, the third operation type may be executed. An input is implemented, and it is not necessary to find the corresponding function module and the like in the specific directory after performing the unlocking operation.
- a first input performed by the user in the locked state may correspond to two types of instructions, thereby improving the intelligence of the terminal device.
- the first input is obtained in the locked state.
- the second instruction in the second instruction set corresponding to the first input is determined, and then The second command is responded to in the locked state.
- the first instruction and the second instruction corresponding to the first input may be determined in the locked state, and then the first instruction is responded in the locked state, and the second instruction is responded in the unlocked state. .
- the two instructions corresponding to the first input can be parsed, but only when the two devices are responded, one of the commands can be responded when the terminal device is in the locked state.
- Another instruction needs to wait until the terminal device is in an unlocked state before it can get a response.
- a method for controlling a terminal device includes the following steps:
- the meanings of the first instruction set, the second instruction set, the first instruction, and the second instruction may be the same as in the foregoing embodiment.
- the first instruction may refer to the unlocking instruction
- responding to the first instruction in the locked state means: controlling the terminal device to switch from the locked state to the unlocked state according to the unlocking instruction.
- the second instruction may be a call instruction for calling an application corresponding to a function module, and at this time, when responding to the second instruction in an unlocked state, it may first determine whether the function module is turned on, and if enabled, The application corresponding to the function module is directly called; if it is not enabled, the function module can be first opened, and then the application corresponding to the function module is called.
- the second instruction may also be an instruction to open a function module, and the like.
- the embodiment of the present invention further provides a terminal device, where the terminal device has a set of a complete set of instructions, the terminal device has a locked state and an unlocked state, where the terminal device responds as the set of the complete set of instructions. a first set of instructions in the first part, wherein the terminal device responds to the second set of instructions as the second part of the set of the set of instructions in the non-locked state, wherein the number of instructions in the first set of instructions is less than The number of instructions in the second instruction set, see FIG. 5, the terminal device includes:
- the obtaining unit 51 is configured to obtain a first input; a first parsing unit 52, configured to determine, in the locked state, a first instruction in the first instruction set corresponding to the first input, where the first instruction is an unlocking instruction;
- the unlocking unit 53 is configured to control switching from the locked state to the unlocked state according to the unlocking instruction
- the second parsing unit 54 is configured to determine, in the non-locked state, a second instruction in the second instruction set corresponding to the first input;
- the response unit 55 is configured to respond to the second instruction.
- the second parsing unit 54 may specifically include:
- a first function module determining a subunit, configured to determine, according to the first input, a function module corresponding to the first input, where the function module is in an activated state in the locked state;
- a first determining subunit configured to determine a calling instruction for calling an application corresponding to the function module as the second instruction.
- the second parsing unit 54 may include:
- a second function module determining a subunit, configured to determine, according to the first input, a function module corresponding to the first input, where the function module is in a sleep state in the locked state;
- the second parsing unit 504 may include: a third function module determining subunit, configured to determine, according to the first input, a function module corresponding to the first input The function module is in a sleep state in a locked state;
- a third determining subunit configured to determine, as the second instruction, an open instruction for starting the function module and a call instruction for calling an application corresponding to the function module.
- the terminal device has a touch screen, and the first input includes sliding input on the touch screen;
- the second parsing unit 54 may include:
- a fourth determining subunit configured to, according to a direction and/or a shape of the sliding track generated by the sliding input, correspond to a direction and/or a shape of the preset sliding track and each instruction in the second instruction set In the relationship, an instruction corresponding to a direction and/or a shape of the sliding track generated by the sliding input is determined as the second instruction.
- the terminal device may also have a touch screen, and the first input includes an input of clicking or dragging a screen lock on the touch screen, and the screen lock is multiple;
- the second parsing unit 54 includes: a fifth determining subunit, configured to, according to a screen lock clicked or dragged, a corresponding lock between the preset screen lock and each instruction in the second instruction set, and the click or drag screen lock A corresponding instruction is determined as the second instruction.
- the embodiment of the present invention further provides a terminal device, where the terminal device has a set of a complete set of instructions, and the terminal device has a locked state and an unlocked state. In the locked state, the terminal device responds as the first part of the set of the complete set of instructions. a set of instructions, in a non-locked state, the terminal device responds to the second set of instructions as the second part of the set of instructions, wherein the number of instructions in the first set of instructions is less than the number of instructions in the second set of instructions, see FIG.
- the terminal device includes:
- the obtaining unit 61 is configured to obtain a first input in the locked state
- the parsing unit 62 is configured to determine a first instruction and a second instruction corresponding to the first input, where the first instruction belongs to the first instruction set, and the second instruction belongs to the second instruction set;
- a first response unit 63 configured to respond to the first instruction in the locked state
- the second response unit 64 is configured to respond to the second instruction in the unlocked state.
- the undescribed part may refer to the foregoing method embodiment, and details are not described herein.
- a state switching method is also provided, which is applied to an electronic device having a locked state and an unlocked state.
- the locked state and the unlocked state will be described below.
- an electronic device has a set of a complete set of instructions.
- the electronic device In the locked state, the electronic device responds to a first set of instructions that is the first portion of the set of instructions.
- the electronic device In the unlocked state, the electronic device responds as the second part of the set of the set of instructions. a second set of instructions, wherein the number of instructions in the first set of instructions is less than the number of instructions in the second set of instructions.
- the electronic device can respond to a portion of the command in the locked state, in other words, the locked state refers to the state in which the electronic device can only respond to the instructions in the first set of instructions.
- the instructions in the first instruction set include communication prompt instructions (such as an incoming call prompt, a short message prompt instruction), a timed reminder instruction (such as an alarm, a memo, etc.), and an unlocking authentication, unlocking instruction, and the like.
- the electronic device when the electronic device is in the locked state, the electronic device can be switched from the locked state to the unlocked state by executing the unlocking instruction.
- the unlocking authentication may be generated, and the unlocking authentication information may be received. If the unlocking authentication is performed, the unlocking command may be generated.
- the unlock authentication may be an authentication of a reservation string, or a subscription touch track or a predetermined biometric. That is, the unlock authentication is used to prompt the user to input the unlock authentication information, and the unlock command is used to switch the terminal device from the locked state to the non-stated Locked state.
- the electronic device can also respond to a portion of the command in an unlocked state, which can be almost all of the commands in the ensemble command set. For example, it may include calling, accessing local data, accessing a local network, etc.; it may also include instructions that may respond in a locked state, such as communication prompts, timed reminders, and the like.
- the electronic device can respond to a part of the instruction in the locked state and the non-locked state. If the command that can respond in the locked state constitutes the first instruction set, the command that can respond in the unlocked state constitutes the second instruction set.
- the first set of instructions and the second set of instructions usually have an intersection, and because of the command that can respond in the locked state, the response can be almost in the unlocked state, but the command that can respond in the unlocked state is in the locked state.
- the next is not necessarily responsive, therefore, the instruction data in the second set of instructions is typically larger than the number of instructions in the first set of instructions.
- the state switching method provided by the embodiment of the present invention may include the following steps:
- the input operation In the locked state, detecting an input operation, the input operation generates a continuous trajectory; the input operation may be a user input operation when the electronic device is in a locked state, and may be some unlocking authentication operation.
- the input operation refers to an operation capable of generating a certain continuous trajectory. For example, an operable identifier may be dragged with a mouse or the like, or an operable identifier may be dragged on the touch screen with a finger or a touch pen or the like. The sliding track drawn and so on.
- the embodiment of the present invention may first determine the continuity trajectory generated by the operation. End position.
- S73 determining whether the end position belongs to a preset state switching area, and obtaining a determination result; generally, in order to determine that the user is actually performing an unlocking operation, a state switching area is set in the operation area, only when the input operation is continuous When the end position of the sexual trajectory enters the state switching area, the input operation is recognized as an unlocking operation.
- the end position enters the state switching area, it indicates that the user is actually performing a state switching operation, and therefore, a state switching instruction can be generated.
- S75 Determine a second instruction corresponding to the end position according to a preset relationship between the preset end position and the instruction. While generating the state switching instruction, it is also possible to follow the corresponding relationship between the preset end position and the instruction.
- System determines the second instruction corresponding to the current end position.
- the second instruction is an instruction that can respond in an unlocked state. That is, in the embodiment of the present invention, after detecting an input operation in the locked state, if the input operation is determined to be an unlocking operation, not only the unlocking instruction in the first instruction set but also the second A second instruction in the set of instructions corresponds.
- the correspondence between the end position of the input operation and the second instruction may be preset.
- the first instruction generated in step S74 and the second instruction determined in step S75 are both determined based on the input operation obtained in step S71.
- the operating body performs an input operation on the electronic device, and the electronic device obtains a continuity trajectory corresponding to the input operation, and determines a first instruction according to the trajectory corresponding to the input operation in the locked state, and still remains in the unlocked state.
- the second instruction is determined according to the trajectory corresponding to the input operation.
- the embodiment of the present invention there may be multiple end positions, which is equivalent to dividing the state switching area into a plurality of small areas, and different areas may correspond to different second instructions. That is, as long as the end position of the input operation belongs to the state switching area, a state switching instruction can be generated, but different second instructions can be generated depending on the specific end position.
- different second instructions may be instructions for launching different applications, or different second instructions may be used to initiate the same application based on different operating objects/parameters.
- different end positions can correspond to different applications, as opposed to different operating objects/parameters that can be used with the same application.
- the second instruction is only used to start the application corresponding to the end position (for example, open the browser, open the music player, etc.), if it is the latter, the second instruction is not only used to start an application, but also To be specific to an action object/parameter in the app (for example, opening a web page in a browser, playing a music in a music player, etc., viewing a contact in the address book, etc.).
- a plurality of different end positions may be set in advance, and the user may select a service that he/she needs by inputting different end positions of the operation.
- the user may also be provided with a prompt identifier for each candidate end position.
- an operable identifier such as a slide slider or the like
- the operable identifier can usually be set in advance, and after the user activates the screen, the operable identifier can be displayed at a certain position of the screen, and then the user You can drag the actionable ID to another location to unlock it.
- a plurality of ending positions are displayed, and further, the names of the different applications may be displayed at the respective ending positions. Or the name of each different operation object/parameter in the same application, so that if the user wants to start an application while unlocking, or start an operation object/parameter in the application, the drag can be dragged Go to their respective end positions.
- 80 is operable.
- 81, 82, 83 are the respective end positions, and the names of the different applications are displayed at different end positions, for example, "Application 1", “Application 2", and "Application 3" respectively.
- the operable logo 80 can be dragged to the end position 81, so that after unlocking, the interface after the "App 1" is started can be directly accessed, for example, "Contacts" of "Application 1", then unlock directly into the address book interface instead of entering the main menu page.
- the user wants to launch "App 2" or “App 3” simply drag the operable logo 80 to the end position 82 or 83.
- FIG. 9 In the different end positions, different operation objects/parameters in the same application are displayed, wherein the application can usually be a commonly used application, such as the address book shown in FIG. 9, different operation objects/parameters in the address book. It can refer to each contact in the address book. Therefore, each contact name can be displayed at each end position, respectively, "Contact 1", “Contact 2", “Contact 3", and of course, the address book can also be directly displayed on the operable logo.
- the application can be omitted in the manual main menu. Steps, even the steps of finding a specific operation object/parameter in a specific application can be omitted.
- the candidate end positions may be limited, and one-to-one correspondence with each application cannot be achieved.
- some of the applications may be selected to correspond to the respective end positions according to factors such as the actual usage of the user.
- a setting entry may be provided, and the user may set an application corresponding to each end position according to his own needs.
- the contacts in the address book may have dozens or even hundreds. In this case, the user's common contacts may be selected to correspond to the respective end positions. .
- the user can also be provided with a setting entry, which application is set to be launched when unlocked, and which operating objects/parameters corresponding to the ending position can be set by the user according to their own needs.
- a setting entry which application is set to be launched when unlocked, and which operating objects/parameters corresponding to the ending position can be set by the user according to their own needs.
- another operable identifier may be provided, which may display the words "basic unlocking", and the operable identifier realizes a simple unlocking function, as long as Was dragged to In the state switching area, a state switching instruction can be generated, and then the electronic device can be switched to the unlocked state.
- multiple candidate end positions may be provided for input operations performed by the user, and different second instructions may be determined by different end positions.
- multiple candidate starting positions may also be provided for the user's input operations, and each starting position corresponds to multiple ending positions.
- Different starting positions may correspond to different applications, and different ending positions may correspond to different operating objects/parameters of the application.
- different starting positions can be provided by providing a plurality of different operable identifiers, each operable identifier corresponding to a different application, when the user wants to launch an application. At this time, you can drag the actionable identifier corresponding to the application.
- each operable identifier corresponds to multiple ending positions.
- the corresponding operational identifier of the application can be dragged to the operation object. / The location of the parameter.
- the names of the respective applications may be displayed on the respective operable identifiers, and the names of the respective operating objects/parameters in the application are displayed at the respective ending positions.
- the same end position may be reused between different operable identifiers, that is, for an end position in the state switching area, when the operable identifier corresponding to the application 1 is dragged, the end position corresponds to It is an operation object/parameter A in the application 1, but when the operable identifier corresponding to the application 2 is dragged, the end position corresponds to an operation object/parameter B in the application 2.
- the display may be performed as follows: After the user activates the screen, first display the respective operable identifiers at the respective starting positions, and display the names of the respective corresponding applications on the respective operable identifiers, when the user starts After the input operation, according to the operable identification condition selected by the user, it is determined which operation objects/parameters and respective display positions should be displayed at the end position, and then the respective operation objects/parameters are displayed at the respective display positions.
- the process is equivalent to determining that at least the application corresponding to the starting position is determined according to the starting position of the continuous trajectory in the locked state.
- the two display objects/parameters are corresponding display positions in the state switching area, and then the names of at least two operation objects/parameters are displayed as corresponding candidate end positions in the corresponding display positions in the state switching area.
- 101, 102, and 103 are respectively three operable identifiers corresponding to three applications of “browser”, “address book” and “player”, respectively, after the user activates the screen. , you can do as shown in Figure 10-1. After that, the user starts the unlocking operation. If the user wants to start the "address book", the operable identifier 102 corresponding to the "address book” is dragged. After the user selects the operable identifier, the candidate can be displayed.
- Each operation object/parameter in the application of the corresponding "address book" at the end position for example, as shown in FIG. 10-2, shows six end positions, and each end position respectively displays "contact 1".
- each operable identifier is displayed in a horizontal row.
- the display area of each operable logo may be relatively small, as shown in Figure 10-1.
- the display area occupied by each operable identifier is an approximately square area.
- the display area of each end position is also generally matched with the display area of the operable logo.
- each end position also occupies a display area similar to a square, and its area is The area occupied by the operable logo is also approximately the same.
- the operable area may be limited.
- the display layout of the operable identifier may be adjusted during the operation, and the display area of the end position is determined according to the result of the adjustment. For example, after the interface of FIG. 4-1 is displayed, if one of the operable identifiers is selected, the display area corresponding to the operable identifier may be expanded, and displayed according to the extended display area of the operable identifier. The end position where each operation object/parameter is located. For example, if the user clicks on the "address book" operable identifier, the display area can be expanded as shown in FIG. 9, and the corresponding end position can be adjusted as shown in FIG.
- each of the operable identifiers does not necessarily correspond to a specific application, and one of the operable identifiers may be set as a set of applications, that is, the operable identifier may be The word "Apply" is displayed on the screen. When the actionable logo is dragged, the name of each application can be displayed at the end position.
- the "applicable” is displayed on the operable identifier 111, and the two specific addresses of the "address book” and the “browser” are displayed on the other two operable identifiers 112 and 113 respectively.
- the operable identifier 111 is dragged, the specific application such as "Application 1" and "Application 2" is displayed at the end position.
- the operable identifier for the basic unlocking may be dragged by dragging. , switch the electronic device to unlocked
- the state as shown in FIG.
- S76 switch the electronic device to an unlocked state by executing the first instruction, and execute the second instruction corresponding to an end position of the input operation.
- the first instruction After determining that the first instruction is a state switching instruction, and determining the second instruction corresponding to the non-locking state, the first instruction may be first executed, the electronic device is switched to the unlocked state, and then the second instruction is executed, The user displays the interface after executing the second instruction.
- a plurality of different candidate ending positions may be provided for the input operation of the user, and the instructions in different unlocked states are corresponding to different ending positions, so that when the user performs the unlocking operation, not only The ability to switch the electronic device to an unlocked state, or directly execute an instruction in an unlocked state, including starting an application, or even operating an operation object/parameter in an application, thereby reducing the user's numerous information.
- the search operation is performed, thereby improving the intelligence of the electronic device.
- an embodiment of the present invention provides another state switching method, which is also applied to an electronic device, which also has a locked state and an unlocked state, and defines a locked state and an unlocked state. As mentioned above, it will not be repeated here.
- the method includes the following steps:
- the input operation may be a user input operation when the electronic device is in a locked state, and may be some kind of unlock authentication operation.
- the input operation may be pressing some specific key or combination key, or dragging an operable identifier with a mouse or the like, or dragging an operable identifier on the touch screen with a finger or a touch pen or the like. Wait.
- S132 Determine whether the input operation belongs to a state switching operation, and obtain a determination result
- the rule of the state switching operation can be set in advance, and if the input operation belongs to the rule, it can be determined as the state switching operation. For example, the button or combination key pressed by the user belongs to a preset button or combination key for unlocking, or the track formed by the user performing the drag operation meets a certain length requirement and the like.
- a state switching instruction may be generated.
- S135 Switch the electronic device to an unlocked state by executing the state switching instruction, and start an application corresponding to the unlocking operation based on the operation object/parameter.
- the input operation can generate a continuous trajectory
- the corresponding application can be determined according to the starting position of the continuous trajectory
- the operating object in the application is determined according to the ending position of the continuous trajectory/ parameter.
- the display position of the at least two operation objects/parameters of the application corresponding to the starting position in the state switching area, and then At least two operation objects/parameters are displayed at the corresponding display positions in the state switching area as candidate end positions.
- the embodiment of the present invention further provides a state switching device, which is applied to an electronic device, wherein the electronic device has a locked state and an unlocked state.
- the device includes:
- the detecting unit 141 is configured to detect an input operation in a locked state, where the input operation generates a continuous trajectory
- End position determining unit 142 configured to determine an end position of the continuity track
- the determining unit 143 is configured to determine whether the end position belongs to a preset state switching area, and obtain a determination result
- the first instruction generating unit 144 is configured to: when the determining result indicates that the end position belongs to the state switching area, generate a first instruction, where the first instruction is a state switching instruction;
- the second instruction determining unit 145 is configured to determine, according to a preset relationship between the preset end position and the instruction, a second instruction corresponding to the ending position;
- the instruction execution unit 146 is configured to switch the electronic device to an unlocked state by executing the first instruction, and execute the second instruction corresponding to an end position of the input operation.
- the device may further include:
- the second instruction determining unit 145 is specifically configured to: determine, according to the starting position, a second instruction corresponding to the ending position according to a correspondence between the preset ending position and the instruction.
- the different start positions may correspond to different applications, and different end positions corresponding to the same start position may correspond to different operation objects/parameters to be applied.
- the second instruction determining unit 145 may specifically be configured to: according to the start position The second instruction is determined by the corresponding application and the operation object/parameter corresponding to the end position.
- the device may further include:
- a display position determining unit configured to determine, according to a starting position of the continuity track, a corresponding display position of the at least two operating objects/parameters of the application in the state switching region in the locked state;
- a display unit configured to display the at least two operation objects/parameters at a corresponding display position in the state switching area as a candidate end position
- an embodiment of the present invention further provides an electronic device, where the electronic device may include a processing module, a display module, and an input module, where the display module is configured to display information to the user, and the input module user receives the user.
- the input operation, the processing module includes the state switching device of the third embodiment.
- the input module may be a device such as a mouse or a keyboard, and may also be a touch screen.
- the touch screen is used as an input module, the input module is overlapped with the display module.
- the embodiment of the present invention further provides another state switching device, which is applied to an electronic device having a locked state and an unlocked state.
- the device includes:
- a detecting unit 151 configured to detect an input operation in a locked state
- the determining unit 152 is configured to determine whether the input operation belongs to a state switching operation, and obtain a determination result.
- the instruction generating unit 153 is configured to generate a state switching instruction when the determining result indicates that the input operation belongs to a state switching operation. ;
- a determining unit 154 configured to determine an application corresponding to the input operation and an operation object/parameter in the application
- an instruction execution unit 155 configured to switch the electronic device to an unlocked state by executing the state switching instruction, And launching an application corresponding to the unlocking operation based on the operation object/parameter.
- the input operation may generate a continuous trajectory
- the determining unit 154 may be configured to: determine a corresponding application according to a starting position of the continuity trajectory, and determine the end position according to the ending position of the continuity trajectory.
- the action object/parameter in the application may be configured to: determine a corresponding application according to a starting position of the continuity trajectory, and determine the end position according to the ending position of the continuity trajectory.
- the device may further include:
- a display position determining unit configured to determine, according to a start position of the continuity track, a display position of at least two operation objects/parameters of the application corresponding to the start position in the state switching area; And a display unit, configured to display the at least two operation objects/parameters as corresponding candidate end positions in the corresponding display positions in the state switching area.
- an embodiment of the present invention further provides an electronic device.
- the electronic device may include a processing module, a display module, and an input module, where the display module is configured to display information to the user, and the input module user receives input operations from the user.
- the processing module includes the state switching device described in the fourth embodiment.
- the input module may be a mouse, a keyboard, or the like, and may also be a touch screen.
- the input module is overlapped with the display module.
- the state switching device or the electronic device provided by the embodiment of the present invention can provide a plurality of different candidate end positions for the input operation of the user, and corresponding instructions in different non-locking states through different end positions, so that When the user performs the unlocking operation, not only can the electronic device be switched to the unlocked state, but also can directly execute an instruction in the unlocked state, including starting an application, or even operating an operation object/parameter in an application, etc., , reducing the user's operation in finding a large number of information, thereby improving the intelligence of the electronic device.
- state switching device and the electronic device embodiment are corresponding to the foregoing state switching method embodiment, and the details are not described in detail. For details, refer to the description in the method embodiment.
- the unit or the module can be implemented by using software.
- the module can be implemented by using software, considering the level of the existing hardware process, the module can be implemented by software, without considering the cost, the technology in the field Personnel can build corresponding hardware circuits to implement corresponding functions, including conventional Very Large Scale Integration (VLSI) circuits or gate arrays, and existing semiconductors such as logic chips, transistors, or other discrete components.
- VLSI Very Large Scale Integration
- the unit or module can also be implemented with programmable hardware devices, such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Description
终端设备控制方法及终端设备和电子设备 技术领域
本发明的实施例涉及移动终端技术领域, 特别是涉及终端设备控制方法及终端设 备和电子设备。 背景技术
随着移动通信、 计算机处理等技术的不断发展, 以及用户的需求, 终端设备向着越 来越智能化的方向发展。 所谓智能化, 是指终端设备不仅仅用于打电话, 还有用于上 网、 导航、 看电视、 听音乐等等。 为实现这些功能, 智能终端设备通常会具有非常多 的功能模块, 比如 WI FI ( wireless fidelity, 无线保真)、 GPS ( Global Positioning System , 全球定位系统)、 CM M B ( China Mobile M ultimedia Broadcasting, 中国移动多媒体广播) 另一方面, 终端设备通常是通过接收用户的按键操作或对触摸屏的滑动、点击等操 作, 接收用户的输入, 并完成相应的指令。 当用户暂时不使用终端设备时, 终端设备 可以进入锁定状态 (可以自动进入或者通过用户手动操作进入), 此时, 除了用户通过 特殊操作 (按下指定的按键组合或者执行某种指定的划动操作等) 进行解锁, 或者拨 打紧急呼叫号码之外。 终端设备将不再响应用户的其他输入。 这样可以避免由于误触 键盘或屏幕(例如放在包中时被其他物品触碰等)带来的耗电或误将电话拨出等麻烦。
但是, 现有技术中, 如果在终端设备锁定状态下, 用户需要使用终端设备的某项 功能, 则需要用户进行较为繁琐的操作。 例如, 需要首先执行解锁或唤醒屏幕, 然后 再到相应的目录下找到所需的功能模块, 从选项中选择开启, 然后再进入相应的界面, 等等。 再如, 对于具有触摸屏的电子设备而言, 一般的使用场景会是: 激活屏幕 滑 动解锁 翻页寻找应用或服务 点击启动对应的应用或服务。 伴随着应用或服务数量 的大量增长及电子设备存储容量的扩大, 这种难度会不断增多。 可见, 这将使得智能 手机的智能性大打折扣。 发明内容
本发明的实施例提供终端设备控制方法及终端设备和电子设备,能够增强了终端设 备的智能性。
为实现上述目的, 本发明的实施例提供了如下方案: 一种终端设备控制方法, 所述 方法应用于一终端设备中, 所述终端设备具有一全集指令集合, 所述终端设备具有锁 定状态和非锁定状态, 在所述锁定状态下所述终端设备响应作为所述全集指令集合中 第一部分的第一指令集合, 在所述非锁定状态下所述终端设备响应作为所述全集指令 集合中第二部分的第二指令集合, 其中, 所述第一指令集合中的指令数量小于所述第 二指令集合中的指令数量, 所述方法包括:
获得一第一输入;
在所述锁定状态下确定所述第一输入对应的所述第一指令集合中的第一指令,所述 第一指令为解锁指令;
根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态;
在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指令; 响应所述第二指令。
根据本发明的实施例,所述在所述非锁定状态下确定所述第一输入对应的所述第二 指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在所 述锁定状态下处于激活状态;
将用于调用所述功能模块所对应的应用程序的调用指令确定为所述第二指令。 根据本发明的实施例,所述在所述非锁定状态下确定所述第一输入对应的所述第二 指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在所 述锁定状态下处于休眠状态;
将用于开启所述功能模块的开启指令确定为所述第二指令。
根据本发明的实施例,所述在所述非锁定状态下确定所述第一输入对应的所述第二 指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在锁 定状态下处于休眠状态;
将用于开启所述功能模块的开启指令和用于调用所述功能模块所对应的应用程序 的调用指令确定为所述第二指令。
根据本发明的实施例, 所述终端设备具有触摸屏, 所述第一输入包括在所述触摸屏 上滑动输入;
所述在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指 令包括:
根据所述滑动输入产生的滑动轨迹的方向和 /或形状, 将预置的滑动轨迹的方向和 / 或形状与所述第二指令集合中各个指令之间的对应关系中, 与所述滑动输入产生的滑 动轨迹的方向和 /或形状对应的指令确定为所述第二指令。
根据本发明的实施例, 所述终端设备具有触摸屏, 所述第一输入包括点击或拖动触 摸屏上的屏幕锁的输入, 所述屏幕锁为多个;
所述在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指 令包括:
根据点击或拖动的屏幕锁,将预置的屏幕锁与所述第二指令集合中各个指令之间的 对应关系中, 与所述点击或拖动的屏幕锁对应的指令确定为所述第二指令。
根据本发明的实施例, 确定第一指令包括:
在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性轨迹;
确定所述连续性轨迹的结束位置;
判断所述结束位置是否属于预置的状态切换区域, 获得一判断结果;
当所述判断结果表明, 所述结束位置属于状态切换区域时, 产生第一指令。
根据本发明的实施例, 确定第二指令包括:
根据预置的结束位置与指令的对应关系, 确定所述结束位置对应的第二指令。 根据本发明的实施例, 所述的方法还包括:
确定所述连续性轨迹的起始位置;
所述根据预置的结束位置与指令的对应关系, 确定所述结束位置对应的第二指令 包括:
基于所述起始位置, 根据预置的结束位置与指令之间的对应关系, 确定所述结束 位置对应的第二指令。
根据本发明的实施例, 不同的起始位置对应不同的应用, 同一起始位置对应的不 同结束位置对应该应用的不同操作对象 /参数, 所述确定所述结束位置对应的第二指令 包括:
根据所述起始位置对应的应用以及结束位置对应的操作对象 /参数, 确定所述第二 指令。
根据本发明的实施例, 所述的方法还包括:
在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该起始位置对应的应用的 至少两个操作对象 /参数在状态切换区域内对应的显示位置;
在所述状态切换区域内对应的显示位置处显示出所述至少两个操作对象 /参数, 作 为候选结束位置。
根据本发明的实施例,还提供了一种终端设备,所述终端设备具有一全集指令集合, 所述终端设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终端设备响应作为 所述全集指令集合中第一部分的第一指令集合, 在所述非锁定状态下所述终端设备响 应作为所述全集指令集合中第二部分的第二指令集合, 其中, 所述第一指令集合中的 指令数量小于所述第二指令集合中的指令数量, 所述终端设备包括:
获得单元, 用于获得一第一输入;
第一解析单元,用于在所述锁定状态下确定所述第一输入对应的所述第一指令集合 中的第一指令, 所述第一指令为解锁指令;
解锁单元, 用于根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态; 第二解析单元,用于在所述非锁定状态下确定所述第一输入对应的所述第二指令集 合中的第二指令;
响应单元, 用于响应所述第二指令。
根据本发明的实施例, 所述第二解析单元包括:
第一功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于激活状态;
第一确定子单元,用于将用于调用所述功能模块所对应的应用程序的调用指令确定 为所述第二指令。
根据本发明的实施例, 所述第二解析单元包括:
第二功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于休眠状态;
第二确定子单元, 用于将用于开启所述功能模块的开启指令确定为所述第二指令。 根据本发明的实施例, 所述第二解析单元包括:
第三功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在锁定状态下处于休眠状态;
第三确定子单元,用于将用于开启所述功能模块的开启指令和用于调用所述功能模 块所对应的应用程序的调用指令确定为所述第二指令。
根据本发明的实施例, 所述终端设备具有触摸屏, 所述第一输入包括在所述触摸屏 上滑动输入;
所述第二解析单元包括:
第四确定子单元, 用于根据所述滑动输入产生的滑动轨迹的方向和 /或形状, 将预 置的滑动轨迹的方向和 /或形状与所述第二指令集合中各个指令之间的对应关系中, 与 所述滑动输入产生的滑动轨迹的方向和 /或形状对应的指令确定为所述第二指令。
根据本发明的实施例, 所述终端设备具有触摸屏, 所述第一输入包括点击或拖动触 摸屏上的屏幕锁的输入, 所述屏幕锁为多个;
所述第二解析单元包括:
第五确定子单元, 用于根据点击或拖动的屏幕锁, 将预置的屏幕锁与所述第二指令 集合中各个指令之间的对应关系中, 与所述点击或拖动的屏幕锁对应的指令确定为所 述第二指令。
根据本发明的实施例, 还提供了一种终端设备控制方法, 所述方法应用于一终端设 备中, 所述终端设备具有一全集指令集合, 所述终端设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终端设备响应作为所述全集指令集合中第一部分的第一指令集 合, 在所述非锁定状态下所述终端设备响应作为所述全集指令集合中第二部分的第二 指令集合, 其中, 所述第一指令集合中的指令数量小于所述第二指令集合中的指令数 量, 所述方法包括:
在所述锁定状态下获得一第一输入;
确定与所述第一输入对应的第一指令和第二指令, 其中, 第一指令属于所述第一指 令集合, 所述第二指令属于所述第二指令集合;
在所述锁定状态下响应所述第一指令;
在所述非锁定状态下响应所述第二指令。
根据本发明的实施例, 所述第一指令为解锁指令,
所述在所述锁定状态下响应所述第一指令包括:
根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态。
根据本发明的实施例, 所述确定与所述第一输入对应的第二指令的步骤包括: 在所述锁定状态下确定所述第一输入对应的应用以及该应用中的操作对象 /参数。 根据本发明的实施例, 所述在所述非锁定状态下响应所述第二指令的步骤包括: 从所述锁定状态切换到所述非锁定状态后, 基于所述操作对象 /参数启动所述解锁
操作对应的应用。
根据本发明的实施例, 所述第一输入产生一连续性轨迹, 所述在所述锁定状态下确 定所述第一输入对应的应用以及该应用中的操作对象 /参数包括: 根据所述连续性轨迹 的起始位置确定对应的应用, 并根据所述连续性轨迹的结束位置确定该应用中的操作 对象 /参数。
根据本发明的实施例, 所述的控制方法还包括:
在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该起始位置对应的应用的 至少两个操作对象 /参数在状态切换区域内的显示位置;
在所述状态切换区域内对应的显示位置处显示出所述至少两个操作对象 /参数, 作 为候选结束位置。
根据本发明的实施例, 在所述非锁定状态下响应所述第二指令包括:
判断所述第二指令所调用的第一应用程序对应功能模块是否开启, 产生一判断信 息;
当所述判断信息表示与所述第二指令所调用的应用程序对应功能模块未来开启时, 开启所述功能模块;
根据所述第二指令调用所述应用程序。
根据本发明的实施例,还提供了一种终端设备,所述终端设备具有一全集指令集合, 所述终端设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终端设备响应作为 所述全集指令集合中第一部分的第一指令集合, 在所述非锁定状态下所述终端设备响 应作为所述全集指令集合中第二部分的第二指令集合, 其中, 所述第一指令集合中的 指令数量小于所述第二指令集合中的指令数量, 所述终端设备包括:
获得单元, 用于在所述锁定状态下获得一第一输入;
解析单元, 用于确定与所述第一输入对应的第一指令和第二指令, 其中, 第一指令 属于所述第一指令集合, 所述第二指令属于所述第二指令集合;
第一响应单元, 用于在所述锁定状态下响应所述第一指令;
第二响应单元, 用于在所述非锁定状态下响应所述第二指令。
本发明实施例中, 当用户在终端设备处于锁定状态下进行第一输入时, 终端设备 在将其解析为解锁指令, 并将终端设备从锁定状态切换到非锁定状态之后, 还会将其 解析为非锁定状态下可以响应的第二指令, 并且响应该第二指令。 这样, 相当于用户 通过解锁操作, 不仅能够将终端设备从锁定状态切换到非锁定状态, 还能够将解锁操
作解析为非锁定状态下能够响应的第二指令, 并响应该第二指令, 因此能够简化用户 调用第二指令对应的功能模块的流程, 节省了用户操作, 增强了终端设备的智能性。
本发明的实施例还提供了一种电子设备中, 所述电子设备具有锁定状态和非锁定 状态, 所述电子设备包括:
检测单元, 用于在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性轨 迹;
结束位置确定单元, 用于确定所述连续性轨迹的结束位置;
判断单元, 用于判断所述结束位置是否属于预置的状态切换区域, 获得一判断结 果;
第一指令产生单元, 用于当所述判断结果表明, 所述结束位置属于状态切换区域 时, 产生第一指令, 所述第一指令为状态切换指令;
第二指令确定单元, 用于根据预置的结束位置与指令的对应关系, 确定所述结束 位置对应的第二指令;
指令执行单元, 用于通过执行所述第一指令, 将所述电子设备切换为非锁定状态, 并执行所述输入操作的结束位置对应的所述第二指令。
根据该实施例的电子设备还包括:
起始位置确定单元, 用于确定所述连续性轨迹的起始位置;
所述第二指令确定单元具体用于: 基于所述起始位置, 根据预置的结束位置与指 令之间的对应关系, 确定所述结束位置对应的第二指令。
通过本发明实施例, 可以为用户的输入操作提供多个不同的结束位置, 并通过不 同的结束位置对应不同的非锁定状态下的指令, 这样, 当用户执行解锁操作时, 不仅 能够将电子设备切换到非锁定状态, 还可以直接执行非锁定状态下的某指令, 包括启 动某应用, 甚至对某应用中的操作对象 /参数进行操作等等, 因此, 减少了用户在众多 信息中进行查找的操作, 从而提高了电子设备的智能性。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据 这些附图获得其他的附图。
图 1是本发明实施例提供的方法的流程图;
图 2是本发明实施例提供的方法中屏幕界面示意图;
图 3是本发明实施例提供的方法中另一屏幕界面示意图;
图 4是本发明实施例提供的另一方法的流程图;
图 5是本发明实施例提供的终端设备的示意图;
图 6是本发明实施例提供的另一终端设备的示意图。
图 7是本发明实施例提供的方法的流程图;
图 8是本发明实施例提供的方法中的第一界面示意图;
图 9是本发明实施例提供的方法中的第二界面示意图;
图 10-1是本发明实施例提供的方法中的第三界面示意图;
图 10-2是本发明实施例提供的方法中的第四界面示意图;
图 11是本发明实施例提供的方法中的第五界面示意图;
图 12是本发明实施例提供的方法中的第六界面示意图;
图 13是本发明实施例提供的另一方法的流程图;
图 14是本发明实施例提供的装置的示意图;
图 15是本发明实施例提供的另一装置的示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、完整 地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员所获得的所有其他实施例, 都属于本发 明保护的范围。
本发明实施例提供了一种终端设备控制方法, 该方法应用于一终端设备中。首先需 要说明的是, 该终端设备具有一全集指令集合, 并且该终端设备具有锁定状态和非锁 定状态; 在锁定状态下, 该终端设备可以响应作为该全集指令集合中第一部分的第一 指令集合, 在非锁定状态下, 该终端设备可以响应作为该全集指令集合中第二部分的 第二指令集合, 并且, 第一指令集合中的指令数量小于第二指令集合中的指令数量。
也就是说, 终端设备在锁定状态下可以响应一部分指令, 换言之, 锁定状态是指终 端设备仅能够响应第一指令集合中的指令的状态。 第一指令集合中的指令包括通信提 示指令 (如来电提示、 短信提示指令), 定时提醒指令 (如闹钟、 备忘录等提示), 以
及解锁认证、 解锁指令等等。 其中, 在终端设备处于锁定状态时, 通过执行解锁指令 可以使终端设备从锁定状态切换至非锁定状态。 需要说明的是, 在锁定状态下, 能产 生解锁认证, 接收解锁认证信息, 若通过解锁认证, 能生成解锁指令。 解锁认证可以 是对预订字符串, 或预订触摸轨迹或预定生物特征等的认证。 也就是说, 解锁认证用 于提示用户输入解锁认证信息, 而解锁指令用于将终端设备从锁定状态切换至非锁定 状态。
终端设备在非锁定状态下, 也可以响应一部分指令, 这部分指令几乎可以是全集指 令集合中的全部命令。 例如, 可以包括呼叫、 访问本地数据、 访问本地网络等等; 还 可以包括在锁定状态下可以响应的指令, 例如, 通信提示、 定时提醒等。
可见, 终端设备在锁定状态下及非锁定状态下都可以响应一部分指令, 如果在锁定 状态下能够响应的指令组成第一指令集合, 在非锁定状态下能够响应的指令组成第二 指令集合, 则第一指令集合与第二指令集合之间通常具有交集, 并且由于在锁定状态 下能够响应的指令, 在非锁定状态下几乎都能响应, 但是在非锁定状态下能够响应的 指令, 在锁定状态下却不一定能够响应, 因此, 第二指令集合中的指令数据通常大于 第一指令集合中的指令数量。
在以上所述的基础上, 本发明实施例提供了以下终端设备控制方法, 参见图 1, 该 方法包括以下步骤:
S11 : 获得一第一输入;
该第一输入可以是在终端设备处于锁定状态下的用户输入, 并且, 可以是某种解锁 认证操作, 例如, 通过键盘输入指定字符串, 或者在触摸屏上划出的指定滑动轨迹或 方向等等。
S12:在所述锁定状态下确定所述第一输入对应的所述第一指令集合中的第一指令, 所述第一指令为解锁指令;
当终端设备在锁定状态下接收到上述第一输入时, 如果第一输入符合预置的条件, 则终端设备可以将其识别为解锁认证操作, 并在认证通过后, 产生解锁指令。
S13 : 根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态; 产生解锁指令之后, 就可以将终端设备从锁定状态切换为非锁定状态。此时, 终端 设备将不仅能够响应第一指令集合中的指令, 而是能够响应第二指令集合中的指令。
S14: 在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指 令;
在本发明实施例中, 第一输入不仅仅对应着第一指令集合中的解锁指令, 还与第二 指令集合中的第二指令相对应。 具体实现时, 可以预先设置第一输入与第二指令之间 的对应关系, 当接收到第一输入, 并将终端设备从锁定状态切换到非锁定状态之后, 就可以通过查询该对应关系, 来确定该第一输入对应的第二指令。 需要强调说明的是, 在本发明的实施例中, 步骤 S12: 在所述锁定状态下确定所述第一输入对应的所述第一 指令集合中的第一指令, 所述第一指令为解锁指令, 与步骤 S14: 在所述非锁定状态下 确定所述第一输入对应的所述第二指令集合中的第二指令。 步骤 S12确定的所述第一 指令和步骤 S14确定的所述第二指令所述都是基于步骤 S11获得的第一输入进行确定 的。 换句话说, 操作体在终端设备上完成所述第一输入, 那么终端设备获得该第一输 入对应的滑动轨迹和 /或方向或者为特殊的按键信息, 在所述锁定状态下根据该第一输 入对应的滑动轨迹和 /或方向或者为特殊的按键信息确定所述第一指令和在所述非锁定 状态下仍然根据该第一输入对应的滑动轨迹和 /或方向或者为特殊的按键信息确定的所 述第二指令。
S15 : 响应所述第二指令。
在确定出第一输入对应第二指令集合中的第二指令之后,就可以在非锁定状态下响 应该第二指令。
以上所述对本发明实施例提供的终端设备控制方法进行了介绍, 可以看出, 本发明 实施例中, 当用户在终端设备处于锁定状态下进行第一输入时, 终端设备在将其解析 为解锁指令, 并将终端设备从锁定状态切换到非锁定状态之后, 还会将其解析为非锁 定状态下可以响应的第二指令, 并且响应该第二指令。 这样, 相当于用户通过解锁操 作, 不仅能够将终端设备从锁定状态切换到非锁定状态, 还能够将解锁操作解析为非 锁定状态下能够响应的第二指令, 并响应该第二指令, 其中, 第二指令集合中的第二 指令通常都是与终端设备中的某种功能模块相关的指令, 因此能够简化与实现第二指 令对应的功能模块相关功能的流程, 节省了用户操作, 增强了终端设备的智能性。
为更好地理解本发明实施例, 下面对终端设备中的功能模块, 进行介绍。在本发明 实施例中, 功能模块通常是指终端设备的硬件组成单元, 终端设备只有具有这种硬件 上的功能模块, 才能实现相应的功能。 例如, 对于 GSM模块而言, 其功能是进行接打 电话、 收发短信等, 而硬件意义上的 GSM模块, 就包括信号收发设备、 接收天线等, 只有通过这些硬件上的设备, 才能够接收来自呼叫方的信号, 并将本机的信号发送出 去。
但是, 为了实际使用各个功能模块的功能, 仅具有硬件上的支持也是不够的, 通常 还需要通过软件的方式提供人机交互的界面, 这样用户才能够进行通讯信息的查找、 短消息的编辑等操作。 因此, 对于本发明实施例而言, 功能模块相当于是终端设备的 硬件组成单元, 而功能模块对应的应用程序, 则是指应用该功能模块对应的功能时, 需要提供的人机交互接口, 并且该应用程序通常会为用户提供一个界面, 以便于实现 人机交互。
例如, 对于 WIFI模块而言, 其能够实现的功能是, 能够将终端设备接入互联网, 也就是说能够利用终端设备进行上网。 而为了能够上网, 仅有 WIFI模块是不够的, 还 需要有浏览器、即时通信软件等应用程序才可以。因此,对于 WIFI模块而言, 浏览器, 或者即时通信软件, 就相当于是该功能模块对应功能的应用程序。
换言之, 虽然使用终端设备的各种功能时, 需要硬件设备上的支持, 但是用户实际 操作的对象通常是各种应用层面的软件产品。 而在本发明实施例中, 实现与功能模块 相关的功能, 就包括对功能模块的开启, 或者调用功能模块对应的应用程序, 以便为 用户显示该功能模块对应功能的操作界面, 等等。
因此, 在本发明实施例中, 第二指令的具体含义可以有多种, 具体在非锁定状态下 确定第一输入对应的第二指令集合中的第二指令时, 也可以有多种方式, 下面分别进 行介绍。
方式一
在这种方式下,假设当终端设备进入锁定状态之后,各个功能模块都处于激活状态。 该锁定状态只是关闭各个功能模块对应的软件。 具体实现时, 可以预先设置第一输入 与各个功能模块之间的对应关系, 这样, 当接收到第一输入之后, 就可以首先根据该 第一输入确定与该第一输入对应的功能模块, 然后, 将用于调用该功能模块所对应的 应用程序的调用指令确定为第二指令。 这样, 在响应第二指令时, 就可以直接调用该 应用程序, 相当于显示出了该功能模块对应功能的操作界面, 用户直接利用该操作界 面实现相应的功能即可。
其中, 在设置第一输入与各个功能模块之间的对应关系时, 可以根据第一输入的操 作类型设置, 其中, 操作类型可以通过多种指定的字符串, 或者多种划动轨迹等实现。 例如, 假设终端设备具有触摸屏, 则在一种实现方式下, 第一输入可以是用户在触摸 屏上滑动输入, 则第一输入的不同操作类型可以通过滑动轨迹的方向和 /或形状进行区 别。 这样, 在设置第一输入与各个功能模块之间的对应关系时, 就可以将各种滑动轨
迹的方向和 /或形状与具体的功能模块相对应。
例如, 如图 2所示, 可以以软件的方式在触摸屏上显示一个屏幕锁, 并设置以下对 应关系: 向左拖动屏幕锁 (相当于产生向左的划动轨迹), 对应 WIFI模块; 向下拖动 屏幕锁 (相当于产生向下的划动轨迹), 对应是 GSM模块; 向右拖动屏幕锁 (相当于 产生向右的划动轨迹), 对应 BT模块。 当接收到某第一输入时, 假设判断出用户指定 的是向左拖动屏幕锁的操作, 并且假设预先设定 WIFI模块对应的应用程序是浏览器, 则可以将相应的第二指令解析为: 调用浏览器, 这样在响应该第二指令的时候, 就可 以直接调用浏览器程序, 进入浏览器界面。
这样, 相当于在终端设备锁定状态下, 用户可以直接通过向左拖动屏幕锁, 进入浏 览器界面, 进而就可以在浏览器中通过输入网址等方式浏览自己需要的网络信息即可, 非常方便。 也就是说, 从用户的角度而言, 如果用户想要通过终端设备上网, 而当前 终端设备正处于锁定状态, 则用户就可以将屏幕锁向左拖动, 然后当屏幕被点亮进入 非锁定状态之后, 用户就可以直接看到浏览器界面。 或者, 假设向右拖动屏幕锁的解 锁操作对应的模块是 GSM模块, 则如果用户想要打电话, 则可以向右拖动屏幕锁, 然 后用户就可以看到数字键盘以及从通讯录中进行查找等入口的按钮, 直接点击数字键 盘上的数字, 或者查找联系人即可。 而当用户需要使用终端设备时, 总是需要使用终 端设备的某项功能, 要么打电话、 要么发短信、 要么上网等等, 因此, 用户就可以根 据实际的需要, 执行相应类型的解锁操作即可直接进入到相应的操作界面。 显然, 相 对于现有技术而言, 简化了用户的操作流程, 增强了终端设备的智能性。
需要说明的是,一种功能模块对应的应用程序可能有多种, 当执行某种操作类型的 第一输入时, 对于实际调用的应用程序, 也可以是预先设置好的, 并且是可以改变的。 例如, 仍以前文所述为例, WIFI模块对应的应用程序可能有浏览器, 还可能有即时通 信软件等等; 在默认状态下, 当向左拖动屏幕锁时, 对应调用的应用程序可以是浏览 器; 当然, 如果用户习惯于使用终端设备与网友进行聊天, 而不是浏览网页, 通常使 用的是即时通信软件, 而不是浏览器, 则用户也可以手动将该操作类型的第一输入对 应的应用程序修改为即时通信软件; 这样, 当用户执行向左拖动屏幕锁的第一输入时, 会直接将即时通信软件的界面显示给用户。
当然, 则在一种实现方式下, 第一输入可以点击或拖动触摸屏上的屏幕锁的输入, 并且屏幕锁为多个。 这样, 在设置第一输入与功能模块之间的对应关系时, 就可以通 过设置屏幕锁与功能模块之间的对应关系的方式来实现。 例如, 如图 3 所示, 可以在
触摸屏上显示三个屏幕锁, 分别为屏幕锁 A、 屏幕锁 B和屏幕锁。。 并且设置以下对 应关系: 屏幕锁 A对应 WIFI模块; 屏幕锁 B对应 CMMB模块; 屏幕锁 C对应 GPS 模块。
则当接收到用户的第一输入时,就可以首先判断该第一输入是针对哪个屏幕锁进行 的, 例如, 发现用户点击的是屏幕锁 A, 则可以将第二指令解析为: 调用浏览器, 相 应的, 在响应该第二指令的时候, 就可以直接调用浏览器程序, 进入浏览器界面。
方式二
在该方式二中, 除了考虑用户操作的便捷性, 还可以同时考虑终端设备的节能性。 目前多数的智能终端设备都面临着功耗大的问题, 而对于智能终端设备而言, 待机时 间是衡量终端设备性能的一个很重要的因素。 但是在同等电池容量的前提下, 智能终 端设备的待机时间远远短于普通的非智能终端设备。 究其原因, 除了智能手机需要支 持高清晰大屏幕的显示画面以外, 一个很主要的原因在于, 智能终端设备支持的多种 功能模块, 即如前文所述, 除了基本的语音等通讯功能之外, 还可能包括 WIFI、 BT、 GPS、 CMMB等等。 而在现有技术中, 只要在终端设备开机状态下, 各个功能模块均 处于开启状态, 也即需要为各个功能模块加电, 显然这些开启的功能模块会造成系统 芯片组的功耗增大, 进而导致智能终端设备的待机时间较短。 虽然可以通过增加电池 容量的方法来提高待机时间, 但是这会增加终端设备成本及重量。
在本发明实施例中, 可以采用如下方案: 当终端设备进入锁定状态时, 仅保留基本 的通信模块处于启动状态, 以便能够接收来电或接收短消息等; 由于在锁定状态下, 其他的功能模块通常都不会用到, 因此, 可以将其置为休眠状态。 由于终端模块在休 眠状态下不需要加电, 因此在锁定状态下, 会大大节省终端设备的电能, 降低系统芯 片组的功耗, 达到节能的目的。
当然, 由于在锁定状态下, 多数功能模块已经进入休眠状态, 因此, 如果不进行特 殊处理, 当用户需要使用某功能模块的功能时, 还需要执行某操作, 将该功能模块开 启, 即通知系统为该功能模块加电。 但在本发明实施例中, 为了简化用户的操作, 同 样可以将开启某功能模块的指令作为第二指令集合中的一种指令, 也即, 用户可以在 执行解锁操作, 完成将某功能模块开启的操作。
对于终端设备而言, 当接收到用户的第一输入, 即用户需要执行解锁操作时, 则证 明用户可能需要使用终端设备的某项功能, 此时, 同样可以利用预先设置的第一输入 与功能模块之间的对应关系, 获知当前的第一输入对应的功能模块, 此时, 确定出的
第二指令就可以为: 用于开启对应功能模块的开启指令, 响应该第二指令, 就可以将 对应的功能模块开启。
也就是说, 虽然在锁定状态下已经将多数的功能模块都置为休眠状态, 但是当用户 需要使用某功能模块的功能时, 也不需要手动地将该功能模块开启。
当然, 也可以是只要将终端设备从锁定状态切换为非锁定状态, 就将所有功能模块 都开启。 但是本发明实施例并没有这样做, 原因在于, 只要功能模块处于开启的状态, 就会消耗系统的电能; 而用户通常不会需要同时使用所有的功能模块, 而是只会用到 其中的一种或几种, 因此, 其他未使用却处于开启状态的功能模块所消耗的电能就会 是一种浪费。
基于上述考虑, 在本发明实施例中, 当用户执行某种第一输入时, 在将终端设备从 锁定状态切换为非锁定状态的同时, 仅将该第一输入对应的功能模块开启。 这样, 既 可以简化用户操作, 增强终端设备的智能性, 又可以尽可能地降低终端设备的功耗, 延长终端设备的待机时间。
其中, 关于第一输入与功能模块之间对应关系的设置, 可以与方式一中相同, 这里 不再赘述。
方式三
在该方式中, 可以将前述方式一与方式二相结合。 也就是说, 当终端设备进入锁定 状态时, 同样仅保留基本的通讯模块启动, 其他功能模块均进入休眠状态; 同时, 设 置第一输入与功能模块之间的对应关系, 当接收到某第一输入时, 首先根据第一输入 确定与第一输入对应的功能模块, 将用于开启该功能模块的开启指令和用于调用该功 能模块所对应的应用程序的调用指令确定为所述第二指令, 当响应该第二指令时, 就 会首先将其对应的功能模块开启, 然后还调用该功能模块对应的应用程序, 从而显示 出该功能模块对应功能的操作界面。
显然, 在这种方式下, 在保证尽可能降低终端设备功耗的情况下, 进一步简化了用 户操作, 使得终端设备的智能性得到进一步的提升。
关于方式三中一些实现上的细节,包括第一输入与功能模块之间的对应关系的设置 等, 可以参见前述方式一及方式二, 这里不再赘述。
方式四
如前文所述, 第一输入可以有多种操作类型, 例如, 可以是多种指定的字符串, 或 者多种划动轨迹等等; 这些表现形式对应的第一指令均可以为解锁指令, 也即, 无论
用户执行哪种操作类型的第一输入, 终端设备都可以将其解析为解锁认证, 并在认证 通过之后生成解锁指令, 以便将终端设备从锁定状态切换到非锁定状态。 但是, 由于 在进入非锁定状态之后, 用户通常是需要终端设备实现某种具体的功能, 并且用户可 能需要实现的功能有多种, 因此, 在第一输入的各种操作类型下, 对应的第二指令也 可能会有所不同, 并且同一种操作类型的第一输入, 对应的第二指令也可以为多个。
从这个角度而言,当需要确定在非锁定状态下确定第一输入对应的第二指令集合中 的哪个第二指令时, 还可以有另一种实现方式: 即可以直接设置第一输入的不同操作 类型与第二指令的对应关系, 这样, 当接收到第一输入之后, 终端设备可以通过分析 第一输入的具体操作类型, 来确定具体对应第二指令集合中的哪个或哪些指令。
也就是说, 与前述方式一至三不同, 在该方式四中, 第一输入的操作类型直接与具 体的第二指令相对应, 而不仅仅是对应某种功能模块。 例如, 假设终端设备具有触摸 屏, 则在一种实现方式下, 第一输入同样可以是用户在触摸屏上滑动输入, 则第一输 入的不同操作类型可以通过滑动轨迹的方向和 /或形状进行区别。 这样, 在需要确定在 非锁定状态下确定第一输入对应的第二指令集合中的哪个第二指令时, 就可以根据用 户的滑动输入产生的滑动轨迹的方向和 /或形状, 将预置的滑动轨迹的方向和 /或形状与 第二指令集合中各个指令之间的对应关系中, 与该滑动输入产生的滑动轨迹的方向和 / 或形状对应的指令, 确定为对应的第二指令。
例如, 在预置的对应关系中, 当用户执行向右的划动操作时对应一种第二指令, 当 用户执行向左的划动操作时则可以对应另一种第二指令, 等等。 这样, 当终端设备切 换到非锁定状态之后, 在需要确定第一输入对应的第二指令集合中的第二指令时, 就 可以首先根据划动操作的起始点以及结束点坐标等, 确定该第一输入产生的划动轨迹 的方向和 /或形状, 然后根据预先设置的划动轨迹的方向和 /或形状与第二指令集合中各 个指令之间的对应关系, 来确定出该第一输入对应的应该是第二指令集合中的哪个或 哪些指令, 然后响应相应的指令即可。
其中, 第二指令集合中的第二指令可以是方式一至三中所述的各种指令, 具体可以 包括当功能模块在锁定状态下处于激活状态时, 调用某功能模块所对应的应用程序的 调用指令; 或者, 当功能模块在锁定状态下处于休眠状态时, 开启某功能模块的开启 指令; 或者, 当功能模块在锁定状态下处于休眠状态时, 开启某功能模块的开启指令, 以及用于调用所述功能模块所对应的应用程序的调用指令。 并且在预先设置第一输入 与第二指令之间的对应关系时, 可以通过设置第一输入的操作类型与各个功能模块之
间的对应关系来实现。 并且, 在这种方式下, 一种第一输入可以对应多个第二指令。 可以以软件的方式在触摸屏上显示一个屏幕锁, 并设置以下对应关系: 向左拖动屏幕 锁 (相当于产生向左的划动轨迹), 对应的第二指令为: 调用 WIFI模块的应用程序浏 览器,; 向下拖动屏幕锁 (相当于产生向下的划动轨迹), 对应的第二指令为开启 GSM 模块; 向右拖动屏幕锁 (相当于产生向右的划动轨迹), 对应的第二指令为开启 3G模 块, 并调用 BT模块的某应用程序, 等等。
当然, 还可以设置其他的对应关系, 或者其他的划动轨迹等等, 例如, 还可以设置 "L"型轨迹,并且当第一输入的操作类型为" L"型轨迹时,对应的可以是调用 CMMB 模块的某应用程序, 等等。 其他各种可能的设置方式这里不再一一列举。
或者, 在另一种实施方式下, 第一输入也可以是点击或拖动触摸屏上的屏幕锁的输 入, 并且屏幕锁为多个, 这样第一输入的不同操作类型可以通过操作不同的屏幕锁加 以区别。 其中, 屏幕锁可以是软件实现的, 显示在触摸屏上的不同位置。 具体当终端 设备切换到非锁定状态之后, 在需要确定第一输入对应的第二指令集合中的第二指令 时, 就可以首先根据用户点击位置所在的坐标等信息, 确定该第一输入对应的是哪个 屏幕锁, 然后根据预置的屏幕锁与第二指令集合中各个指令之间的对应关系, 确定该 第一输入对应的应该是第二指令集合中的哪个或哪些指令, 然后响应相应的指令即可。
同样的, 在这种具体的实现方式下, 在预先设置第一输入的操作类型与第二指令之 间的对应关系时, 也可以通过设置第一输入的操作类型与功能模块之间的对应关系来 实现。 例如, 可以在触摸屏上显示三个屏幕锁, 分别为屏幕锁 A、 屏幕锁 B和屏幕锁 C。 并且设置以下对应关系: 点击屏幕锁 A时对应的第二指令是开启 GSM模块、 3G 模块及 WIFI模块, 并调用 WIFI模块的应用程序浏览器; 拖动屏幕锁 B时对应的第二 指令是开启 3G模块及 CMMB模块,并调用 CMMB模块的某应用程序; 点击屏幕锁 C 时对应的第二指令是开启 GPS模块及 GSM模块, 并调用 GPS模块的某应用程序, 等 等。 可见,在本发明实施例中,不同的操作类型的第一输入可以与各种第二指令相对应, 这样, 当用户需要使用某功能模块对应的功能时, 就可以通过执行对应操作类型的第 一输入来实现, 而不必在执行完解锁操作之后, 再到具体的目录下找到相应的功能模 块等操作。
在本发明另一实施例中, 用户在锁定状态下进行的一个第一输入, 可以对应两种指 令, 从而提高终端设备的智能性。 而在前述实施例中, 在锁定状态下获得第一输入之
后, 首先确定出第一输入对应的第一指令集合中的第一指令, 响应第一指令进入非锁 定状态之后, 再确定第一输入对应的第二指令集合中的第二指令, 再在非锁定状态下 响应该第二指令。 而在本发明该实施例中, 还可以在锁定状态下就确定出第一输入对 应的第一指令及第二指令, 然后在锁定状态下响应第一指令, 在非锁定状态下响应第 二指令。 也就是说, 当终端设备处于锁定状态时, 就可以将第一输入对应的两种指令 都解析出来, 只是在响应两个指令时, 其中一个在终端设备处于锁定状态下就可以得 到响应, 而另一个指令需要等到终端设备处于非锁定状态之后, 才能够得到响应。
因此, 参见图 4, 本发明实施例提供的终端设备控制方法, 包括以下步骤:
S41 : 在所述锁定状态下获得一第一输入;
S42: 确定与所述第一输入对应的第一指令和第二指令, 其中, 第一指令属于所述 第一指令集合, 所述第二指令属于所述第二指令集合;
S43 : 在所述锁定状态下响应所述第一指令;
S44: 在所述非锁定状态下响应所述第二指令。
其中, 在该实施例中, 第一指令集合、 第二指令集合、 第一指令以及第二指令等含 义, 可以与前述实施例中相同。 例如, 第一指令可以是指解锁指令, 则在锁定状态下 响应第一指令就是指: 根据解锁指令, 控制终端设备从锁定状态切换到非锁定状态。 而第二指令可以是指用于调用某功能模块所对应的应用程序的调用指令, 而此时, 在 非锁定状态下响应第二指令时, 就可以首先判断该功能模块是否开启, 如果开启, 则 直接调用该功能模块对应的应用程序; 如果没有开启, 则可以首先开启该功能模块, 然后再调用该功能模块对应的应用程序。 当然, 在其他实施例中, 第二指令也可以是 指开启某功能模块的指令, 等等。
关于上述实施例, 关于第一输入与功能模块的对应关系, 或第一输入与第二指令的 对应关系等, 可以采用与前述实施例中相同或相似的方法。 其他未详述部分, 也可以 参见前述实施例, 这里不再赘述。
本发明实施例还提供了一种终端设备, 该终端设备具有一全集指令集合, 所述终端 设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终端设备响应作为所述全集 指令集合中第一部分的第一指令集合, 在所述非锁定状态下所述终端设备响应作为所 述全集指令集合中第二部分的第二指令集合, 其中, 所述第一指令集合中的指令数量 小于所述第二指令集合中的指令数量, 参见图 5, 该终端设备包括:
获得单元 51, 用于获得一第一输入;
第一解析单元 52, 用于在所述锁定状态下确定所述第一输入对应的所述第一指令 集合中的第一指令, 所述第一指令为解锁指令;
解锁单元 53, 用于根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状 态;
第二解析单元 54, 用于在所述非锁定状态下确定所述第一输入对应的所述第二指 令集合中的第二指令;
响应单元 55, 用于响应所述第二指令。
其中, 在一种实现方式下, 第二解析单元 54具体可以包括:
第一功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于激活状态;
第一确定子单元,用于将用于调用所述功能模块所对应的应用程序的调用指令确定 为所述第二指令。
在同时考虑终端设备节能性的情况下, 第二解析单元 54可以包括:
第二功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于休眠状态;
第二确定子单元, 用于将用于开启所述功能模块的开启指令确定为所述第二指令。 或者, 也可以将前述两种方式相结合, 此时, 第二解析单元 504可以包括: 第三功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在锁定状态下处于休眠状态;
第三确定子单元,用于将用于开启所述功能模块的开启指令和用于调用所述功能模 块所对应的应用程序的调用指令确定为所述第二指令。
在实际应用中, 所述终端设备具有触摸屏, 所述第一输入包括在所述触摸屏上滑动 输入;
第二解析单元 54可以包括:
第四确定子单元, 用于根据所述滑动输入产生的滑动轨迹的方向和 /或形状, 将预 置的滑动轨迹的方向和 /或形状与所述第二指令集合中各个指令之间的对应关系中, 与 所述滑动输入产生的滑动轨迹的方向和 /或形状对应的指令确定为所述第二指令。
或者, 所述终端设备同样可以具有触摸屏, 所述第一输入包括点击或拖动触摸屏上 的屏幕锁的输入, 所述屏幕锁为多个;
第二解析单元 54包括:
第五确定子单元, 用于根据点击或拖动的屏幕锁, 将预置的屏幕锁与所述第二指令 集合中各个指令之间的对应关系中, 与所述点击或拖动的屏幕锁对应的指令确定为所 述第二指令。
本发明实施例还提供了一种终端设备, 该终端设备具有一全集指令集合, 并且, 该 终端设备具有锁定状态和非锁定状态, 在锁定状态下终端设备响应作为全集指令集合 中第一部分的第一指令集合, 在非锁定状态下终端设备响应作为全集指令集合中第二 部分的第二指令集合, 其中, 第一指令集合中的指令数量小于第二指令集合中的指令 数量, 参见图 6, 该终端设备包括:
获得单元 61, 用于在所述锁定状态下获得一第一输入;
解析单元 62, 用于确定与所述第一输入对应的第一指令和第二指令, 其中, 第一 指令属于所述第一指令集合, 所述第二指令属于所述第二指令集合;
第一响应单元 63, 用于在所述锁定状态下响应所述第一指令;
第二响应单元 64, 用于在所述非锁定状态下响应所述第二指令。
关于上述实施例中介绍的终端设备, 未详述部分可以参见前述方法实施例, 这里不 再赘述。
在本发明实施例中, 还提供了一种状态切换方法, 该方法应用于一电子设备中, 该 电子设备具有锁定状态和非锁定状态。 为了便于理解本发明实施例, 下面对锁定状态 以及非锁定状态进行介绍。
通常, 电子设备会具有一全集指令集合, 在锁定状态下电子设备响应作为该全集指 令集合中第一部分的第一指令集合, 在非锁定状态下电子设备响应作为该全集指令集 合中第二部分的第二指令集合, 其中, 第一指令集合中的指令数量小于第二指令集合 中的指令数量。
也就是说, 电子设备在锁定状态下可以响应一部分指令, 换言之, 锁定状态是指电 子设备仅能够响应第一指令集合中的指令的状态。 第一指令集合中的指令包括通信提 示指令 (如来电提示、 短信提示指令), 定时提醒指令 (如闹钟、 备忘录等提示), 以 及解锁认证、 解锁指令等等。 其中, 在电子设备处于锁定状态时, 通过执行解锁指令 可以使电子设备从锁定状态切换至非锁定状态。 需要说明的是, 在锁定状态下, 可以 产生解锁认证, 接收解锁认证信息, 若通过解锁认证, 可以生成解锁指令。 解锁认证 可以是对预订字符串, 或预订触摸轨迹或预定生物特征等的认证。 也就是说, 解锁认 证用于提示用户输入解锁认证信息, 而解锁指令用于将终端设备从锁定状态切换至非
锁定状态。
电子设备在非锁定状态下, 也可以响应一部分指令, 这部分指令几乎可以是全集指 令集合中的全部命令。 例如, 可以包括呼叫、 访问本地数据、 访问本地网络等等; 还 可以包括在锁定状态下可以响应的指令, 例如, 通信提示、 定时提醒等。
可见, 电子设备在锁定状态下及非锁定状态下都可以响应一部分指令, 如果在锁定 状态下能够响应的指令组成第一指令集合, 在非锁定状态下能够响应的指令组成第二 指令集合。 第一指令集合与第二指令集合之间通常具有交集, 并且由于在锁定状态下 能够响应的指令, 在非锁定状态下几乎都能响应, 但是在非锁定状态下能够响应的指 令, 在锁定状态下却不一定能够响应, 因此, 第二指令集合中的指令数据通常大于第 一指令集合中的指令数量。
参见图 7, 本发明实施例提供的状态切换方法可以包括以下步骤:
S71 : 在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性轨迹; 该输入操作可以是在电子设备处于锁定状态下的用户输入操作,可以是某种解锁认 证操作。 在本发明实施例中, 该输入操作是指能够产生一定连续性轨迹的操作, 例如, 可以用鼠标等拖动某可操作标识, 或者用手指或触摸笔等在触摸屏上拖动某可操作标 识划出的滑动轨迹等等。
S72: 确定所述连续性轨迹的结束位置;
对于一个连续性轨迹而言, 一定有其起始位置以及结束位置, 而本发明实施例在检 测到一个产生了连续性轨迹的输入操作之后, 就可以首先确定下该操作产生的连续性 轨迹的结束位置。
S73 : 判断所述结束位置是否属于预置的状态切换区域, 获得一判断结果; 通常, 为了确定用户确实是要执行解锁操作, 会在操作区域内设置状态切换区域, 只有当输入操作产生的连续性轨迹的结束位置进入了该状态切换区域时, 才会将该输 入操作认定为解锁操作。
S74: 当所述判断结果表明, 所述结束位置属于状态切换区域时, 产生第一指令, 所述第一指令为状态切换指令。
如果结束位置进入了状态切换区域,则表明用户确实是要进行状态切换操作,因此, 就可以产生状态切换指令。
S75 :根据预置的结束位置与指令的对应关系,确定所述结束位置对应的第二指令。 在产生状态切换指令的同时, 还可以根据预置的结束位置与指令之间的对应的关
系, 确定出当前的结束位置对应的第二指令。 其中, 该第二指令是非锁定状态下能够 响应的某指令。 也就是说, 在本发明实施例中, 在锁定状态下检测到一输入操作之后, 如果该输入操作被认定为解锁操作, 则不仅仅对应着第一指令集合中的解锁指令, 还 与第二指令集合中的某第二指令相对应。 具体实现时, 可以预先设置输入操作的结束 位置与第二指令之间的对应关系。 需要强调说明的是, 在本发明的实施例中, 步骤 S74 产生的第一指令和步骤 S75确定的第二指令都是基于步骤 S71获得的输入操作进行确 定的。 换句话说, 操作体在电子设备上完成一输入操作, 那么电子设备获得该输入操 作对应的连续性轨迹, 在锁定状态下根据该输入操作对应的轨迹确定第一指令, 在非 锁定状态下仍然根据该输入操作对应的轨迹确定第二指令。
需要强调说明的是, 在本发明实施例中, 结束位置可以有多个, 相当于把状态切换 区域划分成了多个小的区域, 不同的区域可以对应不同的第二指令。 也就是说, 只要 输入操作的结束位置属于状态切换区域, 则可以产生状态切换指令, 但是根据具体的 结束位置不同, 可以产生不同的第二指令。 例如, 不同的第二指令可以是用于启动不 同应用的指令, 或者, 不同的第二指令可以用于基于不同的操作对象 /参数启动同一应 用。 换言之, 不同的结束位置可以与不同的应用相对应, 与可以与同一应用的不同操 作对象 /参数相对于。 如果是前者, 则第二指令仅仅用于启动结束位置对应的应用 (例 如, 打开浏览器、 打开音乐播放器等等), 如果是后者, 则第二指令不仅仅用于启动某 应用, 还要具体到该应用中的某操作对象 /参数 (例如在浏览器中打开某网页, 在音乐 播放器中播放某音乐等等, 查看通讯录中某联系人等等)。
也就是说, 在本发明实施例中, 可以预先设置多个不同的结束位置, 用户可以通过 输入操作的不同结束位置来选择自己需要的服务。 为了便于用户操作, 还可以为用户 提供各个候选结束位置的提示标识。 例如, 对于具有触摸屏的电子产品而言, 通常可 以预先设置可操作标识 (例如滑动滑块等), 在用户激活屏幕之后, 可以在屏幕的某位 置处显示出该可操作标识, 然后, 用户就可以将该可操作标识拖动到另一位置进行解 锁。 而在本发明实施例中, 除了为用户显示出可操作标识外, 还可以显示出可供选择 的多个结束位置, 进一步地, 还可以在各个结束位置处显示出各个不同的应用的名称, 或者同一应用中各个不同的操作对象 /参数的名称, 这样, 如果用户想要在解锁的同时 启动某应用, 或者启动对应用中的某操作对象 /参数进行操作, 就可以将可操作标识拖 动到各自对应的结束位置。
例如, 在本发明实施例中, 当用户激活屏幕之后, 可以如图 8所示, 80即为可操
作标识, 81、 82、 83 为各个结束位置, 并且各个不同的结束位置处显示出各个不同的 应用的名称, 例如, 分别为 "应用 1 "、 "应用 2"及 "应用 3 "。 这样, 如果用户想要启 动 "应用 1 ", 则可以将将可操作标识 80拖动到结束位置 81处, 这样, 在解锁之后, 就可以直接进入启动了 "应用 1 "之后的界面, 例如, "应用 1 " 的 "通讯录", 则解锁 之后直接进入通讯录界面, 而不是进入主菜单页面。 类似的, 如果用户想要启动 "应 用 2"或 "应用 3 ", 也只要将可操作标识 80拖动到结束位置 82或 83处即可。
又如, 在本发明实施例中, 当用户激活屏幕之后, 还可以如图 9所示, 90为可操 作标识, 91、 92、 93为各个结束位置, 与图 8不同的是, 该图 9中, 不同结束位置处 显示的是同一应用中的不同操作对象 /参数, 其中, 该应用通常可以是常用的某应用, 例如图 9中显示出的通讯录, 通讯录中不同的操作对象 /参数就可以是指通讯录中的各 个联系人。因此,就可以在各个结束位置处显示出各个联系人名称,分别为"联系人 1 "、 "联系人 2"、 "联系人 3 ", 当然, 还可以在可操作标识上直接显示 "通讯录"字样, 这样, 如果想要与通讯录中的 "联系人 1 "联系, 则可以直接将带有 "通讯录"字样的 可操作标识, 拖动到 "联系人 1 "所在的结束位置处, 这样, 在解锁之后, 就可以直接 显示出该 "联系人 1 " 的信息, 然后就可以直接按下 "拨号"键等进行呼叫等操作了。 同样的, 如果想要与 "联系人 2"或 "联系人 3 "联系, 则直接将可操作标识拖动到各 自所在的位置处即可。
也就是说, 在实际应用中, 用户将电子设备进行解锁之后, 必然是想要通过电子设 备为其提供某项服务, 通过本发明实施例的方法, 可以省略掉在手动主菜单中查找应 用的步骤, 甚至还可以省略掉在具体的应用中查找具体的操作对象 /参数的步骤。
需要说明的是, 在实际应用中, 电子设备中的应用可能有很多, 但是候选的结束位 置可能是比较有限的, 无法实现与各个应用的一一对应。 在这种情况下, 可以根据用 户的实际使用情况等因素, 选择其中的部分应用与各个结束位置相对应。 或者, 还可 以提供设置入口, 由用户根据自己的需要自行设置各个结束位置对应的应用。 类似的, 同一应用中的操作对象 /参数也可能会是很多, 例如, 通讯录中的联系人可能有几十甚 至几百个, 此时, 可以选择用户的常用联系人与各个结束位置相对应。 或者, 同样可 以为用户提供设置入口, 将哪个应用设置为解锁时启动的应用, 以及在结束位置处对 应哪些操作对象 /参数, 都可以由用户根据自己的需要来自行设置。 当然, 为了不影响 用户对其他应用或者应用中其他操作对象 /参数的操作,还可以提供另一个可操作标识, 可以显示有 "基本解锁"字样, 该可操作标识就实现单纯的解锁功能, 只要被拖动到
状态切换区域, 就可以产生状态切换指令, 然后将电子设备切换到非锁定状态即可。 以上所述介绍了本发明实施例的一种应用方式, 在这种应用方式中, 可以为用户进 行的输入操作提供多个候选的结束位置, 通过结束位置的不同, 来确定不同的第二指 令。 在实际应用中, 还可以为用户的输入操作提供多个候选的起始位置, 每个起始位 置对应着多个结束位置。 这样, 在确定不同结束位置对应的第二指令时, 还需要首先 确定连续性轨迹的起始位置, 然后基于该起始位置, 再来确定结束位置对应的第二指 令。 其中, 不同的起始位置可以对应不同的应用, 不同的结束位置可以对应应用的不 同操作对象 /参数。 例如, 仍以具有触摸屏的电子设备为例, 可以通过提供多个不同的 可操作标识, 来提供不同的起始位置, 每个可操作标识与不同的应用相对应, 当用户 想要启动某应用时, 就可以对该应用对应的可操作标识进行拖动。 相应的, 每个可操 作标识都对应着多个结束位置,当用户想要对某应用中的某操作对象 /参数进行操作时, 就可以将该应用对应的可操作标识拖动到该操作对象 /参数所在的位置。 同样的, 为了 便于用户操作, 可以在各个可操作标识上显示出各自对应的应用的名称, 并在各个结 束位置处显示出应用中各操作对象 /参数的名称。
需要指出的是, 不同可操作标识之间可能会复用同一结束位置, 也就是说, 对于状 态切换区域中的某结束位置, 当拖动应用 1 对应的可操作标识时, 该结束位置处对应 的是应用 1中的某操作对象 /参数 A, 但当拖动应用 2对应的可操作标识时, 该结束位 置处对应的是应用 2中的某操作对象 /参数 B。 因此, 具体实现时, 可以如下进行显示: 在用户激活屏幕之后, 首先显示出各个起始位置处的各个可操作标识, 并在各个可操 作标识上显示出各自对应的应用的名称, 当用户开始进行输入操作之后, 再根据用户 选择的可操作标识情况, 确定结束位置处应该显示哪些操作对象 /参数以及各自的显示 位置, 然后再在各个显示位置处将各个操作对象 /参数进行显示。 换言之, 由于用户选 择拖动的可操作标识对应连续性轨迹的起始位置, 因此, 该过程相当于是在锁定状态 下, 根据连续性轨迹的起始位置, 确定该起始位置对应的应用的至少两个操作对象 /参 数在状态切换区域内对应的显示位置, 然后在状态切换区域内对应的显示位置处显示 出至少两个操作对象 /参数的名称, 作为候选结束位置。
例如,如图 10-1所示, 101、 102、 103分别为三个可操作标识,分别对应"浏览器"、 "通讯录"及 "播放器"这三个应用, 则在用户激活屏幕之后, 就可以如图 10-1所示。 之后用户开始进行解锁操作, 假设用户想要启动 "通讯录", 则会对 "通讯录"对应的 可操作标识 102进行拖动, 当用户选择了该可操作标识之后, 就可以显示出各个候选
结束位置处对应的"通讯录"这一应用中的各个操作对象 /参数, 例如, 如图 10-2所示, 其示出了六个结束位置,各个结束位置分别显示有"联系人 1 "、 "联系人 2"、……、"联 系人 6"。 同时, 为了更好地提醒用户, 还可以在空白处显示出 "滑到你的联系人"等 提示。 此时, 如果用户是想要与其中的某一联系人联系, 就直接向该 "通讯录"应用 对应的可操作标识 102拖动到该联系人所在的位置处即可。 同样的, 对于其他应用也 是类似, 这里不再赘述。
需要说明的是, 在上述图 10-1及 10-2中, 各个可操作标识是呈一横排显示, 此时, 每个可操作标识的显示区域可能会比较小, 如在图 10-1及 10-2中, 每个可操作标识所 占的显示区域是一个近似正方形的区域。 当然, 相应的, 每个结束位置的显示区域通 常也是与可操作标识的显示区域相匹配的, 如图 10-2中, 每个结束位置也占用了一个 类似正方形的显示区域, 并且其面积与可操作标识所占的面积也是大致相同的。 当然, 这种方式下, 当用户需要对某可操作标识进行操作时, 可操作的区域可能会比较有限。
为此, 在本发明实施例中, 为了便于用户操作, 还可以在操作过程中对可操作标识 的显示布局进行调整, 并根据调整的结果确定结束位置的显示区域。 例如, 当显示出 图 4-1的界面之后,如果其中的某可操作标识被选中,则可以将该可操作标识对应的显 示区域进行扩展, 同时根据扩展后的可操作标识的显示区域, 显示出各个操作对象 /参 数所在的结束位置。 例如, 假设用户点击的是 "通讯录"这个可操作标识, 则可以将 其显示区域扩展为如图 9所示, 相应的结束位置所在的显示区域也可以相应的调整为 图 9所示。
另外需要说明的是, 在上述多个可操作标识的情况下, 与前文所述类似, 可以为用 户提供设置入口, 各个可操作标识分别对应哪个应用, 以及各个结束位置分别对应哪 个操作对象 /参数, 均可以由用户根据自己的需要自行设置。 此外, 在多个可操作标识 的情况下, 各个可操作标识也不一定分别对应一个具体的应用, 还可以将其中某一可 操作标识设置为应用的集合, 也即, 可以在该可操作标识上显示 "应用"字样, 当拖 动该可操作标识时, 结束位置处显示出的可以是各个应用的名称。例如, 如图 11所示, 其中的可操作标识 111上显示的是"应用", 其他两个可操作标识 112、 113上显示的分 别为 "通讯录"、 "浏览器"这两个具体的应用, 当可操作标识 111 被拖动时, 结束位 置处显示出的是 "应用 1 "、 "应用 2"等具体的应用。 另外, 同样还可以存在一个用于 进行基本的解锁操作的可操作标识, 当通过其他可操作标识均无法找到用户想要的应 用或服务时, 可以通过拖动该用于基本解锁的可操作标识, 将电子设备切换为非锁定
状态, 如图 12所示, 其中的 124即为用于进行普通的解锁操作的可操作标识 (121、 122、 123与图 11中的 111、 112、 113相同), 上面显示有 "基本解锁"字样, 以便与 其他可操作标识进行区分。
S76: 通过执行所述第一指令, 将所述电子设备切换为非锁定状态, 并执行所述输 入操作的结束位置对应的所述第二指令。
在确定第一指令为状态切换指令, 并且确定了在非锁定状态下对应的第二指令之 后, 就可以首先执行第一指令, 将电子设备切换到非锁定状态, 然后执行该第二指令, 为用户显示出执行该第二指令之后的界面。
总之, 在本发明实施例中, 可以为用户的输入操作提供多个不同的候选结束位置, 并通过不同的结束位置对应不同的非锁定状态下的指令, 这样, 当用户执行解锁操作 时, 不仅能够将电子设备切换到非锁定状态, 还可以直接执行非锁定状态下的某指令, 包括启动某应用, 甚至对某应用中的操作对象 /参数进行操作等等, 因此, 减少了用户 在众多信息中进行查找的操作, 从而提高了电子设备的智能性。
参见图 13, 本发明实施例提供了另一种状态切换方法, 该状态切换方法同样应用 于一电子设备中, 该电子设备同样具有锁定状态和非锁定状态, 关于锁定状态以及非 锁定状态的定义如前文所述, 这里不再赘述。 该方法包括一下步骤:
S131 : 在锁定状态下, 检测一输入操作;
该输入操作可以是在电子设备处于锁定状态下的用户输入操作,可以是某种解锁认 证操作。 在本发明实施例中, 该输入操作可以是按下某些特定键或组合键, 或者用鼠 标等拖动某可操作标识, 或者用手指或触摸笔等在触摸屏上拖动某可操作标识等等。
S132: 判断所述输入操作是否属于状态切换操作, 获得一判断结果;
可以预先设置状态切换操作的规则, 如果输入操作属于该规则, 则可以被判定为状 态切换操作。 例如, 用户按下的按键或组合键属于预先设置的用于解锁的按键或组合 键, 或者用户进行拖动操作形成的轨迹符合一定的长度要求等等。
S133 : 当所述判断结果表明, 所述输入操作属于状态切换操作时, 产生状态切换指 令;
如果判定用户是在执行解锁操作, 则可以产生状态切换指令。
S134: 确定所述输入操作对应的应用以及该应用中的操作对象 /参数;
在确定了是用户是在进行解锁操作之后, 本发明实施例中, 还需要确定出用户的输 入操作对应的应用以及该应用中的操作对象 /参数。
S135 : 通过执行所述状态切换指令, 将所述电子设备切换为非锁定状态, 并基于所 述操作对象 /参数启动所述解锁操作对应的应用。
也即是说, 在本发明实施例中, 在用户进行解锁操作之后, 不仅要执行解锁操作, 还要确定出在切换到非锁定状态之后, 需要启动的应用, 以及需要操作的该应用中的 操作对象 /参数。 其中, 在确定了具体的应用以及该应用中的操作对象 /参数之后, 就可 以产生一指令, 该指令属于前文所述非锁定状态下可执行的第二指令集合, 通过执行 该指令即可实现基于所述操作对象 /参数启动所述解锁操作对应的应用。
其中, 具体确定用户的输入操作对应的应用以及应用中的操作对象 /参数的方法可 以有多种。 例如, 其中一种实现方式下, 如果输入操作可产生一连续性轨迹, 则可以 根据连续性轨迹的起始位置确定对应的应用, 并根据连续性轨迹的结束位置确定该应 用中的操作对象 /参数。 并且, 为了便于用户操作, 可以在锁定状态下, 根据连续性轨 迹的起始位置, 确定该起始位置对应的应用的至少两个操作对象 /参数在状态切换区域 内的显示位置, 然后, 在状态切换区域内对应的显示位置处显示出至少两个操作对象 / 参数, 作为候选结束位置。 具体实现方法可以参见前述实施例中的介绍, 这里不再赘 述。
本发明实施例还提供了一种状态切换装置, 该状态切换装置应用于电子设备中, 该 电子设备具有锁定状态和非锁定状态, 参见图 14, 该装置包括:
检测单元 141, 用于在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性 轨迹;
结束位置确定单元 142, 用于确定所述连续性轨迹的结束位置;
判断单元 143, 用于判断所述结束位置是否属于预置的状态切换区域, 获得一判断 结果;
第一指令产生单元 144, 用于当所述判断结果表明, 所述结束位置属于状态切换区 域时, 产生第一指令, 所述第一指令为状态切换指令;
第二指令确定单元 145, 用于根据预置的结束位置与指令的对应关系, 确定所述结 束位置对应的第二指令;
指令执行单元 146, 用于通过执行所述第一指令, 将所述电子设备切换为非锁定状 态, 并执行所述输入操作的结束位置对应的所述第二指令。
具体实现时, 该装置还可以包括:
起始位置确定单元, 用于确定所述连续性轨迹的起始位置;
相应的, 第二指令确定单元 145具体用于: 基于所述起始位置, 根据预置的结束位 置与指令之间的对应关系, 确定所述结束位置对应的第二指令。
其中, 不同的起始位置可以对应不同的应用, 同一起始位置对应的不同结束位置可 以对应该应用的不同操作对象 /参数, 第二指令确定单元 145具体可以用于: 根据所述 起始位置对应的应用以及结束位置对应的操作对象 /参数, 确定所述第二指令。
为了便于用户操作, 该装置还可以包括:
显示位置确定单元, 用于在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该 应用的至少两个操作对象 /参数在状态切换区域内对应的显示位置;
显示单元,用于在所述状态切换区域内对应的显示位置处显示出所述至少两个操作 对象 /参数, 作为候选结束位置
与该状态切换装置相对应, 本发明实施例还提供了一种电子设备, 该电子设备可以 包括处理模块、 显示模块以及输入模块, 其中显示模块用于向用户进行信息显示, 输 入模块用户接收用户的输入操作, 处理模块包括该实施例三所述的状态切换装置。
需要说明的是, 在本发明实施例中, 输入模块可以是鼠标、 键盘等设备, 还可以是 触摸屏。 在以触摸屏为输入模块的情况下, 输入模块与显示模块重叠设置。
本发明实施例还提供了另一种状态切换装置, 该状态切换装置应用于一电子设备 中, 该电子设备具有锁定状态和非锁定状态, 参见图 15, 该装置包括:
检测单元 151, 用于在锁定状态下, 检测一输入操作;
判断单元 152, 用于判断所述输入操作是否属于状态切换操作, 获得一判断结果; 指令生成单元 153,用于当所述判断结果表明,所述输入操作属于状态切换操作时, 产生状态切换指令;
确定单元 154, 用于确定所述输入操作对应的应用以及该应用中的操作对象 /参数; 指令执行单元 155, 用于通过执行所述状态切换指令, 将所述电子设备切换为非锁 定状态, 并基于所述操作对象 /参数启动所述解锁操作对应的应用。
其中, 所述输入操作产生一连续性轨迹, 相应的, 确定单元 154具体可以用于: 根 据所述连续性轨迹的起始位置确定对应的应用, 并根据所述连续性轨迹的结束位置确 定该应用中的操作对象 /参数。
为了便于用户操作, 该装置还可以包括:
显示位置确定单元, 用于在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该 起始位置对应的应用的至少两个操作对象 /参数在状态切换区域内的显示位置;
显示单元,用于在所述状态切换区域内对应的显示位置处显示出所述至少两个操作 对象 /参数, 作为候选结束位置。
另外, 本发明实施例还提供了一种电子设备, 类似的, 该电子设备可以包括处理模 块、 显示模块以及输入模块, 其中显示模块用于向用户进行信息显示, 输入模块用户 接收用户的输入操作, 处理模块包括该实施例四所述的状态切换装置。
同样, 在本发明实施例中, 输入模块可以是鼠标、 键盘等设备, 还可以是触摸屏。 在以触摸屏为输入模块的情况下, 输入模块与显示模块重叠设置。
总之, 通过本发明实施例提供的状态切换装置或电子设备, 可以为用户的输入操作 提供多个不同的候选结束位置, 并通过不同的结束位置对应不同的非锁定状态下的指 令, 这样, 当用户执行解锁操作时, 不仅能够将电子设备切换到非锁定状态, 还可以 直接执行非锁定状态下的某指令, 包括启动某应用, 甚至对某应用中的操作对象 /参数 进行操作等等, 因此, 减少了用户在众多信息中进行查找的操作, 从而提高了电子设 备的智能性。
需要说明的是,状态切换装置及电子设备实施例是与前述状态切换方法实施例相对 应的, 其中未详述部分, 可参见方法实施例中的介绍, 鉴于篇幅限制, 这里不再赘述。
本发明实施例中, 单元或模块可以用软件实现, 在模块可以利用软件实现时, 考虑 到现有硬件工艺的水平, 所以可以以软件实现的模块, 在不考虑成本的情况下, 本领 域技术人员都可以搭建对应的硬件电路来实现对应的功能, 所述硬件电路包括常规的 超大规模集成 (VLSI) 电路或者门阵列以及诸如逻辑芯片、 晶体管之类的现有半导体 或者是其它分立的元件。 单元或模块还可以用可编程硬件设备, 诸如现场可编程门阵 列、 可编程阵列逻辑、 可编程逻辑设备等实现。
以上对本发明实施例所提供的一种终端控制方法及终端设备, 进行了详细介绍, 本文中应用了具体个例对本发明的原理及实施方式进行了阐述, 以上实施例的说明只 是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依 据本发明的思想, 在具体实施方式及应用范围上均会有改变之处。 综上所述, 本说明 书内容不应理解为对本发明的限制。
Claims
1、 一种终端设备控制方法, 所述方法应用于一终端设备中, 所述终端设备具有一 全集指令集合, 所述终端设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终 端设备响应作为所述全集指令集合中第一部分的第一指令集合, 在所述非锁定状态下 所述终端设备响应作为所述全集指令集合中第二部分的第二指令集合, 其中, 所述第 一指令集合中的指令数量小于所述第二指令集合中的指令数量, 所述方法包括: 获得一第一输入;
在所述锁定状态下确定所述第一输入对应的所述第一指令集合中的第一指令,所述 第一指令为解锁指令;
根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态;
在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指令; 响应所述第二指令。
2、 根据权利要求 1所述的方法, 所述在所述非锁定状态下确定所述第一输入对应 的所述第二指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在所 述锁定状态下处于激活状态;
将用于调用所述功能模块所对应的应用程序的调用指令确定为所述第二指令。
3、 根据权利要求 1所述的方法, 所述在所述非锁定状态下确定所述第一输入对应 的所述第二指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在所 述锁定状态下处于休眠状态;
将用于开启所述功能模块的开启指令确定为所述第二指令。
4、 根据权利要求 1所述的方法, 所述在所述非锁定状态下确定所述第一输入对应 的所述第二指令集合中的第二指令包括:
根据所述第一输入确定与所述第一输入对应的功能模块, 其中, 所述功能模块在锁 定状态下处于休眠状态;
将用于开启所述功能模块的开启指令和用于调用所述功能模块所对应的应用程序 的调用指令确定为所述第二指令。
5、 根据权利要求 1所述的方法, 所述终端设备具有触摸屏, 所述第一输入包括在 所述触摸屏上滑动输入;
所述在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指 令包括:
根据所述滑动输入产生的滑动轨迹的方向和 /或形状, 将预置的滑动轨迹的方向和 / 或形状与所述第二指令集合中各个指令之间的对应关系中, 与所述滑动输入产生的滑 动轨迹的方向和 /或形状对应的指令确定为所述第二指令。
6、 根据权利要求 1所述的方法, 所述终端设备具有触摸屏, 所述第一输入包括点 击或拖动触摸屏上的屏幕锁的输入, 所述屏幕锁为多个;
所述在所述非锁定状态下确定所述第一输入对应的所述第二指令集合中的第二指 令包括:
根据点击或拖动的屏幕锁,将预置的屏幕锁与所述第二指令集合中各个指令之间的 对应关系中, 与所述点击或拖动的屏幕锁对应的指令确定为所述第二指令。
7、 根据权利要求 1所述的方法, 其中确定第一指令包括:
在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性轨迹;
确定所述连续性轨迹的结束位置;
判断所述结束位置是否属于预置的状态切换区域, 获得一判断结果;
当所述判断结果表明, 所述结束位置属于状态切换区域时, 产生第一指令。
8、 根据权利要求 7所述的方法, 其中确定第二指令包括:
根据预置的结束位置与指令的对应关系, 确定所述结束位置对应的第二指令。
9、 根据权利要求 7所述的方法, 还包括:
确定所述连续性轨迹的起始位置;
所述根据预置的结束位置与指令的对应关系, 确定所述结束位置对应的第二指令 包括:
基于所述起始位置, 根据预置的结束位置与指令之间的对应关系, 确定所述结束 位置对应的第二指令。
10、 根据权利要求 9所述的方法, 其中, 不同的起始位置对应不同的应用, 同一 起始位置对应的不同结束位置对应该应用的不同操作对象 /参数, 所述确定所述结束位 置对应的第二指令包括:
根据所述起始位置对应的应用以及结束位置对应的操作对象 /参数, 确定所述第二 指令。
11、 根据权利要求 10所述的方法, 还包括:
在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该起始位置对应的应用的 至少两个操作对象 /参数在状态切换区域内对应的显示位置;
在所述状态切换区域内对应的显示位置处显示出所述至少两个操作对象 /参数, 作 为候选结束位置。
12、 一种终端设备, 所述终端设备具有一全集指令集合, 所述终端设备具有锁定状 态和非锁定状态, 在所述锁定状态下所述终端设备响应作为所述全集指令集合中第一 部分的第一指令集合, 在所述非锁定状态下所述终端设备响应作为所述全集指令集合 中第二部分的第二指令集合, 其中, 所述第一指令集合中的指令数量小于所述第二指 令集合中的指令数量, 所述终端设备包括:
获得单元, 用于获得一第一输入;
第一解析单元,用于在所述锁定状态下确定所述第一输入对应的所述第一指令集合 中的第一指令, 所述第一指令为解锁指令;
解锁单元, 用于根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态; 第二解析单元,用于在所述非锁定状态下确定所述第一输入对应的所述第二指令集 合中的第二指令;
响应单元, 用于响应所述第二指令。
13、 根据权利要求 12所述的终端设备, 所述第二解析单元包括:
第一功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于激活状态;
第一确定子单元,用于将用于调用所述功能模块所对应的应用程序的调用指令确定 为所述第二指令。
14、 根据权利要求 12所述的终端设备, 所述第二解析单元包括:
第二功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在所述锁定状态下处于休眠状态;
第二确定子单元, 用于将用于开启所述功能模块的开启指令确定为所述第二指令。
15、 根据权利要求 12所述的终端设备, 所述第二解析单元包括:
第三功能模块确定子单元,用于根据所述第一输入确定与所述第一输入对应的功能 模块, 其中, 所述功能模块在锁定状态下处于休眠状态;
第三确定子单元,用于将用于开启所述功能模块的开启指令和用于调用所述功能模 块所对应的应用程序的调用指令确定为所述第二指令。
16、 根据权利要求 12所述的终端设备, 所述终端设备具有触摸屏, 所述第一输入 包括在所述触摸屏上滑动输入;
所述第二解析单元包括:
第四确定子单元, 用于根据所述滑动输入产生的滑动轨迹的方向和 /或形状, 将预 置的滑动轨迹的方向和 /或形状与所述第二指令集合中各个指令之间的对应关系中, 与 所述滑动输入产生的滑动轨迹的方向和 /或形状对应的指令确定为所述第二指令。
17、 根据权利要求 12所述的终端设备, 所述终端设备具有触摸屏, 所述第一输入 包括点击或拖动触摸屏上的屏幕锁的输入, 所述屏幕锁为多个;
所述第二解析单元包括:
第五确定子单元, 用于根据点击或拖动的屏幕锁, 将预置的屏幕锁与所述第二指令 集合中各个指令之间的对应关系中, 与所述点击或拖动的屏幕锁对应的指令确定为所 述第二指令。
18、 一种终端设备控制方法, 所述方法应用于一终端设备中, 所述终端设备具有一 全集指令集合, 所述终端设备具有锁定状态和非锁定状态, 在所述锁定状态下所述终 端设备响应作为所述全集指令集合中第一部分的第一指令集合, 在所述非锁定状态下 所述终端设备响应作为所述全集指令集合中第二部分的第二指令集合, 其中, 所述第 一指令集合中的指令数量小于所述第二指令集合中的指令数量, 所述方法包括: 在所述锁定状态下获得一第一输入;
确定与所述第一输入对应的第一指令和第二指令, 其中, 第一指令属于所述第一指 令集合, 所述第二指令属于所述第二指令集合;
在所述锁定状态下响应所述第一指令;
在所述非锁定状态下响应所述第二指令。
19、 根据权利要求 18所述的控制方法, 其中, 所述第一指令为解锁指令, 所述在所述锁定状态下响应所述第一指令包括:
根据所述解锁指令, 控制从所述锁定状态切换到所述非锁定状态。
20、 根据权利要求 19所述的控制方法, 所述确定与所述第一输入对应的第二指令 的步骤包括:
在所述锁定状态下确定所述第一输入对应的应用以及该应用中的操作对象 /参数。
21、 根据权利要求 20所述的控制方法, 所述在所述非锁定状态下响应所述第二指 令的步骤包括:
从所述锁定状态切换到所述非锁定状态后, 基于所述操作对象 /参数启动所述解锁 操作对应的应用。
22、 根据权利要求 20所述的控制方法, 其中, 所述第一输入产生一连续性轨迹, 所述在所述锁定状态下确定所述第一输入对应的应用以及该应用中的操作对象 /参数包 括: 根据所述连续性轨迹的起始位置确定对应的应用, 并根据所述连续性轨迹的结束 位置确定该应用中的操作对象 /参数。
23、 根据权利要求 22所述的控制方法, 还包括:
在锁定状态下, 根据所述连续性轨迹的起始位置, 确定该起始位置对应的应用的 至少两个操作对象 /参数在状态切换区域内的显示位置;
在所述状态切换区域内对应的显示位置处显示出所述至少两个操作对象 /参数, 作 为候选结束位置。
24、 根据权利要求 18所述的控制方法, 其中, 在所述非锁定状态下响应所述第二 指令包括:
判断所述第二指令所调用的第一应用程序对应功能模块是否开启, 产生一判断信 息;
当所述判断信息表示与所述第二指令所调用的应用程序对应功能模块未来开启时, 开启所述功能模块;
根据所述第二指令调用所述应用程序。
25、 一种终端设备, 所述终端设备具有一全集指令集合, 所述终端设备具有锁定状 态和非锁定状态, 在所述锁定状态下所述终端设备响应作为所述全集指令集合中第一 部分的第一指令集合, 在所述非锁定状态下所述终端设备响应作为所述全集指令集合 中第二部分的第二指令集合, 其中, 所述第一指令集合中的指令数量小于所述第二指 令集合中的指令数量, 所述终端设备包括:
获得单元, 用于在所述锁定状态下获得一第一输入;
解析单元, 用于确定与所述第一输入对应的第一指令和第二指令, 其中, 第一指令 属于所述第一指令集合, 所述第二指令属于所述第二指令集合;
第一响应单元, 用于在所述锁定状态下响应所述第一指令;
第二响应单元, 用于在所述非锁定状态下响应所述第二指令。
26、 一种电子设备, 所述电子设备具有锁定状态和非锁定状态, 所述电子设备包 括:
检测单元, 用于在锁定状态下, 检测一输入操作, 所述输入操作产生一连续性轨 迹;
结束位置确定单元, 用于确定所述连续性轨迹的结束位置;
判断单元, 用于判断所述结束位置是否属于预置的状态切换区域, 获得一判断结 果;
第一指令产生单元, 用于当所述判断结果表明, 所述结束位置属于状态切换区域 时, 产生第一指令, 所述第一指令为状态切换指令;
第二指令确定单元, 用于根据预置的结束位置与指令的对应关系, 确定所述结束 位置对应的第二指令;
指令执行单元, 用于通过执行所述第一指令, 将所述电子设备切换为非锁定状态, 并执行所述输入操作的结束位置对应的所述第二指令。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/002,314 US10146415B2 (en) | 2011-03-02 | 2012-03-01 | Method and terminal device for controlling a terminal device in a locked and unlocked state |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110050089.9 | 2011-03-02 | ||
CN2011100500899A CN102655546A (zh) | 2011-03-02 | 2011-03-02 | 终端设备控制方法及终端设备 |
CN201110233517.1 | 2011-08-15 | ||
CN2011102335171A CN102937856A (zh) | 2011-08-15 | 2011-08-15 | 状态切换方法、装置及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012116647A1 true WO2012116647A1 (zh) | 2012-09-07 |
Family
ID=46757367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/071821 WO2012116647A1 (zh) | 2011-03-02 | 2012-03-01 | 终端设备控制方法及终端设备和电子设备 |
Country Status (2)
Country | Link |
---|---|
US (1) | US10146415B2 (zh) |
WO (1) | WO2012116647A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533135A (zh) * | 2013-10-18 | 2014-01-22 | 广东欧珀移动通信有限公司 | 一种联系人的快捷操作的方法和移动终端 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894023B (zh) * | 2010-07-06 | 2016-03-30 | 中兴通讯股份有限公司 | 锁屏方法及移动终端 |
KR20130133629A (ko) | 2012-05-29 | 2013-12-09 | 삼성전자주식회사 | 전자장치에서 음성명령을 실행시키기 위한 장치 및 방법 |
US10114536B2 (en) * | 2013-03-29 | 2018-10-30 | Microsoft Technology Licensing, Llc | Systems and methods for performing actions for users from a locked device |
CN103399704A (zh) * | 2013-07-12 | 2013-11-20 | 华为终端有限公司 | 终端设备及其加解锁方法 |
CN104834441B (zh) * | 2014-02-11 | 2018-07-31 | 联想企业解决方案(新加坡)有限公司 | 一种触摸屏解锁的方法和装置 |
CN113064538B (zh) * | 2020-01-02 | 2024-03-05 | 佛山市云米电器科技有限公司 | 设备参数设置方法、智能冰箱及计算机可读存储介质 |
US11385775B2 (en) * | 2020-04-30 | 2022-07-12 | Citrix Systems, Inc. | Intelligent monitor and layout management |
US12086299B1 (en) * | 2020-07-20 | 2024-09-10 | Apple Inc. | Touch input for head-mountable devices |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604223A (zh) * | 2009-04-20 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | 一种触摸屏的解锁方法、系统及触摸屏设备 |
CN101625620A (zh) * | 2008-07-07 | 2010-01-13 | Lg电子株式会社 | 移动终端及其操作控制方法 |
CN101882046A (zh) * | 2009-04-20 | 2010-11-10 | 宇龙计算机通信科技(深圳)有限公司 | 一种触摸屏的解锁方法、系统及触摸屏设备 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7702733B2 (en) * | 2003-09-18 | 2010-04-20 | Vulcan Portals Inc. | Low power email functionality for an electronic device |
US7657849B2 (en) * | 2005-12-23 | 2010-02-02 | Apple Inc. | Unlocking a device by performing gestures on an unlock image |
US20100079380A1 (en) * | 2008-09-30 | 2010-04-01 | Nokia Corporation | Intelligent input device lock |
US9086799B2 (en) * | 2008-10-06 | 2015-07-21 | Blackberry Limited | Method for application launch and system function |
US8539382B2 (en) * | 2009-04-03 | 2013-09-17 | Palm, Inc. | Preventing unintentional activation and/or input in an electronic device |
US8402533B2 (en) * | 2010-08-06 | 2013-03-19 | Google Inc. | Input to locked computing device |
US8854318B2 (en) * | 2010-09-01 | 2014-10-07 | Nokia Corporation | Mode switching |
US20120060123A1 (en) * | 2010-09-03 | 2012-03-08 | Hugh Smith | Systems and methods for deterministic control of instant-on mobile devices with touch screens |
TWI441072B (zh) * | 2010-09-21 | 2014-06-11 | Altek Corp | 觸控螢幕解鎖方法及其具有攝像功能之電子裝置 |
CN102111503A (zh) | 2011-02-18 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | 快捷操作方法和移动终端 |
-
2012
- 2012-03-01 US US14/002,314 patent/US10146415B2/en active Active
- 2012-03-01 WO PCT/CN2012/071821 patent/WO2012116647A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101625620A (zh) * | 2008-07-07 | 2010-01-13 | Lg电子株式会社 | 移动终端及其操作控制方法 |
CN101604223A (zh) * | 2009-04-20 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | 一种触摸屏的解锁方法、系统及触摸屏设备 |
CN101882046A (zh) * | 2009-04-20 | 2010-11-10 | 宇龙计算机通信科技(深圳)有限公司 | 一种触摸屏的解锁方法、系统及触摸屏设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533135A (zh) * | 2013-10-18 | 2014-01-22 | 广东欧珀移动通信有限公司 | 一种联系人的快捷操作的方法和移动终端 |
Also Published As
Publication number | Publication date |
---|---|
US20130332885A1 (en) | 2013-12-12 |
US10146415B2 (en) | 2018-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012116647A1 (zh) | 终端设备控制方法及终端设备和电子设备 | |
US11054988B2 (en) | Graphical user interface display method and electronic device | |
US11237724B2 (en) | Mobile terminal and method for split screen control thereof, and computer readable storage medium | |
US8717327B2 (en) | Controlling responsiveness to user inputs on a touch-sensitive display | |
RU2617384C2 (ru) | Способ и устройство для управления контентом, используя графический объект | |
US8675024B2 (en) | Mobile terminal and displaying method thereof | |
US20130120271A1 (en) | Data input method and apparatus for mobile terminal having touchscreen | |
US20130268897A1 (en) | Interaction method and interaction device | |
US20140289660A1 (en) | Method and apparatus for converting object in portable terminal | |
WO2017032123A1 (zh) | 一种视频播放控制方法及装置 | |
US20110193805A1 (en) | Screen control method and apparatus for mobile terminal having multiple touch screens | |
US10798153B2 (en) | Terminal apparatus and server and method of controlling the same | |
WO2017107714A1 (zh) | 一种屏幕界面的切换方法、装置和终端 | |
JP2012053921A (ja) | 改善された携帯通信端末及びそのための方法 | |
WO2023005920A1 (zh) | 分屏方法、装置及电子设备 | |
TWI502433B (zh) | 適用於與觸控筆互動的電子裝置及其觸控方法 | |
CN103761119A (zh) | 灭屏模式下操作应用程序的方法及通信终端 | |
WO2011160356A1 (zh) | 一种功能键的显示模式切换方法及终端 | |
US20120262388A1 (en) | Mobile device and method for controlling mobile device | |
CN104765522A (zh) | 聊天窗口的展示控制方法及系统 | |
US20140223321A1 (en) | Portable device and method for controlling external device thereof | |
WO2020119486A1 (zh) | 一种切换支付功能方法及电子设备 | |
US9921735B2 (en) | Apparatuses and methods for inputting a uniform resource locator | |
WO2021238840A1 (zh) | 信息分享方法、信息分享装置和电子设备 | |
WO2022022566A1 (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: 12752087 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14002314 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: 12752087 Country of ref document: EP Kind code of ref document: A1 |