WO2017190402A1 - Method and device for unlocking terminal screen - Google Patents

Method and device for unlocking terminal screen Download PDF

Info

Publication number
WO2017190402A1
WO2017190402A1 PCT/CN2016/085483 CN2016085483W WO2017190402A1 WO 2017190402 A1 WO2017190402 A1 WO 2017190402A1 CN 2016085483 W CN2016085483 W CN 2016085483W WO 2017190402 A1 WO2017190402 A1 WO 2017190402A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
pressure
information
coordinate data
lock
Prior art date
Application number
PCT/CN2016/085483
Other languages
French (fr)
Chinese (zh)
Inventor
李文郁
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017190402A1 publication Critical patent/WO2017190402A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Definitions

  • the present application relates to, but is not limited to, terminal device technology, and in particular, to a method and apparatus for unlocking a terminal screen.
  • the smart phone that realizes human-computer interaction operation by using the touch screen mode has become the mainstream of the market, and the process of unlocking the screen through the touch action of the touch screen is a typical human-computer interaction operation.
  • touch screens mainly include resistive screens, capacitive screens, piezoelectric touch screens, surface acoustic wave screens, infrared screens, etc.
  • resistive screens and capacitive screens are most widely used on smart phones.
  • This touch screen utilizes touch points and screens on the screen. The change of current and voltage is formed to calculate the position coordinates of the touched point for the user to operate.
  • unlocking scheme of the related touch screen it is generally determined whether to unlock the screen by determining whether the touch motion track on the screen satisfies a predetermined unlocking condition. However, there is no corresponding unlocking scheme for the pressure touch screen.
  • Embodiments of the present invention provide a method and apparatus for unlocking a screen of a terminal to provide an unlocking method suitable for a pressure type touch screen.
  • a method for unlocking a screen of a terminal comprising:
  • the pressure information is calculated and the calculation results are mapped on the pressure screen to one or more visual force regions.
  • the pressure information includes: coordinate information, size information, direction information, and duration information.
  • the calculating the pressure information and mapping the calculation result on the pressure screen to one or more visual force regions includes:
  • mapping the first coordinate data on the pressure screen to one of the visual force receiving regions comprises:
  • the method further includes: reading the identifier bit data of the current lock screen state before displaying the one or more areas to be stressed on the pressure screen, and determining, according to the identifier bit data, the current pressure screen current Whether it is in the lock screen state.
  • the method further includes: after unlocking the pressure screen, clearing the stored calculation result, and setting the identification bit data to a non-lock screen state.
  • a device for unlocking a screen of a terminal comprising:
  • the display module is configured to display one or more areas to be stressed on the pressure screen when the pressure screen is in the lock screen state.
  • the obtaining module is configured to acquire pressure information of the user pressing received by the pressure screen.
  • a calculation module is configured to calculate the pressure information and map the calculation result on the pressure screen to one or more visual force regions.
  • the unlocking module is configured to unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more areas to be stressed.
  • the pressure information includes: coordinate information, size information, direction information, and duration information.
  • the calculating module calculates the pressure information, and mapping the calculation result on the pressure screen to the one or more visual stress regions includes:
  • mapping the first coordinate data on the pressure screen to one of the visual force receiving regions comprises:
  • the obtaining module is further configured to:
  • the display module Before the display module displays one or more areas to be stressed on the pressure screen, reading the identification bit data of the current lock screen state, and determining, according to the identifier bit data, whether the pressure screen is currently in the lock Screen status.
  • the unlocking module is further configured to:
  • the stored calculation result is cleared, and the identification bit data is set to a non-lock screen state.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of unlocking a terminal screen.
  • the method and device for unlocking the screen of the terminal provided by the embodiment of the present invention, when the pressure screen is in the lock screen state, displaying one or more areas to be stressed on the pressure screen; and acquiring the user pressed by the pressure screen Pressure information; calculating the pressure information, and mapping the calculation result on the pressure screen to one or more visual force receiving regions; determining that the one or more visual force regions completely cover the one or When the plurality of regions are to be subjected to the force, the pressure screen is unlocked; the embodiment of the invention maps the pressure information received by the pressure screen to one or more visual force regions on the screen, and visualizes according to the change of the pressure information.
  • the display of the force-receiving area may also change, and the user's current pressure information can be intuitively and conveniently displayed, and whether the unlocking condition is satisfied and the lock screen state is unlocked or maintained, thereby unlocking the pressure type touch screen.
  • FIG. 1 is a flowchart of a method for releasing a screen lock of a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of determining a circular or elliptical region by coordinates of three points O, A, and B on a plane according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of area merging according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a to-be-stressed area displayed on a pressure screen when a terminal enters a lock screen state according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a visual force receiving area of a first set of coordinate data mapping displayed on a pressure screen according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a visual force receiving area of a second set of coordinate data mapping displayed on a pressure screen according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a visual force receiving area of a two-force combined mapping displayed on a pressure screen according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of the unlocked display on the pressure screen according to the embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for unlocking a screen of a terminal according to an embodiment of the present invention.
  • Force Touch which refers to the generation and change of induced pressure, realizes the change of electrical data, and then generates instructions through electrical data, and finally reaches the process of indirectly implementing instructions through pressure.
  • the pressure change received by the pressure screen is converted into a change of the visual information on the pressure screen such as a graphic and transmitted to the user, and the user further judges the operation, thereby realizing Unlock the screen for this human-computer interaction process.
  • the terminal device is equipped with a screen supporting pressure touch, which is simply referred to as a pressure screen, which is used to sense the coordinates of the pressure applied by the screen, the magnitude of the force, the direction of the force, the duration of the force, etc. Information; and the pressure of the pressure screen described in the embodiments of the present invention needs to be controlled within the maximum pressure range that it supports without being damaged.
  • the pressure information received by the pressure screen is mapped to one or more visually stressed areas on the screen.
  • the display of the visual force area may also change, and the current pressure information of the user and the unlocking condition may be promptly and conveniently displayed to unlock or maintain the lock screen state, thereby completing the unlocking of the pressure screen.
  • the pressure screen is only subjected to pressure applied by the user at one point each time, and after pressure is applied to the pressure screen a plurality of times, the unlocking condition is finally satisfied by calculation to finally unlock the screen.
  • the scene in actual use may be more complicated.
  • the pressure point of the pressure screen may be one or more at a time; for example, there are multiple stress points on the pressure screen, and the screen can be subjected to multiple pressures at the same time.
  • the scene is equivalent to a scene in which the screen is subjected to a pressure every time and is subjected to multiple times, that is, equivalent to the scene described in the embodiment of the present invention, and the plurality of pieces of pressure information data can still be implemented according to the principle of the example of the present invention. Calculate, merge, map.
  • FIG. 1 is a flowchart of a method for releasing a screen lock of a terminal according to an embodiment of the present invention. As shown in FIG. 1 , the method provided in this embodiment may be performed by a terminal device configured with a pressure touch screen, and the method provided in this embodiment includes steps 101-104:
  • Step 101 When the pressure screen is in a lock screen state, one or more areas to be stressed are displayed on the pressure screen.
  • the terminal device Before the step, the terminal device first reads the identifier bit data of the current lock screen state, and determines whether the pressure screen is currently in the lock screen state according to the identifier bit data, and performs execution when determining that the pressure screen is in the lock screen state. This step.
  • Step 102 Acquire pressure information of a user press received by the pressure screen.
  • the pressure information includes: coordinate information (x, y), size information p, direction information a, and duration information t.
  • Step 103 Calculate the pressure information, and map the calculation result on the pressure screen to one or more visual force receiving regions.
  • calculating the pressure information, and mapping the calculation result to the one or more visual force receiving regions on the pressure screen comprises: calculating the pressure information to obtain first coordinate data, and The first coordinate data is mapped on the pressure screen as a first visual force receiving area; the second visualization of mapping the first visual force receiving area of the first coordinate data mapping with the stored second coordinate data The logical region is calculated by the force region, and the third visualization after calculation is obtained. a force receiving area; storing the calculation result, and mapping the calculated third visual force receiving area on the pressure screen to the one or more visual force receiving areas.
  • the calculation result is the first coordinate data
  • the one or The plurality of visual force receiving regions are regions on which the first coordinate data is mapped on the pressure screen; the calculation result, that is, the first coordinate data is stored.
  • the data calculated according to the pressure information obtained by the user pressing the pressure screen for the second time can be regarded as the first coordinate data, and according to the user
  • the coordinate data calculated by pressing the pressure information obtained by the pressure screen at a time, that is, the stored calculation result can be regarded as the second coordinate data described in this embodiment, and in this step, the first The coordinate data is subjected to an AND operation with the stored second coordinate data, and the obtained calculation result is stored, and mapped to the one or more visual force receiving regions on the pressure screen.
  • an elliptical region can be composed of 3 points.
  • the coordinates are determined: the origin O, the long semi-axis end A, and the short semi-axis end B.
  • the ellipse is a circle.
  • XO, YO represent the X-axis coordinate and the Y-axis coordinate of point O, respectively;
  • XA, YA represent the X-axis coordinate and the Y-axis coordinate of point A, respectively;
  • XB and YB respectively represent the X-axis coordinate and the Y-axis coordinate of point B;
  • XO and YO are known as the X-axis coordinate and the Y-axis coordinate of point O.
  • FIG. 2 is a schematic diagram of determining a circular or elliptical region by coordinates of three points O, A, and B on a plane.
  • the coordinates O(X, Y), A(X, Y), B(X, Y) of the three points O, A, and B can be calculated by the given algorithm formulas f1, f2, and f3. :
  • the coordinates of these three points will determine a circular or elliptical area, that is, a set of data O(X, Y), A(X, Y) generated by the calculation of the force information x, y, p, a, t. B (X, Y) is mapped to a visual force area displayed on the screen. This area can be called Area1 to determine whether the area meets the unlock condition.
  • FIG. 3 is a schematic diagram of region merging.
  • Step 104 Unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more to-be-stressed regions.
  • the stored calculation result is cleared, and the identifier bit data is set to a non-lock screen state.
  • the terminal device reads the identification bit data of the current lock screen state, and determines whether the screen lock screen state is currently; if the screen lock screen state is currently, one or more areas to be stressed are displayed on the screen; and the screen is detected.
  • the pressure information of the secondary stress is not limited to
  • FIG. 4 is a schematic diagram of a region to be stressed displayed on the pressure screen when the terminal enters the lock screen state, as shown in FIG. 4, at this time, a hexagonal area to be subjected to force is displayed on the pressure screen, and the screen is not subjected to any pressure. If the force area of the screen completely covers this hexagonal area after this, the unlocking condition is satisfied.
  • the pressure information received each time including the coordinates of the force point, the magnitude of the force, the direction of the force, the duration of the force, etc., are calculated and converted into a set of coordinate data, which will be mapped to one or more on the screen.
  • the visual force area is displayed; then the set of coordinate data and the already stored set of coordinate data are combined to generate a new set of coordinate data, and the new set of coordinate data is mapped to one or more new ones on the screen.
  • the visual force area is displayed.
  • FIG. 5 is a schematic diagram of a visual force-receiving area of the first set of coordinate data maps displayed on the pressure screen. After the pressure information is calculated, the map is displayed as an elliptical area on the pressure screen; it is determined that the force-receiving area is not The hexagonal area to be stressed is completely covered, and the unlocking condition is not satisfied, so it is not unlocked.
  • the new coordinate data after the combined calculation is still the coordinate data corresponding to the pressure information of the current group, and the newly visualized force region mapped after the combined calculation is still the pressure.
  • a set of new coordinate data generated after the combined calculation is stored, and according to the new set of coordinate data, refreshing and displaying the stressed area and the area to be stressed mapped after each force are used to prompt the user of the current pressure information and whether Meet the unlock conditions.
  • Determining whether the new set of coordinate data satisfies the unlocking condition that is, comparing the stressed area with the area to be stressed, determining whether the stressed area completely covers the area to be stressed; if the unlocking condition has been met, the force is already applied If the area completely covers the area to be stressed, clear the display of all the stressed area and the area to be stressed, refresh the screen display to unlock, and clear the group generated by this combined calculation. New coordinate data and position the lock screen status as non-lock screen.
  • FIG. 6 is a schematic diagram of a visual force-receiving area of the second set of coordinate data maps displayed on the pressure screen. After the current pressure information is calculated, it is mapped to a larger elliptical area and displayed on the pressure screen.
  • Figure 7 is a schematic diagram of the visual force area of the two forces combined display displayed on the pressure screen.
  • the first two pressure information are mapped to a visualized area and displayed on the screen after the combined calculation.
  • the force areas are combined to completely cover the hexagonal area to be stressed.
  • the unlocking condition is met, the display of all the stressed areas and the area to be stressed is cleared, and the screen display is unlocked; the unlocked pressure screen is shown in Figure 8. Show.
  • the method for releasing the screen lock of the terminal provided by the embodiment can implement unlocking of the pressure touch screen.
  • FIG. 9 is a schematic structural diagram of an apparatus for unlocking a screen of a terminal according to an embodiment of the present invention.
  • the apparatus for releasing the screen lock of the terminal provided by the embodiment may include: a display module 11, an obtaining module 12, a calculating module 13, and an unlocking module 14.
  • the display module 11 is configured to display one or more areas to be stressed on the pressure screen when the pressure screen is in the lock screen state.
  • the obtaining module 12 is configured to acquire pressure information of the user press received by the pressure screen.
  • the calculation module 13 is configured to calculate the pressure information and map the calculation result on the pressure screen to one or more visual force regions.
  • the unlocking module 14 is configured to unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more areas to be stressed.
  • the pressure information includes: coordinate information, size information, direction information, and duration information.
  • the calculating module 13 calculates the pressure information, and mapping the calculation result on the pressure screen into one or more visual force receiving regions includes: calculating the pressure information to obtain first coordinate data, and Mapping the first coordinate data on the pressure screen as a first visual force receiving area; mapping the first visualized force area mapped by the first coordinate data with the stored second coordinate data Visualize the force area to perform logical AND operations, and get the third calculated Visualizing the stressed area; storing the calculated third visualized force area, and mapping the calculated third visualized force area on the pressure screen to the one or more visual force receiving areas.
  • the calculating module 13 mapping the first coordinate data on the pressure screen into one of the visual force receiving regions comprises: mapping the first coordinate data to the pressure screen according to a first function
  • the obtaining module 12 is further configured to: before the display module displays one or more areas to be stressed on the pressure screen, read the identifier bit data of the current lock screen state, according to the identifier The bit data determines whether the pressure screen is currently in the lock screen state.
  • the unlocking module 14 is further configured to: after the pressure screen is unlocked, clear the stored calculation result, and set the identification bit data to a non-lock screen state.
  • the device for unlocking the screen of the terminal provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the display module 11, the acquisition module 12, the calculation module 13 and the unlocking module 14 may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (located on a device that unlocks the screen of the terminal). DSP) or field programmable gate array (FPGA) and other devices.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of unlocking a terminal screen.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, embodiments of the present invention may employ hardware embodiments, software embodiments, or Combines the form of an embodiment of the software and hardware aspects. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • a device that is configured to implement the functions specified in a flow or a flow or a block or a block in a block.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps that are set to implement the functions specified in one or more of the flow or in a block or blocks of the flowchart.
  • the display of the visual force receiving area may also change, and the prompting may be intuitive and convenient.

Landscapes

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

Abstract

Provided are a method and device for unlocking a terminal screen. The method comprises: when a pressure screen is in a screen locked state, displaying one or more areas to be stressed on the pressure screen; acquiring pressure information about a user press received by the pressure screen; calculating the pressure information, and mapping a calculation result into one or more visible stressed areas on the pressure screen; and when it is determined that the one or more visible stressed areas completely cover the one or more areas to be stressed, unlocking the pressure screen.

Description

一种解除终端屏幕锁定的方法及装置Method and device for unlocking terminal screen 技术领域Technical field
本申请涉及但不限于终端设备技术,尤其涉及一种解除终端屏幕锁定的方法及装置。The present application relates to, but is not limited to, terminal device technology, and in particular, to a method and apparatus for unlocking a terminal screen.
背景技术Background technique
目前采用触摸屏幕方式实现人机交互操作的智能手机已经成为市场主流,通过对触摸屏的触摸动作进行屏幕的解锁过程即是一种典型的人机交互操作。At present, the smart phone that realizes human-computer interaction operation by using the touch screen mode has become the mainstream of the market, and the process of unlocking the screen through the touch action of the touch screen is a typical human-computer interaction operation.
相关的触摸屏主要包括电阻屏、电容屏、压电式触摸屏、表面声波屏、红外线屏等,尤其是电阻屏、电容屏在智能手机上应用最为广泛,这种触摸屏是利用屏幕上触摸点和屏幕之间形成电流、电压的变化进行计算得到触摸点的位置坐标以供用户操作。Related touch screens mainly include resistive screens, capacitive screens, piezoelectric touch screens, surface acoustic wave screens, infrared screens, etc. In particular, resistive screens and capacitive screens are most widely used on smart phones. This touch screen utilizes touch points and screens on the screen. The change of current and voltage is formed to calculate the position coordinates of the touched point for the user to operate.
针对上述相关的触摸屏的解锁方案,通常是通过判断屏幕上的触摸运动轨迹是否满足预定的解锁条件,来决定是否解锁屏幕。但针对压力式触摸屏还没有相应的解锁方案。For the unlocking scheme of the related touch screen described above, it is generally determined whether to unlock the screen by determining whether the touch motion track on the screen satisfies a predetermined unlocking condition. However, there is no corresponding unlocking scheme for the pressure touch screen.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种解除终端屏幕锁定的方法及装置,以提供一种适用于压力式触摸屏的解锁方法。Embodiments of the present invention provide a method and apparatus for unlocking a screen of a terminal to provide an unlocking method suitable for a pressure type touch screen.
一种解除终端屏幕锁定的方法,所述方法包括:A method for unlocking a screen of a terminal, the method comprising:
在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域。When the pressure screen is in the lock screen state, one or more areas to be stressed are displayed on the pressure screen.
获取所述压力屏接收的用户按压的压力信息。Obtaining pressure information of the user press received by the pressure screen.
对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域。The pressure information is calculated and the calculation results are mapped on the pressure screen to one or more visual force regions.
在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力 区域时,解锁所述压力屏。Determining that the one or more visual force receiving regions completely cover the one or more to-be-stressed When the area is unlocked, the pressure screen is unlocked.
可选地,所述压力信息包括:坐标信息、大小信息、方向信息以及持续时间信息。Optionally, the pressure information includes: coordinate information, size information, direction information, and duration information.
可选地,所述对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:Optionally, the calculating the pressure information and mapping the calculation result on the pressure screen to one or more visual force regions includes:
对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;Calculating the pressure information to obtain first coordinate data, and mapping the first coordinate data on the pressure screen as a first visual force receiving area;
将所述第一坐标数据映射的第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三可视化受力区域;Performing a logical AND operation on the first visualized force region mapped by the first coordinate data map and the second visualized force region mapped on the stored second coordinate data to obtain a calculated third visualized force receiving region;
存储所述计算后的第三可视化受力区域,并将所述计算后的第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。And storing the calculated third visualization force region, and mapping the calculated third visualization force region on the pressure screen to the one or more visual force regions.
可选地,所述将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域包括:Optionally, the mapping the first coordinate data on the pressure screen to one of the visual force receiving regions comprises:
根据第一函数将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域;Mapping the first coordinate data on the pressure screen to one of the visual force receiving regions according to a first function;
其中,所述第一函数包括:[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0;Wherein, the first function comprises: [(x - XO) cos θ + (y - YO) sin θ] 2 / a 2 + [(y-YO) cos θ - (x - XO) sin θ] 2 / b 2 =0 ;
所述第一坐标数据包括点O(XO,YO)、点A(XA,YA)、点B(XB,YB),θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),a为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2;点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点。The first coordinate data includes a point O(XO, YO), a point A (XA, YA), and a point B (XB, YB), where θ is an angle formed by a long-axis direction vector and an X-axis, and tan θ=(YA -YO)/(XA-XO), a is the ellipse length of the ellipse, a=√(XA-XO)+(YA-YO) 2 , b is the short semi-axis length of the ellipse, b=√(XB-XO) +(YB-YO) 2 ; Point O is the origin of the ellipse, point A is the long semi-axis end point of the ellipse, and point B is the short semi-axis end point of the ellipse.
可选地,所述方法还包括:在所述压力屏上显示一个或多个待受力区域之前,读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态。Optionally, the method further includes: reading the identifier bit data of the current lock screen state before displaying the one or more areas to be stressed on the pressure screen, and determining, according to the identifier bit data, the current pressure screen current Whether it is in the lock screen state.
可选地,所述方法还包括:在解锁所述压力屏之后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。 Optionally, the method further includes: after unlocking the pressure screen, clearing the stored calculation result, and setting the identification bit data to a non-lock screen state.
一种解除终端屏幕锁定的装置,所述装置包括:A device for unlocking a screen of a terminal, the device comprising:
显示模块,设置为在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域。The display module is configured to display one or more areas to be stressed on the pressure screen when the pressure screen is in the lock screen state.
获取模块,设置为获取所述压力屏接收的用户按压的压力信息。The obtaining module is configured to acquire pressure information of the user pressing received by the pressure screen.
计算模块,设置为对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域。A calculation module is configured to calculate the pressure information and map the calculation result on the pressure screen to one or more visual force regions.
解锁模块,设置为在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏。The unlocking module is configured to unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more areas to be stressed.
可选地,所述压力信息包括:坐标信息、大小信息、方向信息以及持续时间信息。Optionally, the pressure information includes: coordinate information, size information, direction information, and duration information.
可选地,所述计算模块对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:Optionally, the calculating module calculates the pressure information, and mapping the calculation result on the pressure screen to the one or more visual stress regions includes:
对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;Calculating the pressure information to obtain first coordinate data, and mapping the first coordinate data on the pressure screen as a first visual force receiving area;
将所述第一坐标数据映射的第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三可视化受力区域;Performing a logical AND operation on the first visualized force region mapped by the first coordinate data map and the second visualized force region mapped on the stored second coordinate data to obtain a calculated third visualized force receiving region;
存储所述计算后的第三可视化受力区域,并将所述计算后的第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。And storing the calculated third visualization force region, and mapping the calculated third visualization force region on the pressure screen to the one or more visual force regions.
可选地,所述计算模块将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域包括:Optionally, the calculating, by the calculating module, mapping the first coordinate data on the pressure screen to one of the visual force receiving regions comprises:
根据第一函数将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域;Mapping the first coordinate data on the pressure screen to one of the visual force receiving regions according to a first function;
其中,所述第一函数包括:[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0;Wherein, the first function comprises: [(x - XO) cos θ + (y - YO) sin θ] 2 / a 2 + [(y-YO) cos θ - (x - XO) sin θ] 2 / b 2 =0 ;
所述第一坐标数据包括点O(XO,YO)、点A(XA,YA)、点B(XB,YB),θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),a 为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2;点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点。The first coordinate data includes a point O(XO, YO), a point A (XA, YA), and a point B (XB, YB), where θ is an angle formed by a long-axis direction vector and an X-axis, and tan θ=(YA -YO)/(XA-XO), a is the ellipse length of the ellipse, a=√(XA-XO)+(YA-YO) 2 , b is the ellipse short semi-axis length, b=√(XB-XO) +(YB-YO) 2 ; Point O is the origin of the ellipse, point A is the long semi-axis end point of the ellipse, and point B is the short semi-axis end point of the ellipse.
可选地,所述获取模块还设置为:Optionally, the obtaining module is further configured to:
在所述显示模块在所述压力屏上显示一个或多个待受力区域之前,读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态。Before the display module displays one or more areas to be stressed on the pressure screen, reading the identification bit data of the current lock screen state, and determining, according to the identifier bit data, whether the pressure screen is currently in the lock Screen status.
可选地,所述解锁模块还设置为:Optionally, the unlocking module is further configured to:
在解锁所述压力屏之后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。After unlocking the pressure screen, the stored calculation result is cleared, and the identification bit data is set to a non-lock screen state.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的解除终端屏幕锁定的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of unlocking a terminal screen.
本发明实施例提供的解除终端屏幕锁定的方法及装置,在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域;获取所述压力屏接收的用户按压的压力信息;对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域;在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏;本发明实施例方案通过将压力屏受到的压力信息映射为屏幕上的一个或多个可视化受力区域显示出来,根据压力信息的变化,可视化受力区域的显示也会有变化,可以直观方便的提示用户当前压力信息以及是否满足解锁条件进而解锁或保持锁屏状态,从而实现压力式触摸屏的解锁。The method and device for unlocking the screen of the terminal provided by the embodiment of the present invention, when the pressure screen is in the lock screen state, displaying one or more areas to be stressed on the pressure screen; and acquiring the user pressed by the pressure screen Pressure information; calculating the pressure information, and mapping the calculation result on the pressure screen to one or more visual force receiving regions; determining that the one or more visual force regions completely cover the one or When the plurality of regions are to be subjected to the force, the pressure screen is unlocked; the embodiment of the invention maps the pressure information received by the pressure screen to one or more visual force regions on the screen, and visualizes according to the change of the pressure information. The display of the force-receiving area may also change, and the user's current pressure information can be intuitively and conveniently displayed, and whether the unlocking condition is satisfied and the lock screen state is unlocked or maintained, thereby unlocking the pressure type touch screen.
附图概述BRIEF abstract
图1为本发明实施例提供的解除终端屏幕锁定的方法的流程图;FIG. 1 is a flowchart of a method for releasing a screen lock of a terminal according to an embodiment of the present invention;
图2为本发明实施例的平面上由O、A、B三个点的坐标来确定一块圆形或椭圆形区域的示意图;2 is a schematic diagram of determining a circular or elliptical region by coordinates of three points O, A, and B on a plane according to an embodiment of the present invention;
图3为本发明实施例的区域合并的示意图; 3 is a schematic diagram of area merging according to an embodiment of the present invention;
图4为本发明实施例的终端进入锁屏状态时压力屏显示的待受力区域的示意图;4 is a schematic diagram of a to-be-stressed area displayed on a pressure screen when a terminal enters a lock screen state according to an embodiment of the present invention;
图5为本发明实施例的压力屏上显示的第一组坐标数据映射的可视化受力区域的示意图;5 is a schematic diagram of a visual force receiving area of a first set of coordinate data mapping displayed on a pressure screen according to an embodiment of the present invention;
图6为本发明实施例的压力屏上显示的第二组坐标数据映射的可视化受力区域的示意图;6 is a schematic diagram of a visual force receiving area of a second set of coordinate data mapping displayed on a pressure screen according to an embodiment of the present invention;
图7为本发明实施例的压力屏上显示的两次受力合并后映射的可视化受力区域的示意图;7 is a schematic diagram of a visual force receiving area of a two-force combined mapping displayed on a pressure screen according to an embodiment of the present invention;
图8为本发明实施例的压力屏上显示的解锁后的示意图;FIG. 8 is a schematic diagram of the unlocked display on the pressure screen according to the embodiment of the present invention; FIG.
图9为本发明实施例提供的解除终端屏幕锁定的装置的结构示意图。FIG. 9 is a schematic structural diagram of an apparatus for unlocking a screen of a terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
Force Touch,即压力触觉,指通过感应压力的产生和改变,从而实现电学数据的变化,再通过电学数据而产生指令,最后达到通过压力间接实现指令的过程。在本发明多个实施例中,正是通过应用这个技术原理,将压力屏受到的压力变化,转化为图形等压力屏上可视信息的变化传递给用户,并由用户进一步判断操作,从而实现解锁屏幕这一人机交互过程。Force Touch, which refers to the generation and change of induced pressure, realizes the change of electrical data, and then generates instructions through electrical data, and finally reaches the process of indirectly implementing instructions through pressure. In various embodiments of the present invention, it is by applying the technical principle that the pressure change received by the pressure screen is converted into a change of the visual information on the pressure screen such as a graphic and transmitted to the user, and the user further judges the operation, thereby realizing Unlock the screen for this human-computer interaction process.
本发明实施例实施的基础是,终端设备配有支持压力触控的屏幕,简称为压力屏,此屏幕用来感应屏幕所受压力的坐标、力的大小、力的方向、力的持续时间等信息;并且本发明实施例中所述的压力屏所受压力,需要控制在其所支持的不被损坏的最大压力范围内。The basis of the implementation of the embodiment of the present invention is that the terminal device is equipped with a screen supporting pressure touch, which is simply referred to as a pressure screen, which is used to sense the coordinates of the pressure applied by the screen, the magnitude of the force, the direction of the force, the duration of the force, etc. Information; and the pressure of the pressure screen described in the embodiments of the present invention needs to be controlled within the maximum pressure range that it supports without being damaged.
在本发明实施例中,将压力屏受到的压力信息映射为屏幕上的一个或多个可视化受力区域显示出来。根据压力信息的变化,可视化受力区域的显示也会有变化,可以直观方便的提示用户当前压力信息以及是否满足解锁条件进而解锁或保持锁屏状态,从而完成压力屏的解锁。In an embodiment of the invention, the pressure information received by the pressure screen is mapped to one or more visually stressed areas on the screen. According to the change of the pressure information, the display of the visual force area may also change, and the current pressure information of the user and the unlocking condition may be promptly and conveniently displayed to unlock or maintain the lock screen state, thereby completing the unlocking of the pressure screen.
本发明实施例中,以屏幕每次受到一个压力,并多次受力这种较为简单 的场景为实例进行方案描述。在发明本实例中,压力屏每次都只有一个点受到用户施加的压力,多次对压力屏施加压力后,通过计算满足了解锁条件最终解锁屏幕。In the embodiment of the present invention, it is relatively simple to receive a pressure each time the screen is subjected to multiple times. The scenario is described as an example. In the present example of the invention, the pressure screen is only subjected to pressure applied by the user at one point each time, and after pressure is applied to the pressure screen a plurality of times, the unlocking condition is finally satisfied by calculation to finally unlock the screen.
在实际运用中的场景可能更为复杂,压力屏每次的受力点可以是一个,也可以是多个;如压力屏上同时有多个受力点,可以将屏幕同时受到多个压力的场景等效为屏幕每次受到一个压力,并多次受力的场景,即等效为本发明实施例所描述的场景,仍然可以按照本发明实例的原理实施对单次多个压力信息数据的计算、合并、映射。The scene in actual use may be more complicated. The pressure point of the pressure screen may be one or more at a time; for example, there are multiple stress points on the pressure screen, and the screen can be subjected to multiple pressures at the same time. The scene is equivalent to a scene in which the screen is subjected to a pressure every time and is subjected to multiple times, that is, equivalent to the scene described in the embodiment of the present invention, and the plurality of pieces of pressure information data can still be implemented according to the principle of the example of the present invention. Calculate, merge, map.
下面结合附图对本发明实施例提供的解除终端屏幕锁定的方法进行详细说明。The method for unlocking the screen of the terminal provided by the embodiment of the present invention is described in detail below with reference to the accompanying drawings.
图1为本发明实施例提供的解除终端屏幕锁定的方法的流程图。如图1所示,本实施例提供的方法可以由配置了压力式触摸屏的终端设备执行,本实施例提供的方法包括步骤101-104:FIG. 1 is a flowchart of a method for releasing a screen lock of a terminal according to an embodiment of the present invention. As shown in FIG. 1 , the method provided in this embodiment may be performed by a terminal device configured with a pressure touch screen, and the method provided in this embodiment includes steps 101-104:
步骤101、在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域。Step 101: When the pressure screen is in a lock screen state, one or more areas to be stressed are displayed on the pressure screen.
在本步骤之前,终端设备首先读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态,在判断压力屏处于锁屏状态时,执行本步骤。Before the step, the terminal device first reads the identifier bit data of the current lock screen state, and determines whether the pressure screen is currently in the lock screen state according to the identifier bit data, and performs execution when determining that the pressure screen is in the lock screen state. This step.
步骤102、获取所述压力屏接收的用户按压的压力信息。Step 102: Acquire pressure information of a user press received by the pressure screen.
可选地,所述压力信息包括:坐标信息(x,y)、大小信息p、方向信息a以及持续时间信息t。Optionally, the pressure information includes: coordinate information (x, y), size information p, direction information a, and duration information t.
步骤103、对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域。Step 103: Calculate the pressure information, and map the calculation result on the pressure screen to one or more visual force receiving regions.
可选地,对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;将所述第一坐标数据映射的所述第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三可视化 受力区域;存储所述计算结果,并将所述计算后第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。Optionally, calculating the pressure information, and mapping the calculation result to the one or more visual force receiving regions on the pressure screen comprises: calculating the pressure information to obtain first coordinate data, and The first coordinate data is mapped on the pressure screen as a first visual force receiving area; the second visualization of mapping the first visual force receiving area of the first coordinate data mapping with the stored second coordinate data The logical region is calculated by the force region, and the third visualization after calculation is obtained. a force receiving area; storing the calculation result, and mapping the calculated third visual force receiving area on the pressure screen to the one or more visual force receiving areas.
需要说明的是,如果所述第一坐标数据是根据用户在第一次按压所述压力屏得到的压力信息计算得到的,则所述计算结果即为所述第一坐标数据,所述一个或多个可视化受力区域就是所述第一坐标数据在所述压力屏上映射的区域;该计算结果,即所述第一坐标数据会被存储。It should be noted that, if the first coordinate data is calculated according to the pressure information obtained by the user pressing the pressure screen for the first time, the calculation result is the first coordinate data, the one or The plurality of visual force receiving regions are regions on which the first coordinate data is mapped on the pressure screen; the calculation result, that is, the first coordinate data is stored.
如果获取到用户第二次按压所述压力屏得到的压力信息,则根据用户第二次按压所述压力屏得到的压力信息计算得到的数据可以看作是第一坐标数据,而根据用户在第一次按压所述压力屏得到的压力信息计算得到的坐标数据,即上述被存储的计算结果,可以看作是本实施例所述的第二坐标数据,则在本步骤中,将所述第一坐标数据与存储的所述第二坐标数据进行与运算,再次得到的计算结果,进行存储,并在所述压力屏上映射为所述一个或多个可视化受力区域。If the pressure information obtained by the user pressing the pressure screen for the second time is obtained, the data calculated according to the pressure information obtained by the user pressing the pressure screen for the second time can be regarded as the first coordinate data, and according to the user The coordinate data calculated by pressing the pressure information obtained by the pressure screen at a time, that is, the stored calculation result, can be regarded as the second coordinate data described in this embodiment, and in this step, the first The coordinate data is subjected to an AND operation with the stored second coordinate data, and the obtained calculation result is stored, and mapped to the one or more visual force receiving regions on the pressure screen.
为了简化运算,单次受力计算后得到的可视化受力区域将映射为一块圆形或一块椭圆形区域;根据数学知识可得:在一个平面坐标上,一块椭圆形区域可以由3个点的坐标来确定:原点O、长半轴端点A、短半轴端点B。当椭圆的长半轴端点A到原点的距离a,和短半轴端点B到原点的距离b相等时,此椭圆即为圆形。In order to simplify the calculation, the visual force region obtained after a single force calculation will be mapped into a circular or an elliptical region; according to mathematical knowledge: in a plane coordinate, an elliptical region can be composed of 3 points. The coordinates are determined: the origin O, the long semi-axis end A, and the short semi-axis end B. When the distance a from the end point A of the long semi-axis of the ellipse to the origin is equal to the distance b from the end point B of the short semi-axis to the origin, the ellipse is a circle.
假设已知三个点O、A、B的坐标分别为O(X,Y)、A(X,Y)、B(X,Y),其中,点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点,点O、A、B的坐标也可以这样表示:It is assumed that the coordinates of the three points O, A, and B are known as O(X, Y), A(X, Y), B(X, Y), respectively, where point O is the origin of the ellipse and point A is elliptical. The end point of the long semi-axis, point B is the short semi-axis end point of the ellipse, and the coordinates of points O, A, B can also be expressed as follows:
XO,YO分别代表点O的X轴坐标、Y轴坐标;XO, YO represent the X-axis coordinate and the Y-axis coordinate of point O, respectively;
XA,YA分别代表点A的X轴坐标、Y轴坐标;XA, YA represent the X-axis coordinate and the Y-axis coordinate of point A, respectively;
XB,YB分别代表点B的X轴坐标、Y轴坐标;XB and YB respectively represent the X-axis coordinate and the Y-axis coordinate of point B;
则满足下面函数的所有点的x、y坐标都在一个椭圆上:Then the x and y coordinates of all points satisfying the following function are on an ellipse:
[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0[(x-XO)cos θ+(y-YO)sin θ] 2 /a 2 +[(y-YO)cos θ-(x-XO)sin θ] 2 /b 2 =0
函数中:In the function:
XO、YO为点O的X轴坐标、Y轴坐标,是已知的, XO and YO are known as the X-axis coordinate and the Y-axis coordinate of point O.
θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),即可由已知点坐标推导出;θ is the angle formed by the long-axis direction vector and the X-axis, and tan θ=(YA-YO)/(XA-XO), which can be derived from the known point coordinates;
a为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,即可由已知点坐标推导出;a is the length of the ellipse long semi-axis, a = √ (XA-XO) + (YA-YO) 2 , which can be derived from the known point coordinates;
b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2,即可由已知点坐标推导出;b is the short semi-axis length of the ellipse, b=√(XB-XO)+(YB-YO) 2 , which can be derived from the known point coordinates;
如果a=b,则满足此函数的所有点的x、y坐标都在一个圆上If a=b, then the x and y coordinates of all points satisfying this function are on a circle.
综上所述:如果已知三个点O、A、B的坐标,便可确定一个任意位置的椭圆形或者一个圆形。请参见图2,图2为平面上由O、A、B三个点的坐标来确定一块圆形或椭圆形区域的示意图。In summary: If the coordinates of the three points O, A, B are known, an ellipse or a circle of any position can be determined. Referring to FIG. 2, FIG. 2 is a schematic diagram of determining a circular or elliptical region by coordinates of three points O, A, and B on a plane.
实际应用中,可以通过给定的算法公式f1、f2、f3,可以分别算出O、A、B三个点的坐标O(X,Y)、A(X,Y)、B(X,Y):In practical applications, the coordinates O(X, Y), A(X, Y), B(X, Y) of the three points O, A, and B can be calculated by the given algorithm formulas f1, f2, and f3. :
f1(x,y,p,a,t)=>O(X,Y);F1(x,y,p,a,t)=>O(X,Y);
f2(x,y,p,a,t)=>A(X,Y);F2(x,y,p,a,t)=>A(X,Y);
f3(x,y,p,a,t)=>B(X,Y)。F3(x, y, p, a, t) => B(X, Y).
这3个点的坐标将确定一块圆形或者椭圆形区域,即将力的信息x,y,p,a,t经过计算后生成的一组数据O(X,Y)、A(X,Y)、B(X,Y)映射为一个可视化受力区域在屏幕上显示,此区域可以称之为Area1,判定此区域是否满足解锁条件。The coordinates of these three points will determine a circular or elliptical area, that is, a set of data O(X, Y), A(X, Y) generated by the calculation of the force information x, y, p, a, t. B (X, Y) is mapped to a visual force area displayed on the screen. This area can be called Area1 to determine whether the area meets the unlock condition.
如果判定暂不满足解锁条件,则继续检测压力。当压力屏第二次受力后,仍按上述方法计算得到一个区域Area2,此时需要将第一次的Area1和第二次Area2的进行区域合并,然后再判断合并后的新区域Area’是否满足解锁条件,这个区域合并的过程是采用了“逻辑与”计算,即Area1&&Area2=Area’。参见图3,图3为区域合并的示意图。If it is determined that the unlocking condition is not satisfied temporarily, the pressure is continuously detected. After the pressure screen is stressed for the second time, an area Area2 is still calculated according to the above method. In this case, the area of the first Area1 and the second Area2 need to be merged, and then the combined new area Area' is determined. To meet the unlocking conditions, the process of merging this area uses the "logical AND" calculation, namely Area1&&Area2=Area'. Referring to FIG. 3, FIG. 3 is a schematic diagram of region merging.
步骤104、在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏。Step 104: Unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more to-be-stressed regions.
可选地,在解锁所述压力屏后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。 Optionally, after the pressure screen is unlocked, the stored calculation result is cleared, and the identifier bit data is set to a non-lock screen state.
下面结合实例对本实施例提供的方法进行说明。The method provided in this embodiment will be described below with reference to examples.
首先,终端设备读取当前锁屏状态的标识位数据,判定当前是否是屏幕锁屏状态;如果当前是屏幕锁屏状态,则在屏幕上显示一个或多个待受力区域;并检测屏幕每次所受压力的压力信息。First, the terminal device reads the identification bit data of the current lock screen state, and determines whether the screen lock screen state is currently; if the screen lock screen state is currently, one or more areas to be stressed are displayed on the screen; and the screen is detected. The pressure information of the secondary stress.
图4为终端进入锁屏状态时压力屏显示的待受力区域的示意图,如图4所示,此时压力屏上显示一个六边形的待受力区域,此时屏幕没有受到任何压力。如果在此之后屏幕的受力区域完全覆盖了此六边形区域,则满足解锁条件。4 is a schematic diagram of a region to be stressed displayed on the pressure screen when the terminal enters the lock screen state, as shown in FIG. 4, at this time, a hexagonal area to be subjected to force is displayed on the pressure screen, and the screen is not subjected to any pressure. If the force area of the screen completely covers this hexagonal area after this, the unlocking condition is satisfied.
将每次受到的压力信息,包括受力点坐标、力的大小、力的方向、力的持续时间等经过计算,转换为一组坐标数据,这组坐标数据将映射为屏幕上的一个或多个可视化受力区域显示出来;然后将这组坐标数据和已经存储的一组坐标数据合并计算,生成一组新的坐标数据,这组新坐标数据将映射为屏幕上的一个或多个新的可视化受力区域显示出来。The pressure information received each time, including the coordinates of the force point, the magnitude of the force, the direction of the force, the duration of the force, etc., are calculated and converted into a set of coordinate data, which will be mapped to one or more on the screen. The visual force area is displayed; then the set of coordinate data and the already stored set of coordinate data are combined to generate a new set of coordinate data, and the new set of coordinate data is mapped to one or more new ones on the screen. The visual force area is displayed.
图5为压力屏上显示的第一组坐标数据映射的可视化受力区域的示意图,本次压力信息经过计算后映射为一块椭圆形区域在压力屏上显示出来;经判定,此受力区域没有完全覆盖六边形待受力区域,不满足解锁条件,因此不解锁。5 is a schematic diagram of a visual force-receiving area of the first set of coordinate data maps displayed on the pressure screen. After the pressure information is calculated, the map is displayed as an elliptical area on the pressure screen; it is determined that the force-receiving area is not The hexagonal area to be stressed is completely covered, and the unlocking condition is not satisfied, so it is not unlocked.
需要说明的是,如果没有存储压力信息坐标数据,则合并计算后的新坐标数据仍然是本次这组压力信息对应的坐标数据,合并计算后映射出的新可视化受力区域仍然是本次压力信息对应的坐标数据映射出的可视化受力区域。It should be noted that if the pressure information coordinate data is not stored, the new coordinate data after the combined calculation is still the coordinate data corresponding to the pressure information of the current group, and the newly visualized force region mapped after the combined calculation is still the pressure. The visual force area mapped by the coordinate data corresponding to the information.
存储合并计算后生成的一组新的坐标数据,根据这组新的坐标数据,刷新显示每次受力后映射出的已受力区域和待受力区域,用来提示用户当前压力信息以及是否满足解锁条件。A set of new coordinate data generated after the combined calculation is stored, and according to the new set of coordinate data, refreshing and displaying the stressed area and the area to be stressed mapped after each force are used to prompt the user of the current pressure information and whether Meet the unlock conditions.
判定这组新的坐标数据是否满足解锁条件,即将可视化已受力区域和待受力区域相比,判定已受力区域是否完全覆盖了待受力区域;如果已经满足解锁条件,即已受力区域完全覆盖了待受力区域,则清除所有已受力区域和待受力区域的显示,刷新屏幕显示解锁,并清除掉本次合并计算生成的这组 新的坐标数据,并将锁屏状态标识位置为非锁屏状态。Determining whether the new set of coordinate data satisfies the unlocking condition, that is, comparing the stressed area with the area to be stressed, determining whether the stressed area completely covers the area to be stressed; if the unlocking condition has been met, the force is already applied If the area completely covers the area to be stressed, clear the display of all the stressed area and the area to be stressed, refresh the screen display to unlock, and clear the group generated by this combined calculation. New coordinate data and position the lock screen status as non-lock screen.
图6为压力屏上显示的第二组坐标数据映射的可视化受力区域的示意图,本次压力信息经过计算后映射为一块更大的椭圆形区域在压力屏上显示出来。FIG. 6 is a schematic diagram of a visual force-receiving area of the second set of coordinate data maps displayed on the pressure screen. After the current pressure information is calculated, it is mapped to a larger elliptical area and displayed on the pressure screen.
图7为压力屏上显示的两次受力合并后映射的可视化受力区域的示意图,前两次压力信息经过合并计算后映射为一个可视化区域在屏幕上显示出来,经判定,前两次受力区域合并起来已经完全覆盖了六边形待受力区域,满足解锁条件,则清除所有已受力区域和待受力区域的显示,刷新屏幕显示解锁;解锁后的压力屏显示如图8所示。Figure 7 is a schematic diagram of the visual force area of the two forces combined display displayed on the pressure screen. The first two pressure information are mapped to a visualized area and displayed on the screen after the combined calculation. The force areas are combined to completely cover the hexagonal area to be stressed. When the unlocking condition is met, the display of all the stressed areas and the area to be stressed is cleared, and the screen display is unlocked; the unlocked pressure screen is shown in Figure 8. Show.
本实施例提供的解除终端屏幕锁定的方法,可以实现压力式触摸屏的解锁。The method for releasing the screen lock of the terminal provided by the embodiment can implement unlocking of the pressure touch screen.
图9为本发明实施例提供的解除终端屏幕锁定的装置的结构示意图。如图9所示,本实施例提供的解除终端屏幕锁定的装置可以包括:显示模块11、获取模块12、计算模块13和解锁模块14。FIG. 9 is a schematic structural diagram of an apparatus for unlocking a screen of a terminal according to an embodiment of the present invention. As shown in FIG. 9, the apparatus for releasing the screen lock of the terminal provided by the embodiment may include: a display module 11, an obtaining module 12, a calculating module 13, and an unlocking module 14.
其中,显示模块11,设置为在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域。The display module 11 is configured to display one or more areas to be stressed on the pressure screen when the pressure screen is in the lock screen state.
获取模块12,设置为获取所述压力屏接收的用户按压的压力信息。The obtaining module 12 is configured to acquire pressure information of the user press received by the pressure screen.
计算模块13,设置为对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域。The calculation module 13 is configured to calculate the pressure information and map the calculation result on the pressure screen to one or more visual force regions.
解锁模块14,设置为在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏。The unlocking module 14 is configured to unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more areas to be stressed.
可选地,所述压力信息包括:坐标信息、大小信息、方向信息以及持续时间信息。Optionally, the pressure information includes: coordinate information, size information, direction information, and duration information.
所述计算模块13对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;将所述第一坐标数据映射的所述第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三 可视化受力区域;存储所述计算后的第三可视化受力区域,并将所述计算后的第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。The calculating module 13 calculates the pressure information, and mapping the calculation result on the pressure screen into one or more visual force receiving regions includes: calculating the pressure information to obtain first coordinate data, and Mapping the first coordinate data on the pressure screen as a first visual force receiving area; mapping the first visualized force area mapped by the first coordinate data with the stored second coordinate data Visualize the force area to perform logical AND operations, and get the third calculated Visualizing the stressed area; storing the calculated third visualized force area, and mapping the calculated third visualized force area on the pressure screen to the one or more visual force receiving areas.
所述计算模块13将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域包括:根据第一函数将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域;其中,所述第一函数包括:[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0;所述第一坐标数据包括点O(XO,YO)、点A(XA,YA)、点B(XB,YB),θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),a为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2;点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点。在其它实施例中第一函数还可以是其他等式或公式,任何能够实现将坐标数据映射为可是换区域的函数都在本发明实施例的保护范围之内。The calculating module 13 mapping the first coordinate data on the pressure screen into one of the visual force receiving regions comprises: mapping the first coordinate data to the pressure screen according to a first function The visual force region is described; wherein the first function comprises: [(x - XO) cos θ + (y - YO) sin θ] 2 / a 2 + [(y-YO) cos θ - (x - XO) sin θ] 2 / b 2 =0; the first coordinate data includes a point O (XO, YO), a point A (XA, YA), a point B (XB, YB), and θ is a long-axis direction vector and an X-axis Angle, tan θ=(YA-YO)/(XA-XO), a is the ellipse length of the ellipse, a=√(XA-XO)+(YA-YO) 2 , b is the short semi-axis length of the ellipse, b =√(XB-XO)+(YB-YO) 2 ; Point O is the origin of the ellipse, point A is the long semi-axis end of the ellipse, and point B is the short semi-axis end of the ellipse. In other embodiments, the first function may also be other equations or formulas, and any function capable of mapping coordinate data to a changeable region is within the scope of the embodiments of the present invention.
可选地,所述获取模块12还设置为:在所述显示模块在所述压力屏上显示一个或多个待受力区域之前,读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态。Optionally, the obtaining module 12 is further configured to: before the display module displays one or more areas to be stressed on the pressure screen, read the identifier bit data of the current lock screen state, according to the identifier The bit data determines whether the pressure screen is currently in the lock screen state.
可选地,所述解锁模块14还设置为:在解锁所述压力屏之后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。Optionally, the unlocking module 14 is further configured to: after the pressure screen is unlocked, clear the stored calculation result, and set the identification bit data to a non-lock screen state.
本实施例提供的解除终端屏幕锁定的装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for unlocking the screen of the terminal provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
在实际应用中,该显示模块11、获取模块12、计算模块13和解锁模块14可由位于解除终端屏幕锁定的装置上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。In practical applications, the display module 11, the acquisition module 12, the calculation module 13 and the unlocking module 14 may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (located on a device that unlocks the screen of the terminal). DSP) or field programmable gate array (FPGA) and other devices.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的解除终端屏幕锁定的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of unlocking a terminal screen.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明实施例可采用硬件实施例、软件实施例、或 结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, embodiments of the present invention may employ hardware embodiments, software embodiments, or Combines the form of an embodiment of the software and hardware aspects. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明实施例是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于设置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. A device that is configured to implement the functions specified in a flow or a flow or a block or a block in a block.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供设置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps that are set to implement the functions specified in one or more of the flow or in a block or blocks of the flowchart.
工业实用性Industrial applicability
发明实施例方案通过将压力屏受到的压力信息映射为屏幕上的一个或多个可视化受力区域显示出来,根据压力信息的变化,可视化受力区域的显示也会有变化,可以直观方便的提示用户当前压力信息以及是否满足解锁条件进而解锁或保持锁屏状态,从而实现压力式触摸屏的解锁。 According to the embodiment of the invention, by mapping the pressure information received by the pressure screen to one or more visual force receiving areas on the screen, according to the change of the pressure information, the display of the visual force receiving area may also change, and the prompting may be intuitive and convenient. The user's current pressure information and whether the unlock condition is met to unlock or maintain the lock screen state, thereby unlocking the pressure touch screen.

Claims (13)

  1. 一种解除终端屏幕锁定的方法,所述方法包括:A method for unlocking a screen of a terminal, the method comprising:
    在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域;Displaying one or more areas to be stressed on the pressure screen when the pressure screen is in a lock screen state;
    获取所述压力屏接收的用户按压的压力信息;Obtaining pressure information of the user press received by the pressure screen;
    对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域;Calculating the pressure information, and mapping the calculation result on the pressure screen to one or more visual force receiving regions;
    在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏。The pressure screen is unlocked when it is determined that the one or more visually stressed regions completely cover the one or more regions to be stressed.
  2. 根据权利要求1所述的解除终端屏幕锁定的方法,其中,所述压力信息包括:坐标信息、大小信息、方向信息以及持续时间信息。The method of releasing a screen lock of a terminal according to claim 1, wherein the pressure information comprises coordinate information, size information, direction information, and duration information.
  3. 根据权利要求1所述的解除终端屏幕锁定的方法,其中,所述对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:The method for unlocking a screen of a terminal according to claim 1, wherein the calculating the pressure information and mapping the calculation result on the pressure screen to one or more visual stress regions comprises:
    对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;Calculating the pressure information to obtain first coordinate data, and mapping the first coordinate data on the pressure screen as a first visual force receiving area;
    将所述第一坐标数据映射的所述第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三可视化受力区域;Performing a logical AND operation on the first visualized force region mapped by the first coordinate data map and the second visualized force region mapped on the stored second coordinate data to obtain a calculated third visualized force receiving region;
    存储所述计算后的第三可视化受力区域,并将所述计算后的第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。And storing the calculated third visualization force region, and mapping the calculated third visualization force region on the pressure screen to the one or more visual force regions.
  4. 根据权利要求3所述的解除终端屏幕锁定的方法,其中,所述将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域包括:The method for releasing a screen lock of a terminal according to claim 3, wherein the mapping the first coordinate data on the pressure screen to one of the visual force receiving regions comprises:
    根据第一函数将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域;Mapping the first coordinate data on the pressure screen to one of the visual force receiving regions according to a first function;
    其中,所述第一函数包括:[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0;Wherein, the first function comprises: [(x - XO) cos θ + (y - YO) sin θ] 2 / a 2 + [(y-YO) cos θ - (x - XO) sin θ] 2 / b 2 =0 ;
    所述第一坐标数据包括点O(XO,YO)、点A(XA,YA)、点B(XB, YB),θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),a为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2;点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点。The first coordinate data includes a point O(XO, YO), a point A (XA, YA), and a point B (XB, YB), where θ is an angle formed by a long-axis direction vector and an X-axis, and tan θ=(YA -YO)/(XA-XO), a is the ellipse length of the ellipse, a=√(XA-XO)+(YA-YO) 2 , b is the short semi-axis length of the ellipse, b=√(XB-XO) +(YB-YO) 2 ; Point O is the origin of the ellipse, point A is the long semi-axis end point of the ellipse, and point B is the short semi-axis end point of the ellipse.
  5. 根据权利要求1所述的解除终端屏幕锁定的方法,所述方法还包括:在所述压力屏上显示一个或多个待受力区域之前,读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态。The method for releasing the screen lock of the terminal according to claim 1, further comprising: reading the identification bit data of the current lock screen state before displaying the one or more areas to be stressed on the pressure screen, according to The flag data determines whether the pressure screen is currently in the lock screen state.
  6. 根据权利要求5所述的解除终端屏幕锁定的方法,所述方法还包括:在解锁所述压力屏之后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。The method for releasing a screen lock of a terminal according to claim 5, the method further comprising: after unlocking the pressure screen, clearing the stored calculation result and setting the identification bit data to a non-lock screen state.
  7. 一种解除终端屏幕锁定的装置,所述装置包括:A device for unlocking a screen of a terminal, the device comprising:
    显示模块,设置为在压力屏处于锁屏状态时,在所述压力屏上显示一个或多个待受力区域;a display module configured to display one or more areas to be stressed on the pressure screen when the pressure screen is in a lock screen state;
    获取模块,设置为获取所述压力屏接收的用户按压的压力信息;Obtaining a module, configured to acquire pressure information of a user press received by the pressure screen;
    计算模块,设置为对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域;a calculation module configured to calculate the pressure information and map the calculation result on the pressure screen to one or more visual force receiving regions;
    解锁模块,设置为在判断所述一个或多个可视化受力区域完全覆盖所述一个或多个待受力区域时,解锁所述压力屏。The unlocking module is configured to unlock the pressure screen when it is determined that the one or more visual force receiving regions completely cover the one or more areas to be stressed.
  8. 根据权利要求7所述的解除终端屏幕锁定的装置,其中,所述压力信息包括:坐标信息、大小信息、方向信息以及持续时间信息。The apparatus for releasing a screen lock of a terminal according to claim 7, wherein the pressure information comprises coordinate information, size information, direction information, and duration information.
  9. 根据权利要求7所述的解除终端屏幕锁定的装置,其中,所述计算模块对所述压力信息进行计算,并将计算结果在所述压力屏上映射为一个或多个可视化受力区域包括:The apparatus for unlocking a screen of a terminal according to claim 7, wherein the calculating module calculates the pressure information, and mapping the calculation result on the pressure screen to one or more visual force receiving areas comprises:
    对所述压力信息进行计算,得到第一坐标数据,将所述第一坐标数据在所述压力屏上映射为一个第一可视化受力区域;Calculating the pressure information to obtain first coordinate data, and mapping the first coordinate data on the pressure screen as a first visual force receiving area;
    将所述第一坐标数据映射的所述第一可视化受力区域与存储的第二坐标数据映射的第二可视化受力区域进行逻辑与运算,得到计算后的第三可视化受力区域; Performing a logical AND operation on the first visualized force region mapped by the first coordinate data map and the second visualized force region mapped on the stored second coordinate data to obtain a calculated third visualized force receiving region;
    存储所述计算后的第三可视化受力区域,并将所述计算后的第三可视化受力区域在所述压力屏上映射为所述一个或多个可视化受力区域。And storing the calculated third visualization force region, and mapping the calculated third visualization force region on the pressure screen to the one or more visual force regions.
  10. 根据权利要求9所述的解除终端屏幕锁定的装置,其特征在于,所述计算模块将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域包括:The device for unlocking the screen of the terminal according to claim 9, wherein the calculating module mapping the first coordinate data on the pressure screen into one of the visual force receiving regions comprises:
    根据第一函数将所述第一坐标数据在所述压力屏上映射为一个所述可视化受力区域;Mapping the first coordinate data on the pressure screen to one of the visual force receiving regions according to a first function;
    其中,所述第一函数包括:[(x-XO)cosθ+(y-YO)sinθ]2/a2+[(y-YO)cosθ-(x-XO)sinθ]2/b2=0;Wherein, the first function comprises: [(x - XO) cos θ + (y - YO) sin θ] 2 / a 2 + [(y-YO) cos θ - (x - XO) sin θ] 2 / b 2 =0 ;
    所述第一坐标数据包括点O(XO,YO)、点A(XA,YA)、点B(XB,YB),θ为长轴方向向量与X轴所成的夹角,tanθ=(YA-YO)/(XA-XO),a为椭圆长半轴长度,a=√(XA-XO)+(YA-YO)2,b为椭圆短半轴长度,b=√(XB-XO)+(YB-YO)2;点O为椭圆的原点,点A为椭圆的长半轴端点,点B为椭圆的短半轴端点。The first coordinate data includes a point O(XO, YO), a point A (XA, YA), and a point B (XB, YB), where θ is an angle formed by a long-axis direction vector and an X-axis, and tan θ=(YA -YO)/(XA-XO), a is the ellipse length of the ellipse, a=√(XA-XO)+(YA-YO) 2 , b is the short semi-axis length of the ellipse, b=√(XB-XO) +(YB-YO) 2 ; Point O is the origin of the ellipse, point A is the long semi-axis end point of the ellipse, and point B is the short semi-axis end point of the ellipse.
  11. 根据权利要求7所述的解除终端屏幕锁定的装置,所述获取模块还设置为:The apparatus for releasing a screen lock of a terminal according to claim 7, wherein the obtaining module is further configured to:
    在所述显示模块在所述压力屏上显示一个或多个待受力区域之前,读取当前锁屏状态的标识位数据,根据所述标识位数据判断所述压力屏当前是否处于所述锁屏状态。Before the display module displays one or more areas to be stressed on the pressure screen, reading the identification bit data of the current lock screen state, and determining, according to the identifier bit data, whether the pressure screen is currently in the lock Screen status.
  12. 根据权利要求11所述的解除终端屏幕锁定的装置,所述解锁模块还设置为:The apparatus for releasing a screen lock of a terminal according to claim 11, wherein the unlocking module is further configured to:
    在解锁所述压力屏之后,清除存储的所述计算结果,并将所述标识位数据置为非锁屏状态。After unlocking the pressure screen, the stored calculation result is cleared, and the identification bit data is set to a non-lock screen state.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至6任意一项所述的解除终端屏幕锁定的方法。 A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of releasing a screen lock of a terminal according to any one of claims 1 to 6.
PCT/CN2016/085483 2016-05-04 2016-06-12 Method and device for unlocking terminal screen WO2017190402A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610290232.4A CN107346201B (en) 2016-05-04 2016-05-04 Method and device for unlocking terminal screen
CN201610290232.4 2016-05-04

Publications (1)

Publication Number Publication Date
WO2017190402A1 true WO2017190402A1 (en) 2017-11-09

Family

ID=60202520

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085483 WO2017190402A1 (en) 2016-05-04 2016-06-12 Method and device for unlocking terminal screen

Country Status (2)

Country Link
CN (1) CN107346201B (en)
WO (1) WO2017190402A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287663A (en) * 2019-06-28 2019-09-27 北京蓦然认知科技有限公司 A kind of user's login unlocking method, device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035688A (en) * 2014-06-20 2014-09-10 江苏物联网研究发展中心 Single-point touch pressure sensing safety unlocking method and device for mobile terminal
CN105159589A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Pattern unlocking method and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101456047B1 (en) * 2007-08-31 2014-11-03 삼성전자주식회사 Portable terminal and method for performing order thereof
KR101304321B1 (en) * 2010-01-22 2013-09-11 전자부품연구원 Method for providing UI according to single touch pressure and electronic device using the same
CN102566818A (en) * 2011-12-17 2012-07-11 鸿富锦精密工业(深圳)有限公司 Electronic device with touch screen and screen unlocking method
CN102637115A (en) * 2012-03-19 2012-08-15 北京百纳威尔科技有限公司 System, method and mobile terminal device for unlocking touch screens
CN102866840A (en) * 2012-10-19 2013-01-09 李文龙 Unlocking method for touch screen and electronic device
US20140189604A1 (en) * 2013-01-03 2014-07-03 International Business Machines Corporation Method and system for unlocking a touchscreen of an electronic device
CN103076959A (en) * 2013-02-06 2013-05-01 华为终端有限公司 Electronic equipment and screen unlocking method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035688A (en) * 2014-06-20 2014-09-10 江苏物联网研究发展中心 Single-point touch pressure sensing safety unlocking method and device for mobile terminal
CN105159589A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Pattern unlocking method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287663A (en) * 2019-06-28 2019-09-27 北京蓦然认知科技有限公司 A kind of user's login unlocking method, device

Also Published As

Publication number Publication date
CN107346201B (en) 2021-03-16
CN107346201A (en) 2017-11-14

Similar Documents

Publication Publication Date Title
CN101819462B (en) Image texture haptic representation system based on force/haptic interaction equipment
US8378974B2 (en) Method and system for detecting touch events based on magnitude ratios
US8730213B2 (en) Method and system for detecting touch events based on redundant validation
US8625882B2 (en) User interface with three dimensional user input
US10466745B2 (en) Operational control method for flexible display device
US8674948B2 (en) Methods of interfacing with multi-point input devices and multi-point input systems employing interfacing techniques
EP3176677A1 (en) Method and apparatus for providing interface recognizing movement in accordance with user's view
CN104335132B (en) The far field sensing of finger rotation
US20130336528A1 (en) Method and apparatus for identifying input features for later recognition
US10282024B2 (en) Classifying contacts or associations with a touch sensitive device
RU2013122880A (en) MEDICAL VISUALIZATION SYSTEM
CN103902129B (en) Capacitance plate multiple point touching pressure detection method
CN105869211B (en) A kind of recallable amounts method and device
TWI528271B (en) Method, apparatus and computer program product for polygon gesture detection and interaction
US10042531B2 (en) Method and apparatus of modifying contour line
CN103295262B (en) Rotation multi-angle curve reestablishing method and the device of tubular housing tissue
US20110007007A1 (en) Touch control method
TW201044235A (en) Touch point coordinate detection method
Bertrand et al. Parametric Raviart--Thomas elements for mixed methods on domains with curved surfaces
WO2017190402A1 (en) Method and device for unlocking terminal screen
US10795493B2 (en) Palm touch detection in a touch screen device having a floating ground or a thin touch panel
US9588603B2 (en) Information processing device
KR101957405B1 (en) Method and Apparatus for Inputting Pattern to Prevent Shoulder Surfing
Bae An almost optimal algorithm for Voronoi diagrams of non-disjoint line segments
US9612113B2 (en) Method and apparatus for generating shape information of object

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900924

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900924

Country of ref document: EP

Kind code of ref document: A1