WO2021190590A1 - 验证方法、电子设备和计算机可读存储介质 - Google Patents

验证方法、电子设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2021190590A1
WO2021190590A1 PCT/CN2021/082951 CN2021082951W WO2021190590A1 WO 2021190590 A1 WO2021190590 A1 WO 2021190590A1 CN 2021082951 W CN2021082951 W CN 2021082951W WO 2021190590 A1 WO2021190590 A1 WO 2021190590A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
area
region
verification
current value
Prior art date
Application number
PCT/CN2021/082951
Other languages
English (en)
French (fr)
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 维沃移动通信有限公司
Priority to EP21776022.2A priority Critical patent/EP4131037A4/en
Priority to JP2022558305A priority patent/JP7465989B2/ja
Priority to KR1020227036434A priority patent/KR20220156897A/ko
Publication of WO2021190590A1 publication Critical patent/WO2021190590A1/zh
Priority to US17/929,567 priority patent/US20220414192A1/en

Links

Images

Classifications

    • 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
    • G06F21/36User authentication by graphic or iconic representation
    • 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/016Input arrangements with force or tactile feedback as computer generated output to the user
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/77Graphical identity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/014Force feedback applied to GUI
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/082Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying multi-factor authentication

Definitions

  • the present invention relates to the field of communication technology, and in particular to a verification method, electronic equipment and computer-readable storage medium.
  • a verification code or pattern is often displayed on the display screen of the electronic device, and the received input operation is compared with The verification code is preset for matching, and if the matching is successful, it is determined that the operation is a real person, and the identity verification is passed.
  • Identity verification is usually generated for registration, ordering, or logging in to a certain business.
  • the way of displaying verification codes or patterns on the display screen can easily cause the verification code to be leaked, which may lead to uncertain charges or personal identity information. Leaks and so on.
  • the identity verification method in the related technology has the defect of reducing the security performance of the verification process.
  • the embodiments of the present invention provide a verification method, an electronic device, and a computer-readable storage medium to solve the problem of low security performance of the verification process in the verification method in the related art.
  • an embodiment of the present invention provides a verification method, which is applied to an electronic device, the electronic device includes a touch screen, and the method includes:
  • the verification area includes the first sub-area and the second sub-area, and after adjusting the current value of the first sub-area or adjusting the current value of the second sub-area, the first sub-area The current value of the area is greater than the current value of the second sub-area.
  • an embodiment of the present invention also provides an electronic device, the electronic device includes a touch screen, and the electronic device further includes:
  • the first receiving module is configured to receive the first operation acting on the verification area
  • the first adjustment module is configured to adjust the current value of the first sub-area in the verification area or increase the current value of the first sub-area in the verification area when the first operation does not meet the verification conditions. Area, or adjust the current value of the second sub-area in the verification area;
  • the verification area includes the first sub-area and the second sub-area, and after adjusting the current value of the first sub-area or adjusting the current value of the second sub-area, the first sub-area The current value of the area is greater than the current value of the second sub-area.
  • an embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor executes the computer program, The steps in the verification method provided in the first aspect of the embodiments of the present invention are implemented.
  • an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium. The steps in the verification method.
  • embodiments of the present invention also provide a computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to implement the implementation of the present invention Examples of the steps in the verification method provided in the first aspect.
  • an embodiment of the present invention also provides an electronic device configured to execute the verification method provided in the first aspect of the embodiment of the present invention.
  • a first operation acting on the electronic device is received; if the first operation does not meet the verification condition, the current value of the first sub-region in the verification area is adjusted , Or increase the area of the first sub-area in the verification area, or adjust the current value of the second sub-area in the verification area; wherein the verification area includes the first sub-area and the first sub-area Two sub-regions, and after adjusting the current value of the first sub-region or adjusting the current value of the second sub-region, the current value of the first sub-region is greater than the current value of the second sub-region.
  • the first sub-area and the second sub-area can have different current values, so that the first sub-area and the second sub-area have different tactile sensations.
  • the user can accurately touch the first sub-area according to the tactile sensation, thereby completing the verification.
  • the verification operation is a human operation; in addition, before the user touches the first sub-area, the position of the first sub-area is not displayed, so that the user can determine the position of the first sub-area only after touching, which improves the verification method The safety performance.
  • FIG. 1 is a flowchart of a first verification method provided by an embodiment of the present invention
  • Figure 2 is an application scenario diagram of the first verification method provided by an embodiment of the present invention.
  • Figure 3 is a flowchart of a second verification method provided by an embodiment of the present invention.
  • Figure 4a is one of the application scenario diagrams of the second verification method provided by an embodiment of the present invention.
  • Figure 4b is the second application scenario diagram of the second verification method provided by the embodiment of the present invention.
  • Figure 4c is the third application scenario diagram of the second verification method provided by the embodiment of the present invention.
  • FIG. 5 is one of the structural diagrams of the first electronic device provided by the embodiment of the present invention.
  • FIG. 6 is a second structural diagram of the first electronic device provided by an embodiment of the present invention.
  • FIG. 7 is the third structural diagram of the first electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a fourth structural diagram of the first electronic device provided by an embodiment of the present invention.
  • Fig. 9 is a structural diagram of a second type of electronic device provided by an embodiment of the present invention.
  • the verification method provided in the embodiment of the present invention is applied to an electronic device with a touch-sensitive screen to provide users with different tactile sensations, so that the user can complete verification according to the tactile sensations, so as to ensure that the operator who passes the verification is a real person.
  • the above Electronic devices can be mobile phones, tablets (Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA), mobile Internet devices (Mobile Internet Device, MID), wearable devices ( Wearable Device), computers or laptops and other electronic devices with touch-sensitive screens.
  • the electrostatic attraction on the touch-sensitive screen can be changed to provide users with different tactile sensations when touching the touch-sensitive screen.
  • the touch screen can also be made to simulate the tactile sensations of different materials.
  • FIG. 1 is a flowchart of a first verification method provided by an embodiment of the present invention.
  • the method is applied to an electronic device that includes a touch screen. As shown in FIG. 1, the method may include the following steps:
  • Step 101 Receive a first operation that acts on the verification area.
  • the above-mentioned first operation may be an operation used for verification in the process of login, payment verification, registration, etc., for example, when logging in to an application, clicking the "login” button on the touch screen, etc.
  • Step 102 When the first operation does not meet the verification condition, adjust the current value of the first sub-region in the verification area, or increase the area of the first sub-region in the verification area, or adjust The current value of the second sub-area in the verification area; wherein the verification area includes the first sub-area and the second sub-area, and the current value of the first sub-area is adjusted or the current value is adjusted After the current value of the second sub-region, the current value of the first sub-region is greater than the current value of the second sub-region.
  • the current value of any position in the verification area can be adjusted, so that the electrostatic attraction value of any position in the verification area can be changed.
  • the user touches different electrostatic attraction values in the verification area The user’s tactile sensations are different.
  • the verification area may be the area where the entire touch screen is located, or it may be a partial area on the touch screen.
  • the verification area may be located in the verification displayed on the touch screen 20. The area within the box 21.
  • the number of touch points in the first operation is the same as the number of the first sub-regions, the touch points of the first operation correspond to the first sub-regions one-to-one, and the touch points are corresponding to the first sub-regions.
  • a sub-region at least partially overlaps, it is determined that the first operation meets the verification condition, otherwise it is determined that the first operation does not meet the verification condition.
  • the electrostatic attraction value of the first subregion and the electrostatic attraction value of the second subregion are different. In this way, by increasing the area of the first sub-region, the tactile sensation generated when the user touches the first sub-region can be enhanced, thereby improving the recognition of the first sub-region.
  • the current value of the second sub-region (also referred to as the electrostatic attraction value) may be 0, and the current value of the first sub-region may be greater than 0.
  • the above-mentioned first sub-area may also be referred to as a tactile area, a tactile stimulation area, or a different tactile area, which is not specifically limited herein.
  • the number of the above-mentioned first sub-regions may be multiple, for example: two or three.
  • the multiple first sub-regions are distributed in the verification area at intervals.
  • the verification frame 1 is It includes two first sub-areas, namely: a first tactile area 22 and a second tactile area 23.
  • the first sub-area is not displayed during the verification process.
  • the first tactile area 22 and the second tactile area 23 shown in FIG. 2 are only used to illustrate the position of the first sub-area. And distribution.
  • the number and position of the first sub-areas can be changed, for example: randomly generating the first sub-areas in the verification area, wherein the randomly generating the first sub-areas can be generating a random number (the The number of first sub-regions greater than 0 and less than 6), and the location of the first sub-region within the verification area is random.
  • the number and location of the first sub-areas in the current verification process cannot be predicted based on the number and location of the first sub-areas in the previous verification process, thereby improving the safety performance of the verification process.
  • the current value of the first sub-region is greater than that of the second sub-region. In this way, the user can feel a more stimulating or protruding tactile sensation when touching the first sub-area, thereby determining that the touched position is the first sub-area.
  • the above adjustment of the current value of the first sub-area in the verification area or adjustment of the current value of the second sub-area in the verification area can also be understood as increasing or decreasing the current value of the first sub-area.
  • the current value of the second sub-region is reduced to increase the difference between the current value of the first sub-region and the current value of the second sub-region.
  • the initial current value of the first sub-region is 10 mA
  • the second sub-region If the initial current value of is 2mA, the current value of the first sub-region can be adjusted to 15 mA, or the initial current value of the second sub-region can be adjusted to 0 mA.
  • the method further includes:
  • the current value of the first sub-region is adjusted, or the area of the first sub-region is increased, or the The current value of the second sub-region;
  • the difference between the current value of the first sub-region and the current value of the second sub-region increases Big.
  • the aforementioned preset time can be any length of time such as 1 second, 2 seconds, etc., and can be adjusted according to the user's setting.
  • the aforementioned preset time can be any length of time such as 1 second, 2 seconds, etc., and can be adjusted according to the user's setting.
  • the touch time is longer than the preset time, it can be determined that the user fails to accurately perceive the position of the first sub-region, and by increasing the first sub-region.
  • the area of the sub-region or increase the difference between the current value of the first sub-region and the current value of the second sub-region, so that when the user touches the verification area, the user can more strongly perceive the first sub-region.
  • the difference in tactile sensation between a sub-area and the second sub-area so as to more accurately press the finger in the first sub-area.
  • the electrostatic attraction value of the second sub-region is 0, and its touch feel is smoother.
  • the electrostatic attraction value of the first sub-region is small, the first sub-region can simulate the tactile feel of cotton cloth; After the value is increased, the first sub-region can simulate the tactile sensation of sandpaper, which is more different from the tactile sensation of the second sub-region.
  • the current value of the first sub-region is adjusted, or the area of the first sub-region is increased , Or adjusting the current value of the second sub-region can increase the tactile intensity or tactile area of the first sub-region, so that the user can perceive the position and shape of the first sub-region more clearly.
  • the method before the adjusting the current value of the first sub-area in the verification area, the method further includes:
  • the output mode of the current in the first sub-region is determined.
  • the above-mentioned shape information or position information of the first sub-region may be shape information or position information corresponding to a pixel of the screen where the first sub-region is located.
  • the above-mentioned shape information may include information such as the shape, outline, and size of the first sub-region.
  • the above-mentioned position information may include position information corresponding to the screen pixel where the first sub-region is located.
  • the current output mode of the first sub-region may be determined as The first method, wherein the first method is to output a current in the contour area of the first sub-region; it is also possible to determine the current in the first sub-region when the size of the first sub-region is small
  • the output mode of is the second mode, wherein the second mode is to output current in the first sub-region.
  • the output mode of the current in the first sub-region can also be determined according to the shape information and position information of the first sub-region, which is not specifically limited here.
  • the current output mode of the first sub-region may include at least one of a first mode and a second mode, and the first mode is to output current in the contour area of the first sub-region;
  • the second method is to output current in the first sub-region.
  • the current value of the first sub-region in the verification area is adjusted, or the area of the first sub-region in the verification area is increased, or the second sub-region in the verification area is adjusted.
  • the current value in the verification area may be the same, and the current value is often zero, or the electrostatic attraction value generated by the current value is often zero.
  • the aforementioned contour area may be an area close to the extension of the first sub-area.
  • the aforementioned contour area may be an area where the contour line of the first sub-area is located, and the width of the contour line is 10 pixels.
  • the output mode is the first mode
  • the user can perceive the contour of the first sub-region through touch.
  • the contour region is the three sides of the triangle.
  • the electric value is output only in the contour area, which can reduce energy consumption.
  • the output mode is the second mode
  • the user can perceive the surface where the first sub-region is located through touch.
  • outputting current in the entire first sub-region can improve the accuracy of user perception, thereby improving the accuracy of the verification method.
  • the method further includes:
  • the input method is the first method
  • the current value of the first sub-region is adjusted to A first preset current value, wherein the first preset current value is greater than the current value of the second area
  • the input method is the second method
  • the above-mentioned first preset current value may be equal to the current value of the contour area, of course, it may also be any current value greater than the current value of the second sub-area.
  • the contour area has the current, so that the user can only feel the contour of the first sub-area.
  • One sub-area outputs current, so that the user can feel the location of the entire first sub-area, thereby improving the accuracy of the user's perception of the location of the first sub-area, thereby improving the operating convenience of the verification method.
  • the area of the first sub-area can be increased continuously. Current value.
  • the first sub-area is increased
  • the current value can improve the user's sense of touch, and can also improve the accuracy of the user's perception of the location of the first sub-region, thereby improving the convenience of the verification method.
  • first preset current value may be determined according to user settings or production settings, which is not limited here.
  • the user can touch the entire verification area with his hand to perceive the position of each first sub-area respectively, and then hold the finger simultaneously on each first sub-area respectively.
  • each first sub-area corresponds to a touch point, and there is no touch point in the second sub-area, so that the verification is passed.
  • the method further includes:
  • sequence prompt information includes sequence information of the at least two first sub-regions
  • the method further includes:
  • the order prompt information may be output in any manner such as voice, text, picture, animation, etc., for example, the text information of "touch each tactile area sequentially from left to right" is displayed on the touch screen.
  • the shapes of the at least two first sub-regions can also be made different from each other.
  • the user can also be prompted to touch the first sub-regions of corresponding shapes in sequence through the sequence prompting information.
  • the verification area includes two first sub-areas, namely: a triangular tactile area and a circular tactile area, the order prompt of "touch the triangular tactile area and the circular tactile area in turn" will be displayed on the touch-sensitive screen.
  • the user first touches each tactile area in the verification area to perceive the shape and position of each tactile area, and then touches the triangular tactile area and the circular tactile area in the order of the order prompting information to complete the verification.
  • the number of the first sub-areas provided is at least two, and the order prompt information is used to inform the user of the sequence of each first sub-areas, so that the user touches one first sub-areas in sequence in the sequence until After each first sub-region is touched according to its arrangement order, the verification is passed. In this way, the user only needs to touch one first sub-region at a time, thereby reducing the operational complexity of the verification method.
  • a verification button is further displayed on the touch screen, and after receiving the first operation on the verification area, the method includes:
  • the position information of the touch point and the position information of the first sub-region are matched successfully, it may be that the position of the touch point and the position of the first sub-region are the same or at least partially overlapped.
  • the touch-sensitive screen for verification when the user touches the touch-sensitive screen for verification, first touch the entire verification area to perceive the position and shape of each first sub-area.
  • the user determines the position and shape of each first sub-area, etc. After that, the first operation for verification is input for the first sub-area.
  • a verification button is set. After the user clicks the verification button, the position information of the touch point for verification input by the user is input. Matching with the location information of the first sub-region.
  • a first operation acting on the electronic device is received; if the first operation does not meet the verification condition, the current value of the first sub-region in the verification area is adjusted , Or increase the area of the first sub-area in the verification area, or adjust the current value of the second sub-area in the verification area; wherein the verification area includes the first sub-area and the first sub-area Two sub-regions, and after adjusting the current value of the first sub-region or adjusting the current value of the second sub-region, the current value of the first sub-region is greater than the current value of the second sub-region.
  • the first sub-area and the second sub-area can have different current values, so that the first sub-area and the second sub-area have different tactile sensations.
  • the user can accurately touch the first sub-area according to the tactile sensation, thereby completing the verification.
  • the verification operation is a human operation; in addition, before the user touches the first sub-area, the position of the first sub-area is not displayed, so that the user can determine the position of the first sub-area only after touching, which improves the verification method The safety performance.
  • FIG. 3 is a flowchart of a second verification method provided by an embodiment of the present invention.
  • the verification method is applied to an electronic device that includes a touch screen.
  • the verification method may include the following steps :
  • Step 301 Receive a first operation acting on the electronic device.
  • Step 302 In response to the first operation, display a verification area on the touch screen, and adjust the current value of a first sub-area in the verification area, wherein the verification area includes the first sub-area And the second sub-region, and the current value of the first sub-region is different from the current value of the second sub-region.
  • displaying the verification area on the touch screen and adjusting the current value of the first sub-area in the verification area may be generating a first sub-area at a random position in the verification area, The current value of the first sub-region is different from the current value of other locations in the verification region.
  • Step 303 Receive a second operation that acts on the verification area.
  • the above-mentioned second operation may be a click operation or a re-press operation entered by the user in the verification area.
  • the current value of the first sub-region can be rapidly enhanced and reduced, for example: according to a 0.5 second period, the current value of the first sub-region is controlled to be at the first current value. Periodically switching between the second current value and the first current value, wherein the first current value is different from the second current value.
  • the tactile intensity of the first sub-region can be increased, so as to improve the accuracy and speed of the user's perception of the first sub-region, thereby improving the operating efficiency of the verification method.
  • Step 304 Obtain the position information of the touch point of the second operation, and obtain the position information of the first sub-region.
  • the first sub-area when the second operation is successfully applied to the first sub-area, can also be displayed, for example, as shown in FIGS. 4a to 4c, wherein, after the first operation is received ,
  • the mobile phone displays a verification interface 40 as shown in FIG. 4a.
  • the verification interface 40 includes a verification area 41 and a first sub-area 42; when the user performs the second operation shown in FIG. 4b on the first sub-area 42, the display is shown as In the tactile point 43 shown in FIG. 4c, the tactile point 43 overlaps the first sub-area 42 to feedback to the user that the first sub-area 42 has successfully received a click operation.
  • the first sub-region 42 shown in FIGS. 4a to 4c is only used for example, and in practical applications, the first sub-region is not displayed.
  • the user can check whether the input is correct according to the display condition of the first sub-region, so that the user can decide whether to perform verification according to the displayed first sub-region accordingly.
  • the user determines to perform verification according to the displayed first sub-region, the user performs a third operation on the verification button, so that the electronic device executes step 305.
  • the above display of the first sub-region may be to increase the brightness of the first sub-region, display the outline of the first sub-region, or display the first sub-region in a color different from that of the verification region, etc., here There is no specific limitation.
  • the number of the first subregion is only one. In practical applications, the number of the first subregion may be two or more. This is not specifically limited.
  • a clear button may also be displayed on the touch screen, so as to clear the above-mentioned second operation input by the user when a touch operation on the clear button is received.
  • the second operation can also be cleared when the user touches the second sub-area, which is not specifically limited here.
  • Step 305 Receive a third operation for the verification button.
  • the verification button is located outside the verification area.
  • Step 306 In response to the third operation, match the position information of the touch point with the position information of the first sub-region.
  • Step 307 If the location information of the touch point matches the location information of the first sub-region successfully, the verification is passed.
  • the process can return to step 301.
  • the matching process between the touch point and the first sub-area is triggered according to the user's third input, which can prevent the user from completing the second operation or inputting the wrong second operation
  • the error can be corrected in time, so that after the user inputs the correct second operation, the user actively triggers the matching process between the touch point and the first sub-region, thereby improving the operating convenience of the verification method.
  • FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • the electronic device includes a touch screen.
  • the electronic device 500 further includes:
  • the first receiving module 501 is configured to receive a first operation acting on the electronic device
  • the first adjustment module 502 is configured to adjust the current value of the first sub-area in the verification area or increase the first sub-area in the verification area when the first operation does not meet the verification conditions.
  • the verification area includes the first sub-area and the second sub-area, and after adjusting the current value of the first sub-area or adjusting the current value of the second sub-area, the first sub-area The current value of the area is greater than the current value of the second sub-area.
  • the electronic device 500 further includes:
  • the second adjustment module 503 is configured to adjust the current value of the first sub-area in the verification area or increase the first sub-area in the verification area when the first operation does not meet the verification conditions Or after adjusting the current value of the second sub-area in the verification area, adjust the first The current value of the sub-region, or increase the area of the first sub-region, or adjust the current value of the second sub-region;
  • the difference between the current value of the first sub-region and the current value of the second sub-region increases Big.
  • the electronic device 500 further includes:
  • the determining module 504 is configured to determine the current output mode of the first sub-region according to the shape information or position information of the first sub-region before adjusting the current value of the first sub-region in the verification region.
  • the output mode includes a first mode or a second mode, the first mode is outputting current in the contour area of the first sub-region, and the second mode is outputting current in the first sub-region. Current.
  • the electronic device 500 further includes:
  • the output module 505 is configured to adjust the current value of the first sub-area in the verification area or increase the area of the first sub-area in the verification area when the first operation does not meet the verification conditions , Or before adjusting the current value of the second sub-region in the verification area, output the sequence prompt information of the at least two first sub-regions, wherein the sequence prompt information includes the at least two first sub-regions The sort order information;
  • the verification module 506 is configured to adjust the current value of the first sub-area in the verification area or increase the area of the first sub-area in the verification area when the first operation does not meet the verification conditions , Or after adjusting the current value of the second sub-area in the verification area, a touch input matching the order of the arrangement order information is received in the at least two first sub-areas, and the second sub-area If no touch input is received in the area, the verification is passed.
  • the electronic device provided by the embodiment of the present invention can implement each process of the verification method provided by the method embodiment of the present invention, and can achieve the same beneficial effects. To avoid repetition, details are not described herein again.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
  • a radio frequency unit 901 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers
  • the user input unit 907 is configured to receive a first operation acting on the electronic device
  • the processor 910 is configured to adjust the current value of the first sub-area in the verification area or increase the area of the first sub-area in the verification area when the first operation does not meet the verification condition , Or adjust the current value of the second sub-area in the verification area;
  • the verification area includes the first sub-area and the second sub-area, and after adjusting the current value of the first sub-area or adjusting the current value of the second sub-area, the first sub-area The current value of the area is greater than the current value of the second sub-area.
  • the processor 910 is further configured to:
  • the user input unit 907 When the user input unit 907 receives a touch input for the second sub-area and the touch time is longer than a preset time, adjust the current value of the first sub-area, or increase the current value of the first sub-area. Area, or adjusting the current value of the second sub-region;
  • the difference between the current value of the first sub-region and the current value of the second sub-region increases Big.
  • the processor 910 before performing the adjustment of the current value of the first sub-area in the verification area, the processor 910 is further configured to:
  • the output mode of the current in the first sub-region is determined.
  • the output mode includes a first mode or a second mode, the first mode is outputting current in the contour area of the first sub-region, and the second mode is outputting current in the first sub-region. Current.
  • the processor 910 executes the first operation that does not meet the verification condition, adjust the first sub-region in the verification region. Before the current value of a sub-region is increased, or the area of the first sub-region in the verification region is increased, or the current value of the second sub-region in the verification region is adjusted;
  • the audio output unit 903 or the display unit 906 is configured to output the order prompt information of the at least two first sub-regions, wherein the order prompt information includes the arrangement order information of the at least two first sub-regions;
  • the processor 910 is further configured to adjust the current value of the first sub-area in the verification area or increase the current value of the first sub-area in the verification area when the first operation does not meet the verification conditions. Area, or after adjusting the current value of the second sub-region in the verification region, the method further includes:
  • the processor 910 is further configured to receive a touch input matching the order of the arrangement order information in the at least two first sub-regions, and in the case that no touch input is received in the second sub-region, Verification passed.
  • the electronic device 900 provided by the embodiment of the present invention can make the current value of the first sub-area on the touch screen different from the current value of the second sub-area, so that the user can perceive the first sub-area through tactile sense, thereby Performing a verification operation on the location of the first sub-region to use the tactile sense of a real person for verification has the same beneficial effects as the verification method provided in the embodiment of the present invention, and will not be repeated here.
  • the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station.
  • the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 904 is used to receive audio or video signals.
  • the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042.
  • the graphics processor 9041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 906.
  • the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902.
  • the microphone 9042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.
  • the electronic device 900 further includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 9061 and the display panel 9061 when the electronic device 900 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 906 is used to display information input by the user or information provided to the user.
  • the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 907 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 9071 or near the touch panel 9071. operate).
  • the touch panel 9071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed.
  • the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 907 may also include other input devices 9072.
  • other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 9071 can cover the display panel 9061.
  • the touch panel 9071 detects a touch operation on or near it, it is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides corresponding visual output on the display panel 9061.
  • the touch panel 9071 and the display panel 9061 are used as two independent components to realize the input and output functions of the electronic device of the terminal device, in some embodiments, the touch panel 9071 and the display panel 9071 may be combined. 9061 is integrated to realize the input and output functions of the terminal equipment electronic equipment, which is not specifically limited here.
  • the interface unit 908 is an interface for connecting an external device and the electronic device 900.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
  • the memory 909 can be used to store software programs and various data.
  • the memory 909 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 910 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 909, and calls data stored in the memory 909 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
  • the electronic device 900 may also include a power source 910 (such as a battery) for supplying power to various components.
  • a power source 910 such as a battery
  • the power source 910 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 900 includes some functional modules that are not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 910, a memory 909, a computer program stored in the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
  • an electronic device including a processor 910, a memory 909, a computer program stored in the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • modules, units, and sub-units can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (Digital Signal Processor, DSP), and digital signal processing equipment (DSP Device, DSPD). ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to execute the present disclosure Other electronic units or a combination of the functions described above.
  • ASIC application specific integrated circuits
  • DSP Digital Signal Processor
  • DSP Device digital signal processing equipment
  • PLD programmable logic devices
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technology described in the embodiments of the present disclosure can be implemented by modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.

Landscapes

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

Abstract

本发明实施例提供一种验证方法、电子设备和计算机可读存储介质,其中,方法应用于电子设备,所述电子设备包括触感屏,所述方法包括:在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。

Description

验证方法、电子设备和计算机可读存储介质
相关申请的交叉引用
本申请主张在2020年3月26日在中国提交的中国专利申请号No.202010224204.9的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及通信技术领域,尤其涉及一种验证方法、电子设备和计算机可读存储介质。
背景技术
相关技术中,为区分真人操作和机器操作,需要在电子设备上进行身份验证,该身份验证过程中,往往在该电子设备的显示屏上显示验证码或图案等,并将接收的输入操作与预设验证码进行匹配,在匹配成功的情况下,确定是真人操作,从而通过身份验证。
身份验证通常是为了注册,订购,登录某项业务而产生的,相关技术中在显示屏上显示验证码或图案的方式,容易造成验证码泄露,进而产生一些不确定的收费或者是自身身份信息的泄露等。
由此可知,相关技术中的身份验证方法存在降低了验证过程的安全性能的缺陷。
发明内容
本发明实施例提供一种验证方法、电子设备和计算机可读存储介质,以解决相关技术中的验证方法存在的验证过程的安全性能低的问题。
为了解决上述技术问题,本发明实施例是这样实现的:
第一方面,本发明实施例提供了一种验证方法,应用于电子设备,所述电子设备包括触感屏,所述方法包括:
接收作用于验证区域的第一操作;
在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一 子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
第二方面,本发明实施例还提供了一种电子设备,所述电子设备包括触感屏,所述电子设备还包括:
第一接收模块,用于接收作用于验证区域的第一操作;
第一调整模块,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
第三方面,本发明实施例还提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本发明实施例第一方面提供的所述验证方法中的步骤。
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例第一方面提供的所述验证方法中的步骤。
第五方面,本发明实施例还提供一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现本发明实施例第一方面提供的所述验证方法中的步骤。
第六方面,本发明实施例还提供一种电子设备,所述电子设备被配置成用于执行本发明实施例第一方面提供的所述验证方法。
本发明实施例提供的验证方法中,接收作用于所述电子设备的第一操作;在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述 验证区域内的第二子区域的电流值;其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。这样,可以通过使第一子区域与第二子区域具有不同的电流值,使第一子区域与第二子区域具有不同的触感,用户可以根据触感准确的触摸第一子区域,从而完成验证,确保该验证操作为真人操作;另外,在用户触摸第一子区域之前,并不显示该第一子区域的位置,从而使用户通过触摸后才能确定第一子区域的位置,提升了验证方法的安全性能。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的第一种验证方法的流程图;
图2是本发明实施例提供的第一种验证方法的应用场景图;
图3是本发明实施例提供的第二种验证方法的流程图;
图4a是本发明实施例提供的第二种验证方法的应用场景图之一;
图4b是本发明实施例提供的第二种验证方法的应用场景图之二;
图4c是本发明实施例提供的第二种验证方法的应用场景图之三;
图5是本发明实施例提供的第一种电子设备的结构图之一;
图6是本发明实施例提供的第一种电子设备的结构图之二;
图7是本发明实施例提供的第一种电子设备的结构图之三;
图8是本发明实施例提供的第一种电子设备的结构图之四;
图9是本发明实施例提供的第二种电子设备的结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是 全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中提供的验证方法应用于具有触感屏的电子设备,为用户提供不同的触感,以使用户根据触感完成验证,以确保通过该验证的操作者为真人,在具体实施中,上述电子设备可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)、可穿戴式设备(Wearable Device)、计算机或笔记本电脑等具有触感屏的电子设备。
在具体实施中,上述触感屏技术中,通过调节触感屏上的电流大小,可以改变触感屏上的静电引力,为用户在触摸该触感屏时提供不同的触感。进一步的,通过改变触感屏上的电流大小,还可以使触感屏模拟不同材质的触感。
请参阅图1,是本发明实施例提供的第一种验证方法的流程图,该方法应用于电子设备,所述电子设备包括触感屏,如图1所示,该方法可以包括以下步骤:
步骤101、接收作用于验证区域的第一操作。
在具体实施中,上述第一操作可以是用于登录、支付验证、注册等过程中的验证的操作,例如:在登录应用程序时,点击触感屏上的“登录”按钮等。
步骤102、在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
在具体实施中,上述验证区域内任一位置的电流值可以调节,从而能够改变上述验证区域内任一位置的静电引力值,在应用过程中,当用户触摸所述验证区域中不同静电引力值的子区域时,用户感受到的触觉不相同。
在实际应用中,上述验证区域可以是整个触感屏所在的区域,其也可以 是所述触感屏上的部分区域,例如:如图2所示,上述验证区域可以位于触感屏20上显示的验证框21内的区域。
其中,在所述第一操作的触摸点的数量与所述第一子区域的数量相同,所述第一操作的触摸点与所述第一子区域一一对应,且触摸点与其对应的第一子区域至少部分重叠的情况下,确定所述第一操作符合验证条件,否则确定所述第一操作不符合验证条件。
在所述第一操作不符合验证条件的情况下,增大所述验证区域内的第一子区域的面积的实施方式下,第一子区域的静电引力值与第二子区域的静电引力值不同。这样,通过增大第一子区域的面积可以增强用户触摸该第一子区域时产生的触感,从而提升第一子区域的辨识度。
具体的,上述第二子区域的电流值(也可以称之为静电引力值)可以为0,且上述第一子区域的电流值可以大于0,这样,当用户触摸第一子区域和第二子区域时,该用户感受到的不同的触觉,从而根据触觉的不同来区分第一子区域和第二子区域。另外,上述第一子区域还可以称之为:触感区域、触感刺激区域或者触感不同区域,在此不做具体限定。
另外,上述第一子区域的数量可以是多个,例如:2个或者3个,这样,多个第一子区域间隔分布于验证区域内,再例如:如图2所示,验证框1内包括两个第一子区域,分别为:第一触感区域22和第二触感区域23。需要说明的是,在具体实施中,进行验证的过程中,并不显示第一子区域,图2所示第一触感区域22和第二触感区域23仅用于实例说明第一子区域的位置和分布情况。
在实际应用中,第一子区域的数量和位置可以改变,例如:在所述验证区域内随机的生成第一子区域,其中,所述随机的生成第一子区域可以是生成随机数量(该数量大于0且小于6)的第一子区域,以及第一子区域在验证区域内的位置随机。这样,在验证过程中,不能够根据以往验证过程中的第一子区域的数量和位置预判当前验证过程中第一子区域的数量和位置,从而提升验证过程的安全性能。
另外,上述调整所述验证区域内的第一子区域的电流值,或者调整所述验证区域内的第二子区域的电流值的实施方式中,第一子区域的电流值大于 第二子区域的电流值,这样,能够使的用户触摸第一子区域时,感受到更加刺激或者突出的触感,从而确定该触摸位置为第一子区域。
另外,上述调整所述验证区域内的第一子区域的电流值,或者调整所述验证区域内的第二子区域的电流值,还可以理解为增大第一子区域的电流值,或者减小第二子区域的电流值,以使第一子区域的电流值与第二子区域的电流值之间的差异增大,例如:第一子区域的初始电流值为10mA,第二子区域的初始电流值为2mA,则可以将第一子区域的电流值调整为15mA,或者将第二子区域的初始电流值调整为0mA。
作为一种可选的实施方式,在所述响应于所述第一操作,在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
在接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区域的面积,或者调整所述第二子区域的电流值;
其中,调整所述第一子区域的电流值或者调整所述第二子区域的电流值后,所述第一子区域的电流值与所述第二子区域的电流值之间的差值增大。
在具体实施中,上述预设时间可以是1秒、2秒等任一时间长度,且可以根据用户的设置进行调整。另外,在接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,可以判断为用户未能准确感知到第一子区域的位置,通过增大所述第一子区域的面积,或者增大所述第一子区域的电流值与所述第二子区域的电流值之间的差值,使用户触摸到验证区域时,该用户能够更加强烈的感知到第一子区域与第二子区域之间的触感差异,从而更加准确的将手指按压在第一子区域内。例如:第二子区域的静电引力值为0,其触感较光滑,在第一子区域的静电引力值较小时,该第一子区域可以模拟棉布的触感;在将第一子区域的静电引力值增大后,该第一子区域可以模拟砂纸的触感,从而与第二子区域的触感的差异更大。
本实施方式中,当接收到针对第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区 域的面积,或者调整所述第二子区域的电流值,可以提升第一子区域的触感强度或者触感面积,从而使用户更加清晰的感知所述第一子区域的位置和形状等。
作为一种可选的实施方式,所述调整所述验证区域内的第一子区域的电流值之前,还包括:
根据所述第一子区域的形状信息或位置信息,确定所述第一子区域的电流的输出方式。
在具体实施中,上述第一子区域的形状信息或位置信息可以是第一子区域所在的屏幕像素点对应的形状信息或位置信息。
具体的,上述形状信息可以包括第一子区域的外形、轮廓、尺寸等信息,另外,上述位置信息可以包括第一子区域所在的屏幕像素点对应的位置信息。在实施中,可以在第一子区域包括两个不同轮廓的第一子区域的情况下,或者第一子区域的尺寸较大的情况下,确定所述第一子区域的电流的输出方式为第一方式,其中,第一方式为在所述第一子区域的轮廓区域输出电流;还可以在所述在第一子区域的尺寸较小的情况下,确定所述第一子区域的电流的输出方式为第二方式,其中,所述第二方式为在所述第一子区域输出电流。
另外,在实际应用中还可以根据第一子区域的形状信息和位置信息确定所述第一子区域的电流的输出方式,在此不作具体限定。
在具体实施中,所述第一子区域的电流的输出方式可以包括第一方式和第二方式中的至少一种,所述第一方式为在所述第一子区域的轮廓区域输出电流;所述第二方式为在所述第一子区域输出电流。
在具体实施中,在调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之前,所述验证区域内的电流值可以相同,且该电流值往往为0,或者该电流值产生的静电引力值往往为0。另外,上述轮廓区域可以是第一子区域中的靠近其外延的区域,例如:上述轮廓区域可以是第一子区域的轮廓线所在的区域,且该轮廓线的宽度为10个像素点。
其中,在所述输出方式为第一方式的情况下,可以使用户能够通过触摸感知第一子区域的轮廓。例如:第一子区域为三角形的情况下,所述轮廓区 域为该三角形的三条边。本实施方式中,仅在轮廓区域输出电值,可减少能耗。
另外,在所述输出方式为第二方式的情况下,可以使用户能够通过触摸感知第一子区域所在的面。本实施方式中,在整个第一子区域输出电流,可以提升用户感知的精确度,从而提升所述验证方法的精确度。
进一步的,在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
在所述输入方式为所述第一方式的情况下,若接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间,则将所述第一子区域的电流值调整为第一预设电流值,其中,所述第一预设电流值大于所述第二区域的电流值;
或者,
在所述输入方式为所述第二方式的情况下,若接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,增大所述第一子区域的电流值。
在具体实施中,上述第一预设电流值可以与所述轮廓区域的电流值相等,当然,其还可以是大于所述第二子区域的电流值的任一电流值。
另外,在按照第一方式输出所述第一子区域的电流之后,仅轮廓区域具有电流,使得用户仅能够触感到第一子区域的轮廓。本实施方式中,在检测到所述第二子区域内有触摸点,且触摸时间大于预设时间的情况下,可以认为用户不能够准确的感知第一子区域的位置,此时通过在第一子区域输出电流,使得用户能够触感到整个第一子区域所在的位置,从而提升用户感知所述第一子区域所在位置的精确度,进而提升了所述验证方法的操作便利程度。
当然,当在所述第一子区域输出电流之后,若仍然检测到所述第二子区域内有触摸点,且触摸时间大于预设时间,则还可以继续增大所述第一子区域的电流值。
另外,在按照第二方式输出所述第一子区域的电流之后,若检测到所述第二子区域内有触摸点,且触摸时间大于预设时间,则增大所述第一子区域 的电流值,以提升用户的触感,同样可以提升用户感知所述第一子区域所在位置的精确度,进而提升了所述验证方法的操作便利程度。
需要说明的是,上述第一预设电流值的具体取值,可以根据用户的设置或者出产设置确定,在此并不限定。
在应用中,在生成验证区域后,用户可以用手抚摸整个验证区域,以分别感知每一第一子区域的位置,然后分别将手指同时按住各个第一子区域。
这样,使每一个第一子区域对应一个触摸点,且第二子区域内无触摸点,从而通过验证。
作为一种可选的实施方式,在所述第一子区域的数量为至少两个的情况下,在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之前,所述方法还包括:
输出所述至少两个第一子区域的次序提示信息,其中,所述次序提示信息包括所述至少两个第一子区域的排列顺序信息;
在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
在所述至少两个第一子区域内接收到与所述排列顺序信息的顺序匹配的触摸输入,且所述第二子区域内未接收到触摸输入的情况下,验证通过。
在具体实施中,可以通过语音、文字、图片、动画等任一种方式输出所述次序提示信息,例如:在触感屏上显示“从左至右依次触摸各个触感区域”的文字信息。
在实施中,还可以使所述至少两个第一子区域的形状互不相同,这样,还可以通过次序提示信息提示用户依次触摸相应形状的第一子区域。例如:验证区域内包括两个第一子区域,分别为:一个三角形的触感区域和一个圆形的触感区域,则在触感屏上显示“依次触摸三角形触感区域和圆形触感区域”的次序提示信息,这样,用户首先触摸验证区域内的各个触感区域,以感知每一触感区域的形状和位置,然后按照次序提示信息提示的顺序,依次触摸三角形触感区域和圆形触感区域,以完成验证。
本实施方式中,提供的第一子区域的数量为至少两个,且通过次序提示信息告知用户各个第一子区域的排列顺序,以使用户按照该排列顺序依次触摸一个第一子区域,直至每一第一子区域按照其排列顺序被触摸后,通过验证,这样,用户每次仅需触摸一个第一子区域,从而降低了所述验证方法的操作复杂程度。
作为一种可选的实施方式,所述触感屏上还显示有验证按钮,所述接收作用于验证区域的第一操作之后,包括:
获取所述第一操作的触摸点的位置信息,以及获取所述第一子区域的位置信息;
接收针对所述验证按钮的第二操作;
响应于所述第二操作,将所述触摸点的位置信息与所述第一字区域的位置信息进行匹配;
在所述触摸点的位置信息与所述第一子区域的位置信息匹配成功的情况下,验证通过。
在具体实施中,上述触摸点的位置信息与所述第一子区域的位置信息匹配成功,可以是触摸点的位置与第一子区域的位置相同或者至少部分重叠。
在具体实施中,用户在触摸触感屏以进行验证的过程中,首先触摸整个验证区域,以感知各个第一子区域的位置和形状等,当用户确定每一第一子区域的位置和形状等之后,才会针对第一子区域输入用于验证的第一操作,这样,本实施方式中,设置验证按钮,在用户点击该验证按钮后,将用户输入的用于验证的触摸点的位置信息与第一子区域的位置信息进行匹配。
本实施方式,可以避免用户的操作误触发触摸点与第一子区域之间的匹配时,得出验证失败的结果,从而减少重复执行验证操作的次数,可以降低所述验证方法的操作便利程度。
本发明实施例提供的验证方法中,接收作用于所述电子设备的第一操作;在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区 域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。这样,可以通过使第一子区域与第二子区域具有不同的电流值,使第一子区域与第二子区域具有不同的触感,用户可以根据触感准确的触摸第一子区域,从而完成验证,确保该验证操作为真人操作;另外,在用户触摸第一子区域之前,并不显示该第一子区域的位置,从而使用户通过触摸后才能确定第一子区域的位置,提升了验证方法的安全性能。
请参阅图3,是本发明实施例提供的第二种验证方法的流程图,该验证方法应用于电子设备,所述电子设备包括触感屏,如图3所示,该验证方法可以包括以下步骤:
步骤301、接收作用于所述电子设备的第一操作。
步骤302、响应于所述第一操作,在所述触感屏上显示验证区域,并调整所述验证区域内的第一子区域的电流值,其中,所述验证区域包括所述第一子区域和第二子区域,且所述第一子区域的电流值与所述第二子区域的电流值不同。
本实施方式中,上述在所述触感屏上显示验证区域,并调整所述验证区域内的第一子区域的电流值,可以是在所述验证区域内的随机位置生成一个第一子区域,该第一子区域的电流值与所述验证区域内其他位置的电流值不同。
步骤303、接收作用于所述验证区域的第二操作。
在具体实施中,上述第二操作可以是用户在所述验证区域内输入的点击操作或者重按操作等。
可选的,在步骤303之前,还可以快速的增强和减小所述第一子区域的电流值,例如:按照0.5秒的周期,控制所述第一子区域的电流值在第一电流值与第二电流值之间进行周期性切换,其中,第一电流值与第二电流值不相同。
这样,可以增加所述第一子区域的触感强度,以提升用户感知所述第一子区域的精度度和速度,从而提升所述验证方法的操作效率。
步骤304、获取所述第二操作的触摸点的位置信息,以及获取所述第一子区域的位置信息。
在具体实施中,当所述第二操作成功作用于第一子区域时,还可以显示所述第一子区域,例如:如图4a至图4c所示,其中,在接收到第一操作之后,手机显示如图4a所示的验证界面40,该验证界面40包括验证区域41和第一子区域42;当用户对第一子区域42执行如图4b所示的第二操作后,显示如图4c所示的触感点43,该触感点43与第一子区域42重叠,以向用户反馈该第一子区域42成功接收到点击操作。需要说明的是,如图4a至4c中所示的第一子区域42仅用于实例说明,在实际应用中,并不显示该第一子区域。
这样,用户可以根据所述第一子区域的显示情况,检查其输入是否正确,以使用户据此决定是否按照显示的第一子区域进行验证。当用户确定按照显示的第一子区域进行验证时,用户针对所述验证按钮执行第三操作,从而使电子设备执行步骤305。
另外,上述显示所述第一子区域可以是提升所述第一子区域的亮度、显示所述第一子区域的轮廓或者按照与验证区域不同的颜色显示所述第一子区域等,在此不作具体限定。
需要说明的是,图4a至4c所示实施例中,所述第一子区域的数量仅有一个,在实际应用中,上述第一子区域的数量还可以是两个或者两个以上,在此不做具体限定。
作为一种可选的实施方式,所述触感屏上还可以显示清除按钮,以在接收到针对所述清除按钮的触控操作的情况下,清除用户输入的上述第二操作。
这样,在用户输入错误的第二操作的情况下,可以清除该错误操作,并重新输入第二操作。
当然,在具体实施中,还可以在用户触控到第二子区域时,清除所述第二操作,在此不做具体限定。
步骤305、接收针对所述验证按钮的第三操作。
在具体实施中,如图4a至4c所示,所述验证按钮位于所述验证区域外。
步骤306、响应于所述第三操作,将所述触摸点的位置信息与所述第一子区域的位置信息进行匹配。
步骤307、在所述触摸点的位置信息与所述第一子区域的位置信息匹配 成功的情况下,验证通过。
在具体实施中,若验证未通过,可以返回至步骤301。
本发明实施例中,通过设置验证按钮,以在用户完成第二操作后,根据用户的第三输入触发触摸点与第一子区域的匹配过程,可以避免用户未完成或者输入错误的第二操作的情况下,可以及时更正错误,以在用户输入正确的第二操作之后,由用户主动触发触摸点与第一子区域的匹配过程,从而提升所述验证方法的操作便利程度。
请参阅图5,是本发明实施例提供给的一种电子设备的结构图,该电子设备包括触感屏,如图5所示,该电子设备500还包括:
第一接收模块501,用于接收作用于所述电子设备的第一操作;
第一调节模块502,用于用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
可选的,如图6所示,电子设备500还包括:
第二调节模块503,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,在接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区域的面积,或者调整所述第二子区域的电流值;
其中,调整所述第一子区域的电流值或者调整所述第二子区域的电流值后,所述第一子区域的电流值与所述第二子区域的电流值之间的差值增大。
可选的,如图7所示,电子设备500,还包括:
确定模块504,用于调整所述验证区域内的第一子区域的电流值之前,根据所述第一子区域的形状信息或位置信息,确定所述第一子区域的电流的输出方式。
可选的,所述输出方式包括第一方式或第二方式,所述第一方式为在所述第一子区域的轮廓区域输出电流,所述第二方式为在所述第一子区域输出电流。
可选的,在所述第一子区域的数量为至少两个的情况下,如图8所示,电子设备500,还包括:
输出模块505,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之前,输出所述至少两个第一子区域的次序提示信息,其中,所述次序提示信息包括所述至少两个第一子区域的排列顺序信息;
验证模块506,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,在所述至少两个第一子区域内接收到与所述排列顺序信息的顺序匹配的触摸输入,且所述第二子区域内未接收到触摸输入的情况下,验证通过。
本发明实施例提供的电子设备能够实现本发明方法实施例提供验证方法的各个过程,且能够取得相同的有益效果,为避免重复,在此不再赘述。
参阅图9,图9为实现本发明各个实施例的一种电子设备的硬件结构示意图。
该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、计步器、计算机以及笔记本电脑等。
其中,用户输入单元907,用于接收作用于所述电子设备的第一操作;
处理器910,用于在所述第一操作不符合验证条件的情况下,调整所述 验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
可选的,在执行所述在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,处理器910还用于:
在用户输入单元907接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区域的面积,或者调整所述第二子区域的电流值;
其中,调整所述第一子区域的电流值或者调整所述第二子区域的电流值后,所述第一子区域的电流值与所述第二子区域的电流值之间的差值增大。
可选的,处理器910在执行所述调整所述验证区域内的第一子区域的电流值之前,还用于:
根据所述第一子区域的形状信息或位置信息,确定所述第一子区域的电流的输出方式。
可选的,所述输出方式包括第一方式或第二方式,所述第一方式为在所述第一子区域的轮廓区域输出电流,所述第二方式为在所述第一子区域输出电流。
可选的,在所述第一子区域的数量为至少两个的情况下,在处理器910执行所述在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之前;
音频输出单元903或者显示单元906,用于输出所述至少两个第一子区域的次序提示信息,其中,所述次序提示信息包括所述至少两个第一子区域的排列顺序信息;
处理器910,还用于在所述第一操作不符合验证条件的情况下,调整所 述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
处理器910,还用于在所述至少两个第一子区域内接收到与所述排列顺序信息的顺序匹配的触摸输入,且所述第二子区域内未接收到触摸输入的情况下,验证通过。
本发明实施例提供的电子设备900,可以通过使触感屏上的第一子区域的电流值与第二子区域的电流值不同的方式,以使用户通过触觉感知该第一子区域,从而根据该第一子区域的位置执行验证操作,以利用真人具有的触觉进行验证,具有与本发明实施例提供的验证方法相同的有益效果,在此不再赘述。
应理解的是,本发明实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与电子设备900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以 接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。
电子设备900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在电子设备900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。
用户输入单元907可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、 开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现终端设备电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现终端设备电子设备的输入和输出功能,具体此处不做限定。
接口单元908为外部装置与电子设备900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备900内的一个或多个元件或者可以用于在电子设备900和外部装置之间传输数据。
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器910是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
电子设备900还可以包括给各个部件供电的电源910(比如电池),优选 的,电源910可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备900包括一些未示出的功能模块,在此不再赘述。
优选的,本发明实施例还提供一种电子设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述验证方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单 元中。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM)等。
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种验证方法,应用于电子设备,包括:
    接收作用于验证区域的第一操作;
    在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
    其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
  2. 如权利要求1所述方法,其中,在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
    在接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区域的面积,或者调整所述第二子区域的电流值;
    其中,调整所述第一子区域的电流值或者调整所述第二子区域的电流值后,所述第一子区域的电流值与所述第二子区域的电流值之间的差值增大。
  3. 如权利要求1所述方法,其中,所述调整所述验证区域内的第一子区域的电流值之前,还包括:
    根据所述第一子区域的形状信息或位置信息,确定所述第一子区域的电流的输出方式。
  4. 如权利要求3所述方法,其中,所述输出方式包括第一方式或第二方式,所述第一方式为在所述第一子区域的轮廓区域输出电流,所述第二方式为在所述第一子区域输出电流。
  5. 如权利要求1所述方法,其中,在所述第一子区域的数量为至少两个、且所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述 验证区域内的第二子区域的电流值之前,所述方法还包括:
    输出所述至少两个第一子区域的次序提示信息,其中,所述次序提示信息包括所述至少两个第一子区域的排列顺序信息;
    在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,所述方法还包括:
    在所述至少两个第一子区域内接收到与所述排列顺序信息的顺序匹配的触摸输入,且所述第二子区域内未接收到触摸输入的情况下,验证通过。
  6. 一种电子设备,包括:
    第一接收模块,用于接收作用于验证区域的第一操作;
    第一调整模块,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值;
    其中,所述验证区域包括所述第一子区域和所述第二子区域,且调整所述第一子区域的电流值或调整所述第二子区域的电流值后,所述第一子区域的电流值大于所述第二子区域的电流值。
  7. 如权利要求6所述电子设备,还包括:
    第二调节模块,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,在接收到针对所述第二子区域的触摸输入,且触摸时间大于预设时间的情况下,调整所述第一子区域的电流值,或者增大所述第一子区域的面积,或者调整所述第二子区域的电流值;
    其中,调整所述第一子区域的电流值或者调整所述第二子区域的电流值后,所述第一子区域的电流值与所述第二子区域的电流值之间的差值增大。
  8. 如权利要求6所述电子设备,还包括:
    确定模块,用于调整所述验证区域内的第一子区域的电流值之前,根据所述第一子区域的形状信息或位置信息,确定所述第一子区域的电流的输出方式。
  9. 如权利要求8所述电子设备,其中,所述输出方式包括第一方式或第二方式,所述第一方式为在所述第一子区域的轮廓区域输出电流,所述第二方式为在所述第一子区域输出电流。
  10. 如权利要求6所述电子设备,其中,在所述第一子区域的数量为至少两个的情况下,所述电子设备还包括:
    输出模块,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之前,输出所述至少两个第一子区域的次序提示信息,其中,所述次序提示信息包括所述至少两个第一子区域的排列顺序信息;
    验证模块,用于在所述第一操作不符合验证条件的情况下,调整所述验证区域内的第一子区域的电流值,或者增大所述验证区域内的第一子区域的面积,或者调整所述验证区域内的第二子区域的电流值之后,在所述至少两个第一子区域内接收到与所述排列顺序信息的顺序匹配的触摸输入,且所述第二子区域内未接收到触摸输入的情况下,验证通过。
  11. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5中任一项所述的验证方法中的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的验证方法中的步骤。
  13. 一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现如权利要求1至5中任一项所述的验证方法中的步骤。
  14. 一种电子设备,所述电子设备被配置成用于执行如权利要求1至5中任一项所述的验证方法。
PCT/CN2021/082951 2020-03-26 2021-03-25 验证方法、电子设备和计算机可读存储介质 WO2021190590A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP21776022.2A EP4131037A4 (en) 2020-03-26 2021-03-25 VERIFICATION METHOD, ELECTRONIC DEVICE AND COMPUTER READABLE STORAGE MEDIUM
JP2022558305A JP7465989B2 (ja) 2020-03-26 2021-03-25 検証方法、電子機器及びコンピュータ可読記憶媒体
KR1020227036434A KR20220156897A (ko) 2020-03-26 2021-03-25 검증 방법, 전자기기 및 컴퓨터 판독 가능한 저장매체
US17/929,567 US20220414192A1 (en) 2020-03-26 2022-09-02 Verification Method, Electronic Device, and Non-Transitory Computer-Readable Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010224204.9 2020-03-26
CN202010224204.9A CN111444494B (zh) 2020-03-26 2020-03-26 一种验证方法、电子设备和计算机可读存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/929,567 Continuation US20220414192A1 (en) 2020-03-26 2022-09-02 Verification Method, Electronic Device, and Non-Transitory Computer-Readable Storage Medium

Publications (1)

Publication Number Publication Date
WO2021190590A1 true WO2021190590A1 (zh) 2021-09-30

Family

ID=71649213

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082951 WO2021190590A1 (zh) 2020-03-26 2021-03-25 验证方法、电子设备和计算机可读存储介质

Country Status (6)

Country Link
US (1) US20220414192A1 (zh)
EP (1) EP4131037A4 (zh)
JP (1) JP7465989B2 (zh)
KR (1) KR20220156897A (zh)
CN (1) CN111444494B (zh)
WO (1) WO2021190590A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444494B (zh) * 2020-03-26 2022-07-08 维沃移动通信有限公司 一种验证方法、电子设备和计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809693A (zh) * 2014-02-20 2014-05-21 联想(北京)有限公司 一种电子设备
US20150319153A1 (en) * 2014-05-01 2015-11-05 Qualcomm Incorporated Sensory output for image association
CN106155275A (zh) * 2015-03-25 2016-11-23 联想(北京)有限公司 信息处理方法及电子设备
CN111444494A (zh) * 2020-03-26 2020-07-24 维沃移动通信有限公司 一种验证方法、电子设备和计算机可读存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4037378B2 (ja) * 2004-03-26 2008-01-23 シャープ株式会社 情報処理装置、画像出力装置、情報処理プログラムおよび記録媒体
CN103782254B (zh) * 2012-06-29 2017-03-01 松下知识产权经营株式会社 带触感提示功能的触摸屏装置
CN103870725B (zh) * 2012-12-13 2017-02-15 华为技术有限公司 一种验证码的生成验证方法和装置
DE112014006935T5 (de) 2014-09-09 2017-06-22 Mitsubishi Electric Corporation Tastempfindung-Steuersystem und Tastempfindung-Steuerverfahren
WO2018098953A1 (zh) * 2016-12-01 2018-06-07 华为技术有限公司 一种终端应用操作区的自定制方法和终端
CN107748638A (zh) * 2017-09-28 2018-03-02 努比亚技术有限公司 一种区域调整方法、终端及计算机可读存储介质
JP2019082901A (ja) 2017-10-31 2019-05-30 富士通コンポーネント株式会社 入力装置及びプログラム
CN108363541A (zh) * 2018-02-09 2018-08-03 长沙联远电子科技有限公司 触控屏输入控制方法、装置、设备及存储介质
CN109948578B (zh) * 2019-03-28 2021-07-16 联想(北京)有限公司 控制方法、控制装置和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809693A (zh) * 2014-02-20 2014-05-21 联想(北京)有限公司 一种电子设备
US20150319153A1 (en) * 2014-05-01 2015-11-05 Qualcomm Incorporated Sensory output for image association
CN106155275A (zh) * 2015-03-25 2016-11-23 联想(北京)有限公司 信息处理方法及电子设备
CN111444494A (zh) * 2020-03-26 2020-07-24 维沃移动通信有限公司 一种验证方法、电子设备和计算机可读存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4131037A4 *

Also Published As

Publication number Publication date
CN111444494A (zh) 2020-07-24
KR20220156897A (ko) 2022-11-28
EP4131037A4 (en) 2023-08-23
US20220414192A1 (en) 2022-12-29
JP7465989B2 (ja) 2024-04-11
CN111444494B (zh) 2022-07-08
JP2023518892A (ja) 2023-05-08
EP4131037A1 (en) 2023-02-08

Similar Documents

Publication Publication Date Title
WO2020151519A1 (zh) 信息输入方法、终端设备和计算机可读存储介质
CN107943390B (zh) 一种文字复制方法及移动终端
CN109800045B (zh) 一种显示方法及终端
WO2020259091A1 (zh) 屏幕内容显示方法及终端
WO2020057257A1 (zh) 应用界面切换方法及移动终端
WO2021068885A1 (zh) 控制方法及电子设备
WO2020220876A1 (zh) 应用界面显示方法及移动终端
US20220321120A1 (en) Touch button, control method, and electronic device
WO2020199987A1 (zh) 信息显示方法及移动终端
WO2021088706A1 (zh) 应用程序的控制方法和电子设备
WO2021083036A1 (zh) 消息回复方法、服务器和电子设备
WO2021238788A1 (zh) 图标整理方法、电子设备及存储介质
WO2021208890A1 (zh) 截屏方法及电子设备
WO2020238445A1 (zh) 屏幕录制方法及终端
WO2021208889A1 (zh) 应用启动方法及电子设备
WO2019206226A1 (zh) 屏幕操作控制方法及移动终端
WO2021104232A1 (zh) 显示方法及电子设备
WO2021115220A1 (zh) 信息共享方法、电子设备及计算机可读存储介质
WO2020125405A1 (zh) 终端设备的控制方法及终端设备
WO2020238496A1 (zh) 图标管理方法及终端设备
WO2020211602A1 (zh) 应用控制方法及终端设备
CN109597546B (zh) 一种图标处理方法及终端设备
CN102799373B (zh) 电子设备、生成输入区域的方法和终端设备
WO2021190419A1 (zh) 触控屏控制方法、电子设备及存储介质
WO2021208769A1 (zh) 控制方法及电子设备

Legal Events

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

Ref document number: 21776022

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022558305

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20227036434

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021776022

Country of ref document: EP

Effective date: 20221026