[go: up one dir, main page]

CN108459818A - The method and apparatus for controlling unlocking screen - Google Patents

The method and apparatus for controlling unlocking screen Download PDF

Info

Publication number
CN108459818A
CN108459818A CN201810246815.6A CN201810246815A CN108459818A CN 108459818 A CN108459818 A CN 108459818A CN 201810246815 A CN201810246815 A CN 201810246815A CN 108459818 A CN108459818 A CN 108459818A
Authority
CN
China
Prior art keywords
information
floating touch
floating
screen
unlocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810246815.6A
Other languages
Chinese (zh)
Inventor
林行
杜頔康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shell Technology Co Ltd
Original Assignee
Beijing Shell Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shell Technology Co Ltd filed Critical Beijing Shell Technology Co Ltd
Priority to CN201810246815.6A priority Critical patent/CN108459818A/en
Publication of CN108459818A publication Critical patent/CN108459818A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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/04883Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application involves a kind of method and apparatus of control unlocking screen, the method for controlling unlocking screen is applied to the first equipment with touch panel comprising:It obtains the suspension touch control that the touch panel senses and operates corresponding suspension touch control information;Judge whether the suspension touch control information meets prearranged gesture information;If the suspension touch control information meets prearranged gesture information, the unlock instruction for control targe unlocking screen is generated.The application operates whether corresponding suspension touch control information meets prearranged gesture information by detecting the suspension touch control that user executes on touch panel, to judge whether the suspension touch control operation that user executes is preset unlocking screen gesture, so as to operate the solution lock control realized to target screen based on suspension touch control, the existing limitation of contact unlock is avoided, user is more convenient and uses.

Description

Method and device for controlling unlocking of screen
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for controlling unlocking of a screen.
Background
At present, with the popularization of touch terminals, more and more intelligent electronic devices such as mobile phones, computers, televisions and the like adopt touch terminals such as touch screens, remote controllers and the like. Touch terminals provide a medium in these intelligent electronic devices through which a user can interact with the device. A touch terminal detects and responds to a contact on the touch terminal. People often unlock the screen of an electronic device through touch information input, including entering a character-based password, a connection of a special shape point, fingerprint information, or key information.
However, the contact unlocking method adopted in the related art requires the user's finger to directly contact the touch terminal, but the user's finger may not conveniently contact the touch terminal directly in some scenes, such as the scene where the user needs to wear gloves. Therefore, the contact unlocking method adopted in the related art has certain limitations.
Disclosure of Invention
To overcome, at least to some extent, the problems in the related art, the present application provides a method and apparatus for controlling unlocking of a screen.
According to a first aspect of the embodiments of the present application, there is provided a method for controlling unlocking of a screen, applied to a first device having a touch panel, including: acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel; judging whether the floating touch information meets preset gesture information or not; and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
Further, the preset gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Further, the determining whether the floating touch information satisfies the predetermined gesture information includes:
judging whether the floating touch information is the first state information;
when the floating touch information is the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
Further, the floating touch information includes: the number of the floating touch points and the area of the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is one and the area of the floating touch points is larger than a preset area threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is changed from one to a plurality within the preset time period, determining that the floating touch information is changed and changed into the second state information within the preset time period.
Further, the floating touch information includes: the number of the floating touch points and the relative distance between the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is multiple and the relative distance between the floating touch points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is not changed in the preset time period, the relative distance between the floating touch points is increased, and the increased relative distance is greater than a preset second distance threshold, determining that the floating touch information is changed in the preset time period and changed into the second state information.
Further, after generating the unlock instruction, the method further comprises:
if the target screen is the screen of the first equipment, directly executing the unlocking instruction;
or,
and if the target screen is the screen of a second device connected with the first device, sending the unlocking instruction to the second device so that the second device unlocks the target screen after receiving the unlocking instruction.
According to a second aspect of the embodiments of the present application, there is provided an apparatus for controlling unlocking of a screen, applied to a first device having a touch panel, including: the acquisition module is used for acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel; the judging module is used for judging whether the floating touch information meets the preset gesture information; and the unlocking instruction generating module is used for generating an unlocking instruction for controlling the target screen to be unlocked when the floating touch information meets the preset gesture information.
Further, the preset gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Further, to implement the determining whether the hover touch information satisfies the predetermined gesture information, the determining module is configured to:
judging whether the floating touch information is the first state information;
if the floating touch information is the first state information, judging whether the floating touch information is changed and changed into the second state information within a preset time period;
and if the floating touch information is changed in the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
Further, the target screen includes: the screen display device includes a screen of a first device having a touch panel, or a screen of a second device connected to the first device.
When the screen is a screen of the first device having a touch panel, the first device may further include: and the unlocking response module is used for executing the unlocking instruction so as to unlock the screen of the first equipment.
When the target screen is a screen of a second device connected to the first device, the first device may further include: and the communication module is used for sending an unlocking instruction to the second equipment so that the second equipment unlocks the screen of the second equipment according to the unlocking instruction.
Further, if the target screen is a screen of a second device connected to the first device, the apparatus further includes: a connection module, configured to establish a connection with the second device, so as to send the unlocking instruction through the connection, where the connection includes: a wireless connection or a wired connection.
According to a third aspect of embodiments of the present application, there is provided a control apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring floating touch information; judging whether the floating touch information meets preset gesture information or not; and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
Further, the preset gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Further, the determining whether the floating touch information satisfies the predetermined gesture information includes:
judging whether the floating touch information is the first state information;
when the floating touch information is detected to be the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
Further, the floating touch information includes: the number of the floating touch points and the area of the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is one and the area of the floating touch points is larger than a preset area threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is changed from one to a plurality within the preset time period, determining that the floating touch information is changed and changed into the second state information within the preset time period.
Further, the floating touch information includes: the number of the floating touch points and the relative distance between the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is multiple and the relative distance between the floating touch points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is not changed in the preset time period, the relative distance between the floating touch points is increased, and the increased relative distance is greater than a preset second distance threshold, determining that the floating touch information is changed in the preset time period and changed into the second state information.
Further, the target screen includes: the screen display device includes a screen of a first device having a touch panel, or a screen of a second device connected to the first device.
When the screen is a screen of the first device having a touch panel, the first device may further include: and the unlocking response module is used for executing the unlocking instruction so as to unlock the screen of the first equipment.
When the target screen is a screen of a second device connected to the first device, the first device may further include: and the communication module is used for sending an unlocking instruction to the second equipment so that the second equipment unlocks the screen of the second equipment according to the unlocking instruction.
Further, if the target screen is a screen of a second device connected to the first device, the control device further includes: a connection module, configured to establish a connection with the second device, so as to send the unlocking instruction through the connection, where the connection includes: a wireless connection or a wired connection.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
whether the floating touch control information corresponding to the floating touch control operation executed by the user on the touch panel meets the preset gesture information or not is detected, so that whether the floating touch control operation executed by the user is a preset screen unlocking gesture or not is judged, unlocking control over a target screen can be achieved based on the floating touch control operation, limitation of contact unlocking is avoided, and the touch control device is more convenient for the user to use.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow diagram illustrating a method for controlling screen unlocking in accordance with an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for controlling unlocking of a screen, according to an exemplary embodiment, for determining whether hover touch information satisfies predetermined gesture information.
FIG. 3 is another method of controlling screen unlocking, according to an exemplary embodiment.
Fig. 4 is an apparatus for controlling screen unlocking according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
FIG. 1 is a flow diagram illustrating a method for controlling screen unlocking in accordance with an exemplary embodiment. The present embodiment is explained by taking an example of execution on the first device side. The method for controlling the unlocking of the screen is applied to first equipment with a touch panel, and comprises the following steps:
and S11, acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel.
And S12, judging whether the floating touch information meets the preset gesture information.
And S13, if the floating touch information meets the preset gesture information, generating an unlocking instruction for unlocking the control target screen.
In step S11, a touch panel is disposed on the first device, and a user performs a floating touch operation on the touch panel, so that the touch panel senses the floating touch operation, thereby generating floating touch information describing the floating touch operation.
Specifically, the touch panel may adopt a capacitive touch screen or a capacitive touch pad, and the capacitive touch screen or the capacitive touch pad may be wired in such a manner that the capacitive touch screen or the capacitive touch pad can sense a signal of direct touch and can also sense a capacitive signal within a certain height (e.g., 1-2 cm) above the surface of the capacitive touch screen. The first equipment determines coordinate information of the floating touch point on the touch panel according to the sensed capacitance signal; furthermore, the number of the floating touch points, the area of each floating touch point, the relative distance between different floating touch points and other information can be determined according to the coordinate information; according to actual needs, the floating touch information may include one or more of the above information, which collectively describe the floating touch operation of the user on the touch panel.
In step S12, the predetermined gesture information is floating touch information corresponding to a preset gesture (or floating touch operation) for unlocking the screen.
In the step S13, since the floating touch information corresponding to different gestures (i.e., different floating touch operations) is necessarily different, it is determined whether the currently detected floating touch information is the floating touch information corresponding to the preset screen unlocking gesture (i.e., the preset gesture information) by analyzing and judging the currently detected floating touch information; if the floating touch information meets the preset gesture information, which indicates that the floating touch operation performed by the user is a preset screen unlocking gesture, it may be determined that an unlocking instruction should be generated to control the target screen to be unlocked.
In the embodiment, whether the suspension touch information of the user on the touch panel meets the preset gesture information is detected, and when the preset gesture information is met, the unlocking instruction for controlling unlocking of the target screen is generated, so that the screen is unlocked by adopting suspension touch operation, limitation of contact unlocking is avoided, and the touch panel is more convenient for the user to use.
In one possible embodiment of the invention, a dynamic gesture of changing fingers from a pinch state to an open state can be used as a gesture of unlocking the screen; then, the predetermined gesture information may be information converted from a first state information to a second state information within a preset time period, where the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Based on the predetermined gesture information, step S12 actually determines that: whether the floating touch information is converted from first state information to second state information within a preset time period or not is determined. Specifically, in some embodiments, as shown in fig. 2, step S12 may include:
s121, judging whether the floating touch information is first state information;
s122, if the floating touch information is the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes in a preset time period and becomes second state information;
and S123, if the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
In this embodiment, when it is detected that the floating touch information is converted from the first state information corresponding to the finger pinch state to the second state information corresponding to the finger open state within the preset time period, it is indicated that the floating touch operation performed by the user is that the finger is changed from the pinch state to the open state, and the gesture is the same as the preset screen unlocking gesture, so that an unlocking instruction is generated to control the target screen to be unlocked. Of course, in other embodiments, other gestures may also be used as the screen unlocking gesture, and the floating touch information corresponding to the gesture may be used as the predetermined gesture information to determine whether to generate an unlocking instruction, that is, whether to control the target screen to be unlocked.
In describing how to implement the above steps S121 to S123 (i.e., how to determine whether the floating touch information is the first state information and is changed into the second state information) in the embodiment of the present invention, it is necessary to briefly describe the floating touch technology first.
Based on the floating touch technology, there are various types of floating touch information (including the aforementioned coordinate information, the number of floating touch points, the area of each floating touch point, the relative distance between different floating touch points, etc.) that can be detected. However, in view of the different detection accuracy of the floating touch by different devices, the obtained floating touch information is also different.
Taking four-finger touch as an example (in other embodiments, screen unlocking control can also be realized by three fingers, five fingers, and the like), when the four fingers of the user are opened and in a suspension state, 3 to 4 lowest points can be read, that is, 3 to 4 floating touch points can be detected at the moment. When a user pinches the four fingers together, 3-4 floating touch points can still be detected for equipment with high detection precision; for a device with low detection precision, only one floating touch point is generally detected, that is, the floating touch points corresponding to the four fingers are gathered together in a pinch state, the device with low detection precision cannot accurately distinguish the floating touch points, and only the floating touch points can be integrally regarded as one floating touch point, but the area of the floating touch point is larger than that of the real floating touch point (the area of the capacitance change area caused by the four fingers is larger than that of the capacitance change area caused by one finger).
According to the above analysis, in a possible embodiment, for a device with low detection accuracy, the steps S121 to S123 may be implemented according to the number of floating touch points and the area of the floating touch points, which are specifically as follows:
in step S121, if the number of the floating touch points in the floating touch information is one, further determining whether the area of the floating touch point is greater than a preset area threshold; if the area of the floating touch point is larger than the preset area threshold, determining that the floating touch information is the first state information, and continuing to execute step S122.
In step S122, it is continuously determined whether the number of the floating touch points in the floating touch information changes from one to multiple within a preset time period, and if the number of the floating touch points in the floating touch information changes from one to multiple within the preset time period, it is determined that the floating touch information changes within the preset time period and changes to the second state information, and it may be determined in step S123 that the floating touch information satisfies predetermined gesture information; otherwise, determining that the floating touch information is invalid information, returning to step S121, and re-determining whether the subsequently generated floating touch information meets the predetermined gesture information.
In this embodiment, the preset area threshold is an area of a floating touch point formed when a single finger touches; under the condition that the number of the floating touch points in the floating touch information is one, further judging that the area of the floating touch points is larger than a preset area threshold value, and indicating that the floating touch points are formed by kneading a plurality of fingers, so that the floating touch information can be determined to be first state information; the number of the floating touch points in the floating touch information is continuously judged to be changed from one to a plurality within a preset time period, which indicates that a plurality of fingers are changed from a pinch state to a spread state, so that the floating touch information can be determined to be changed and changed into the second state information within the preset time period, the floating touch information finally obtained meets the preset gesture information, and an unlocking instruction is generated to control the target screen to be unlocked; according to the touch screen unlocking method and device, the screen can be unlocked by adopting the suspension touch information, limitation of contact unlocking is avoided, and the touch screen unlocking device and device are more convenient for users to use.
In another possible embodiment, for a device with high detection accuracy, the steps S121 to S123 may be implemented according to the number of floating touch points and the relative distance between different floating touch points, which is specifically as follows:
in step S121, if the number of the floating touch points in the floating touch information is multiple, further determining whether a relative distance between the floating touch points is smaller than a preset first distance threshold; if the relative distance between the floating touch position points is smaller than a preset first distance threshold, determining that the floating touch information is first state information, and continuing to execute step S122.
In step S122, it is continuously determined whether the relative distance between the floating touch points in the floating touch information increases within the preset time period and whether the increased relative distance is greater than a preset second distance threshold, and if the relative distance between the floating touch points increases within the preset time period and the increased relative distance is greater than the preset second distance threshold, the relative distance changes and becomes the second state information within the preset time period, so that it may be determined in step S123 that the floating touch information satisfies the predetermined gesture information; otherwise, determining that the floating touch information is invalid information, returning to step S121, and re-determining whether the subsequently generated floating touch information meets the predetermined gesture information.
In this embodiment, the first distance threshold is smaller than or equal to the second distance threshold, and may be specifically set according to the actual application requirement; for example, the first distance threshold may be set to 1cm, the second distance threshold may be set to 3cm, or both the first distance threshold and the second distance threshold may be set to 2 cm. Under the condition that the number of the floating touch points in the floating touch information is multiple, further judging that the relative distance between the floating touch points is smaller than a preset first distance threshold value, and showing that the finger distance corresponding to each floating touch point is short and can be regarded as a pinch state, so that the floating touch information can be determined to be first state information; by continuously judging that the relative distance between the floating touch points is increased in the preset time period and the increased relative distance is larger than a preset second distance threshold value, the finger distance corresponding to each floating touch point is increased, and the fingers can be considered to be changed from a pinch state to a spread state, so that the floating touch information can be determined to be changed in the preset time period and changed into the second state information, the floating touch information finally obtained meets the preset gesture information, and an unlocking instruction is generated to control the target screen to be unlocked; according to the touch screen unlocking method and device, the screen can be unlocked by adopting the suspension touch information, limitation of contact unlocking is avoided, and the touch screen unlocking device and device are more convenient for users to use.
In an embodiment of the present invention, after the unlocking instruction is generated, the method for controlling unlocking of a screen further includes:
if the target screen is the screen of the first equipment, directly executing the unlocking instruction;
or,
and if the target screen is the screen of a second device connected with the first device, sending the unlocking instruction to the second device so that the second device unlocks the target screen after receiving the unlocking instruction.
In this embodiment, whether the floating touch information corresponding to the floating touch operation performed by the user on the touch panel meets the predetermined gesture information is detected to determine whether the floating touch operation performed by the user is a preset screen unlocking gesture, and when the preset screen unlocking gesture is performed, an unlocking instruction for controlling unlocking of the target screen is generated to unlock the screen, so that the screen can be unlocked by using the floating touch operation, limitation of contact unlocking is avoided, and the use by the user is facilitated.
FIG. 3 is another method of controlling screen unlocking, according to an exemplary embodiment. As shown in fig. 3, the embodiment is directed to an application scenario in which a target screen is a screen of a second device, and a screen of the second device is unlocked by a first device, and includes the following steps:
and S21, the first device establishes connection with the second device.
The connection may be a wired connection, such as a cable or an optical fiber connection, or a wireless connection, such as a wifi connection or a bluetooth connection, or a cellular mobile communication (e.g. 3G/4G) connection.
And S22, the user performs a floating touch operation on the touch panel of the first device.
The touch panel is disposed on the first device, and the touch panel is, for example, a capacitive touch screen or a capacitive touch pad.
And S23, the first equipment senses the floating touch operation through the touch panel and generates corresponding floating touch information.
The touch panel adopts a capacitive touch screen or a capacitive touch pad, and the capacitive touch screen or the capacitive touch pad can sense a signal directly touched by the capacitive touch screen or the capacitive touch pad in a wiring mode and can also sense a capacitive signal 1-2 cm above the surface of the capacitive touch screen or the capacitive touch pad. The first device converts the sensed capacitance signal into floating touch information, such as coordinate information of floating touch points, the number of the floating touch points, relative distances between the floating touch points, and areas of the floating touch points.
And S24, the first equipment judges whether the floating touch information meets the preset gesture information.
In this embodiment, the step S24 can be implemented by referring to the step S12, which is not described herein again.
And S25, if the floating touch information meets the preset gesture information, the first device generates an unlocking instruction for controlling unlocking of the screen of the second device, and sends the unlocking instruction to the second device for unlocking the screen.
And if the floating touch information meets the preset gesture information, the floating touch operation executed by the user is a preset screen unlocking gesture, the first device generates an unlocking instruction and sends the unlocking instruction to the second device.
And S26, the second device unlocks the screen of the second device according to the received unlocking instruction.
It is understood that what is not described in detail in this embodiment may be referred to in other embodiments and will not be described in detail here.
In this embodiment, when detecting that the floating touch information corresponding to the floating touch operation performed by the user meets the predetermined gesture information, the first device generates an unlocking instruction and sends the unlocking instruction to the second device, and the second device unlocks the screen after receiving the unlocking instruction, so that the unlocking based on the floating touch operation of the user can be realized, and then the limitation of contact unlocking can be avoided, and the use by the user is facilitated.
Fig. 4 is an apparatus for controlling screen unlocking according to an exemplary embodiment. As shown in fig. 4, the apparatus for controlling screen unlocking is applied to a first device having a touch panel, and includes: the device comprises an acquisition module 1, a judgment module 2 and an unlocking instruction generation module 3.
The acquisition module 1 is used for acquiring floating touch information corresponding to a floating touch operation sensed by the touch panel; the judging module 2 is used for judging whether the floating touch information meets the preset gesture information; the unlocking instruction generating module 3 is used for generating an unlocking instruction for controlling the target screen to be unlocked when the floating touch information meets the preset gesture information.
In some embodiments, the predetermined gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Based on the predetermined gesture information, to determine whether the floating touch information satisfies the predetermined gesture information, the determining module 2 is specifically configured to:
judging whether the floating touch information is the first state information;
when the floating touch information is the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
In this embodiment, when it is detected that the floating touch information is converted from the first state information corresponding to the finger pinch state to the second state information corresponding to the finger open state within the preset time period, it is indicated that the floating touch operation performed by the user is that the finger is changed from the pinch state to the open state, and the gesture is the same as the preset screen unlocking gesture, so that an unlocking instruction is generated to control the target screen to be unlocked. Of course, in other embodiments, other gestures may also be used as the screen unlocking gesture, and the floating touch information corresponding to the gesture may be used as the predetermined gesture information to determine whether to generate an unlocking instruction, that is, whether to control the target screen to be unlocked.
In some embodiments, the touch panel includes: capacitive touch screens or capacitive touch pads.
In some embodiments, the obtaining module 1 is specifically configured to: acquiring a capacitance value generated by a finger of a user on a touch panel; and determining the number of the floating touch points, the relative distance between the floating touch points, the area of the floating touch points and other floating touch information according to the capacitance value.
In one embodiment, for a device with low detection accuracy, the determining module 2 may be configured to:
if the number of the floating touch points in the floating touch information is one, further judging whether the area of the floating touch points is larger than a preset area threshold value; if the area of the floating touch point is larger than a preset area threshold, determining that the floating touch information is first state information;
after determining that the floating touch information is first state information, continuously judging whether the number of the floating touch points in the floating touch information is changed from one to a plurality within a preset time period, if the number of the floating touch points in the floating touch information is changed from one to a plurality within the preset time period, determining that the floating touch information is changed within the preset time period and changed into second state information, and further determining that the floating touch information meets preset gesture information; and if not, determining that the floating touch information is invalid information, and judging whether the subsequently generated floating touch information meets the preset gesture information again.
In another embodiment, for a device with high detection accuracy, the determining module 2 may be configured to:
if the number of the floating touch points in the floating touch information is multiple, further judging whether the relative distance between the floating touch points is smaller than a preset first distance threshold value; if the relative distance between the floating touch position points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
after determining that the floating touch information is first state information, continuously judging whether the relative distance between the floating touch points in the floating touch information is increased within the preset time period and whether the increased relative distance is greater than a preset second distance threshold, if the relative distance between the floating touch points is increased within the preset time period and the increased relative distance is greater than the preset second distance threshold, changing the floating touch information into the second state information within the preset time period, and further judging that the floating touch information meets preset gesture information; and if not, determining that the floating touch information is invalid information, and judging whether the subsequently generated floating touch information meets the preset gesture information again.
In some embodiments, the target screen comprises: the screen display device includes a screen of a first device having a touch panel, or a screen of a second device connected to the first device.
When the screen is a screen of the first device having a touch panel, the first device may further include: and the unlocking response module is used for responding to the unlocking instruction and unlocking the screen of the first equipment.
When the screen is a screen of a second device connected to the first device, the first device may further include: and the communication module is used for sending an unlocking instruction to the second equipment so that the second equipment unlocks the screen of the second equipment according to the unlocking instruction.
In some embodiments, the communication module may be a wired communication module, and the unlocking instruction is sent to the second device in a wired manner; in some embodiments, the communication module may also be a wireless communication module, and wirelessly transmits the unlocking instruction to the second device.
In this embodiment, whether the floating touch information corresponding to the floating touch operation performed by the user on the touch panel meets the predetermined gesture information is detected to determine whether the floating touch operation performed by the user is a preset screen unlocking gesture, and when the preset screen unlocking gesture is met, an unlocking instruction for controlling unlocking of the target screen is generated to unlock the screen, so that unlocking control over the target screen can be achieved based on the floating touch operation, limitation of contact unlocking is avoided, and the touch panel is more convenient for the user to use.
The present application also provides a non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a first device, cause the first device to perform the method of controlling screen unlocking, the method of controlling screen unlocking comprising: acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel; judging whether the floating touch information meets preset gesture information or not; and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
Further, the preset gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Further, the determining whether the floating touch information satisfies the predetermined gesture information includes:
judging whether the floating touch information is the first state information;
when the floating touch information is the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
Further, the floating touch information includes: the number of the floating touch position points and the area of each floating touch position point;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch position points is one and the area of the floating touch position points is larger than a preset area threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch position points is changed from one to a plurality within the preset time period, determining that the floating touch information is changed and changed into the second state information within the preset time period.
Further, the floating touch information includes: the number of the floating touch position points and the relative distance between the floating touch position points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch position points is multiple and the relative distance between the floating touch position points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch position points is not changed in the preset time period, the relative distance between the floating touch position points is increased, and the increased relative distance is greater than a preset second distance threshold, determining that the floating touch information is changed and changed into the second state information in the preset time period.
Further, the touch panel includes: capacitive touch screens or capacitive touch pads.
Further, the acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel includes:
acquiring a capacitance value generated on the touch panel;
and determining coordinate information of the floating touch points according to the capacitance values, and determining one or more of the number of the floating touch points, the relative distance between the floating touch points and the area of the floating touch points as the floating touch information according to the coordinate information of the floating touch points.
Further, the target screen includes: the method includes the steps that a screen of a first device with a touch panel or a screen of a second device connected with the first device is unlocked, and the unlocking of the control target screen comprises the following steps: if the target screen is the screen of the first equipment with the touch panel, directly executing the unlocking instruction to control the screen of the first equipment to be unlocked; or if the target screen is a screen of a second device connected with the first device, sending an unlocking instruction to the second device, so that the second device controls the screen of the second device to be unlocked after receiving the unlocking instruction.
Further, if the target screen is a screen of a second device, the method further includes: establishing a connection with a second device to send the unlocking instruction through the connection, wherein the connection comprises: a wireless connection or a wired connection.
In this embodiment, whether the floating touch information corresponding to the floating touch operation performed by the user on the touch panel meets the predetermined gesture information is detected to determine whether the floating touch operation performed by the user is a preset screen unlocking gesture, and when the preset screen unlocking gesture is met, an unlocking instruction for controlling unlocking of the target screen is generated to unlock the screen, so that unlocking control over the target screen can be achieved based on the floating touch operation, limitation of contact unlocking is avoided, and the touch panel is more convenient for the user to use.
The present application also provides a control device with a touch panel, comprising a processor and a memory, the memory for storing processor-executable instructions, the processor configured to: acquiring floating touch information corresponding to floating touch operation sensed by a touch panel; judging whether the floating touch information meets preset gesture information or not; and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
Further, the preset gesture information is converted from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
Further, the determining whether the floating touch information satisfies the predetermined gesture information includes:
judging whether the floating touch information is the first state information;
when the floating touch information is detected to be the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
Further, the floating touch information includes: the number of the floating touch position points and the area of each floating touch position point;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch position points is one and the area of the floating touch position points is larger than a preset area threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch position points is changed from one to a plurality within the preset time period, determining that the floating touch information is changed and changed into the second state information within the preset time period.
Further, the floating touch information includes: the number of the floating touch position points and the relative distance between the floating touch position points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch position points is multiple and the relative distance between the floating touch position points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch position points is not changed in the preset time period, the relative distance between the floating touch position points is increased, and the increased relative distance is greater than a preset second distance threshold, determining that the floating touch information is changed and changed into the second state information in the preset time period.
Further, the touch panel includes: capacitive touch screens or capacitive touch pads.
Further, the detecting floating touch information generated on the touch panel by the user includes:
acquiring a capacitance value generated on the touch panel by a finger of a user;
and determining floating touch control points according to the capacitance values, and determining floating touch control information according to the number of the floating touch control points, the relative distance between the floating touch control points and the area.
Further, the target screen includes: the method includes the steps that a screen of a first device with a touch panel or a screen of a second device connected with the first device is unlocked, and the unlocking of the control target screen comprises the following steps: if the target screen is the screen of the first equipment with the touch panel, directly executing the unlocking instruction to control the screen of the first equipment to be unlocked; or if the target screen is a screen of a second device connected with the first device, sending an unlocking instruction to the second device, so that the second device controls the screen of the second device to be unlocked after receiving the unlocking instruction.
Further, if the target screen is a screen of a second device, the method further includes: establishing a connection with a second device to send the unlocking instruction through the connection, wherein the connection comprises: a wireless connection or a wired connection.
In this embodiment, whether the floating touch information corresponding to the floating touch operation performed by the user on the touch panel meets the predetermined gesture information is detected to determine whether the floating touch operation performed by the user is a preset screen unlocking gesture, and when the preset screen unlocking gesture is met, an unlocking instruction for controlling unlocking of the target screen is generated to unlock the screen, so that unlocking control over the target screen can be achieved based on the floating touch operation, limitation of contact unlocking is avoided, and the touch panel is more convenient for the user to use.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A method for controlling unlocking of a screen is applied to a first device with a touch panel, and comprises the following steps:
acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel;
judging whether the floating touch information meets preset gesture information or not;
and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
2. The method according to claim 1, wherein the predetermined gesture information is a transition from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
3. The method of claim 2, wherein the determining whether the hover touch information satisfies predetermined gesture information comprises:
judging whether the floating touch information is the first state information;
when the floating touch information is the first state information, continuously acquiring the floating touch information, and judging whether the floating touch information changes to the second state information within the preset time period;
and when the floating touch information is changed within the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
4. The method of claim 3, wherein the hover touch information comprises: the number of the floating touch points and the area of the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is one and the area of the floating touch points is larger than a preset area threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is changed from one to a plurality within the preset time period, determining that the floating touch information is changed and changed into the second state information within the preset time period.
5. The method of claim 3, wherein the hover touch information comprises: the number of the floating touch points and the relative distance between the floating touch points;
the determining whether the floating touch information is the first state information includes:
if the number of the floating touch points is multiple and the relative distance between the floating touch points is smaller than a preset first distance threshold, determining that the floating touch information is first state information;
the determining whether the floating touch information changes within the preset time period and becomes the second state information includes:
and if the number of the floating touch points is not changed in the preset time period, the relative distance between the floating touch points is increased, and the increased relative distance is greater than a preset second distance threshold, determining that the floating touch information is changed in the preset time period and changed into the second state information.
6. The method of controlling screen unlocking according to any one of claims 1 to 5, wherein after generating the unlocking instruction, the method further includes:
if the target screen is the screen of the first equipment, directly executing the unlocking instruction;
or,
and if the target screen is the screen of a second device connected with the first device, sending the unlocking instruction to the second device so that the second device unlocks the target screen after receiving the unlocking instruction.
7. The device for controlling unlocking of the screen is applied to a first device with a touch panel, and is characterized by comprising the following components:
the acquisition module is used for acquiring floating touch information corresponding to the floating touch operation sensed by the touch panel;
the judging module is used for judging whether the floating touch information meets the preset gesture information;
and the unlocking instruction generating module is used for generating an unlocking instruction for controlling the target screen to be unlocked when the floating touch information meets the preset gesture information.
8. The device for controlling unlocking of a screen according to claim 7, wherein the predetermined gesture information is a transition from first state information to second state information within a preset time period; the first state information is information corresponding to a finger pinching state, and the second state information is information corresponding to a finger opening state.
9. The device for controlling screen unlocking according to claim 8, wherein to determine whether the hover touch information satisfies predetermined gesture information, the determining module is configured to:
judging whether the floating touch information is the first state information;
if the floating touch information is the first state information, judging whether the floating touch information is changed and changed into the second state information within a preset time period;
and if the floating touch information is changed in the preset time period and the changed floating touch information is the second state information, judging that the floating touch information meets the preset gesture information.
10. A control apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring floating touch information;
judging whether the floating touch information meets preset gesture information or not;
and if the floating touch information meets the preset gesture information, generating an unlocking instruction for controlling the unlocking of the target screen.
CN201810246815.6A 2018-03-23 2018-03-23 The method and apparatus for controlling unlocking screen Pending CN108459818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810246815.6A CN108459818A (en) 2018-03-23 2018-03-23 The method and apparatus for controlling unlocking screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810246815.6A CN108459818A (en) 2018-03-23 2018-03-23 The method and apparatus for controlling unlocking screen

Publications (1)

Publication Number Publication Date
CN108459818A true CN108459818A (en) 2018-08-28

Family

ID=63237322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810246815.6A Pending CN108459818A (en) 2018-03-23 2018-03-23 The method and apparatus for controlling unlocking screen

Country Status (1)

Country Link
CN (1) CN108459818A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448903A (en) * 2019-01-22 2019-11-15 网易(杭州)网络有限公司 Determination method, apparatus, processor and the terminal of control strategy in game
CN111460890A (en) * 2020-02-28 2020-07-28 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407797A (en) * 2014-10-27 2015-03-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105579949A (en) * 2013-07-11 2016-05-11 三星电子株式会社 User terminal device and method for displaying content
CN105989255A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Unlocking system and method and mobile terminal
CN106598419A (en) * 2016-10-31 2017-04-26 努比亚技术有限公司 Terminal suspension operation apparatus and method
CN107153534A (en) * 2017-03-24 2017-09-12 联想(北京)有限公司 A kind of information processing method and the first electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105579949A (en) * 2013-07-11 2016-05-11 三星电子株式会社 User terminal device and method for displaying content
CN104407797A (en) * 2014-10-27 2015-03-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105989255A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Unlocking system and method and mobile terminal
CN106598419A (en) * 2016-10-31 2017-04-26 努比亚技术有限公司 Terminal suspension operation apparatus and method
CN107153534A (en) * 2017-03-24 2017-09-12 联想(北京)有限公司 A kind of information processing method and the first electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448903A (en) * 2019-01-22 2019-11-15 网易(杭州)网络有限公司 Determination method, apparatus, processor and the terminal of control strategy in game
CN111460890A (en) * 2020-02-28 2020-07-28 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium
CN111460890B (en) * 2020-02-28 2023-01-20 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10649552B2 (en) Input method and electronic device using pen input device
KR101456047B1 (en) Portable terminal and method for performing order thereof
CN104781763B (en) Systems and methods for low power input object detection and interaction
KR101642621B1 (en) Touch-sensitive button with two levels
KR101424259B1 (en) Method and apparatus for providing input feedback in portable terminal
US9201521B2 (en) Storing trace information
EP3252590B1 (en) Method for adjusting adjustable parameter of device, and device
KR20130099717A (en) Apparatus and method for providing user interface based on touch screen
CN109800045B (en) A display method and terminal
CN106775087A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
KR20170083545A (en) System and methods for controlling a cursor based on finger pressure and direction
CN109933252B (en) Icon moving method and terminal equipment
JP2013257904A (en) Touch sensor device
KR20120119440A (en) Method for recognizing user's gesture in a electronic device
EP2693313A2 (en) Electronic pen input recognition apparatus and method using capacitive-type touch screen panel (tsp)
AU2013276998A1 (en) Mouse function provision method and terminal implementing the same
CN106648232A (en) Method, device and terminal for preventing false triggering of touch buttons
CN108958627A (en) Touch operation method and device, storage medium and electronic equipment
CN108984096A (en) Touch operation method, device, storage medium and electronic device
CN108646959A (en) Screen control method, device and mobile terminal
CN108427534B (en) Method and device for controlling screen to return to desktop
CN107980116B (en) Floating touch sensing method, floating touch sensing system and floating touch electronic equipment
CN108459818A (en) The method and apparatus for controlling unlocking screen
CN108958628A (en) Touch operation method and device, storage medium and electronic equipment
CN109002339A (en) Touch operation method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828