CN116956259A - Verification method, verification device, computer equipment, background server and medium - Google Patents

Verification method, verification device, computer equipment, background server and medium Download PDF

Info

Publication number
CN116956259A
CN116956259A CN202210381533.3A CN202210381533A CN116956259A CN 116956259 A CN116956259 A CN 116956259A CN 202210381533 A CN202210381533 A CN 202210381533A CN 116956259 A CN116956259 A CN 116956259A
Authority
CN
China
Prior art keywords
verification
filling
image block
haptic
alert
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210381533.3A
Other languages
Chinese (zh)
Inventor
孙逊
徐士立
王昊
张亚军
刘专
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210381533.3A priority Critical patent/CN116956259A/en
Priority to PCT/CN2022/137813 priority patent/WO2023197639A1/en
Publication of CN116956259A publication Critical patent/CN116956259A/en
Pending legal-status Critical Current

Links

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
    • 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/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • 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
    • 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
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses a verification method, a verification device, computer equipment, a background server and a medium, wherein the method comprises the following steps: displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region; controlling the filling image block in the verification image to move along the filling area; outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block; when the filling image block is moved to the filling area, a second touch verification prompt is output, and the touch perception degree of the second touch verification prompt is different from that of the first touch verification prompt, so that the accuracy of verification processing can be improved.

Description

Verification method, verification device, computer equipment, background server and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a verification method, a verification device, a computer device, a background server, and a medium
Background
Along with the development of computer network technology, in order to ensure the security of network activities of related users, a corresponding security check is currently set for users before network interaction is performed, and the currently set security check is usually performed by dragging an image block of a verification image to a designated image area, and practice shows that the current verification processing result has an inaccurate problem due to the adoption of the current mode of determining the verification processing result based on dragging the image block.
Disclosure of Invention
The embodiment of the invention provides a verification method, a verification device, computer equipment, a background server and a medium, which can improve the accuracy of verification processing.
In one aspect, an embodiment of the present invention provides a verification method, including:
displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
controlling the filling image block in the verification image to move along the filling area;
outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
and outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
In still another aspect, an embodiment of the present invention provides a verification method, including:
generating a verification image and transmitting the verification image to a target application program of a computer device to display the verification image in the computer device, wherein the verification image comprises a filling image block and a filling area, and the filling image block is separated from the filling area;
Determining a first tactile verification reminder according to a distance between the filled image block and the filled region in the process of controlling the filled image block in the verification image to move along the filled region;
transmitting the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
and when the filling image block is moved to the filling area, sending the determined second tactile verification reminder to the computer equipment so that the computer equipment outputs the second tactile verification reminder, wherein the tactile perception degree of the second tactile verification reminder is different from that of the first tactile verification reminder.
In still another aspect, an embodiment of the present invention provides an authentication apparatus, including:
a display unit for displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
a processing unit for controlling the filling image block in the verification image to move along the filling area;
the processing unit is further used for outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
And outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
In still another aspect, an embodiment of the present invention provides an authentication apparatus, including:
a generating unit, configured to generate a verification image, and send the verification image to a target application program of a computer device, so that the verification image is displayed in the computer device, where the verification image includes a filling image block and a filling area, and the filling image block is separated from the filling area;
the processing unit is used for determining a first touch verification reminder according to the distance between the filling image block and the filling area in the process of controlling the filling image block in the verification image to move along the filling area;
the processing unit is further configured to send the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
the processing unit is further configured to send the determined second haptic verification alert to the computer device when the filling image block is moved to the filling area, so that the computer device outputs the second haptic verification alert, where a haptic sensation level of the second haptic verification alert is different from a haptic sensation level of the first haptic verification alert.
In yet another aspect, an embodiment of the present invention provides a computer device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, and the memory is configured to store a computer program that supports the computer device to perform the above method, where the computer program includes program instructions, and where the processor is configured to invoke the program instructions to perform the following steps:
displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
controlling the filling image block in the verification image to move along the filling area;
outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
and outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
In yet another aspect, an embodiment of the present invention provides a background server, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is configured to store a computer program supporting the background server to execute the foregoing method, where the computer program includes program instructions, and where the processor is configured to invoke the program instructions to perform the following steps:
Generating a verification image and transmitting the verification image to a target application program of a computer device to display the verification image in the computer device, wherein the verification image comprises a filling image block and a filling area, and the filling image block is separated from the filling area;
determining a first tactile verification reminder according to a distance between the filled image block and the filled region in the process of controlling the filled image block in the verification image to move along the filled region;
transmitting the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
and when the filling image block is moved to the filling area, sending the determined second tactile verification reminder to the computer equipment so that the computer equipment outputs the second tactile verification reminder, wherein the tactile perception degree of the second tactile verification reminder is different from that of the first tactile verification reminder.
In yet another aspect, an embodiment of the present invention provides a computer readable storage medium having stored therein first program instructions for performing the verification method according to the first aspect when executed by a processor, and second program instructions for performing the verification method according to the second aspect when executed by the processor.
In the embodiment of the application, the computer equipment displays the verification image to the corresponding equipment user, so that the equipment user can realize verification processing by moving the filling image block in the verification image, and in the process that the equipment user controls the filling image block to move in the verification image, the vibration function of the computer equipment can interact with the equipment user, namely, the computer equipment can output vibration information related to the distance between the filling image block and the filling area in the process of moving the filling image block, thereby realizing more visual operation information for vision-impaired and old users, helping the user to determine whether the filling image block is moved into the appointed filling area based on the output vibration reminding, further improving the accuracy of verification processing based on the verification image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a schematic illustration of a verification image provided by an embodiment of the present invention;
FIG. 1b is a schematic diagram of a verification system provided by an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a verification method provided by an embodiment of the invention;
FIG. 3a is a schematic diagram of a mobile filled image block provided by an embodiment of the present invention;
FIG. 3b is a schematic diagram of another mobile filled image block provided by an embodiment of the present invention;
FIG. 3c is a schematic diagram of yet another mobile filled image block provided by an embodiment of the present invention;
FIG. 4a is a schematic diagram of a coordinate system constructed based on a verification image according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of determining a distance between a filled image block and a filled region according to an embodiment of the present invention;
FIG. 4c is a schematic diagram of a verification process according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a verification method provided by an embodiment of the invention;
FIG. 6 is a schematic diagram of a verification process provided by an embodiment of the present invention;
FIG. 7 is a schematic block diagram of an authentication device provided by an embodiment of the present invention;
FIG. 8 is a schematic block diagram of another authentication device provided by an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the present invention;
Fig. 10 is a schematic block diagram of a background server according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a verification method, which enables computer equipment to output corresponding verification reminding in the verification processing process, and because the verification reminding output by the computer equipment is associated with the distance between the filling image block and the filling area contained in the verification image, the clear verification reminding in the verification processing process can be realized by outputting the verification reminding associated with the distance between the filling image block and the filling area, and the output of the verification promotion is compatible with the original verification processing logic, so that the computer equipment can realize the powerful promotion of the verification security on the basis of not changing the original verification processing logic, and can effectively avoid malicious verification requests. In addition, when the verification processing is performed, if the computer equipment needs to acquire and use the user information, the computer equipment will acquire the use authorization of the related information from the related user before acquiring and using the related user information. In addition, the verification process performed by the computer device may also be referred to as security verification, where the security verification refers to verifying, through different network channels or means, a currently performed operation to ensure the security of the currently performed operation, for example, the login operation performed by the user is performed by the user, and is not performed by another user, so that the use security of the related account may be ensured.
Based on the display of the verification image by the computer device, the computer device may obtain a sliding operation of the fill image block for the verification image from the displayed verification image, and may further determine whether the verification is passed based on the sliding operation of the fill image block. In one embodiment, the computer device may determine to pass verification when the fill image block is moved to the fill area, or the computer device may determine to pass verification when the fill image block is moved to the fill area and the time the fill image block is moved to the fill area is less than a preset time threshold. For the mode of carrying out verification processing by outputting a verification image and moving a filling image block in the verification image, since the size of the image of the verification image which is displayed is smaller and the size of the filling image block which is contained in the verification image is relatively smaller, if a vision-impaired, old or other special users carry out verification processing based on the verification image with smaller display size, the problem that verification cannot pass due to smaller display size can possibly occur, that is, the problem of the size of the image of the displayed verification image can possibly further cause errors of verification results, so in order to improve the accuracy of verification processing results obtained when the vision-impaired, old or other special users carry out verification processing based on the verification image, verification reminding can be output in the verification processing based on the verification image, thereby more visual operation information can be provided for users which help the verification processing to accurately judge whether the filling image block is dragged to a designated filling area or not based on the output verification reminding, further improvement of verification processing results can be realized, that the verification processing characteristics can be retained in the verification processing request when the verification processing is carried out by the user based on the output of the verification image, and the malicious user can keep the characteristics of the verification processing performed by the filling area when the verification processing is carried out by the corresponding method.
In one embodiment, the verification alert output by the computer device during the verification process is a haptic verification alert, and the haptic sensation level of the haptic verification alert output by the computer device is related to the moving distance of the filling image block in the output verification image, that is, the distance between the filling image block and the filling area, and in a specific implementation, the haptic sensation level of the haptic verification alert output by the computer device may be in a proportional relationship with the distance between the filling image block and the filling area, that is, the closer the filling image block is to the filling area, that is, the greater the moving distance of the filling image block is, the weaker the haptic sensation level of the haptic verification alert is (that is, the smaller the haptic sensation level is) and the greater the haptic sensation level of the haptic verification alert is (that is, the greater the haptic sensation level is) when the filling image block is farther from the filling area, that is the moving distance of the filling image block is smaller. That is, in the process of verifying based on the verification image, in the process that the filling image block in the verification image is gradually moved to the filling area, when the haptic perception degree of the haptic verification reminder is output in a direct proportion to the distance between the filling image block and the filling area, that is, in the case that the haptic perception degree of the haptic verification reminder output by the computer device is in an inverse proportion to the moving distance of the filling image block, the computer device will output the verification reminder with the decreasing corresponding haptic perception degree along with the moving of the filling image block close to the filling area. In other embodiments, the haptic sensation level corresponding to the output haptic sensation verification alert of the computer device may also be in a proportional relationship with the moving distance of the filling image block, that is, in an inverse proportional relationship with the distance between the filling image block and the filling area, so that, in the process of gradually moving the filling image block in the verification image to the filling area, the computer device will output a haptic sensation verification alert with the corresponding increasing haptic sensation level, in the embodiment of the present application, the detailed description is given in the case that the haptic sensation level gradually increases with the movement of the filling image block near the filling area, but in the embodiment of the present application, the detailed description is given mainly in the case that the computer device is the terminal device.
When the computer equipment performs verification processing, the computer equipment can determine and output a touch verification reminder associated with the moving distance based on the moving distance of the filling image block in the verification image, which is contained in the displayed verification image, or in order to reduce the calculation pressure of the computer equipment, the computer equipment can also send the moving information related to the movement of the filling image block in the verification image to a background server, so that the background server can determine the reminder parameters corresponding to the touch verification reminder to be output by the computer equipment based on the moving information, and send the reminder parameters to the computer equipment, so that the computer equipment outputs the touch verification reminder according to the corresponding reminder parameters. In one embodiment, the system architecture diagram of the computer device and the background server for verification processing may be as shown in fig. 1b, the computer device may be any one of terminal devices marked by 10, the background server may be a server marked by 11 as shown in fig. 1b, it may be understood that the computer device obtains and displays a verification image from the background server 11, that is, the background server 11 refers to a support server for verification processing, after the background server 11 sends the verification image to the computer device, the computer device may obtain movement information for a filling image block in the verification image from the computer device, and then the background server 11 may determine a current distance between the filling image block and a filling area in the verification image based on the obtained movement information, and then may determine a reminding parameter matched with the current distance based on the current distance, and send the determined reminding parameter to the computer device, so that the computer device may output a corresponding reminding parameter to the first tactile alert to the haptic device based on the haptic alert, and the haptic alert may be output to the computer device in response to the first haptic alert area, and the haptic alert may be further output to the haptic alert device in response to the first haptic alert to the user to the verification processing, and the filling image may be verified to the first haptic alert area.
Referring to fig. 2, a schematic flowchart of an authentication method according to an embodiment of the present application is mainly performed by the above-mentioned computer device, and as shown in fig. 2, the method may include:
s201, displaying a verification image, wherein the verification image comprises filling image blocks and filling areas, and the filling image blocks are separated from the filling areas.
S202, controlling the filling image block in the verification image to move along the filling area.
In step S201 and step S202, when the verification image displayed by the computer device is required to be verified, the verification image is obtained from the background server, and after the computer device displays the obtained verification image, the filling image block in the verification image may be controlled to move along the filling area, in one embodiment, after the filling image block in the verification image is selected, the filling image block may be moved based on a movement operation of a device user in a device screen of the computer device, specifically, as shown in fig. 3a, the device user corresponding to the computer device may first select the filling image block in the verification image, then drag the selected filling image block to move along the filling area, and a direction in which the device user drags the selected filling image block to move along the filling area may be a movement direction as indicated by an arrow in fig. 3 a. In other implementations, after displaying the verification image, if the verification image further includes a control identifier of the filling image block, the device user corresponding to the computer device may implement movement control of the filling image block through movement control of the control identifier, which may be specifically shown in fig. 3 b. Wherein the control identifier contained in the verification image is displayed in an identifier control area, the control identifier may be an identifier marked by 30 in fig. 3b, and the identifier control area may be an area marked by 31 in fig. 3b, so that the movement control of the filling image block based on the control identifier may be performed by controlling the control identifier to move along the filling area in the identifier control area, thereby realizing the control of the movement of the filling image block along the filling area, as shown in fig. 3 b.
When the verification image displayed by the computer equipment contains a control mark for controlling the filling image block and the control mark is adopted to carry out movement control on the filling image block, the computer equipment can acquire the movement information of the control mark when the control mark is controlled to move in the mark control area, and after the computer equipment acquires the movement information of the control mark, the movement information of the filling image block can be generated according to the movement information of the control mark, and then the movement information of the filling image block can be adopted to control the filling image block to move; wherein the movement information comprises one or two of the following: direction and distance of movement. After the computer device obtains the movement information of the filling image block, the computer device may control the filling image block to move along the filling area based on the movement information of the filling image block, in a specific implementation, if the movement information of the control identifier indicates that the control identifier moves along a direction close to the filling area, as shown in fig. 3b, the computer device may obtain a movement mapping relationship between the control identifier and the filling image block, where the movement mapping relationship is used to indicate: after the computer equipment obtains the movement mapping relation between the control mark and the filling image block, the reference distance of the filling image block to be moved can be determined according to the movement distance of the control mark and the proportional relation indicated by the movement mapping relation, and the filling image block can be controlled to move along the filling area by corresponding reference distance. In one embodiment, if the movement information of the control mark indicates that the control mark moves in a direction away from the filling area, the computer device may move the filling image block by a corresponding distance in the direction away from the filling area based on a proportional relationship indicated by the movement distance of the control mark and the movement mapping relationship.
In one embodiment, the filling area included in the verification image is a specific position in the verification image, so the filling area may also be a specific position in the verification image, the filling area may be a rightmost position in the verification image, and when the filling image is a rightmost position in the verification image, the filling area may not be indicated by the verification image, as shown in fig. 3c, when the filling area is a rightmost position in the verification image, the computer device may not display the filling area in the verification image, and only display a filling image block in the verification image, and in this case, the device user corresponding to the computer device may perform the verification process by controlling the verification image to move to the rightmost position in the verification image.
In the process of controlling the movement of the filling image block in the verification image by the device user corresponding to the computer device so as to realize verification processing, the output of the haptic verification reminding can be performed, namely, step S203 can be executed instead, the safety of the verification processing can be effectively improved based on the output of the haptic verification reminding, and the accuracy and the effectiveness of the verification processing result can be improved.
S203, outputting a first touch and sense verification prompt according to the distance between the filling image block and the filling area in the process of moving the filling image block.
S204, outputting a second tactile sensation verification reminder when the filling image block is moved to the filling area, wherein the tactile sensation degree of the second tactile sensation verification reminder is different from that of the first tactile sensation verification reminder.
In step S203 and step S204, in the process that the verification image displayed by the computer device includes the filling image block being moved, the computer device may output a first haptic verification alert in inverse proportion to the distance between the filling image block and the filling area, and when the computer device determines that the filling image block is moved to the filling area, output a corresponding second haptic verification alert to inform the device user that the verification is successful, or if the computer device determines that the filling image block does not move the filling image block to the filling area within a preset time range, may also output a notification message of verification failure, for example, the output notification message may be a voice broadcast message, or may also be a notification message displayed in the device interface. In one embodiment, when the computer device outputs the first haptic verification alert in the process of moving the filling image block, the computer device may obtain movement information of the filling image block in the process of moving the filling image block, and determine a current position of the filling image block according to the movement information. In one embodiment, when determining the current position of the filling image block and the target position of the filling area, the computer device may first construct a coordinate system based on the verification image, where the result of constructing the coordinate system based on the verification image may be as shown in fig. 4a, and after constructing the coordinate system corresponding to the verification image, the computer device may determine the position coordinate corresponding to the current position of the filling image block and the position coordinate corresponding to the target position of the filling area based on the constructed coordinate system and the center point (or a certain boundary point, etc.) of the filling image block and the filling area, and further may calculate the current distance between the current position and the target position corresponding to the filling area based on the position coordinate corresponding to the current position of the filling image block and the position coordinate corresponding to the target position of the filling area.
In one embodiment, since the filling image block is moved in real time in the verification image, and the distance between the filling image block and the filling area can be directly determined during the movement of the filling image block, in a specific implementation, the computer device can firstly acquire the initial position of the filling image block in the verification image, and determine the original distance between the initial position and the target position; then, based on the movement information of the filling image blocks, obtaining the movement distance of the filling image blocks; the moving distance of the filling image block is used to indicate the current position of the filling image block, and further, the computer device may use a distance difference between the original distance and the moving distance of the filling image block as the current distance between the current position of the filling image block and the target position. And when the computer equipment determines the moving distance of the filling image block, the computer equipment also obtains the position parameters of the initial position and the position parameters corresponding to the current moving position of the filling image block, and then determines the moving distance of the filling image block according to the position parameters respectively corresponding to the initial position and the current moving position of the filling image block. In one embodiment, according to the coordinate system constructed by the verification image, the coordinate corresponding to the initial position (assumed to be the point a in fig. 4 b) of the filling image block in the verification image may be assumed to be (x 2, y), the position coordinate corresponding to the target position (assumed to be the point b in fig. 4 b) of the filling area may be assumed to be (x 1, y), then the original distance d1 between the initial position and the target position corresponding to the filling area may be determined by calculating d1= |x1-x2|, where the original distance d1 is the distance between the point a and the point b, and after the computer determines the original distance, the moving distance of the filling image block may be further determined based on the original distance and the moving distance of the filling image block.
In one embodiment, if the filling image block moves after being controlled by the control identifier, when calculating the moving distance of the filling image block, the computer device may obtain the starting position of the control identifier in the verification image after obtaining the original distance between the filling image block and the filling area, and the moving position corresponding to the control identifier when the filling image block moves at the current position, and further determine the moving distance of the identifier corresponding to the control identifier according to the starting position of the control identifier and the position parameter corresponding to the moving position of the control identifier respectively, so that the moving distance of the identifier may be used as the moving distance of the filling image block. In a specific implementation, if the position coordinate corresponding to the start position of the control identifier determined based on the coordinate system shown in fig. 4a is (a 2, b), and the position coordinate corresponding to the moving position of the control identifier is (a 1, b), the identifier moving distance d2 of the control identifier can be calculated by calculating d2= |a1-a2|, and d2 can be further used as the moving distance of the filling image block. After the original distance d1 between the filling image block and the filling area is determined and the moving distance d2 of the filling image block is determined, the computer device can calculate the current distance d between the filling image block and the filling area by calculating d= |d1-d2|.
It should be noted that, the process of performing the current distance calculation may be performed by the computer device itself, or may be performed by a background server. The verification image acquired by the computer equipment is acquired from a background server, so that the background server can calculate the original distance between the filling image block and the filling area based on the initial position of the filling image block and the target position corresponding to the filling area in the verification image before transmitting the verification image to the computer equipment; in addition, after the verification image is displayed by the computer device, based on the movement of the filling image block in the verification image, the movement information of the filling image block and/or the movement information of the control identifier corresponding to the filling image block can be sent to the background server, so that the background server determines the current distance between the filling image block and the filling area based on the movement information, and determines the first tactile verification prompt related to the current distance based on the determined current distance.
After determining the current distance between the filling image block and the filling area, when outputting a first touch verification reminder according to the current distance between the filling image block and the filling area, determining a first reminder parameter when the filling image block is moved to the current position according to the current distance between the filling image block and the filling area, and then outputting the first touch verification reminder according to the determined first reminder parameter. In one embodiment, when determining the first alert parameter when the filling image block is moved to the current position according to the current distance between the filling image block and the filling area, the computer device may acquire the current distance between the filling image block and the filling area when the filling image block is moved to the current position during the moving of the filling image block, that is, after d, the target relationship between the distance between the filling image block and the filling area and the haptic sensation degree corresponding to the first haptic alert to be output is acquired, where the target relationship acquired by the computer device may be: the haptic sensation degree may be a proportional relationship that decreases with decreasing distance, or may be an inverse proportional relationship that increases with decreasing distance, and then after the computer device obtains the current distance d and the target relationship between the filling image block and the filling area, the computer device may output the first haptic verification alert according to the current distance and the target relationship.
When the computer equipment outputs the first touch verification reminding according to the current distance d and the target relation, the first reminding parameter when the filling image block is moved to the current position can be calculated according to the current distance d and the target relation, wherein the first reminding parameter is used for reflecting the touch perception degree of the first touch verification reminding, and the value of the first reminding parameter is positively correlated with the degree of the touch perception degree. In a specific implementation, the computer device may first obtain an original distance between the filling image block and the filling area, i.e. d1 as described above, then the computer device may further calculate a distance ratio between the current distance d and the original distance d1 based on the target relationship, in an embodiment, when the target relationship is a direct proportional relationship, the calculated distance ratio is |d1-d2|/|x1-x2|, and when the target relationship is an inverse proportional relationship, the calculated distance ratio is |x1-x2|/|d1-d2|, and after obtaining the distance ratio, the computer device may calculate the first alert parameter when the filling image block is moved to the current position according to the distance ratio.
In one embodiment, when calculating the first reminding parameter when the filling image block is moved to the current position according to the distance ratio, the computer device may first obtain a value range supported by the first reminding parameter, and then may perform value processing according to a value direction indicated by the distance ratio and from the value range, and perform value processing from the value range supported by the first reminding parameter, to obtain the first reminding parameter corresponding to the filling image block when the filling image block is moved to the current position. The first tactile verification prompt to be output comprises vibration, and reminding parameters of the vibration comprise one or two of the following: the vibration intensity and the vibration frequency, that is, the first reminding parameter corresponding to the first haptic sensation verification reminding includes any one or two of the vibration intensity and the vibration frequency, it can be understood that when the value of the vibration intensity and/or the vibration frequency is larger, the haptic sensation degree of the corresponding output first haptic sensation verification reminding is stronger, and when the value of the vibration intensity and/or the vibration frequency is smaller, the haptic sensation degree of the corresponding output first haptic sensation verification reminding is weaker. In one embodiment, if the alert parameter corresponding to the outputted haptic alert includes vibration intensity, the computer device may obtain a range of values for the obtained vibration intensity, assuming the range of values for the obtained vibration intensity is [ Gmin, gmax ], gmin representing the minimum vibration intensity and Gmax representing the maximum vibration intensity. In one embodiment, if the distance ratio determined by the computer device is |d1-d2|/|x1-x2|, it may be determined that the range of values supported based on the first alert parameter is to be subjected to a value processing in a direction from the minimum vibration intensity Gmin to the maximum vibration intensity Gmax, and if the distance ratio determined by the computer device is |x1-x2|/|d1-d2|, the computer device may determine that the range of values supported based on the first alert parameter is to be subjected to a value processing in a direction from the maximum vibration intensity Gmax to the minimum vibration intensity Gmin, and thus may obtain the first alert parameter when the filled image block is moved to the current moving position.
In one embodiment, the computer device may calculate the first alert parameter according to equation 1 when the determined distance ratio is |d1-d2|/|x1-x2|, and calculate the first alert parameter according to equation 2 when the distance ratio obtained by the computer device is |x1-x2|/|d1-d2|.
G= (Gmax-Gmin) |d1-d2|/|x1-x2|1
G= (Gmax-Gmin) |x1-x2|/|d1-d2|2
In one embodiment, the first alert parameter corresponding to the first haptic alert may further include a vibration frequency, and then the corresponding range of values corresponding to the first alert parameter that the computer device may obtain is the vibration frequency range, and then the computer device may determine the alert parameter based on the vibration frequency range and the corresponding distance ratio as shown in equations 3 and 4.
F= (Fmax-Fmin) |d1-d2|/|x1-x2|3
F= (Fmax-Fmin) |x1-x2|/|d1-d2|4
Wherein Fmax represents the maximum vibration frequency corresponding to the vibration motor, and Fmin represents the minimum vibration frequency corresponding to the vibration motor. And after the computer equipment calculates the first reminding parameter, outputting a first touch verification reminder according to the first reminding parameter.
In one embodiment, the first alert parameter corresponding to the first haptic alert may also be determined by the background server and then sent to the computer device, as shown in fig. 4 c. That is, when the computer device displays the verification image to the corresponding device user, and the device user moves the filling image block in the verification image to perform security verification, the background server calculates the distance information between the filling image block and the filling area in real time, and informs the device user whether the moving direction of the filling image block is correct or not by issuing different first reminding parameters (such as vibration frequency parameters and/or vibration intensity parameters), so as to improve the security and accuracy in the verification process.
When the first haptic verification is a vibration alert, the computer device may further determine a first alert parameter based on a vibration waveform, in a specific implementation, the computer device may first obtain a vibration waveform associated with a target relationship, where the vibration waveform is used to indicate alert parameters corresponding to the filling image block and the filling region respectively when the distance between the filling image block and the filling region is different, when the target relationship is a positive proportion relationship, the alert parameter indicated by the vibration waveform is positively correlated with the distance, when the target relationship is an inverse proportion relationship, the alert parameter indicated by the vibration waveform is negatively correlated with the distance, and further the computer device may determine, based on the vibration waveform, a alert parameter corresponding to the current distance in the vibration waveform as the first alert parameter, for example, determine that when the current distance between the filling image block and the filling region is 4cm, the corresponding vibration frequency is 100Hz, and when the current distance between the filling image block and the filling area is 2cm, the determined vibration frequency may be 200Hz, where Hz is a unit for measuring the vibration frequency of the vibration motor, and the number of times of vibration in one second, in the actual experience of the user, the larger Hz is, the denser the vibration feeling, or, the computer device may determine, based on the vibration waveform diagram, that when the current distance between the filling image block and the filling area is 4cm, the determined vibration intensity is 1Grms, and when the current distance between the filling image block and the filling area is 2cm, the determined vibration frequency is 2Grms, and Grms is a unit for measuring the vibration intensity of the vibration motor, the root mean square of acceleration, and in the actual experience of the user, the larger the Grms value is, the stronger the vibration feeling is, so that when the computer device reaches the closer to the filling area, the output first tactile verification reminding feeling is larger, if the vibrations are more intense, then the corresponding device user may determine whether to move the fill image tile along the fill area based on the perceived size of the output first haptic verification alert.
In one embodiment, when the first haptic verification alert includes a vibration alert, the magnitude of the first alert parameter corresponding to the first haptic verification alert changes with the change of the vibration waveform map during the movement of the filling image block, and when the filling image block is moved to the filling area, the first alert parameter changes with the vibration waveform map to a second alert parameter, so that the computer device can output the vibration alert according to the second alert parameter. In addition, when the computer equipment determines that the filling image block is moved to the filling area, the computer equipment can also output a vibration prompt according to a preset vibration rule; the preset vibration rule is used for indicating the output vibration times, the duration of each vibration and the time interval between every two vibrations, for example, when the filling image block is moved to the filling area, the computer device can prompt the user in a special vibration mode, for example, vibration for 1s and stop for 1s, so as to inform the corresponding device that the user stops moving the filling image block. When the computer equipment outputs the haptic verification reminding, the first haptic verification reminding or the second haptic verification reminding can be used as a target haptic verification reminding, further reminding parameters corresponding to the target haptic verification reminding can be obtained, and the motor is driven to vibrate according to the reminding parameters corresponding to the target haptic verification reminding so as to output vibration reminding. In other implementations, the first haptic verification alert and the second haptic verification alert may also be a flash or a voice broadcast, etc.
In the embodiment of the application, the computer equipment displays the verification image to the corresponding equipment user, so that the equipment user can realize verification processing by moving the filling image block in the verification image, and in the process that the equipment user controls the filling image block to move in the verification image, the vibration function of the computer equipment can interact with the equipment user, namely, the computer equipment can output vibration information related to the distance between the filling image block and the filling area in the process of moving the filling image block, thereby realizing more visual operation information for vision-impaired and old users, helping the user to determine whether the filling image block is moved into the appointed filling area based on the output vibration reminding, further improving the accuracy of verification processing based on the verification image.
Referring to fig. 5, a schematic flowchart of an authentication method according to an embodiment of the present application may be performed by the background server, as shown in fig. 5, and the method may include:
S501 generates a verification image and transmits the verification image to a target application of the computer device to display the verification image in the computer device.
The background server can randomly generate verification images when detecting that the corresponding equipment user of the computer equipment has verification requirements, and sends the generated verification images to the computer equipment, wherein the computer equipment sends the verification requirements to the background server through a target application program, and therefore the verification images generated by the background server are also sent to the target application program of the computer equipment for display. In one embodiment, the step of randomly generating the verification image by the background server means that the background frames of the verification image generated by the background server are different, and the positions of the filling image blocks and the filling areas included in the verification image are also different, and verification processing can be realized based on the movement of the filling image blocks based on the difference of the positions of the filling image blocks and the filling areas in the verification image generated randomly each time. That is, the verification image randomly generated by the background server includes a filling image block and a filling area, the filling image block is separated from the filling area, and then, after the verification image is transmitted to the computer device, the corresponding device user may control the filling image block in the verification image to move, so that the result of the verification process is determined based on the movement result of the filling image block, that is, the background server may proceed to step S502.
S502, in the process of controlling the filling image block in the verification image to move along the filling area, determining a first touch verification reminder according to the distance between the filling image block and the filling area.
S503, the first haptic authentication alert is sent to the computer device so that the computer device outputs the first haptic authentication alert.
And S504, when the filling image block is moved to the filling area, the determined second tactile verification reminder is sent to the computer equipment, so that the computer equipment outputs the second tactile verification reminder, and the tactile perception degree of the second tactile verification reminder is different from that of the first tactile verification reminder.
In step S502 to step S504, the verification image further includes a control flag for the filling image block, and the filling image block moves along with the movement of the control flag; then, the current distance between the filling image block and the filling area is determined by the background server according to the original distance between the filling image block and the filling area and the difference value between the mark moving distances of the control marks; after generating the verification image, the computer equipment determines the original distance according to the position parameters corresponding to the initial position of the filling image block and the target position corresponding to the target filling area respectively; the identification moving distance of the control identification is determined by the computer equipment after the moving information of the filling image block is acquired. Next, in conjunction with fig. 6, the interaction process among the computer device, the background server, the target application program and the device user in the verification process will be described in detail, and the following steps (1) to (d) may be specifically executed:
(1) The background server randomly generates a verification image containing a filling image block and a filling area, transmits the filling image to a target application program, calculates an original distance between the filling image block and the filling area, and can obtain the original distance through the calculation of d1= |x1-x2| assuming that the center coordinate of the filling image block is (x 2, y) and the center coordinate of the filling area is (x 1, y);
(2) the target application program receives the verification image sent by the background server and loads the verification image so as to fill image blocks and control identifiers of the filled image blocks on the background of the verification image, wherein the control identifiers are displayed as a sliding block component;
(3) the processor of the computer equipment displays the background in the verification image and the control mark serving as the sliding block for the equipment user on a display screen according to the processing of the target application program;
(4) the device user performs moving (or dragging) operation on the control mark serving as the slider through an input module of the computer device, such as a famous screen or a key;
(5) the computer equipment transmits the mobile information of the user aiming at the control mark to the target application program;
(6) the target application program transmits the real-time coordinate information of the filling image block to a background server;
(7) The background server calculates the moving distance and direction of the control mark according to the coordinates of the control mark, and calculates the corresponding vibration intensity or vibration frequency, and the specific calculation method can be that d2 is calculated according to the starting point coordinates (a 2, b) of the control mark and the real-time coordinates (a 1, b) after the user moves, wherein d2= |a1-a2|, and the vibration intensity G can be obtained through calculation according to a formula 1, or the vibration frequency F can be obtained through calculation according to a formula 2;
(8) the background server side transmits the data of the vibration intensity G or the vibration frequency F to a target application program;
(9) the processor of the computer equipment processes the data according to the vibration intensity G or the vibration frequency F acquired by the target application program and converts the data into an electric signal for driving the motor;
and the computer equipment drives the vibration motor to vibrate according to the designated vibration intensity G or the designated vibration frequency F through the converted electric signals.
In the embodiment of the application, when the background server detects that the computer equipment has verification requirements, the verification image can be sent to the computer equipment to be displayed, and then, corresponding equipment users can carry out verification processing on the movement of the filling image block in the displayed verification image, in the moving process of the equipment users on the filling image block, the background server can determine corresponding first touch verification reminding according to the current distance between the filling image block and the filling area and send the determined first touch verification reminding to the computer equipment, so that the computer equipment outputs the first touch verification reminding, and when the computer equipment determines that the filling image block is moved to the filling area, second touch verification reminding is sent to the computer equipment, so that the computer equipment outputs the second touch verification reminding, and the corresponding users can be helped to determine whether the filling image block is moved to the designated filling area or not based on the output touch verification reminding, thereby improving the accuracy of the verification processing.
Based on the description of the embodiments of the verification method described above, the embodiments of the present invention also provide a verification apparatus, which may be a computer program (including program code) running in the computer device described above. The verification device may be used to perform the verification method as described in fig. 2, please refer to fig. 7, and the verification device includes: a display unit 701 and a processing unit 702.
A display unit 701 for displaying a verification image, the verification image comprising a filling image block and a filling area, the filling image block being separated from the filling area;
a processing unit 702, configured to control the filling image block in the verification image to move along the filling area;
the processing unit 702 is further configured to output a first haptic verification alert according to a distance between the filled image block and the filled region during moving the filled image block;
the processing unit 702 is further configured to output a second haptic verification alert when the filling image block is moved to the filling area, where a haptic sensation level of the second haptic verification alert is different from a haptic sensation level of the first haptic verification alert.
In one embodiment, the processing unit 702 is specifically configured to:
Acquiring a current distance between the filling image block and the filling region when the filling image block is moved to a current position in the process of moving the filling image block;
acquiring a target relation between the distance between the filling image block and the filling area and the corresponding tactile perception degree of the first tactile verification reminding to be output; the target relationship is as follows: a proportional relationship in which the degree of haptic sensation becomes smaller as the distance becomes smaller, or an inverse proportional relationship in which the degree of haptic sensation becomes larger as the distance becomes smaller;
and outputting a first touch verification reminder according to the current distance and the target relation.
In one embodiment, the processing unit 702 is specifically configured to:
calculating a first reminding parameter when the filling image block is moved to the current position according to the current distance and the target relation; the first reminding parameter is used for reflecting the haptic perception degree of the first haptic verification reminding, wherein the value of the first reminding parameter is positively correlated with the degree of the haptic perception degree;
and outputting the first touch verification prompt according to the first prompt parameter.
In one embodiment, the processing unit 702 is specifically configured to:
acquiring an original distance between the filling image block and the filling region;
calculating a distance ratio between the current distance and the original distance based on the target relationship;
and calculating a first reminding parameter when the filling image block is moved to the current position according to the distance ratio.
In one embodiment, the processing unit 702 is specifically configured to:
acquiring a value range supported by a first reminding parameter;
and according to the value-taking direction indicated by the distance ratio and when the value-taking process is carried out from the value-taking range, carrying out the value-taking process from the value-taking range, and obtaining a first reminding parameter corresponding to the filling image block when the filling image block is moved to the current moving position.
In one embodiment, the first haptic verification alert comprises a vibratory alert; the processing unit 702 is specifically configured to:
acquiring a vibration waveform diagram associated with the target relation, wherein the vibration waveform diagram is used for indicating reminding parameters respectively corresponding to different distances between the filling image block and the filling area, when the target relation is the positive proportion relation, the reminding parameters indicated by the vibration waveform diagram are positively correlated with the distances, and when the target relation is the negative proportion relation, the reminding parameters indicated by the vibration waveform diagram are negatively correlated with the distances;
And taking the reminding parameter corresponding to the current distance in the vibration waveform chart as a first reminding parameter, and outputting a first touch verification reminder according to the first reminding parameter.
In one embodiment, the first tactile verification reminder includes a vibration reminder, and the value of the first reminder parameter corresponding to the first tactile verification reminder changes along with the change of the vibration waveform diagram in the process that the filling image block is moved; the processing unit 702 is specifically configured to:
when the filling image block is moved to the filling area, the first reminding parameter is changed into a second reminding parameter along with the vibration waveform chart;
and outputting a vibration prompt according to the second prompt parameter.
In one embodiment, the second haptic verification alert comprises a vibratory alert; the processing unit 702 is specifically configured to:
when the filling image block is moved to the filling area, outputting a vibration prompt according to a preset vibration rule;
the preset vibration rule is used for indicating the output vibration times, the duration of each vibration and the time interval between every two vibrations.
In one embodiment, the first haptic verification alert or the second haptic verification alert is taken as a target haptic verification alert, the target haptic verification alert comprising a vibration alert; the processing unit 702 is specifically configured to:
And acquiring reminding parameters corresponding to the target touch verification reminding, and driving a motor to vibrate according to the reminding parameters corresponding to the target touch verification reminding so as to output vibration reminding.
In one embodiment, the verification image contains a control identification of the fill image tile, the control identification being displayed in an identification control area; the processing unit 702 is specifically configured to:
controlling the control identifier to move in the identifier control area, and acquiring movement information of the control identifier; the movement information comprises one or both of the following: a moving direction and a moving distance;
and generating the movement information of the filling image block according to the movement information of the control mark, and controlling the filling image block to move by adopting the movement information of the filling image block.
In one embodiment, the filling image block is moved after being controlled by a control mark; the processing unit 702 is specifically configured to:
acquiring a starting position of the control identifier in the verification image, and a moving position corresponding to the control identifier when the filling image block is moved to the current position;
determining the identification moving distance corresponding to the control identification according to the starting position of the control identification and the position parameters corresponding to the moving position of the control identification;
And acquiring an original distance between the filling image block and the filling region, and determining a current distance between the filling image block and the filling region according to the original distance and the identification moving distance of the control identification.
In the embodiment of the present application, the display unit 701 displays the verification image to the corresponding device user, so that the device user can implement verification processing by moving the filling image block in the verification image, and in the process that the device user controls the filling image block to move in the verification image, the device user can interact with the device user through the vibration function, that is, in the process of moving the filling image block, the processing unit 702 can output vibration information related to the distance between the filling image block and the filling area, thereby implementing more visual operation information for the visually impaired and the aged user, helping the user to determine whether the filling image block is moved into the designated filling area based on the output vibration reminding, further improving accuracy of verification processing based on the verification image.
Based on the description of the embodiment of the verification method, the embodiment of the present invention also proposes a verification device, which may be a computer program (including program code) running in the background server. The verification device may be used to perform the verification method as described in fig. 5, please refer to fig. 8, and the verification device includes: a generation unit 801 and a processing unit 802.
A generating unit 801, configured to generate a verification image, and send the verification image to a target application program of a computer device, so that the verification image is displayed in the computer device, where the verification image includes a filling image block and a filling area, and the filling image block is separated from the filling area;
a processing unit 802, configured to determine a first haptic verification alert according to a distance between the filled image block and the filled region in a process of controlling the filled image block in the verification image to move along the filled region;
the processing unit 802 is further configured to send the first haptic authentication alert to the computer device, so that the computer device outputs the first haptic authentication alert;
the processing unit 802 is further configured to send the determined second haptic verification alert to the computer device when the filling image block is moved to the filling area, so that the computer device outputs the second haptic verification alert, where a haptic sensation level of the second haptic verification alert is different from a haptic sensation level of the first haptic verification alert.
In one embodiment, the verification image further comprises a control identifier for the fill image tile, the fill image tile moving with movement of the control identifier;
when the filling image block is moved to the current position, determining the current distance between the filling image block and the filling area according to the original distance between the filling image block and the filling area and the identification movement distance of the control identification;
the original distance is determined according to the initial position of the filling image block and the target position corresponding to the filling area after the verification image is generated;
and the identification moving distance of the control identification is determined according to the moving information of the filling image block.
In the embodiment of the present application, when the generating unit 801 detects that there is a need for verification of the computer device, the generating unit 801 may generate a verification image, and further the processing unit 802 may send the generated verification image to the computer device for display, so that a corresponding device user may perform verification processing on movement of a filling image block in the displayed verification image, and during the movement of the filling image block by the device user, the processing unit 802 may determine a corresponding first haptic verification reminder according to a current distance between the filling image block and the filling area, and send the determined first haptic verification reminder to the computer device, so that the computer device outputs the first haptic verification reminder, and when the computer device determines that the filling image block is moved to the filling area, send a second haptic verification reminder to the computer device, so that the computer device outputs the second haptic verification reminder, and may help the corresponding user determine whether the filling image block is moved to the designated filling area based on the output haptic verification reminder, thereby improving accuracy of the verification processing.
Fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device in the present embodiment as shown in fig. 9 may include: one or more processors 901; one or more input devices 902, one or more output devices 903, and a memory 904. The processor 901, the input device 902, the output device 903, and the memory 904 described above are connected by a bus 905. The memory 904 is used for storing a computer program comprising program instructions, and the processor 901 is used for executing the program instructions stored in the memory 904.
The memory 904 may include volatile memory (RAM), such as random-access memory (RAM); the memory 904 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Solid State Drive (SSD), etc.; the memory 904 may also include combinations of the above types of memory.
The processor 901 may be a central processing unit (central processing unit, CPU). The processor 901 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or the like. The PLD may be a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or the like. The processor 901 may also be a combination of the above structures.
In the embodiment of the present invention, the memory 904 is configured to store a computer program, where the computer program includes program instructions, and the processor 901 is configured to execute the program instructions stored in the memory 904, so as to implement the steps of the corresponding method shown in fig. 2.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
controlling the filling image block in the verification image to move along the filling area;
outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
and outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
acquiring a current distance between the filling image block and the filling region when the filling image block is moved to a current position in the process of moving the filling image block;
Acquiring a target relation between the distance between the filling image block and the filling area and the corresponding tactile perception degree of the first tactile verification reminding to be output; the target relationship is as follows: a proportional relationship in which the degree of haptic sensation becomes smaller as the distance becomes smaller, or an inverse proportional relationship in which the degree of haptic sensation becomes larger as the distance becomes smaller;
and outputting a first touch verification reminder according to the current distance and the target relation.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
calculating a first reminding parameter when the filling image block is moved to the current position according to the current distance and the target relation; the first reminding parameter is used for reflecting the haptic perception degree of the first haptic verification reminding, wherein the value of the first reminding parameter is positively correlated with the degree of the haptic perception degree;
and outputting the first touch verification prompt according to the first prompt parameter.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
acquiring an original distance between the filling image block and the filling region;
Calculating a distance ratio between the current distance and the original distance based on the target relationship;
and calculating a first reminding parameter when the filling image block is moved to the current position according to the distance ratio.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
acquiring a value range supported by a first reminding parameter;
and according to the value-taking direction indicated by the distance ratio and when the value-taking process is carried out from the value-taking range, carrying out the value-taking process from the value-taking range, and obtaining a first reminding parameter corresponding to the filling image block when the filling image block is moved to the current moving position.
In one embodiment, the first haptic verification alert comprises a vibratory alert; the processor 901 is configured to invoke the program instructions for performing:
acquiring a vibration waveform diagram associated with the target relation, wherein the vibration waveform diagram is used for indicating reminding parameters respectively corresponding to different distances between the filling image block and the filling area, when the target relation is the positive proportion relation, the reminding parameters indicated by the vibration waveform diagram are positively correlated with the distances, and when the target relation is the negative proportion relation, the reminding parameters indicated by the vibration waveform diagram are negatively correlated with the distances;
And taking the reminding parameter corresponding to the current distance in the vibration waveform chart as a first reminding parameter, and outputting a first touch verification reminder according to the first reminding parameter.
In one embodiment, the first tactile verification reminder includes a vibration reminder, and the value of the first reminder parameter corresponding to the first tactile verification reminder changes along with the change of the vibration waveform diagram in the process that the filling image block is moved; the processor 901 is configured to invoke the program instructions for performing:
when the filling image block is moved to the filling area, the first reminding parameter is changed into a second reminding parameter along with the vibration waveform chart;
and outputting a vibration prompt according to the second prompt parameter.
In one embodiment, the second haptic verification alert comprises a vibratory alert; the processor 901 is configured to invoke the program instructions for performing:
when the filling image block is moved to the filling area, outputting a vibration prompt according to a preset vibration rule;
the preset vibration rule is used for indicating the output vibration times, the duration of each vibration and the time interval between every two vibrations.
In one embodiment, the first haptic verification alert or the second haptic verification alert is taken as a target haptic verification alert, the target haptic verification alert comprising a vibration alert; the processor 901 is configured to invoke the program instructions for performing:
and acquiring reminding parameters corresponding to the target touch verification reminding, and driving a motor to vibrate according to the reminding parameters corresponding to the target touch verification reminding so as to output vibration reminding.
In one embodiment, the verification image contains a control identification of the fill image tile, the control identification being displayed in an identification control area; the processor 901 is configured to invoke the program instructions for performing:
controlling the control identifier to move in the identifier control area, and acquiring movement information of the control identifier; the movement information comprises one or both of the following: a moving direction and a moving distance;
and generating the movement information of the filling image block according to the movement information of the control mark, and controlling the filling image block to move by adopting the movement information of the filling image block.
In one embodiment, if the filling image block is moved after being controlled by the control mark; the processor 901 is configured to invoke the program instructions for performing:
Acquiring a starting position of the control identifier in the verification image, and a moving position corresponding to the control identifier when the filling image block is moved to the current position;
determining the identification moving distance corresponding to the control identification according to the starting position of the control identification and the position parameters corresponding to the moving position of the control identification;
and acquiring an original distance between the filling image block and the filling region, and determining a current distance between the filling image block and the filling region according to the original distance and the identification moving distance of the control identification.
Fig. 10 is a schematic block diagram of a background server according to an embodiment of the present invention. The background server in the present embodiment as shown in fig. 10 may include: one or more processors 1001; one or more input devices 1002, one or more output devices 1003, and a memory 1004. The processor 1001, the input device 1002, the output device 1003, and the memory 1004 are connected by a bus 1005. The memory 1004 is used for storing a computer program comprising program instructions, and the processor 1001 is used for executing the program instructions stored in the memory 1004.
The memory 1004 may include volatile memory (RAM) such as random-access memory (RAM); the memory 1004 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Solid State Drive (SSD), etc.; memory 1004 may also include a combination of the above types of memory.
The processor 1001 may be a central processing unit (central processing unit, CPU). The processor 1001 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or the like. The PLD may be a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or the like. The processor 1001 may be a combination of the above structures.
In an embodiment of the present invention, the memory 1004 is configured to store a computer program, where the computer program includes program instructions, and the processor 1001 is configured to execute the program instructions stored in the memory 1004, to implement the steps of the corresponding method shown in fig. 5.
In one embodiment, the processor 1001 is configured to call the program instructions for executing:
generating a verification image and transmitting the verification image to a target application program of a computer device to display the verification image in the computer device, wherein the verification image comprises a filling image block and a filling area, and the filling image block is separated from the filling area;
determining a first tactile verification reminder according to a distance between the filled image block and the filled region in the process of controlling the filled image block in the verification image to move along the filled region;
transmitting the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
and when the filling image block is moved to the filling area, sending the determined second tactile verification reminder to the computer equipment so that the computer equipment outputs the second tactile verification reminder, wherein the tactile perception degree of the second tactile verification reminder is different from that of the first tactile verification reminder.
In one embodiment, the verification image further comprises a control identifier for the fill image tile, the fill image tile moving with movement of the control identifier;
When the filling image block is moved to the current position, determining the current distance between the filling image block and the filling area according to the original distance between the filling image block and the filling area and the identification movement distance of the control identification;
the original distance is determined according to the initial position of the filling image block and the target position corresponding to the filling area after the verification image is generated;
and the identification moving distance of the control identification is determined according to the moving information of the filling image block.
Embodiments of the present invention provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium and executes the computer instructions to cause the computer device to perform the method embodiments described above as shown in fig. 2 or fig. 5. The computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is merely illustrative of some embodiments of the present invention and it is not to be construed as limiting the scope of the invention, as a person of ordinary skill in the art will appreciate that all or part of the above-described embodiments may be practiced with equivalent variations which fall within the scope of the invention as defined in the appended claims.

Claims (18)

1. A method of authentication, comprising:
displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
controlling the filling image block in the verification image to move along the filling area;
outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
and outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
2. The method of claim 1, wherein outputting a first haptic verification alert based on a distance between the fill tile and the fill area during the moving of the fill tile comprises:
Acquiring a current distance between the filling image block and the filling region when the filling image block is moved to a current position in the process of moving the filling image block;
acquiring a target relation between the distance between the filling image block and the filling area and the corresponding tactile perception degree of the first tactile verification reminding to be output; the target relationship is as follows: a proportional relationship in which the degree of haptic sensation becomes smaller as the distance becomes smaller, or an inverse proportional relationship in which the degree of haptic sensation becomes larger as the distance becomes smaller;
and outputting a first touch verification reminder according to the current distance and the target relation.
3. The method of claim 2, wherein said outputting a first haptic alert in accordance with said current distance and said target relationship comprises:
calculating a first reminding parameter when the filling image block is moved to the current position according to the current distance and the target relation; the first reminding parameter is used for reflecting the haptic perception degree of the first haptic verification reminding, wherein the value of the first reminding parameter is positively correlated with the degree of the haptic perception degree;
And outputting the first touch verification prompt according to the first prompt parameter.
4. The method of claim 3, wherein said calculating a first alert parameter for the filler tile as it is moved to the current location according to the current distance and the target relationship comprises:
acquiring an original distance between the filling image block and the filling region;
calculating a distance ratio between the current distance and the original distance based on the target relationship;
and calculating a first reminding parameter when the filling image block is moved to the current position according to the distance ratio.
5. The method of claim 4, wherein calculating a first alert parameter for the filler image block as it is moved to the current location based on the distance ratio comprises:
acquiring a value range supported by a first reminding parameter;
and according to the value-taking direction indicated by the distance ratio and when the value-taking process is carried out from the value-taking range, carrying out the value-taking process from the value-taking range, and obtaining a first reminding parameter corresponding to the filling image block when the filling image block is moved to the current moving position.
6. The method of claim 2, wherein the first haptic validation statement comprises a vibratory alert; the outputting a first haptic alert according to the current distance and the target relationship includes:
Acquiring a vibration waveform diagram associated with the target relation, wherein the vibration waveform diagram is used for indicating reminding parameters respectively corresponding to different distances between the filling image block and the filling area, when the target relation is the positive proportion relation, the reminding parameters indicated by the vibration waveform diagram are positively correlated with the distances, and when the target relation is the negative proportion relation, the reminding parameters indicated by the vibration waveform diagram are negatively correlated with the distances;
and taking the reminding parameter corresponding to the current distance in the vibration waveform chart as a first reminding parameter, and outputting a first touch verification reminder according to the first reminding parameter.
7. The method of claim 1, wherein the first haptic verification alert comprises a vibratory alert, the magnitude of the value of the first alert parameter corresponding to the first haptic verification alert varying with the change in the vibratory waveform map during the movement of the filling image tile; outputting a second haptic verification alert when the fill image tile is moved to the fill area, comprising:
when the filling image block is moved to the filling area, the first reminding parameter is changed into a second reminding parameter along with the vibration waveform chart;
And outputting a vibration prompt according to the second prompt parameter.
8. The method of claim 1, wherein the second haptic validation statement comprises a vibratory alert; outputting a second haptic verification alert when the fill image tile is moved to the fill area, comprising:
when the filling image block is moved to the filling area, outputting a vibration prompt according to a preset vibration rule;
the preset vibration rule is used for indicating the output vibration times, the duration of each vibration and the time interval between every two vibrations.
9. The method of claim 1, wherein the first haptic verification alert or the second haptic verification alert is taken as a target haptic verification alert, the target haptic verification alert comprising a vibratory alert; the mode of outputting the target touch verification reminder comprises the following steps:
and acquiring reminding parameters corresponding to the target touch verification reminding, and driving a motor to vibrate according to the reminding parameters corresponding to the target touch verification reminding so as to output vibration reminding.
10. The method of claim 1, wherein the verification image contains a control logo of the fill image tile, the control logo being displayed in a logo control area; the manner of controlling the movement of the filling image block in the verification image comprises:
Controlling the control identifier to move in the identifier control area, and acquiring movement information of the control identifier; the movement information comprises one or both of the following: a moving direction and a moving distance;
and generating the movement information of the filling image block according to the movement information of the control mark, and controlling the filling image block to move by adopting the movement information of the filling image block.
11. The method of claim 2, wherein if the fill tiles are moved after being controlled by a control signature; the obtaining the current distance between the filling image block and the filling area comprises the following steps:
acquiring a starting position of the control identifier in the verification image, and a moving position corresponding to the control identifier when the filling image block is moved to the current position;
determining the identification moving distance corresponding to the control identification according to the starting position of the control identification and the position parameters corresponding to the moving position of the control identification;
and acquiring an original distance between the filling image block and the filling region, and determining a current distance between the filling image block and the filling region according to the original distance and the identification moving distance of the control identification.
12. A method of authentication, comprising:
generating a verification image and transmitting the verification image to a target application program of a computer device to display the verification image in the computer device, wherein the verification image comprises a filling image block and a filling area, and the filling image block is separated from the filling area;
determining a first tactile verification reminder according to a distance between the filled image block and the filled region in the process of controlling the filled image block in the verification image to move along the filled region;
transmitting the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
and when the filling image block is moved to the filling area, sending the determined second tactile verification reminder to the computer equipment so that the computer equipment outputs the second tactile verification reminder, wherein the tactile perception degree of the second tactile verification reminder is different from that of the first tactile verification reminder.
13. The method of claim 12, wherein the verification image further comprises a control identifier for the fill image tile, the fill image tile moving with movement of the control identifier;
When the filling image block is moved to the current position, determining the current distance between the filling image block and the filling area according to the original distance between the filling image block and the filling area and the identification movement distance of the control identification;
the original distance is determined according to the initial position of the filling image block and the target position corresponding to the filling area after the verification image is generated;
and the identification moving distance of the control identification is determined according to the moving information of the filling image block.
14. A verification apparatus, comprising:
a display unit for displaying a verification image, the verification image comprising a fill image block and a fill region, the fill image block being separate from the fill region;
a processing unit for controlling the filling image block in the verification image to move along the filling area;
the processing unit is further used for outputting a first touch verification reminder according to the distance between the filling image block and the filling area in the process of moving the filling image block;
and outputting a second haptic verification alert when the filling image block is moved to the filling area, the haptic perception degree of the second haptic verification alert being different from the haptic perception degree of the first haptic verification alert.
15. A verification apparatus, comprising:
a generating unit, configured to generate a verification image, and send the verification image to a target application program of a computer device, so that the verification image is displayed in the computer device, where the verification image includes a filling image block and a filling area, and the filling image block is separated from the filling area;
the processing unit is used for determining a first touch verification reminder according to the distance between the filling image block and the filling area in the process of controlling the filling image block in the verification image to move along the filling area;
the processing unit is further configured to send the first haptic verification alert to the computer device so that the computer device outputs the first haptic verification alert;
the processing unit is further configured to send the determined second haptic verification alert to the computer device when the filling image block is moved to the filling area, so that the computer device outputs the second haptic verification alert, where a haptic sensation level of the second haptic verification alert is different from a haptic sensation level of the first haptic verification alert.
16. A computer device comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is adapted to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-11.
17. A background server comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is adapted to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of claims 12 and 13.
18. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising first program instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1-11, and second program instructions which, when executed by a processor, cause the processor to perform the method of claims 12 and 13.
CN202210381533.3A 2022-04-13 2022-04-13 Verification method, verification device, computer equipment, background server and medium Pending CN116956259A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210381533.3A CN116956259A (en) 2022-04-13 2022-04-13 Verification method, verification device, computer equipment, background server and medium
PCT/CN2022/137813 WO2023197639A1 (en) 2022-04-13 2022-12-09 Verification method and apparatus, and computer device, background server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210381533.3A CN116956259A (en) 2022-04-13 2022-04-13 Verification method, verification device, computer equipment, background server and medium

Publications (1)

Publication Number Publication Date
CN116956259A true CN116956259A (en) 2023-10-27

Family

ID=88328757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210381533.3A Pending CN116956259A (en) 2022-04-13 2022-04-13 Verification method, verification device, computer equipment, background server and medium

Country Status (2)

Country Link
CN (1) CN116956259A (en)
WO (1) WO2023197639A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9678569B2 (en) * 2010-04-23 2017-06-13 Immersion Corporation Systems and methods for providing haptic effects
US10802667B1 (en) * 2019-06-03 2020-10-13 Bank Of America Corporation Tactile response for user interaction with a three dimensional rendering
CN111859354B (en) * 2020-07-21 2023-09-01 百度在线网络技术(北京)有限公司 Picture verification method, device, electronic equipment, storage medium and program product
CN111870944B (en) * 2020-08-10 2024-02-09 网易(杭州)网络有限公司 Unlocking interface display processing method, device, equipment and storage medium
CN113821138A (en) * 2021-09-23 2021-12-21 维沃移动通信有限公司 Prompting method and device and electronic equipment

Also Published As

Publication number Publication date
WO2023197639A1 (en) 2023-10-19

Similar Documents

Publication Publication Date Title
US20180018873A1 (en) Using automobile driver attention focus area to share traffic intersection status
CN105323065B (en) Security verification method and device
CN105653963B (en) Information display method and device
CN102540673B (en) Laser dot position determining system and method
JPWO2016067574A1 (en) Display control apparatus and display control program
US20170139479A1 (en) Tactile sensation control system and tactile sensation control method
CN111078018A (en) Touch control method of display, terminal device and storage medium
JP2018106240A (en) Driver state determination device for vehicle
US20190385421A1 (en) Systems and Methods for Controlling Actuator Drive Signals for Improving Transient Response Characteristics
KR20210108341A (en) Display verification method for web browser, device, computer equipment and storage medium
CN105035083A (en) Lane outward deviation avoidance assist apparatus and lane outward deviation avoidance assist method
US10969519B2 (en) Weather prediction apparatus and method using weather radar
US20170115734A1 (en) Tactile sensation control system and tactile sensation control method
JP2021510864A (en) Data processing methods, terminal devices, and data processing systems
CN116956259A (en) Verification method, verification device, computer equipment, background server and medium
CN109543563B (en) Safety prompting method and device, storage medium and electronic equipment
CN112085967A (en) Vehicle early warning method and device for expressway, storage medium and terminal
JP2016075818A (en) Information display device and information display method
CN105824541A (en) Treatment method for prompt message and mobile terminal
CN111752370A (en) Vibration control method and device of motor, terminal and storage medium
JP6642457B2 (en) Mobile terminal device and safety management system
JP6874456B2 (en) Anti-collision devices, communication systems, anti-collision methods, and computer programs
CN112083827A (en) Touch control assembly control method and device, touch control assembly and terminal
CN115290114B (en) Traffic information indicating method, device, computer equipment and storage medium
CN104717641A (en) Digital signature generating method based on SIM card and SIM card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination