CN103268197B - A kind of method of lock-screen, device and terminal device - Google Patents
A kind of method of lock-screen, device and terminal device Download PDFInfo
- Publication number
- CN103268197B CN103268197B CN201310157670.XA CN201310157670A CN103268197B CN 103268197 B CN103268197 B CN 103268197B CN 201310157670 A CN201310157670 A CN 201310157670A CN 103268197 B CN103268197 B CN 103268197B
- Authority
- CN
- China
- Prior art keywords
- screen
- tib
- responder object
- user
- responder
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000004044 response Effects 0.000 claims abstract description 84
- 230000009471 action Effects 0.000 claims abstract description 78
- 230000008569 process Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 32
- 230000001960 triggered effect Effects 0.000 claims description 17
- 230000004888 barrier function Effects 0.000 claims description 4
- 238000002955 isolation Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims 2
- 230000037430 deletion Effects 0.000 claims 2
- 230000000875 corresponding effect Effects 0.000 description 166
- 238000010586 diagram Methods 0.000 description 33
- 238000012544 monitoring process Methods 0.000 description 10
- 238000001514 detection method Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of method of lock-screen, device and terminal device, described method triggers the operation creating invalid screen touch area in response to user, the operation of one or more closed region is drawn a circle to approve on the screen in response to user, create TIB respondent's object in described closed region, make user can select one or more region to be locked on screen; Preserve the coordinate of closed region corresponding to described TIB respondent's object; In response to the operation of user's touch screen, obtain coordinate corresponding to described operation and type of action, and calculate respondent's object corresponding to described coordinate; When respondent's object that described coordinate is corresponding comprises TIB respondent's object, then the instruction of the operation correspondence of described user's touch screen is sent to TIB respondent's object, the region to be locked that user is selected does not process the operation of user, thus realizes the object arranging one or more invalid touch area according to the demand of user flexibly.
Description
Technical Field
The invention relates to the field of screen display of mobile terminals, in particular to a method and a device for locking a screen and terminal equipment.
Background
At present, mobile terminals such as mobile phones and tablet computers are widely used, screens of the mobile terminals are larger, and the screen areas of some mobile terminals almost occupy the whole surface of equipment. When mobile terminal developers pursue large screens, the problem that the probability of misoperation of a user is increased due to the large screens is ignored.
When a user holds the mobile terminal, the user needs to touch the front surface of the device to hold the device well. In the using process, a user inevitably touches the screen of the equipment, so that the user can give a response displayed in the screen
And issuing a wrong instruction by using a program. When a user is holding such a device, it is conceivable that when the user cannot find a table on which the device is placed, the user cannot hold the device at all without touching the front of the device, except for supporting the device with the palm of the hand lying open on the back of the device. Moreover, some touch-supporting application software only realizes a single-touch function, and does not design multi-touch operation. When the user touches the screen carelessly after holding the device with one hand, the first touch point can be preempted, thereby causing the invalidation of the subsequent touch action which the user really wants to generate the touch effect. This touching action, which is a wrong touch by the user accidentally touching the front of the device, is called "false touch". In order to avoid the occurrence of the false touch phenomenon, the current solutions are divided into the following two types:
one is to lock the screen. When a user does not use the terminal device, for example, the mobile phone is put in a pocket, the whole screen of the mobile phone is often locked. The screen is released when needed. This approach is the most straightforward and thorough way to avoid false touches.
Some technologies are also available at present, when the screen is locked, the screen can still play the video screen, and only the screen does not receive the operation of the touch input of the user any more, but if the user needs to input on the screen again, the touch function of the screen needs to be turned on through a physical or virtual switch on the screen. The user can only choose between screen "lock" and "open". When the screen is locked, the mobile phone cannot make any other input on the screen except unlocking and watching the screen.
The other is that when the user touches the responder object of 'screen locking background', no corresponding action is performed, so as to achieve the effect of screen locking; when the user slides over the "slider" responder object, the user's slide instructions are processed to unlock the screen.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a terminal device for locking a screen, which can solve the problem of flexibly selecting a screen locking area to a certain extent.
In a first aspect, a method of locking a screen, the method comprising:
in response to an operation of a user for triggering and creating an invalid touch area of a screen, creating a responder object on the screen content, wherein the responder object is used for creating a touch-screen-isolated board TIB responder object, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object;
in response to an operation of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area, and saving coordinates of the closed area corresponding to the TIB responder object;
responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates comprises the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after the step of obtaining, in response to an operation of a user touching a screen, coordinates and an action type corresponding to the operation, and calculating a responder object corresponding to the coordinates, the method further includes:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the saving coordinates of the closed region corresponding to the TIB responder object includes:
the touch screen controller saves the coordinates of the closed area corresponding to the TIB responder object;
the method further includes, after the step of responding to an operation of a user touching the screen:
the touch screen controller acquires coordinates and action types corresponding to the operation, and calculates a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, or the fifth possible implementation manner of the first aspect, or the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect,
the operation of enclosing one or more closed areas on the screen in response to a user comprises:
in response to an operation of a user to define a closed region by a finger, or in response to an operation of a user to define a closed region by a method of drawing a cross line on the screen, upper and left regions of the cross line are previously set as regions of the lock screen.
In a second aspect, an apparatus for locking a screen, the apparatus comprising:
a first response unit, configured to, in response to an operation of a user triggering creation of a screen invalid touch area, create a responder object on the screen content, where the responder object is used to create a touch barrier TIB responder object, and the TIB responder object is used to lock a screen area corresponding to the TIB responder object;
a second response unit, configured to, in response to an operation of a user to define one or more closed areas on the screen, create a TIB responder object in the closed area, and save coordinates of the closed area corresponding to the TIB responder object;
the third response unit is used for responding to the operation of a user touching the screen, acquiring the coordinate and the action type corresponding to the operation, and calculating the responder object corresponding to the coordinate;
and the sending unit is used for sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object when the TIB responder object is included in the responder object corresponding to the coordinates.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the apparatus further includes:
and the sending subunit is configured to send, when the TIB responder object is not included in the responder object corresponding to the coordinates, an instruction corresponding to an operation in which the user touches the screen to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes an adjusting unit, where the adjusting unit is specifically configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes a deleting unit, where the deleting unit is specifically configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the apparatus further includes a touch screen controller, where the touch screen controller is configured to store coordinates of a closed region corresponding to the TIB responder object;
obtaining coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes an identification unit, where the identification unit is specifically configured to:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, or the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the apparatus further includes a display unit, where the display unit is specifically configured to:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, or the fifth possible implementation manner of the second aspect, or the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect, the second responding unit performs an operation of enclosing a closed area in response to a user by using a finger, or an operation of enclosing a closed area in response to a user by using a method of drawing a cross line on the screen, and the upper and left areas of the cross line are preset as areas of the lock screen.
In a third aspect, a terminal device includes a device screen and a processing module, where the processing module is connected to the device screen, and where:
the device screen is used for displaying the screen state of the terminal device before locking, the screen state of the terminal device in the locking process or the screen state of the terminal device after locking; the equipment screen is also used for sensing the operation of a user on the screen of the equipment and sending response signals to the processing module, wherein the response signals at least comprise a response signal for triggering the creation of an invalid touch area of the screen by the user, a response signal for defining one or more closed areas on the screen by the user and a response signal for the operation of touching the screen by the user;
the processing module is used for receiving a response signal which is sent by the equipment screen and used for triggering the creation of an invalid touch area of the screen by a user, and creating a responder object on the screen content, wherein the responder object is used for creating a TIB responder object of a touch isolation board, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object; the closed area processing device is used for receiving a response signal of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area, and storing the coordinates of the closed area corresponding to the TIB responder object; the system comprises a TIB responder object and a response signal, wherein the TIB responder object is used for receiving a response signal of an operation of touching a screen by a user, acquiring a coordinate and an action type corresponding to the operation, calculating the responder object corresponding to the coordinate, and sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object when the responder object corresponding to the coordinate comprises the TIB responder object.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the processing module is further configured to:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processing module is further configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the processing module is further configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
The embodiment of the invention provides a method for locking a screen, which responds to the operation that a user triggers and creates an invalid touch area of the screen, responds to the operation that the user defines one or more closed areas on the screen, and creates a TIB responder object in the closed area, so that the user can select one or more areas to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; and when the responder object corresponding to the coordinates comprises the TIB responder object, the operation is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for locking a screen according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a user triggering an instruction to create an invalid touch area on a screen according to an embodiment of the present invention;
fig. 3 is a block diagram of hardware and software of a terminal device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a containment area defined by an embodiment of the present invention;
FIG. 5 is a schematic view of another enclosed area provided by an embodiment of the present invention;
FIG. 6 is a diagram illustrating a locked screen area according to an embodiment of the present invention;
FIG. 7 is a logic diagram of a lock screen provided by an embodiment of the present invention;
FIG. 8 is a diagram illustrating a screen area where a user is locked during operation according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a manner of locking a screen according to an embodiment of the present invention;
FIG. 10 is a schematic diagram illustrating an application of a method for locking a screen according to an embodiment of the present invention;
FIG. 11 is a diagram illustrating an apparatus for locking a screen according to an embodiment of the present invention;
fig. 12 is a device structure diagram of a terminal device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for locking a screen according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step 101, in response to an operation of a user for triggering and creating an invalid touch area of a screen, creating a responder object (Responseobject) on the screen content, wherein the responder object is used for creating a Touch Isolation Board (TIB) responder object, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object;
the touch screen of the terminal device may receive an instruction for a user to trigger creation of a screen invalid touch area, where the instruction for the user to trigger creation of the screen invalid touch area may be that the user triggers a preset key on the screen, and when the user triggers the key, the user may trigger the instruction for creating the screen invalid touch area, referring to fig. 2, where fig. 2 is a schematic diagram of an instruction for the user to trigger creation of the screen invalid touch area according to an embodiment of the present invention. When the user triggers an icon preset in the screen, such as pictures displayed in the upper left corner and the upper right corner of fig. 2, the user triggers an instruction to create an invalid touch area of the screen.
Step 102, responding to an operation of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area, and storing coordinates of the closed area corresponding to the TIB responder object;
specifically, referring to fig. 3, fig. 3 is a hardware and software structure diagram of a terminal device according to an embodiment of the present invention. The hardware part of the terminal equipment is divided into a hardware detection part and a touch screen controller, and the software part of the terminal equipment is divided into a touch monitoring module, a touch control module and a responder object.
When a user touches a screen and one or more closed areas are defined on the screen, the hardware detection component monitors the touch action of the user on the touch screen and transmits the instruction of the touch action to the touch screen controller, the touch screen controller sends the instruction of the touch action to the touch monitoring module after receiving the instruction of the touch action, the touch monitoring module transmits the coordinate and the action type of the touch action to the touch control module, and the touch control module transmits the coordinate and the action type of the touch action to the responder object. The responder object can continuously receive the coordinates and the action type of the touch action, and the flow is as follows:
touch detection part- > touch screen controller- > touch monitor module- > touch control module- > responder object.
And the responder object calculates the track of the touch action of the user according to the coordinate and the action type of the touch action, and judges whether the user defines a closed area on the screen or not according to the track of the touch action.
Optionally, in response to an operation of a user to circle one or more closed areas on the screen, including:
in response to an operation of a user to define a closed region by a finger, or in response to an operation of a user to define a closed region by a method of drawing a cross line on the screen, upper and left regions of the cross line are previously set as regions of the lock screen.
Referring to fig. 4, fig. 4 is a schematic diagram of a closed area defined according to an embodiment of the present invention, as shown in fig. 4, a user defines a closed area on a touch screen by using a finger, and the closed area is a screen area selected by the user and needs to be locked.
Referring to fig. 5, fig. 5 is a schematic diagram of another closed area defined according to an embodiment of the present invention, as shown in fig. 5, a user draws a cross line on a touch screen with a finger, and areas above and to the left of the cross line may be preset as the closed area defined by the user.
Optionally, the method further comprises:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
Referring to fig. 6, fig. 6 is a schematic diagram of a screen area displaying a lock according to an embodiment of the present invention. As shown in fig. 6, the area of the screen defined by the user is displayed in a semi-transparent manner, wherein the area of the screen is locked by the user.
Step 103, responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
specifically, when the touch monitoring module receives an instruction of triggering an operation screen by a user, the touch monitoring module sends the instruction of the operation screen to the touch control module, and the touch control module acquires coordinates and an action type of the instruction of the operation screen and calculates a responder object corresponding to the coordinates.
As an alternative embodiment, after the step of acquiring coordinates and an action type corresponding to an operation in response to the operation of touching the screen by the user, and calculating a responder object corresponding to the coordinates, the method further includes:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
Specifically, when a user starts to touch on the screen, a responder object (ResponseObject) at a coordinate position corresponding to a touch point receives a touch start instruction (touchbeacon), and when the user moves on the screen, the responder object receives a touch move instruction (touchmoved) until the user's finger leaves the screen, and the responder object receives a touch end instruction (touchend). When the coordinates of the touch start instruction are located at the edge of the action range of the TIB responder object, and the TIB responder object receives the touch moving instruction, the action area of the TIB responder object is changed according to the coordinates corresponding to the touch moving instruction, namely, the action area is an invalid touch area triggered by a user, and after the TIB responder object receives the touch ending instruction, the action of changing the size of the invalid touch area is ended.
And 104, when the responder object corresponding to the coordinates comprises the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object.
It should be understood that the TIB responder object will not send the instruction of the operation screen to the responder object corresponding to the coordinates, so that the responder object does not process the instruction received by the screen area corresponding to the TIB responder object, thereby achieving the purpose of locking the screen area corresponding to the TIB responder object.
Specifically, referring to fig. 7, fig. 7 is a logic diagram of a lock screen according to an embodiment of the present invention.
In the figure, 1, 2 and 3 are three visual components, component 1 is on component 2, component 2 is on component 3, each component corresponds to a responder object, a plurality of responder objects form a responder chain (responder chain), if component 1 receives an instruction of operating a screen and does not process, the instruction is transmitted to component 2, and if component 2 does not process, the instruction is transmitted to component 3.
When a user triggers an instruction of operating the screen in the screen area where the component 1 is located, the touch control module calculates that the screen area includes a TIB responder object, and as shown in fig. 7, the range in which the TIB responder object acts covers the whole area of the component 1 and a part of the area of the component 2. The touch control module sends the instruction of the operation screen to the TIB responder object, the TIB responder object transmits the instruction for isolating the operation screen to the responder object, and then the instruction for isolating the operation screen is transmitted to the responder objects of the component 2 and the component 3.
Optionally, the method further comprises:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a screen area where a user is operating a lock according to an embodiment of the present invention.
As shown in fig. 8, when there is a TIB responder object in the screen area operated by the user, the screen area locked by the user in operation is displayed in a dot or icon or text manner.
As another alternative embodiment, the method further comprises:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
Specifically, when it is calculated that the screen area operated by the user does not include the TIB responder object, the instruction of the operation screen is sent to the responder object of the screen area object, so that the responder object processes the instruction of the operation screen triggered by the user.
Optionally, the method further comprises:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
Specifically, in the software system, a function of deleting a TIB responder object is preset, and displayed as a key on a screen, and when a user triggers the key, an instruction of deleting the TIB responder object is triggered.
Or, in a hardware system, a hardware switch is provided, and when a user triggers the switch, a closing request is sent to the TIB responder object, so that the purpose of deleting the TIB responder object is also achieved.
Optionally, the saving the coordinates of the closed region corresponding to the TIB responder object includes:
the touch screen controller saves the coordinates of the closed area corresponding to the TIB responder object;
the method further includes, after the step of responding to an operation of a user touching the screen:
the touch screen controller acquires coordinates and action types corresponding to the operation, and calculates a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
Specifically, referring to fig. 9, fig. 9 is a schematic diagram of a manner of locking a screen according to an embodiment of the present invention.
As shown in fig. 9, the touch screen controller stores the range of the TIB responder object role, and when the screen area operated by the user is not within the range of the TIB responder object role, the touch screen controller issues an instruction of operating the screen triggered by the user to the software system.
It can be seen that an embodiment of the present invention provides a method for locking a screen, where the method responds to an operation of a user triggering creation of an invalid touch region of the screen, responds to an operation of the user defining one or more closed regions on the screen, and creates a TIB responder object in the closed region, so that the user can select one or more regions to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; when the responder object corresponding to the coordinates comprises the TIB responder object, the instruction corresponding to the operation of touching the screen by the user is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
Referring to fig. 10, fig. 10 is a schematic application diagram of a method for locking a screen according to an embodiment of the present invention.
Providers of "TIB responders," such as the operating system or other software systems, may open secondary development interfaces that control the size and behavior of TIB responders. Based on the secondary development interface, the secondary developer can use the capability of the TIB to perform some corresponding application development on the software level to realize the function of enabling the screen part area not to respond to the touch event. Such as: the second development requires that the top 4 buttons of the 8 buttons of the setting screen do not respond to a touch event. Four buttons are currently required to be individually set to be unresponsive to a touch event. With the secondary development interface of the TIB responder, the same effect as that of the traditional setting mode can be achieved by setting the area above the screen as a touch invalid area.
Referring to fig. 11, fig. 11 is a structural diagram of a device for locking a screen according to an embodiment of the present invention. The device comprises the following units:
a first response unit 1101, configured to create, in response to an operation of a user triggering creation of a screen invalid touch area, a responder object on the screen content, where the responder object is used to create a touch barrier TIB responder object, and the TIB responder object is used to lock a screen area corresponding to the TIB responder object;
the touch screen of the terminal device may receive an instruction for a user to trigger creation of a screen invalid touch area, where the instruction for the user to trigger creation of the screen invalid touch area may be that the user triggers a preset key on the screen, and when the user triggers the key, the user may trigger the instruction for creating the screen invalid touch area, referring to fig. 2, where fig. 2 is a schematic diagram of an instruction for the user to trigger creation of the screen invalid touch area according to an embodiment of the present invention. When the user triggers an icon preset in the screen, such as pictures displayed in the upper left corner and the upper right corner of fig. 2, the user triggers an instruction to create an invalid touch area of the screen.
A second response unit 1102, configured to, in response to an operation of a user to define one or more closed areas on the screen, create a TIB responder object in the closed area, and save coordinates of the closed area corresponding to the TIB responder object;
specifically, referring to fig. 3, fig. 3 is a hardware and software structure diagram of a terminal device according to an embodiment of the present invention. The hardware part of the terminal equipment is divided into a hardware detection part and a touch screen controller, and the software part of the terminal equipment is divided into a touch monitoring module, a touch control module and a responder object.
When a user touches a screen and one or more closed areas are defined on the screen, the hardware detection component monitors the touch action of the user on the touch screen and transmits the instruction of the touch action to the touch screen controller, the touch screen controller sends the instruction of the touch action to the touch monitoring module after receiving the instruction of the touch action, the touch monitoring module transmits the coordinate and the action type of the touch action to the touch control module, and the touch control module transmits the coordinate and the action type of the touch action to the responder object. The responder object can continuously receive the coordinates and the action type of the touch action, and the flow is as follows:
touch detection part- > touch screen controller- > touch monitor module- > touch control module- > responder object.
And the responder object calculates the track of the touch action of the user according to the coordinate and the action type of the touch action, and judges whether the user defines a closed area on the screen or not according to the track of the touch action.
Alternatively, the second responding unit performs an operation of defining a closed region by a finger in response to a user, or an operation of defining a closed region by a method of drawing a cross line on the screen, the upper and left regions of the cross line being set in advance as regions of the lock screen.
Referring to fig. 4, fig. 4 is a schematic diagram of a closed area defined according to an embodiment of the present invention, as shown in fig. 4, a user defines a closed area on a touch screen by using a finger, and the closed area is a screen area selected by the user and needs to be locked.
Referring to fig. 5, fig. 5 is a schematic diagram of another closed area defined according to an embodiment of the present invention, as shown in fig. 5, a user draws a cross line on a touch screen with a finger, and areas above and to the left of the cross line may be preset as the closed area defined by the user.
Optionally, the apparatus further includes an identification unit, where the identification unit is specifically configured to:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
Referring to fig. 6, fig. 6 is a schematic diagram of a screen area displaying a lock according to an embodiment of the present invention. As shown in fig. 6, the area of the screen defined by the user is displayed in a semi-transparent manner, wherein the area of the screen is locked by the user.
A third response unit 1103, configured to, in response to an operation of a user touching a screen, obtain a coordinate and an action type corresponding to the operation, and calculate a responder object corresponding to the coordinate;
specifically, when the touch monitoring module receives an instruction of triggering an operation screen by a user, the touch monitoring module sends the instruction of the operation screen to the touch control module, and the touch control module acquires coordinates and an action type of the instruction of the operation screen and calculates a responder object corresponding to the coordinates.
As an optional embodiment, the apparatus further includes an adjusting unit, where the adjusting unit is specifically configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
Specifically, when a user starts to touch on the screen, a responder object (ResponseObject) at a coordinate position corresponding to a touch point receives a touch start instruction (touchbeacon), and when the user moves on the screen, the responder object receives a touch move instruction (touchmoved) until the user's finger leaves the screen, and the responder object receives a touch end instruction (touchend). When the coordinates of the touch start instruction are located at the edge of the action range of the TIB responder object, and the TIB responder object receives the touch moving instruction, the action area of the TIB responder object is changed according to the coordinates corresponding to the touch moving instruction, namely, the action area is an invalid touch area triggered by a user, and after the TIB responder object receives the touch ending instruction, the action of changing the size of the invalid touch area is ended.
A sending unit 1104, configured to send, to the TIB responder object, an instruction corresponding to an operation of the user touching the screen when the TIB responder object is included in the responder object corresponding to the coordinates.
Specifically, referring to fig. 7, fig. 7 is a logic diagram of a lock screen according to an embodiment of the present invention.
In the figure, 1, 2 and 3 are three visual components, component 1 is on component 2, component 2 is on component 3, each component corresponds to a responder object, a plurality of responder objects form a responder chain (responder chain), if component 1 receives an instruction of operating a screen and does not process, the instruction is transmitted to component 2, and if component 2 does not process, the instruction is transmitted to component 3.
When a user triggers an instruction of operating the screen in the screen area where the component 1 is located, the touch control module calculates that the screen area includes a TIB responder object, and as shown in fig. 7, the range in which the TIB responder object acts covers the whole area of the component 1 and a part of the area of the component 2. The touch control module sends the instruction of the operation screen to the TIB responder object, the TIB responder object transmits the instruction for isolating the operation screen to the responder object, and then the instruction for isolating the operation screen is transmitted to the responder objects of the component 2 and the component 3.
The device further comprises a display unit, wherein the display unit is specifically used for:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a screen area where a user is operating a lock according to an embodiment of the present invention.
As shown in fig. 8, when there is a TIB responder object in the screen area operated by the user, the screen area locked by the user in operation is displayed in a dot or icon or text manner.
As another alternative embodiment, the apparatus further comprises:
and the sending subunit is configured to send, when the TIB responder object is not included in the responder object corresponding to the coordinates, an instruction corresponding to an operation in which the user touches the screen to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
Optionally, the apparatus further includes a deleting unit, where the deleting unit is specifically configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
Specifically, in the software system, a function of deleting a TIB responder object is preset, and displayed as a key on a screen, and when a user triggers the key, an instruction of deleting the TIB responder object is triggered.
Or, in a hardware system, a hardware switch is provided, and when a user triggers the switch, a closing request is sent to the TIB responder object, so that the purpose of deleting the TIB responder object is also achieved.
Optionally, the apparatus further comprises a touch screen controller, the touch screen controller performing saving of coordinates of a closed region corresponding to the TIB responder object;
obtaining coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
Specifically, referring to fig. 9, fig. 9 is a schematic diagram of a manner of locking a screen according to an embodiment of the present invention.
As shown in fig. 9, the touch screen controller stores the range of the TIB responder object role, and when the screen area operated by the user is not within the range of the TIB responder object role, the touch screen controller issues an instruction of operating the screen triggered by the user to the software system.
The embodiment of the invention provides a device for locking a screen, which responds to the operation that a user triggers and creates an invalid touch area of the screen, responds to the operation that the user defines one or more closed areas on the screen, and creates a TIB responder object in the closed area, so that the user can select one or more areas to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; when the responder object corresponding to the coordinates comprises the TIB responder object, the instruction corresponding to the operation of touching the screen by the user is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
Referring to fig. 12, fig. 12 is a device structure diagram of a terminal device according to an embodiment of the present invention. Referring to fig. 12, fig. 12 is a terminal device 1200 according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the terminal device. The terminal apparatus 1200 includes:
a processor (processor)1201, a communication interface 1202, a memory 1203, and a bus 1204.
The processor 1201, the communication interface 1202, and the memory 1203 communicate with each other via the bus 1204.
A communication interface 1202 for communicating with other devices;
a processor 1201 for executing a program.
In particular, the program may include program code comprising computer operating instructions.
The processor 1201 may be a central processing unit CPU or an application specific integrated circuit asic or one or more integrated circuits configured to implement embodiments of the present invention.
A memory 1203 is used for storing the program. The memory 1203 may include a high-speed RAM memory and may also include a non-volatile memory (non-volatile memory). The procedure is specifically used for:
in response to an operation of a user for triggering and creating an invalid touch area of a screen, creating a responder object on the screen content, wherein the responder object is used for creating a touch-screen-isolated board TIB responder object, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object;
in response to an operation of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area, and saving coordinates of the closed area corresponding to the TIB responder object;
responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates comprises the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object.
The method further comprises the following steps:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
After the step of responding to the operation of touching the screen by the user, acquiring the coordinates and the action type corresponding to the operation, and calculating the responder object corresponding to the coordinates, the method further comprises the following steps:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
The method further comprises the following steps:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
The saving of the coordinates of the closed region corresponding to the TIB responder object includes:
the touch screen controller saves the coordinates of the closed area corresponding to the TIB responder object;
the method further includes, after the step of responding to an operation of a user touching the screen:
the touch screen controller acquires coordinates and action types corresponding to the operation, and calculates a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
The method further comprises the following steps:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
The method further comprises the following steps:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
The operation of enclosing one or more closed areas on the screen in response to a user comprises:
in response to an operation of a user to define a closed region by a finger, or in response to an operation of a user to define a closed region by a method of drawing a cross line on the screen, upper and left regions of the cross line are previously set as regions of the lock screen.
The embodiment of the invention provides a method for locking a screen, which responds to the operation that a user triggers and creates an invalid touch area of the screen, responds to the operation that the user defines one or more closed areas on the screen, and creates a TIB responder object in the closed area, so that the user can select one or more areas to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; when the responder object corresponding to the coordinates comprises the TIB responder object, the instruction corresponding to the operation of touching the screen by the user is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
Fig. 13 and fig. 13 are schematic structural diagrams of a terminal device according to an embodiment of the present invention. As shown in fig. 13, this embodiment further provides a terminal device, which may be specifically a portable, pocket, handheld, computer-embedded or vehicle-mounted device with a touch screen, and may be specifically a mobile phone, a tablet computer, a notebook computer, a Personal Digital Assistant (PDA), a GPRS navigation device, and the like, for example, it should be understood that the terminal device of the embodiment of the present invention includes a touch screen component.
Specifically, the terminal device 130 in this embodiment includes a device screen 1301 and a processing module 1302, and the processing module 1302 is connected to the device screen 1301.
The device screen 1301 is used for displaying a screen state of the terminal device before being locked, a screen state of the terminal device in a locking process, or a screen state of the terminal device after being locked; the equipment screen is also used for sensing the operation of a user on the screen of the equipment and sending response signals to the processing module, wherein the response signals at least comprise a response signal for triggering the creation of an invalid touch area of the screen by the user, a response signal for defining one or more closed areas on the screen by the user and a response signal for the operation of touching the screen by the user;
the processing module 1302 is configured to receive a response signal sent by the device screen 1301 when a user triggers creation of a screen invalid touch area, create a responder object on the screen 1301, where the responder object is used to create a touch barrier TIB responder object, and the TIB responder object is used to lock a screen area corresponding to the TIB responder object; the closed area control module is used for receiving a response signal of a user for defining one or more closed areas on the screen 1301, creating a TIB responder object in the closed area, and storing the coordinates of the closed area corresponding to the TIB responder object; the method and the device are used for receiving a response signal of an operation of touching the screen 1301 by a user, obtaining a coordinate and an action type corresponding to the operation, calculating a responder object corresponding to the coordinate, and sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object when the responder object corresponding to the coordinate comprises the TIB responder object.
Optionally, the processing module 1302 is further configured to:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
Optionally, the processing module 1302 is further configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
Optionally, the processing module 1302 is further configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
The embodiment of the invention provides terminal equipment, which responds to the operation that a user triggers and creates an invalid touch area of a screen, responds to the operation that the user defines one or more closed areas on the screen, and creates a TIB responder object in the closed area, so that the user can select one or more areas to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; when the responder object corresponding to the coordinates comprises the TIB responder object, the instruction corresponding to the operation of touching the screen by the user is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 14, fig. 14 shows a specific embodiment of a terminal device, in which the terminal device 140 includes a transmitting circuit 1402, a receiving circuit 1403, a power controller 1404, a processor 1406, a memory 1407 and an antenna 1401. Processor 1406 controls the operation of terminal device 140. Memory 1407 may include both read-only memory and random access memory and provides instructions and data to processor 1406. A portion of the memory 1407 may also include non-volatile row random access memory (NVRAM). In particular applications, the end device 140 may be embedded in or may itself be a wireless communication device, such as a mobile telephone, and may further include a carrier that houses the transmit circuit 1402 and the receive circuit 1403 to allow data transmission and reception between the end device 140 and a remote location. The transmit circuitry 1402 and receive circuitry 1403 may be coupled to an antenna 1401. The various components of the end device 140 are coupled together by a bus system 3100, wherein the bus system 3100 includes, in addition to a data bus, a power bus, a control bus, and a status signal bus. For clarity of illustration, however, the various buses are labeled in the figure as bus system 3100. Terminal device 140 may also include a decoding processor 1405.
The method disclosed in the foregoing embodiment of the present invention may be applied to the processor 1406, or implemented by the processor 1406, and the terminal device in the foregoing embodiment of the present invention may be specifically implemented by the terminal device shown in fig. 14, and the processing module in the terminal device may be understood as the processor 1406 in the terminal device in fig. 14. The processor 1406 may be an integrated circuit chip having instruction and data execution capabilities, as well as signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1406. The processor described above may be a general purpose processor (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1407, and the processor reads the information in the memory 1407 and performs the steps of the method in combination with the hardware.
The embodiment of the invention provides terminal equipment, which responds to the operation that a user triggers and creates an invalid touch area of a screen, responds to the operation that the user defines one or more closed areas on the screen, and creates a TIB responder object in the closed area, so that the user can select one or more areas to be locked on the screen; saving the coordinates of the closed region corresponding to the TIB responder object; responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates; when the responder object corresponding to the coordinates comprises the TIB responder object, the instruction corresponding to the operation of touching the screen by the user is sent to the TIB responder object, so that the region to be locked selected by the user does not process the operation of the user, and the aim of flexibly setting one or more invalid touch regions according to the requirements of the user is fulfilled.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (18)
1. A method of locking a screen, the method comprising:
in response to an operation of a user for triggering and creating an invalid touch area of a screen, creating a responder object on the screen content, wherein the responder object is used for creating a touch-screen-isolated board TIB responder object, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object;
in response to an operation of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area, and saving coordinates of the closed area corresponding to the TIB responder object; the operation of enclosing one or more closed areas on the screen in response to a user comprises:
in response to an operation of a user to define a closed region by a finger or an operation of a user to define a closed region by a method of drawing a cross line on the screen, upper and left regions of the cross line are previously set as regions of a lock screen;
responding to the operation of a user touching a screen, acquiring coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates comprises the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object.
2. The method of claim 1, further comprising:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
3. The method according to claim 1 or 2, wherein after the step of acquiring coordinates and action types corresponding to the operation in response to the operation of touching the screen by the user, and calculating a responder object corresponding to the coordinates, the method further comprises:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
5. The method of claim 1 or 2, wherein saving the coordinates of the enclosed region corresponding to the TIB responder object comprises:
the touch screen controller saves the coordinates of the closed area corresponding to the TIB responder object;
the method further includes, after the step of responding to an operation of a user touching the screen:
the touch screen controller acquires coordinates and action types corresponding to the operation, and calculates a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
7. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
8. An apparatus for locking a screen, the apparatus comprising:
a first response unit, configured to, in response to an operation of a user triggering creation of a screen invalid touch area, create a responder object on the screen content, where the responder object is used to create a touch barrier TIB responder object, and the TIB responder object is used to lock a screen area corresponding to the TIB responder object;
a second response unit, configured to, in response to an operation of a user to define one or more closed areas on the screen, create a TIB responder object in the closed area, and save coordinates of the closed area corresponding to the TIB responder object; the second response unit performs an operation of defining a closed region by a finger in response to a user or an operation of defining a closed region by a method of drawing a cross line on the screen, the upper and left regions of the cross line being previously set as regions of the lock screen;
the third response unit is used for responding to the operation of a user touching the screen, acquiring the coordinate and the action type corresponding to the operation, and calculating the responder object corresponding to the coordinate;
and the sending unit is used for sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object when the TIB responder object is included in the responder object corresponding to the coordinates.
9. The apparatus of claim 8, further comprising:
and the sending subunit is configured to send, when the TIB responder object is not included in the responder object corresponding to the coordinates, an instruction corresponding to an operation in which the user touches the screen to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
10. The apparatus according to claim 8 or 9, further comprising an adjustment unit, the adjustment unit being specifically configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
11. The apparatus according to claim 8 or 9, wherein the apparatus further comprises a deletion unit, the deletion unit being specifically configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
12. The apparatus of claim 8 or 9, further comprising a touch screen controller that performs saving coordinates of an enclosed region corresponding to the TIB responder object;
obtaining coordinates and action types corresponding to the operation, and calculating a responder object corresponding to the coordinates;
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, the touch screen controller sends an instruction corresponding to the operation of touching the screen by the user to the responder object for processing.
13. The apparatus according to claim 8 or 9, wherein the apparatus further comprises an identification unit, the identification unit being specifically configured to:
and the screen area corresponding to the TIB responder object is identified in a semi-transparent display mode.
14. The device according to claim 8 or 9, further comprising a display unit, the display unit being specifically configured to:
and when the responder object corresponding to the coordinates comprises the TIB responder object, displaying the screen area locked by the user in the operation mode in a screen area corresponding to the coordinates in a dot or icon or text mode.
15. A terminal device, comprising a device screen and a processing module, the processing module being connected to the device screen, wherein:
the device screen is used for displaying the screen state of the terminal device before locking, the screen state of the terminal device in the locking process or the screen state of the terminal device after locking; the equipment screen is also used for sensing the operation of a user on the screen of the equipment and sending response signals to the processing module, wherein the response signals at least comprise a response signal for triggering the creation of an invalid touch area of the screen by the user, a response signal for defining one or more closed areas on the screen by the user and a response signal for the operation of touching the screen by the user;
the processing module is used for receiving a response signal which is sent by the equipment screen and used for triggering the creation of an invalid touch area of the screen by a user, and creating a responder object on the screen content, wherein the responder object is used for creating a TIB responder object of a touch isolation board, and the TIB responder object is used for locking a screen area corresponding to the TIB responder object; the system comprises a screen, a closed area and a plurality of closed areas, wherein the closed area is used for receiving response signals of a user for defining one or more closed areas on the screen, creating a TIB responder object in the closed area and storing coordinates of the closed area corresponding to the TIB responder object, and specifically, the closed area is used for receiving response signals sent by the user through an operation of defining the closed area by fingers, or receiving response signals sent by the user through an operation of defining the closed area by a method of drawing a cross line on the screen, and the areas above and to the left of the cross line are preset as areas for locking the screen; the system comprises a TIB responder object and a response signal, wherein the TIB responder object is used for receiving a response signal of an operation of touching a screen by a user, acquiring a coordinate and an action type corresponding to the operation, calculating the responder object corresponding to the coordinate, and sending an instruction corresponding to the operation of touching the screen by the user to the TIB responder object when the responder object corresponding to the coordinate comprises the TIB responder object.
16. The terminal device of claim 15, wherein the processing module is further configured to:
and when the responder object corresponding to the coordinates does not comprise the TIB responder object, sending an instruction corresponding to the operation of touching the screen by the user to the responder object, so that the screen is operated according to the coordinates and the action type corresponding to the operation.
17. The terminal device according to claim 15 or 16, wherein the processing module is further configured to:
and when the coordinates of the touch start instruction in the operation are positioned at the edge of the TIB responder object, adjusting the size of a screen area acted by the TIB responder object according to the coordinates of the contact point movement instruction in the instruction of the user triggering operation screen.
18. The terminal device according to claim 15 or 16, wherein the processing module is further configured to:
responding to an operation that a user triggers a key for deleting a TIB responder object, and deleting the TIB responder object corresponding to the key, wherein the key for deleting the TIB responder object is a preset key for deleting the TIB responder object; or,
and in response to an instruction for deleting the TIB responder object triggered by the user, deleting the TIB responder object corresponding to the instruction for deleting the TIB responder object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310157670.XA CN103268197B (en) | 2013-04-28 | 2013-04-28 | A kind of method of lock-screen, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310157670.XA CN103268197B (en) | 2013-04-28 | 2013-04-28 | A kind of method of lock-screen, device and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103268197A CN103268197A (en) | 2013-08-28 |
CN103268197B true CN103268197B (en) | 2016-03-02 |
Family
ID=49011832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310157670.XA Active CN103268197B (en) | 2013-04-28 | 2013-04-28 | A kind of method of lock-screen, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103268197B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423866B (en) * | 2013-09-02 | 2018-08-10 | 联想(北京)有限公司 | A kind of control method based on touch screen and the electric terminal for having touch screen |
CN103685744B (en) * | 2013-12-06 | 2016-01-13 | 宇龙计算机通信科技(深圳)有限公司 | A kind of UI element of application interface can not click method to set up and system |
CN105653080A (en) * | 2014-12-03 | 2016-06-08 | 天津富纳源创科技有限公司 | Touch control apparatus |
EP3674857B1 (en) * | 2015-03-19 | 2022-04-20 | Huawei Technologies Co., Ltd. | Touch event processing method and apparatus, and terminal device |
CN106101418A (en) * | 2016-06-14 | 2016-11-09 | 维沃移动通信有限公司 | Media play locking means and mobile terminal thereof |
CN108700990B (en) * | 2016-10-31 | 2020-10-27 | 华为技术有限公司 | Screen locking method, terminal and screen locking device |
CN107219984B (en) * | 2017-05-26 | 2019-01-22 | 维沃移动通信有限公司 | A kind of document content management method and mobile terminal |
US11048907B2 (en) * | 2017-09-22 | 2021-06-29 | Pix Art Imaging Inc. | Object tracking method and object tracking system |
CN108845743A (en) * | 2018-06-25 | 2018-11-20 | 卡拉捷物流科技泗阳有限公司 | The gestural control method of smart machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402661A (en) * | 2010-10-04 | 2012-04-04 | 微软公司 | Multiple-access-level lock screen |
CN102419687A (en) * | 2010-09-27 | 2012-04-18 | Lg电子株式会社 | Method of setting a touch-insensitive area in a mobile terminal with a touch screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2480957B1 (en) * | 2009-09-22 | 2017-08-09 | Apple Inc. | Device, method, and graphical user interface for manipulating user interface objects |
-
2013
- 2013-04-28 CN CN201310157670.XA patent/CN103268197B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102419687A (en) * | 2010-09-27 | 2012-04-18 | Lg电子株式会社 | Method of setting a touch-insensitive area in a mobile terminal with a touch screen |
CN102402661A (en) * | 2010-10-04 | 2012-04-04 | 微软公司 | Multiple-access-level lock screen |
Also Published As
Publication number | Publication date |
---|---|
CN103268197A (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103268197B (en) | A kind of method of lock-screen, device and terminal device | |
EP3336678A1 (en) | Method and electronic device for preventing touch button from being false triggered | |
KR102010955B1 (en) | Method for controlling preview of picture taken in camera and mobile terminal implementing the same | |
JP5105127B2 (en) | Portable terminal, its key operation control method and program | |
EP2854010B1 (en) | Method and apparatus for displaying messages | |
EP3336679B1 (en) | Method and terminal for preventing unintentional triggering of a touch key and storage medium | |
EP3136214A1 (en) | Touch operation method and apparatus for terminal | |
WO2018107896A1 (en) | Method and device for preventing false touch on split screen, mobile terminal, and storage medium | |
EP2533146A2 (en) | Apparatus and method for providing web browser interface using gesture in device | |
CN106933682A (en) | The method and terminal of Message Processing | |
WO2019000287A1 (en) | Icon display method and device | |
KR101251761B1 (en) | Method for Data Transferring Between Applications and Terminal Apparatus Using the Method | |
CN106126034B (en) | A kind of keypress function setting method and mobile terminal | |
CN107450799B (en) | Message display method and mobile terminal | |
KR102206053B1 (en) | Apparatas and method for changing a input mode according to input method in an electronic device | |
CN103389863A (en) | Display control method and device | |
CN106445328B (en) | Unlocking method of mobile terminal screen and mobile terminal | |
EP4057137A1 (en) | Display control method and terminal device | |
KR20200051768A (en) | Task switching method and terminal | |
CN106020698A (en) | Mobile terminal and realization method of single-hand mode | |
US20160147313A1 (en) | Mobile Terminal and Display Orientation Control Method | |
KR20170119711A (en) | Operation method applied to terminal device and terminal device | |
CN108846271B (en) | Device control method, device, storage medium and electronic device | |
CN111078108A (en) | Screen display method and device, storage medium and mobile terminal | |
CN106372076B (en) | Method and device for switching web pages in browser |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |