WO2023197639A1 - 验证方法、装置、计算机设备、后台服务器及介质 - Google Patents

验证方法、装置、计算机设备、后台服务器及介质 Download PDF

Info

Publication number
WO2023197639A1
WO2023197639A1 PCT/CN2022/137813 CN2022137813W WO2023197639A1 WO 2023197639 A1 WO2023197639 A1 WO 2023197639A1 CN 2022137813 W CN2022137813 W CN 2022137813W WO 2023197639 A1 WO2023197639 A1 WO 2023197639A1
Authority
WO
WIPO (PCT)
Prior art keywords
reminder
verification
image block
tactile
filled
Prior art date
Application number
PCT/CN2022/137813
Other languages
English (en)
French (fr)
Inventor
孙逊
徐士立
王昊
张亚军
刘专
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2023197639A1 publication Critical patent/WO2023197639A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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

Definitions

  • the present application relates to the field of computer technology, and in particular to a verification method, device, computer equipment, backend server and medium.
  • Embodiments of the present application provide a verification method, device, computer equipment, backend server and medium.
  • embodiments of the present application provide a verification method, executed by a computer device, including:
  • the verification image including a filled image block and a filled area, the filled image block being separated from the filled area;
  • a second tactile verification reminder is output, and the tactile perception level of the second tactile verification reminder is different from the tactile perception level of the first tactile verification reminder.
  • the embodiment of the present application provides a verification method, which is executed by the backend server and includes:
  • the verification image Generate a verification image and send the verification image to a target application of a computer device to display the verification image in the computer device, the verification image including a padding image block and a padding area, the padding image block Separate from the filled area;
  • the determined second tactile verification reminder is sent to the computer device, so that the computer device outputs the second tactile verification reminder, the second tactile verification reminder
  • the level of tactile perception of the verification reminder is different from the level of tactile perception of the first tactile verification reminder.
  • embodiments of the present application provide a verification device, including:
  • a display unit configured to display a verification image, the verification image including a filling image block and a filling area, the filling image block being separated from the filling area;
  • a processing unit configured to control the filling image block in the verification image to move along the filling area
  • the processing unit is further configured to output a first tactile verification reminder according to the distance between the filling image block and the filling area during the movement of the filling image block;
  • the processing unit is further configured to output a second tactile verification reminder when the filling image block is moved to the filling area, and the second tactile verification reminder has a tactile perception level different from that of the first tactile verification reminder. degree of tactile perception.
  • embodiments of the present application provide a verification device, including:
  • a generating unit configured to generate a verification image and send the verification image to a target application of the computer device to display the verification image in the computer device, the verification image including a filled image block and a filled area, The filled image block is separated from the filled area;
  • a processing unit configured to determine a first tactile verification reminder based on the distance between the filled image block and the filled area in the process of controlling the movement of the filled image block in the verification image along the filled area;
  • the processing unit is further configured to send the first tactile verification reminder to the computer device, so that the computer device outputs the first tactile verification reminder;
  • the processing unit is also configured to send the determined second tactile verification reminder to the computer device when the filling image block is moved to the filling area, so that the computer device outputs the second tactile feeling. Verification reminder, the tactile perception level of the second tactile verification reminder is different from the tactile perception level of the first tactile verification reminder.
  • embodiments of the present application provide a computer device, including a processor, an input device, an output device, and a memory.
  • the processor, the input device, the output device, and the memory are connected to each other, and the memory is used to store Support computer equipment to execute computer readable instructions of the above method, the processor is configured to call the computer readable instructions, and perform the following steps:
  • the verification image including a filled image block and a filled area, the filled image block being separated from the filled area;
  • a second tactile verification reminder is output, and the tactile perception level of the second tactile verification reminder is different from the tactile perception level of the first tactile verification reminder.
  • embodiments of the present application provide a backend server, including a processor, an input device, an output device, and a memory.
  • the processor, the input device, the output device, and the memory are connected to each other, and the memory is used to store Support the background server to execute the computer readable instructions of the above method, and the processor is configured to call the computer readable instructions to perform the following steps:
  • the verification image Generate a verification image and send the verification image to a target application of a computer device to display the verification image in the computer device, the verification image including a padding image block and a padding area, the padding image block Separate from the filled area;
  • the determined second tactile verification reminder is sent to the computer device, so that the computer device outputs the second tactile verification reminder, the second tactile verification reminder
  • the level of tactile perception of the verification reminder is different from the level of tactile perception of the first tactile verification reminder.
  • inventions of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer-readable instructions.
  • the above method is implemented.
  • embodiments of the present application provide a computer program product, which includes computer-readable instructions. When executed by a processor, the computer-readable instructions cause the processor to perform the above method.
  • Figure 1a is a schematic diagram of a verification image provided by an embodiment of the present application.
  • Figure 1b is a schematic diagram of a verification system provided by an embodiment of the present application.
  • Figure 2 is a schematic flow chart of a verification method provided by an embodiment of the present application.
  • Figure 3a is a schematic diagram of a moving filled image block provided by an embodiment of the present application.
  • Figure 3b is a schematic diagram of another moving filling image block provided by an embodiment of the present application.
  • Figure 3c is a schematic diagram of yet another moving filling image block provided by an embodiment of the present application.
  • Figure 4a is a schematic diagram of constructing a coordinate system based on a verification image provided by an embodiment of the present application
  • Figure 4b is a schematic diagram for determining the distance between a filled image block and a filled area provided by an embodiment of the present application
  • Figure 4c is a schematic diagram of verification processing provided by an embodiment of the present application.
  • Figure 5 is a schematic flow chart of a verification method provided by an embodiment of the present application.
  • Figure 6 is a schematic diagram of a verification process provided by an embodiment of the present application.
  • Figure 7 is a schematic block diagram of a verification device provided by an embodiment of the present application.
  • Figure 8 is a schematic block diagram of another verification device provided by an embodiment of the present application.
  • Figure 9 is a schematic block diagram of a computer device provided by an embodiment of the present application.
  • Figure 10 is a schematic block diagram of a backend server provided by an embodiment of the present application.
  • the embodiment of the present application proposes a verification method that enables the computer device to output a corresponding verification reminder during the verification process. Since the verification reminder is associated with the distance between the filled image block and the filled area contained in the verification image, Then, by outputting a verification reminder associated with the distance between the filled image block and the filled area, it is possible to give a clear verification prompt during the verification process, and the output of the verification prompt is compatible with the original verification processing logic, so , so that the computer device can improve the verification security without changing the original verification processing logic, and can also effectively avoid malicious verification requests.
  • the computer device may determine that verification processing is required when logging in to the application program, or the computer device may determine that verification processing is required when downloading data. In the embodiment of the present application, the computer device needs to be verified.
  • the timing is not limited.
  • the computer device when performing verification processing, if the computer device needs to obtain and use user information, it must first obtain the use authorization of the relevant information from the relevant user and then obtain and use the relevant user information.
  • the verification process performed by the computer device can also be called security verification.
  • Security verification refers to verifying the currently executed operation through different network channels or means to ensure the security of the currently executed operation, such as for verification The current login operation is performed by the user himself, not by other users, thus ensuring the security of the relevant accounts.
  • the verification process is mainly performed by outputting a verification image in the computer device, and performing the verification process through the verification method indicated by the verification image, wherein the verification image for verification processing includes filled image blocks and filled areas, such as As shown in Figure 1a, the filling image block may be an image block marked by 10 in Figure 1a, and the filling area may be an image area marked by 11 in Figure 1a.
  • the computer device can obtain the sliding operation of the filling image block for the verification image from the displayed verification image, and further can determine based on the sliding operation of the filling image block. Whether it passes the verification.
  • the computer device may determine that the verification is passed when the filling image block is moved to the filling area, or the computer device may determine that the filling image block is moved to the filling area and the filling image block is moved The verification is passed only when the time to fill the area is less than the preset time threshold.
  • the verification process by outputting a verification image and moving the padding image blocks in the verification image, since the image size of the verification image output and displayed by the computer device is smaller, the size of the padding image blocks included in the verification image will be relatively smaller. Therefore, when performing verification processing based on a verification image with a smaller display size, the verification may fail due to the smaller image size. That is to say, due to the image size of the verification image displayed, the verification process may fail. Situations that lead to incorrect verification results.
  • a verification reminder can be output during the verification processing based on the verification image, thereby providing more intuitive operation information for users performing verification processing.
  • Output The verification reminder allows the user to accurately determine whether the filled image block has been dragged to the specified filling area, thereby improving the accuracy of the verification processing results; in addition, since the verification reminder is output during the verification processing, that is to say , the verification processing method used in the embodiment of the present application retains the behavioral characteristics of the user when performing verification, that is, retains the behavioral characteristics of the corresponding user moving the filled image block to the filled area, retains the behavioral characteristics of the user when performing verification, and can achieve Defense against malicious authentication request attacks.
  • the verification reminder output by the computer device during the verification process is a tactile verification reminder
  • the tactile perception level of the tactile verification reminder output by the computer device is related to the movement distance of the filled image block in the output verification image. , that is, related to the distance between the filled image block and the filled area.
  • the tactile perception level of the tactile verification reminder can be proportional to the distance between the filled image block and the filled area. The closer the filled image block is to the filled area, that is, the movement distance of the filled image block. The larger the value, the weaker the tactile perception of the output tactile verification reminder (that is, the smaller the tactile perception), and when the filling image block is farther from the filling area, that is, the movement distance of the filling image block is smaller, the output The stronger the tactile perception of the tactile verification reminder (i.e. the greater the tactile perception).
  • the computer device when the degree of tactile perception of the tactile verification reminder is directly proportional to the distance between the filled image block and the filled area, that is, when the degree of tactile perception of the tactile verification reminder is inversely proportional to the moving distance of the filled image block , in the process of the filled image block being gradually moved to the filled area, the computer device outputs a verification reminder that the degree of tactile perception gradually decreases as the filled image block moves closer to the filled area.
  • the tactile perception level of the tactile verification reminder when the tactile perception level of the tactile verification reminder is inversely proportional to the distance between the filled image block and the filled area, that is, the tactile perception level of the tactile verification reminder is directly proportional to the moving distance of the filled image block.
  • the computer device outputs a tactile verification reminder corresponding to a gradually increasing degree of tactile perception.
  • the computer device may be a server or a terminal device.
  • the detailed description is mainly based on the case where the computer device is a terminal device.
  • the computer device When the computer device performs the verification process, the computer device itself can determine and output a tactile verification reminder associated with the movement distance based on the movement distance of the filled image block in the verification image, or in order to reduce the computing pressure of the computer device itself , the computer device can also send the movement information of the filled image block in the verification image to the backend server, so that the backend server can determine the reminder parameters based on the movement information, and send the reminder parameters to the computer device, so that The computer device outputs a tactile verification reminder in accordance with corresponding reminder parameters.
  • the system architecture diagram of the computer device and the backend server performing verification processing can be shown in Figure 1b.
  • the computer device can be any one of the terminal devices marked with 10, and the backend server can be as shown in Figure 1b.
  • the server marked by 11 in 1b is that the computer device obtains the verification image from the backend server 11 and displays it. That is to say, the backend server 11 refers to the support server for verification processing.
  • the backend server 11 can obtain the movement information for the filled image block in the verification image from the computer device, and then the backend server 11 can determine the relationship between the filled image block and the filled area based on the movement information.
  • the reminder parameters matching the current distance can be determined, and the determined reminder parameters are sent to the computer device, thereby causing the computer device reminder parameters to output corresponding tactile verification reminders.
  • the tactile verification reminder output by the computer device during the movement of the filling image block toward the filling area is a first tactile verification reminder.
  • the computer device A second tactile verification reminder with a different tactile perception level corresponding to the first tactile verification reminder is output to inform the corresponding user that the filling image block in the verification image has been moved to the filling area, thereby improving the verification process. security.
  • FIG 2 is a schematic flow chart of a verification method proposed by an embodiment of the present application.
  • the verification method is mainly executed by the above-mentioned computer device. As shown in Figure 2, the method may include:
  • the verification image includes a filling image block and a filling area, and the filling image block is separated from the filling area.
  • the verification image displayed by the computer device is obtained from the backend server when verification is required. After the computer device displays the obtained verification image, the verification image can be controlled. The padding image blocks are moved along the padding area.
  • the filling image block is separated from the filling area, which means that there is a distance between the filling image block and the filling area; for example, the filling image block is separated from the filling area, which can be that the filling image block is on the right side of the verification image, and the filling area On the left side of the verification image, the padding image block can also be on the upper side of the verification image, and the padding area is on the upper side of the verification image.
  • the filled image block in the verification image can be moved based on the movement operation of the device user in the device screen of the computer device, as shown in Figure 3a.
  • the device user corresponding to the computer device can first select the filled image block in the verification image, and then drag the selected filled image block to move along the filled area.
  • the device user drags the selected filled image block to move along the filled area.
  • the direction may be the direction of movement indicated by the arrow in Figure 3a.
  • the verification image contains a control mark that fills the image block, and the control mark is displayed in the mark control area; controlling the movement of the fill image block in the verification image along the fill area includes: controlling the control mark to move in the mark control area, And obtain the movement information of the control mark; the movement information includes at least one of the movement direction or the movement distance; and generate the movement information of the filled image block according to the movement information of the control mark, and use the movement information of the filled image block to control the filled image block Move along the filled area.
  • the device user corresponding to the computer device can realize the filling of the control logo by moving the control logo. Movement control of image blocks.
  • the control logo contained in the verification image is displayed in the logo control area.
  • the control logo can be the logo marked by 30 in Figure 3b
  • the logo control area can be the logo marked by 31 in Figure 3b. area. Therefore, the movement control of the filled image block based on the control mark can be as shown in Figure 3b. By controlling the control mark to move along the fill area in the mark control area, the control of the filled image block is achieved. Move along the filled area.
  • the verification image displayed by the computer device includes a control logo for controlling the filled image blocks, the control logo is displayed in the logo control area, and controlling the movement of the filled image blocks in the verification image along the filling area includes: the computer device can control The control logo moves in the logo control area and obtains the movement information of the control logo. After the computer device obtains the movement information of the control logo, it can generate the movement information of the filled image block based on the movement information of the control logo, and then The movement information of the filling image block can be used to control the movement of the filling image block along the filling area; wherein the movement information includes at least one of a movement direction or a movement distance.
  • the computer device can control the filling image block to move along the filling area based on the movement information of the filling image block.
  • the computer device can obtain the movement mapping relationship between the control logo and the filling image block, and calculate the movement distance of the control logo according to the movement distance of the control logo. and the proportional relationship indicated by the movement mapping relationship, determine the reference distance that the filled image block needs to move, and control the filled image block to move the corresponding reference distance along the filling area.
  • the movement mapping relationship is used to indicate: the proportional relationship between the movement distance of the control logo and the movement distance of the filling image block, and the filling image block moves with the movement of the control logo.
  • the computer device may move the control identification based on the proportional relationship between the movement distance of the control identification and the movement mapping relationship indication.
  • the filled image block moves a corresponding distance away from the filled area.
  • the filling area included in the verification image is a specified position in the verification image. Therefore, the filling image block can also be a specified position in the verification image.
  • the filling area can be The rightmost position in the verification image, and when the filling image block is the rightmost position of the verification image, the position of the filling area in the verification image does not need to be indicated.
  • the computer device When the padding area is at the rightmost position of the verification image, the location of the padding area in the verification image does not need to be displayed, and only the padding image block is displayed in the verification image.
  • the device user corresponding to the computer device Verification processing can be performed by controlling the padding image block to move to the rightmost end of the verification image.
  • a method of controlling the movement of the filled image blocks through the movement control identifier is also provided, making the verification method richer, and controlling the movement of the filled image blocks through the movement control identifier, Operation is simpler.
  • the tactile verification reminder can also be output, and then step S203 can be executed, based on the tactile verification reminder. Output can effectively improve the security of verification processing, and can improve the accuracy and effectiveness of verification processing results.
  • step S203 and step S204 when the verification image displayed by the computer device includes a filling image block being moved, the computer device may output a first value that is inversely proportional to the distance between the filling image block and the filling area.
  • a tactile verification reminder when the computer device determines that the filled image block is moved to the filling area, output a corresponding second tactile verification reminder to inform the device user that the verification is successful, or if the computer device determines that within a preset time range If the filled image block is not moved to the filled area, a reminder message for verification failure can also be output.
  • the output reminder message can be, for example, a voice broadcast message, or it can also be a notification message displayed in the device interface.
  • outputting the first tactile verification reminder according to the distance between the filled image block and the filled area includes: during the process of moving the filled image block, when the filled image block is moved When reaching the current position, obtain the current distance between the filled image block and the filled area; obtain the target relationship between the distance and the degree of tactile perception; the distance is the distance between the filled image block and the filled area, and the degree of tactile perception is the first value to be output
  • the tactile verification reminder corresponds to the degree of tactile perception, and the target relationship is a proportional relationship in which the degree of tactile perception decreases with distance; and the first tactile verification reminder is output according to the current distance and the target relationship.
  • the computer device when the computer device outputs the first tactile verification reminder in the process of moving the filled image block, the computer device can obtain the movement information of the filled image block in the process of moving the filled image block, and use the movement information to Determine the current position of the filled image block. In addition, the computer device can also determine the target position corresponding to the verification image of the filled area. Then, the computer device can determine the positions corresponding to the current position and the target position of the filled image block. parameters to determine the current distance between the current position of the filled image block and the target position corresponding to the filled area, so that the first tactile verification reminder related to the current distance can be output.
  • the computer device when it determines the current position of the filled image block and the target position of the filled area, it can first construct a coordinate system based on the verification image, wherein the result of the coordinate system constructed based on the verification image can be As shown in Figure 4a, after constructing the coordinate system corresponding to the verification image, the current coordinate system of the filled image block can be determined based on the constructed coordinate system and the center point (or a certain boundary point, etc.) of the filled image block and the filled area.
  • the position coordinates corresponding to the position, and the position coordinates corresponding to the target position of the filled area, and then the current position and the filled area can be calculated based on the position coordinates corresponding to the current position of the filled image block and the position coordinates corresponding to the target position of the filled area.
  • the distance between the filling image block and the filling area can be directly determined during the movement of the filling image block.
  • the computer device can first obtain the initial position of the filled image block in the verification image, and determine the original distance between the initial position and the target position, and then obtain the movement distance of the filled image block based on the movement information of the filled image block, and compare the original distance with The distance difference between the moving distance of the filled image block is used as the current distance between the current position of the filled image block and the target position; where the moving distance of the filled image block is used to indicate the current position of the filled image block.
  • the computer device determines the movement distance of the filled image block including: obtaining the position parameter of the initial position of the filled image block and the position parameter corresponding to the current position of the filled image block. According to the position parameters corresponding to the initial position and the current position of the filled image block, Determine the distance to move the filled image block.
  • the position coordinate corresponding to the initial position of the filling image block in the verification image (assumed to be point a in Figure 4b) is (x2, y), and the filling area
  • the position coordinate corresponding to the target position (assumed to be point b in Figure 4b) is (x1, y).
  • the initial position of the filled image block and the corresponding filling area can be determined
  • the original distance d1 between the target positions, the original distance d1 is the distance between point a and point b, and after the computer device determines the original distance, it can be based on the original distance and the movement information of the filled image block , determine the moving distance of the filled image block.
  • obtaining the current distance between the filled image block and the filled area includes: when the filled image block is moved after being controlled by the control identification, obtaining the starting position of the control identification in the verification image, and filling The movement position corresponding to the control logo when the image block is moved to the current position; determine the movement distance of the logo corresponding to the control logo according to the starting position of the control logo and the position parameters corresponding to the movement position of the control logo; and obtain the filling image block and The original distance between the filled areas, and the current distance between the filled image block and the filled area is determined based on the original distance and the identity movement distance of the control identifier.
  • the computer device can obtain the filling image block and the filling area. After the original distance between the two, the starting position of the control logo in the verification image is obtained, as well as the corresponding movement position of the control logo when the filled image block is at the current position, and then the starting position of the control logo and the movement position of the control logo can be obtained respectively.
  • the corresponding position parameter determines the logo movement distance corresponding to the control logo, so that the logo movement distance can be used as the movement distance of the filled image block.
  • the position coordinates corresponding to the starting position of the control mark are (a2, b), and the position coordinates corresponding to the movement position of the control mark are (a1, b)
  • d2
  • the movement distance d2 of the control logo can be calculated, and d2 is used as the movement distance of the filled image block.
  • the above process of calculating the current distance may be performed by the computer device itself, or may be performed by a background server.
  • the backend server since the verification image obtained by the computer device is obtained from the backend server, the backend server can first fill the initial position and filling area of the image block based on the verification image before sending the verification image to the computer device. Corresponding target position, calculate the original distance between the filled image block and the filled area.
  • the current distance between the filled image block and the filled area is determined according to the identification movement distance of the control identifier and the original distance, and then the corresponding First tactile verification reminder and second tactile verification reminder.
  • the movement information of the filled image block or the movement information of the corresponding control identifier of the filled image block can be sent to the backend server.
  • the background server determines the current distance between the filled image block and the filled area based on the movement information, and determines the first tactile verification reminder related to the current distance based on the determined current distance.
  • the movement information of the filled image block and the movement information of the corresponding control identifier of the filled image block can be sent to the backend server.
  • the background server determines the current distance between the filled image block and the filled area based on the movement information, and determines the first tactile verification reminder related to the current distance based on the determined current distance.
  • the current distance between the filled image block and the filled area is determined according to the current position of the filled image block, and the first tactile verification reminder is output according to the relationship between the current distance and the target.
  • the relationship is that the degree of tactile perception corresponding to the first tactile verification reminder becomes smaller as the current distance becomes smaller, so that in the process of filling the image block closer to the filling area, the degree of tactile perception corresponding to the first tactile verification reminder becomes smaller and smaller.
  • outputting the first tactile verification reminder according to the distance between the filled image block and the filled area includes: during the process of moving the filled image block, when the filled image block is moved When reaching the current position, obtain the current distance between the filled image block and the filled area; obtain the target relationship between the distance and the degree of tactile perception; the distance is the distance between the filled image block and the filled area, and the degree of tactile perception is the first value to be output
  • the tactile verification reminder corresponds to the degree of tactile perception, and the target relationship is an inverse relationship in which the degree of tactile perception increases as the distance decreases; and the first tactile verification reminder is output according to the current distance and the target relationship.
  • the first tactile verification reminder when the computer device determines that the filling image block is moved to the current position based on the current distance between the filling image block and the filling area includes: when the filling image block is moved to the current location position, obtain the current distance between the filled image block and the filled area, that is, after obtaining the above d, obtain the distance between the filled image block and the filled area and the tactile perception degree corresponding to the first tactile verification reminder to be output.
  • the target relationship of d and the target relationship, the first tactile verification reminder can be output according to the current distance and target relationship.
  • the target relationship may also be an inverse relationship in which the degree of tactile perception corresponding to the first tactile verification reminder increases as the current distance becomes smaller, so that when the filled image block approaches the filled area, the first The degree of tactile perception corresponding to the tactile verification reminder is getting larger and larger, making the verification processing methods richer; through changes in the degree of tactile perception, more intuitive operating information is provided, allowing the user to determine whether the filled image block has been moved with the first tactile verification reminder into the specified filling area, thereby improving the accuracy of verification processing based on the verification image.
  • outputting the first tactile verification reminder according to the current distance and target relationship includes: calculating the first reminder parameter when the filled image block is moved to the current position according to the current distance and target relationship; the first reminder parameter is used to Reflect the tactile perception level of the first tactile verification reminder, wherein the value of the first reminder parameter is positively correlated with the degree of tactile perception; and output the first tactile verification reminder according to the first reminder parameter.
  • the first tactile verification reminder when outputting the first tactile verification reminder based on the current distance between the filled image block and the filled area, first based on the filled image block and the filled area The current distance between the filled areas determines the first reminder parameter when the filled image block is moved to the current position, and then the first tactile verification reminder can be output according to the determined first reminder parameter.
  • the first tactile verification reminder when the computer device determines that the filling image block is moved to the current position based on the current distance between the filling image block and the filling area includes: when the filling image block is moved to the current location position, obtain the current distance between the filled image block and the filled area, that is, after obtaining the above d, obtain the distance between the filled image block and the filled area and the tactile perception degree corresponding to the first tactile verification reminder to be output.
  • the target relationship of After the target relationship is determined, the first tactile verification reminder can be output according to the current distance and target relationship.
  • the computer device can first calculate the first reminder parameter when the filled image block is moved to the current position according to the current distance d and the target relationship, wherein the first The reminder parameter is used to reflect the tactile perception degree of the first tactile verification reminder, and the value of the first reminder parameter is positively related to the degree of tactile perception.
  • the first reminder parameter is calculated when the filled image block is moved to the current position.
  • the first reminder parameter outputs the first tactile verification reminder.
  • the value of the first reminder parameter is consistent with the tactile sense.
  • the degree of perception is positively correlated, so that the tactile degree of the first tactile verification reminder can be distinguished by moving the filled image blocks to different current positions, thereby making the tactile degree of the first tactile verification reminder more accurate.
  • calculating the first reminder parameter when the filled image block is moved to the current position according to the current distance and the target relationship includes: obtaining the original distance between the filled image block and the filled area; calculating the current distance based on the target relationship. The distance ratio to the original distance; and based on the distance ratio, calculate the first reminder parameter when the filled image block is moved to the current position.
  • the computer device can first obtain the original distance between the filled image block and the filled area, that is, the above-mentioned d1. Then, the computer device can calculate the distance between the current distance d and the original distance d1 based on the target relationship. Ratio. In one embodiment, when the target relationship is a direct proportional relationship, the calculated distance ratio is
  • the distance ratio can reflect the ratio between the current distance and the original distance, and the first reminder parameter is determined according to the distance ratio, so that the value of the first reminder parameter is related to the current distance and changes at the current position of the filled image block.
  • the first reminder parameter changes accordingly, and then the tactile degree of the first tactile verification reminder changes accordingly, so that the tactile degree of the first tactile verification reminder can be used to distinguish the filled image blocks from being moved to different current positions, thereby making First tactile verification alerts are more accurate in terms of tactility.
  • calculating the first reminder parameter when the filled image block is moved to the current position according to the distance ratio includes: obtaining the value range supported by the first reminder parameter; and proceeding from the value range indicated by the distance ratio. The value direction during value processing is obtained from the value range to obtain the first reminder parameter corresponding to when the filled image block is moved to the current position.
  • the computer device when calculating the first reminder parameter when the filled image block is moved to the current position based on the distance ratio, can first obtain the value range supported by the first reminder parameter, and then can calculate the first reminder parameter based on the distance ratio.
  • the indicated direction of value processing from the value range is performed from the value range supported by the first reminder parameter to obtain the corresponding first reminder parameter when the filled image block is moved to the current position.
  • the first tactile verification reminder to be output includes vibration, and the reminder parameters of the vibration include one or both of the following: vibration intensity and vibration frequency. That is to say, the first reminder parameter corresponding to the first tactile verification reminder includes vibration intensity. and vibration frequency.
  • the first reminder parameter is determined from the value range supported by the first reminder parameter.
  • the distance ratio changes accordingly, so that the first reminder parameter changes accordingly.
  • a reminder parameter changes accordingly, and then the tactile degree of the first tactile verification reminder changes accordingly, so that the tactile degree of the first tactile verification reminder can be used to distinguish the filled image blocks from being moved to different current positions, thereby making the first tactile sense Verify the tactility of reminders is more accurate.
  • the computer device can obtain the value range of the vibration intensity. It is assumed that the value range of the vibration intensity obtained by the computer device is [Gmin , Gmax], Gmin represents the minimum vibration intensity, and Gmax represents the maximum vibration intensity.
  • the distance ratio determined by the computer device when the distance ratio determined by the computer device is
  • the first reminder parameter when the distance ratio obtained by the computer device is
  • is the distance ratio when the target relationship is directly proportional
  • is the distance ratio when the target relationship is inversely proportional
  • Gmax is the maximum vibration.
  • the first reminder parameter corresponding to the first tactile verification reminder may also include a vibration frequency.
  • the value range corresponding to the first reminder parameter obtainable by the computer device is the vibration frequency range.
  • the first reminder parameter corresponding to the first tactile verification reminder includes the vibration frequency
  • the first reminder parameter when the distance ratio obtained by the computer device is
  • the distance ratio obtained by the computer device is
  • is the distance ratio when the target relationship is directly proportional
  • is the distance ratio when the target relationship is inversely proportional
  • Fmax represents the vibration motor.
  • the corresponding maximum vibration frequency, Fmin represents the minimum vibration frequency corresponding to the vibration motor
  • F is the first reminder parameter corresponding to the vibration frequency; after the computer device calculates the first reminder parameter, it can output the first tactile sensation according to the first reminder parameter. Verification reminder.
  • the first reminder parameter corresponding to the first tactile verification reminder may also be determined by the background server and then sent to the computer device, as shown in Figure 4c. That is to say, when the computer device displays the verification image to the corresponding device user, and the device user moves the filled image block in the verification image for security verification, the background server will calculate the distance information between the filled image block and the filled area in real time. , and inform the device user whether the movement direction of the filled image block is correct by issuing different first reminder parameters (such as at least one of vibration frequency parameters or vibration intensity parameters) to improve the security and accuracy in the verification process. sex.
  • first reminder parameters such as at least one of vibration frequency parameters or vibration intensity parameters
  • the first tactile verification reminder includes a vibration reminder; outputting the first tactile verification reminder according to the current distance and target relationship includes: obtaining a vibration waveform associated with the target relationship, and the vibration waveform is used to indicate filling the image block Reminder parameters corresponding to different distances between filled areas.
  • the target relationship is a direct proportional relationship
  • the reminder parameter indicated by the vibration waveform diagram is positively related to the distance.
  • the target relationship is an inversely proportional relationship
  • the reminder parameter indicated by the vibration waveform diagram is It is negatively correlated with the distance; and the reminder parameter corresponding to the current distance in the vibration waveform is used as the first reminder parameter, and the first tactile verification reminder is output according to the first reminder parameter.
  • the computer device when the first tactile verification reminder is a vibration reminder, can also determine the first reminder parameter based on the vibration waveform; the computer device can first obtain the vibration waveform associated with the target relationship , the vibration waveform diagram is used to indicate the corresponding reminder parameters when the distance between the filled image block and the filled area is different.
  • the target relationship is a direct proportional relationship
  • the reminder parameters indicated by the vibration waveform diagram are positively related to the distance.
  • the target relationship is inversely proportional
  • the reminder parameter indicated by the vibration waveform is negatively correlated with the distance, and the computer device can use the reminder parameter corresponding to the current distance in the vibration waveform as the first reminder parameter.
  • the corresponding vibration frequency is determined to be 100Hz, and when the current distance between the filled image block and the filled area is 2cm, it is determined
  • the output vibration frequency can be 200Hz, where Hz is the unit for measuring the vibration frequency of the vibration motor, indicating the number of vibrations in one second.
  • the device can determine that when the current distance between the filled image block and the filled area is 4cm, the determined vibration intensity is 1Grms, and when the current distance between the filled image block and the filled area is 2cm, the determined The vibration frequency is 2Grms.
  • Grms is the unit to measure the vibration intensity of the vibration motor and represents the root mean square of the acceleration. In the actual user experience, the larger the Grms value, the stronger the vibration feeling, so that the computer equipment can fill the image block more efficiently.
  • the corresponding device user can determine whether to fill the image block along the filling area based on the feeling size of the first tactile verification reminder output. Make a move.
  • the first reminder parameter is determined according to the vibration waveform diagram, and the first tactile verification reminder is output according to the first reminder parameter.
  • the vibration frequency corresponding to the first tactile verification reminder can be determined through the vibration waveform diagram, so that the user can determine based on the first tactile verification reminder.
  • a change in the vibration frequency of the tactile verification reminder determines whether the filled image block is moved along the filling area. When the filling image block does not move along the filling area, it can be discovered in time, thereby improving the verification efficiency.
  • the first tactile verification reminder includes a vibration reminder
  • the value of the first reminder parameter corresponding to the first tactile verification reminder changes with the change of the vibration waveform when the filled image block is moved
  • outputting a second tactile verification reminder includes: when the filling image block is moved to the filling area, the first reminder parameter changes to the second reminder parameter along with the vibration waveform; and according to the second reminder Parameter output vibration reminder.
  • the value of the first reminder parameter corresponding to the first tactile verification reminder changes with the change of the vibration waveform. Change; when the filled image block is moved to the filled area, the first reminder parameter changes with the vibration waveform to the second reminder parameter, thereby allowing the computer device to output a vibration reminder according to the second reminder parameter.
  • a vibration reminder is output through the second reminder parameter.
  • the vibration reminder corresponding to the second reminder parameter is different from the vibration reminder corresponding to the first reminder parameter, that is, the second tactile verification
  • the degree of tactile perception of the reminder is different from the degree of tactile perception of the first tactile verification reminder, so that when the second tactile verification reminder is output, the user can confirm that the filled image block has been moved to the designated filling area, thereby improving the performance based on Verify the accuracy of the image for verification processing.
  • the second tactile verification reminder includes a vibration reminder; when the filling image block is moved to the filling area, outputting the second tactile verification reminder includes: when the filling image block is moved to the filling area, according to a preset The vibration pattern outputs a vibration reminder; the preset vibration pattern includes the number of vibrations output, the duration of each vibration, and the time interval between each two vibrations.
  • the computer device when the computer device determines that the filled image block has been moved to the filled area, it can also output a vibration reminder according to a preset vibration rule; wherein the preset vibration rule includes the number of output vibrations, and each vibration The duration, and the time interval between each two vibrations.
  • the computer device can prompt the user through a special vibration method, such as vibrating for 1 second and stopping for 1 second. Prompt is provided to inform the corresponding device user to stop moving the filled image block.
  • the vibration rules corresponding to this special vibration mode include: the duration of each vibration is 1s, and the time interval between each two vibrations is 1s.
  • the vibration reminder is output through the preset vibration rule.
  • the vibration reminder output by the preset vibration rule is different from the vibration reminder corresponding to the first reminder parameter, that is, the second tactile sensation
  • the tactile perception level of the verification reminder is different from the tactile perception level of the first tactile verification reminder, so that when the second tactile verification reminder is output, the user can confirm that the filled image block has been moved to the designated filling area, thereby improving the Accuracy of verification processing based on verification images.
  • the first tactile verification reminder includes a vibration reminder; outputting the first tactile verification reminder includes: obtaining reminder parameters corresponding to the first tactile verification reminder, and extracting the corresponding reminder parameters according to the first tactile verification to drive the motor to vibrate , to output a vibration reminder.
  • the second tactile verification reminder includes a vibration reminder; outputting the second tactile verification reminder includes: obtaining reminder parameters corresponding to the second tactile verification reminder, and extracting the corresponding reminder parameters according to the second tactile verification to drive the motor to vibrate , to output a vibration reminder.
  • the first tactile verification reminder or the second tactile verification reminder can be used as the target tactile verification reminder, and then the reminder parameters corresponding to the target tactile verification reminder can be obtained, and the corresponding reminder parameters can be obtained according to the target tactile verification reminder.
  • the reminder parameter drives the motor to vibrate to output a vibration reminder.
  • the above-mentioned first tactile verification reminder and second tactile verification reminder may also be a flash light or a voice broadcast, etc.
  • the motor when the computer device outputs the first tactile verification reminder, the motor is driven to vibrate according to the reminder parameters corresponding to the first tactile verification reminder.
  • the motor is driven to vibrate according to the reminder parameters corresponding to the second tactile verification reminder.
  • the reminder parameter drives the motor to vibrate, improving the vibration effect of the first tactile verification reminder and the second tactile verification reminder.
  • the computer device displays the verification image to the corresponding device user, so that the device user can implement the verification process by moving the filling image block in the verification image, and the device user controls the filling image.
  • the computer device can interact with the device user through the vibration function of the computer device, that is, during the movement of the filled image block, the computer device can output an output corresponding to the filled image block and Vibration information related to the distance between filling areas, thereby providing more intuitive operation information and helping users determine whether the filling image block has been moved to the specified filling area based on the output vibration reminder, which can then improve verification processing based on verification images.
  • the output of the vibration reminder also retains the user's behavioral characteristics, it can resist malicious request attacks, thereby improving the verification accuracy of the computer device and improving the security of the verification process.
  • Figure 5 is a schematic flow chart of a verification method proposed by an embodiment of the present application.
  • the verification method can be executed by the above-mentioned backend server. As shown in Figure 5, the method can include:
  • the backend server can randomly generate a verification image when detecting that the device user corresponding to the computer device has a verification need, and send the generated verification image to the computer device, where the computer device sends the verification to the backend server through the target application. Required, therefore, the verification image generated by the backend server is also sent to the target application of the computer device for display.
  • the backend server randomly generates the verification image means that the background images of the verification images generated by the backend server are different, and the locations of the filling image blocks and filling areas contained in the verification image are also different, Based on the difference in the position of the filled image block and the filled area in each randomly generated verification image, the verification process can be realized based on the movement of the filled image block. That is to say, the verification image randomly generated by the backend server includes a filling image block and a filling area, and the filling image block is separated from the filling area. Then, after the verification image is sent to the computer device, the corresponding device user can control the verification image. The filling image block in the verification image is moved, 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 can turn to step S502.
  • the verification image also contains a control identifier for the filled image block, and the filled image block moves with the movement of the control identifier; then, the current distance between the filled image block and the filled area is the background server It is determined based on the difference between the original distance and the movement distance of the control mark; and the original distance is the position corresponding to the initial position of the filled image block and the target position corresponding to the filled area after the verification image is generated.
  • the movement distance of the control logo is determined by the computer device after acquiring the movement information of the filled image block.
  • the target application receives the verification image sent by the background server and loads the verification image.
  • the verification image includes the background of the verification image, the filled image block and the control identifier of the filled image block.
  • the control identifier is displayed as a slider component. ;
  • the processor of the computer device displays the background in the verification image and the control mark as a slider on the display screen to the device user according to the processing of the target application;
  • the device user moves (or drags) the control mark as a slider through the input module of the computer device, such as touch screen or buttons;
  • the computer device transmits the user's movement information for the control logo to the target application;
  • the movement information includes the starting point coordinates of the control logo and the real-time coordinates after the user moves;
  • the target application passes the real-time coordinate information of the filled image block to the background server;
  • the background server calculates the movement distance and direction of the control logo based on the movement information of the control logo, and calculates the corresponding vibration intensity or vibration frequency.
  • the background server sends the vibration intensity G or vibration frequency F data to the target application
  • the processor of the computer device processes the vibration intensity G or vibration frequency F data obtained by the target application and converts it into an electrical signal to drive the motor;
  • the computer device drives the vibration motor to vibrate according to the specified vibration intensity G or vibration frequency F through the converted electrical signal.
  • the backend server can send the verification image to the computer device for display when detecting that the computer device has a verification requirement.
  • the corresponding device user can perform verification by moving the filled image blocks in the displayed verification image.
  • the background server can determine the corresponding first tactile verification reminder based on the current distance between the filled image block and the filling area, and use the determined first tactile verification reminder is sent to the computer device, so that the computer device outputs the first tactile verification reminder, and when the computer device determines that the filling image block is moved to the filling area, the second tactile verification reminder is sent to the computer device, so that the The computer device outputs the second tactile verification reminder, which can help the corresponding user determine whether the filled image block has been moved to the designated filling area based on the output tactile verification reminder, thereby improving the accuracy of the verification process.
  • inventions of the present application also provide a verification device.
  • the verification device may be a computer readable instruction running in the above computer device.
  • the verification device can be used to perform the verification method as shown in Figure 2, see Figure 7.
  • the verification device includes: a display unit 701 and a processing unit 702.
  • the display unit 701 is used to display a verification image, 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 702 is used to control the filling image blocks in the verification image to move along the filling area;
  • the processing unit 702 is also configured to output a first tactile verification reminder according to the distance between the filling image block and the filling area during the process of moving the filling image block;
  • the processing unit 702 is also configured to output a second tactile verification reminder when the filled image block is moved to the filling area.
  • the tactile perception level of the second tactile verification reminder is different from the tactile perception level of the first tactile verification reminder.
  • processing unit 702 is used for:
  • the current distance between the filled image block and the filled area is obtained; the target relationship between the distance and the degree of tactile perception is obtained; the distance is the filled image block.
  • the tactile perception level is the tactile perception level corresponding to the first tactile verification reminder to be output; the target relationship is a proportional relationship that the tactile perception level becomes smaller with the distance; and the third is output according to the current distance and target relationship.
  • processing unit 702 is used for:
  • the current distance between the filled image block and the filled area is obtained; the target relationship between the distance and the degree of tactile perception is obtained; the distance is the filled image block.
  • the tactile perception level is the tactile perception level corresponding to the first tactile verification reminder to be output, the target relationship is the inverse proportional relationship that the tactile perception level increases with the distance; and the third is output according to the current distance and target relationship.
  • processing unit 702 is used for:
  • the first reminder parameter calculates the first reminder parameter when the filled image block is moved to the current position; the first reminder parameter is used to reflect the tactile perception degree of the first tactile verification reminder, where the value of the first reminder parameter Positively related to the degree of tactile perception; and outputting the first tactile verification reminder according to the first reminder parameter.
  • processing unit 702 is used for:
  • processing unit 702 is used for:
  • the first tactile verification reminder includes a vibration reminder; the processing unit 702 is configured to:
  • the vibration waveform is used to indicate the corresponding reminder parameters when the distance between the filled image block and the filled area is different.
  • the vibration waveform indicates the reminder parameter.
  • Positively related to the distance when the target relationship is inversely proportional, the reminder parameter indicated by the vibration waveform is negatively related to the distance; and the reminder parameter corresponding to the current distance in the vibration waveform is used as the first reminder parameter, and is output according to the first reminder parameter First touch verification reminder.
  • 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 with the change of the vibration waveform when the filled image block is moved; processing Unit 702, for:
  • the first reminder parameter changes to the second reminder parameter along with the vibration waveform; and the vibration reminder is output according to the second reminder parameter.
  • the second tactile verification reminder includes a vibration reminder; the processing unit 702 is configured to:
  • a vibration reminder is output according to the preset vibration rule; where the preset vibration rule includes the number of output vibrations, the duration of each vibration, and the time between each two vibrations. time interval.
  • the first tactile verification reminder includes a vibration reminder; the processing unit 702 is configured to:
  • the second tactile verification reminder includes a vibration reminder; the processing unit 702 is configured to:
  • the verification image contains a control logo that fills the image block, and the control logo is displayed in the logo control area; the processing unit 702 is configured to:
  • Control the movement of the control logo in the logo control area and obtain the movement information of the control logo; the movement information includes at least one of the movement direction or the movement distance; and generate movement information of the filled image block according to the movement information of the control logo, and use the filling method
  • the movement information of the image block controls the movement of the filled image block.
  • processing unit 702 is used for:
  • the filled image block When the filled image block is moved after being controlled by the control logo, obtain the starting position of the control logo in the verification image, and the corresponding movement position of the control logo when the filled image block is moved to the current position; according to the starting position of the control logo position, and the position parameters corresponding to the movement position of the control logo, determine the logo movement distance corresponding to the control logo; and obtain the original distance between the filled image block and the filled area, and determine based on the original distance and the logo movement distance of the control logo The current distance between the filled image block and the filled area.
  • the display unit 701 displays the verification image to the corresponding device user, so that the device user can realize the verification process by moving the filling image block in the verification image, and the device user controls the filling.
  • the user of the device can interact with the device through a vibration function. That is to say, during the process of moving the filled image block, the processing unit 702 can output information related to the filled image block and the filled area. vibration information related to the distance between each other, thereby providing more intuitive operation information and helping users determine whether the filled image block has been moved to the specified filling area based on the output vibration reminder, thereby improving the accuracy of verification processing based on the verification image.
  • the output of the vibration reminder also retains the user's behavioral characteristics, it can resist malicious request attacks, thereby improving the verification accuracy and improving the security of the verification process.
  • inventions of the present application also provide a verification device.
  • the verification device may be a computer readable instruction running in the above background server.
  • the verification device can be used to perform the verification method as shown in Figure 5. Please refer to Figure 8.
  • the verification device includes: a generation unit 801 and a processing unit 802.
  • Generating unit 801 configured to generate a verification image and send the verification image to a target application of the computer device to display the verification image in the computer device.
  • the verification image includes a filling image block and a filling area, and the filling image block is related to the filling area. separation;
  • the processing unit 802 is configured to determine the first tactile verification reminder according to the distance between the filling image block and the filling area in the process of controlling the movement of the filling image block in the verification image along the filling area;
  • the processing unit 802 is also configured to send the first tactile verification reminder to the computer device, so that the computer device outputs the first tactile verification reminder;
  • the processing unit 802 is also configured to send the determined second tactile verification reminder to the computer device when the filling image block is moved to the filling area, so that the computer device outputs the second tactile verification reminder, and the tactile perception of the second tactile verification reminder The degree differs from the degree of tactile perception of the first tactile verification reminder.
  • the verification image also contains a control identifier for the filled image block, and the filled image block moves with the movement of the control identifier;
  • the current distance between the filled image block and the filled area is determined based on the original distance between the filled image block and the filled area and the logo movement distance of the control logo;
  • the original distance is determined based on the initial position of the filled image block and the target position corresponding to the filled area after generating the verification image;
  • the movement distance of the control logo is determined based on the movement information of the filled image block.
  • the generation unit 801 can generate a verification image when detecting that the computer device has a verification requirement.
  • the processing unit 802 can send the generated verification image to the computer device for display.
  • the corresponding device user can display the verification image by displaying the verification image.
  • the verification process is performed on the movement of the filled image block in the verification image.
  • the processing unit 802 can determine the corresponding first tactile sensation according to the current distance between the filled image block and the filled area. Verify the reminder, and send the determined first tactile verification reminder to the computer device, so that the computer device outputs the first tactile verification reminder, and when the computer device determines that the filling image block is moved to the filling area, the first tactile verification reminder is sent to the computer device.
  • the second tactile verification reminder is sent to the computer device, so that the computer device outputs the second tactile verification reminder, which can help the corresponding user determine whether the filled image block has been moved to the designated filling area based on the output tactile verification reminder, thereby improving Verify processing accuracy.
  • FIG. 9 is a schematic structural block diagram of a computer device provided by an embodiment of the present application.
  • the computer device in this embodiment as shown in Figure 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 above-mentioned processor 901, input device 902, output device 903 and memory 904 are connected through a bus 905.
  • the memory 904 is used to store computer readable instructions
  • the processor 901 is used to execute the computer readable instructions stored in the memory 904.
  • the memory 904 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 904 may also include non-volatile memory (non-volatile memory), such as flash memory (flash). memory), solid-state drive (SSD), etc.; the memory 904 may also include a combination of the above types of memories.
  • volatile memory volatile memory
  • non-volatile memory non-volatile memory
  • flash flash memory
  • SSD solid-state drive
  • the processor 901 may be a central processing unit (CPU). Processor 901 may also include hardware chips. The above-mentioned hardware chips can be application-specific integrated circuits (ASICs), programmable logic devices (programmable logic devices, PLDs), etc.
  • the PLD can be a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), etc.
  • the processor 901 may also be a combination of the above structures.
  • the memory 904 is used to store computer-readable instructions
  • the processor 901 is used to execute the computer-readable instructions stored in the memory 904 to implement the steps of the corresponding method in Figure 2 .
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • the verification image includes a filled image block and a filled area, and the filled image block is separated from the filled area;
  • a second tactile verification reminder is output, and the tactile perception level of the second tactile verification reminder is different from the tactile perception level of the first tactile verification reminder.
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • the current distance between the filled image block and the filled area is obtained; the target relationship between the distance and the degree of tactile perception is obtained; the distance is the filled image block.
  • the tactile perception level is the tactile perception level corresponding to the first tactile verification reminder to be output, the target relationship is a proportional relationship that the tactile perception level becomes smaller with the distance; and the third is output according to the current distance and target relationship.
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • the current distance between the filled image block and the filled area is obtained; the target relationship between the distance and the degree of tactile perception is obtained; the distance is the filled image block.
  • the tactile perception level is the tactile perception level corresponding to the first tactile verification reminder to be output, the target relationship is the inverse proportional relationship that the tactile perception level increases with the distance; and the third is output according to the current distance and target relationship.
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • the first reminder parameter calculates the first reminder parameter when the filled image block is moved to the current position; the first reminder parameter is used to reflect the tactile perception degree of the first tactile verification reminder, where the value of the first reminder parameter Positively related to the degree of tactile perception; and outputting the first tactile verification reminder according to the first reminder parameter.
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • the first tactile verification reminder includes a vibration reminder;
  • the processor 901 is configured to call program instructions for executing:
  • the vibration waveform is used to indicate the corresponding reminder parameters when the distance between the filled image block and the filled area is different.
  • the vibration waveform indicates the reminder parameter.
  • Positively related to the distance when the target relationship is inversely proportional, the reminder parameter indicated by the vibration waveform is negatively related to the distance; and the reminder parameter corresponding to the current distance in the vibration waveform is used as the first reminder parameter, and is output according to the first reminder parameter First touch verification reminder.
  • 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 with the change of the vibration waveform when the filled image block is moved; processing The processor 901 is configured to invoke computer readable instructions for performing:
  • the first reminder parameter changes to the second reminder parameter along with the vibration waveform; and the vibration reminder is output according to the second reminder parameter.
  • the first tactile verification reminder includes a vibration reminder
  • the processor 901 is configured to invoke computer-readable instructions for performing:
  • a vibration reminder is output according to the preset vibration rule; where the preset vibration rule includes the number of output vibrations, the duration of each vibration, and the time between each two vibrations. time interval.
  • the first tactile verification reminder includes a vibration reminder; the processor 901 is configured to invoke computer-readable instructions for performing:
  • the second tactile verification reminder includes a vibration reminder
  • the processor 901 is configured to invoke computer-readable instructions for performing:
  • the verification image contains a control logo that fills the image block, and the control logo is displayed in the logo control area;
  • the processor 901 is configured to invoke computer-readable instructions for performing:
  • Control the movement of the control logo in the logo control area and obtain the movement information of the control logo; the movement information includes at least one of the movement direction or the movement distance; and generate movement information of the filled image block according to the movement information of the control logo, and use the filling method
  • the movement information of the image block controls the movement of the filled image block along the filled area.
  • processor 901 is configured to invoke computer-readable instructions for performing:
  • FIG. 10 is a schematic structural block diagram of a backend server provided by an embodiment of the present application.
  • the background server in this embodiment as shown in Figure 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 above-mentioned processor 1001, input device 1002, output device 1003 and memory 1004 are connected through a bus 1005.
  • the memory 1004 is used to store computer readable instructions, and the processor 1001 is used to execute the computer readable instructions stored in the memory 1004.
  • the memory 1004 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 1004 may also include non-volatile memory (non-volatile memory), such as flash memory (flash). memory), solid-state drive (SSD), etc.; the memory 1004 may also include a combination of the above types of memories.
  • volatile memory volatile memory
  • non-volatile memory non-volatile memory
  • flash memory flash memory
  • SSD solid-state drive
  • the processor 1001 may be a central processing unit (CPU). Processor 1001 may also include hardware chips. The above-mentioned hardware chips can be application-specific integrated circuits (ASICs), programmable logic devices (programmable logic devices, PLDs), etc.
  • the PLD can be a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), etc.
  • the processor 1001 may also be a combination of the above structures.
  • the memory 1004 is used to store computer-readable instructions
  • the processor 1001 is used to execute the computer-readable instructions stored in the memory 1004 to implement the above steps of the corresponding method in Figure 5 .
  • processor 1001 is configured to invoke computer-readable instructions for performing:
  • the determined second tactile verification reminder is sent to the computer device, so that the computer device outputs the second tactile verification reminder, and the degree of tactile perception of the second tactile verification reminder is different from the first tactile verification The degree of tactile perception of reminders.
  • the verification image also contains a control identifier for the filled image block, and the filled image block moves with the movement of the control identifier;
  • the current distance between the filled image block and the filled area is determined based on the original distance between the filled image block and the filled area and the mark movement distance of the control mark;
  • the original distance is determined based on the initial position of the filled image block and the target position corresponding to the filled area after generating the verification image;
  • the movement distance of the control logo is determined based on the movement information of the filled image block.
  • Embodiments of the present application provide a computer program product.
  • the computer program product includes computer-readable instructions, and the computer-readable instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer-readable instructions from the computer-readable storage medium, and the processor executes the computer-readable instructions, so that the computer device executes the above method embodiment as shown in FIG. 2 or FIG. 5 .
  • the computer-readable storage media can be magnetic disks, optical disks, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM), etc.

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

本申请实施例公开了一种验证方法、装置、计算机设备、后台服务器及介质,其中方法包括:显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离(S201);控制验证图像中的填充图像块沿填充区域移动(S202);在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒(S203);当填充图像块被移动至填充区域时,输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度(S204)。

Description

验证方法、装置、计算机设备、后台服务器及介质
本申请要求于2022年04月13日提交中国专利局,申请号为2022103815333,发明名称为“验证方法、装置、计算机设备、后台服务器及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种验证方法、装置、计算机设备、后台服务器及介质。
背景技术
随着计算机网络技术的发展,为了保证相关用户的网络活动的安全性,当前为用户在进行网络交互前设置了相应的安全性校验,而当前设置的安全性校验通常是通过将拖动验证图像的图像块到指定图像区域来进行校验处理的,而经实践表明,采用当前的基于对图像块的拖动确定校验处理结果的方式,使得当前的校验处理结果存在不准确的问题。
发明内容
本申请实施例提供了一种验证方法、装置、计算机设备、后台服务器及介质。
一方面,本申请实施例提供了一种验证方法,由计算机设备执行,包括:
显示验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
控制所述验证图像中的所述填充图像块沿所述填充区域移动;
在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒;及
当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种验证方法,由后台服务器执行,包括:
生成验证图像,并将所述验证图像发送到计算机设备的目标应用程序中,以在所述计算机设备中显示所述验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
在控制所述验证图像中的所述填充图像块沿所述填充区域移动的过程中,根据所述填充图像块与所述填充区域之间的距离确定第一触觉验证提醒;
将所述第一触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第一触觉验证提醒;及
当所述填充图像块被移动至所述填充区域时,将确定出的第二触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种验证装置,包括:
显示单元,用于显示验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
处理单元,用于控制所述验证图像中的所述填充图像块沿所述填充区域移动;
所述处理单元,还用于在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒;及
所述处理单元,还用于当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种验证装置,包括:
生成单元,用于生成验证图像,并将所述验证图像发送到计算机设备的目标应用程序中,以在所述计算机设备中显示所述验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
处理单元,用于在控制所述验证图像中的所述填充图像块沿所述填充区域移动的过程中,根据所述填充图像块与所述填充区域之间的距离确定第一触觉验证提醒;
所述处理单元,还用于将所述第一触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第一触觉验证提醒;及
所述处理单元,还用于当所述填充图像块被移动至所述填充区域时,将确定出的第二触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种计算机设备,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持计算机设备执行上述方法的计算机可读指令,所述处理器被配置用于调用所述计算机可读指令,执行如下步骤:
显示验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
控制所述验证图像中的所述填充图像块沿所述填充区域移动;
在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒;及
当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种后台服务器,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持后台服务器执行上述方法的计算机可读指令,所述处理器被配置用于调用所述计算机可读指令,执行如下步骤:
生成验证图像,并将所述验证图像发送到计算机设备的目标应用程序中,以在所述计算机设备中显示所述验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
在控制所述验证图像中的所述填充图像块沿所述填充区域移动的过程中,根据所述填充图像块与所述填充区域之间的距离确定第一触觉验证提醒;
将所述第一触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第一触觉验证提醒;及
当所述填充图像块被移动至所述填充区域时,将确定出的第二触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
再一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可读指令,所述计算机刻度指令被处理器执行时实现上述的方法。
再一方面,本申请实施例提供了一种计算机程序产品,其包括计算机可读指令,所述计算机可读指令在被处理器执行时,使得所述处理器执行上述的方法。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a是本申请实施例提供的一种验证图像的示意图;
图1b是本申请实施例提供的一种验证系统的示意图;
图2是本申请实施例提供的一种验证方法的示意流程图;
图3a是本申请实施例提供的一种移动填充图像块的示意图;
图3b是本申请实施例提供的另一种移动填充图像块的示意图;
图3c是本申请实施例提供的又一种移动填充图像块的示意图;
图4a是本申请实施例提供的一种基于验证图像构建坐标系的示意图;
图4b是本申请实施例提供的一种确定填充图像块和填充区域之间距离的示意图;
图4c是本申请实施例提供的一种进行验证处理的示意图;
图5是本申请实施例提供的一种验证方法的示意流程图;
图6是本申请实施例提供的一种验证处理的示意图;
图7是本申请实施例提供的一种验证装置的示意性框图;
图8是本申请实施例提供的另一种验证装置的示意性框图;
图9是本申请实施例提供的一种计算机设备的示意性框图;
图10是本申请实施例提供的一种后台服务器的示意性框图。
具体实施方式
为了使得本申请的目的、技术方案和优点更为明显,下面将参照附图详细描述根据本申请的示例实施例。显然,所描述的实施例仅仅是本申请的一部分实施例,而不是本申请的全部实施例,应理解,本申请不受这里描述的示例实施例的限制。
在本说明书和附图中,具有基本上相同或相似步骤和元素用相同或相似的附图标记来表示,且对这些步骤和元素的重复描述将被省略。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性或排序。
本申请实施例提出了一种验证方法,使计算机设备可在进行验证处理的过程中输出相应的验证提醒,而由于验证提醒与验证图像包含的填充图像块与填充区域之间的距离相关联,那么,通过输出与填充图像块和填充区域之间的距离相关联的验证提醒,可实现在验证处理过程中给予明确的验证提示,且该验证提示的输出与原先验证处理逻辑是兼容的,因此,使得计算机设备实现了在不改变原先验证处理逻辑的基础上,提升了验证安全性,并且还可有效规避恶意的验证请求。
其中,该计算机设备可在进行应用程序登陆时确定需进行验证处理,或者,计算机设备也可在进行数据下载时确定需进行验证处理,在本申请实施例中,对计算机设备需进行验证处理的时机不做限定。
另外,在进行验证处理时,在该计算机设备需对用户信息进行获取和使用的情况下,先 从相关用户获取到相关信息的使用授权后再进行相关用户信息的获取和使用。
另外,该计算机设备进行的验证处理也可称为安全验证,安全验证是指通过不同的网络渠道或手段对当前执行的操作进行校验,以保证该当前执行操作的安全性,如用于验证当前执行的登陆操作为用户本人执行的登陆,而非其他用户执行,从而可保证相关账号的使用安全性等。在本申请实施例中,主要是通过在计算机设备中输出验证图像,并通过该验证图像指示的验证方式来进行验证处理的,其中,进行验证处理的验证图像包含填充图像块和填充区域,如图1a所示,该填充图像块可以是如图1a中由10标记的图像块所示,该填充区域则可以是如图1a中由11标记的图像区域。
在一个实施例中,基于计算机设备对验证图像的显示,该计算机设备可从显示的验证图像中获取针对该验证图像的填充图像块的滑动操作,进而可基于对该填充图像块的滑动操作确定是否通过验证。
在一个实施例中,该计算机设备可在该填充图像块被移动到该填充区域时确定通过验证,或者,该计算机设备可在该填充图像块被移动到填充区域,且该填充图像块被移动到填充区域的时间小于预设时间阈值时,才确定通过验证。
对于通过输出验证图像,并通过移动该验证图像中的填充图像块来进行验证处理的方式,由于计算机设备输出显示的验证图像的图像尺寸较小,进而该验证图像中包含的填充图像块的尺寸就相对会更小,因此,基于显示尺寸较小的验证图像进行验证处理时,可能会因为图像尺寸较小而导致验证不通过,也就是说,由于显示的验证图像的图像尺寸问题,可能会导致验证结果出错的情况。
为了提升基于该验证图像进行验证处理时所得验证结果的准确性,可在基于该验证图像进行验证处理的过程中输出验证提醒,从而可实现为进行验证处理的用户提供更加直观的操作信息,输出的验证提醒可以使得用户准确判断是否已将填充图像块拖动到指定的填充区域,进而可提升验证处理结果的准确性;另外,由于该验证提醒是在验证处理过程中输出的,也就是说,本申请实施例所采用的验证处理方法,保留用户在执行验证时的行为特征,即保留相应用户将填充图像块移动到填充区域的行为特征,保留用户在执行验证时的行为特征,可实现对恶意的验证请求攻击的抵御。
在一个实施例中,计算机设备在验证处理过程中输出的验证提醒为触觉验证提醒,而该计算机设备输出的触觉验证提醒的触觉感知程度,与输出的验证图像中的填充图像块的移动距离相关,也即是与该填充图像块与填充区域之间的距离相关。
在一个实施例中,触觉验证提醒的触觉感知程度,可与该填充图像块和填充区域之间的距离呈正比例关系,在该填充图像块越靠近填充区域,也就是该填充图像块的移动距离越大时,输出的触觉验证提醒的触觉感知程度越弱(即触觉感知程度越小),而在该填充图像块距离该填充区域较远,也就是该填充图像块的移动距离越小时,输出的触觉验证提醒的触觉感知程度越强烈(即触觉感知程度越大)。
也就是说,当触觉验证提醒的触觉感知程度,与填充图像块和填充区域之间的距离呈正比例关系,也就是触觉验证提醒的触觉感知程度,与该填充图像块的移动距离呈反比例关系时,在填充图像块被逐渐移动到填充区域的过程中,该计算机设备随填充图像块靠近填充区域的移动,输出触觉感知程度逐渐减小的验证提醒。在其他实施方式中,当触觉验证提醒的触觉感知程度,与填充图像块和填充区域之间的距离呈反比例关系,也就是触觉验证提醒的触觉感知程度,与该填充图像块的移动距离呈正比例关系时,在将填充图像块逐渐移动到填 充区域的过程中,该计算机设备输出对应触觉感知程度逐渐增大的触觉验证提醒。
在本申请实施例中,在未明确指出的情况下,均是以触觉感知程度随填充图像块靠近填充区域的移动而逐渐增大的情况进行详细说明的,而本申请实施例所提及的计算机设备可以是服务器也可以是终端设备,在本申请实施例中,主要是以该计算机设备为终端设备的情况进行详细说明的。
在计算机设备进行验证处理时,可由该计算机设备本身基于填充图像块在验证图像中的移动距离,确定并输出与该移动距离相关联的触觉验证提醒,或者,为了降低该计算机设备自身的计算压力,该计算机设备也可将该填充图像块在验证图像中的移动信息发送到后台服务器,从而使得后台服务器可基于该移动信息确定提醒参数,并将该提醒参数发送到该计算机设备中,以使该计算机设备按照相应的提醒参数输出触觉验证提醒。
在一个实施例中,该计算机设备和后台服务器进行验证处理的系统架构图可如图1b所示,该计算机设备可以是由10标记的终端设备中的任一个,该后台服务器则可以是如图1b中由11标记的服务器,可以理解的是,该计算机设备是从后台服务器11获取到验证图像并进行显示的,也就是说,该后台服务器11是指验证处理的支撑服务器,那么,在该后台服务器11在将验证图像发送到计算机设备后,可从该计算机设备获取到针对该验证图像中的填充图像块的移动信息,进而该后台服务器11可基于移动信息确定填充图像块与填充区域之间的当前距离,进而可基于该当前距离确定出与该当前距离匹配的提醒参数,并将确定出的提醒参数发送到计算机设备中,进而使得该计算机设备提醒参数输出相应的触觉验证提醒。
在一个实施例中,计算机设备在该填充图像块朝填充区域移动的过程中输出的触觉验证提醒为第一触觉验证提醒,另外,在该填充图像块被移动到该填充区域时,该计算机设备输出与该第一触觉验证提醒对应的触觉感知程度不同的第二触觉验证提醒,以告知对应的用户,该验证图像中的填充图像块已被移动到填充区域中,进而可提升验证处理过程中的安全性。
请参见图2,是本申请实施例提出的一种验证方法的示意流程图,该验证方法主要由上述的计算机设备执行,如图2所示,该方法可包括:
S201,显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离。
S202,控制验证图像中的填充图像块沿填充区域移动。
在步骤S201和步骤S202中,计算机设备显示的验证图像是在需进行验证时,从后台服务器获取到的,而在该计算机设备将获取到的验证图像进行显示后,则可控制该验证图像中的填充图像块沿填充区域进行移动。
填充图像块与填充区域相分离,指的是填充图像块与填充区域之间存在距离;示例性地,填充图像块与填充区域相分离,可以是填充图像块处于验证图像的右侧,填充区域处于验证图像的左侧,还可以是填充图像块处于验证图像的上侧,填充区域处于验证图像的上侧。
从另一个角度说,当填充图像块与填充区域未分离时,填充图像块处于填充区域中,且填充图像块的边缘与填充区域的边缘吻合,由此可知,当填充图像块与填充区域相分离时,填充图像块不处于填充区域中,填充图像块的便于与填充区域的边缘不吻合。
在一个实施例中,该验证图像中的填充图像块可在被选中后,基于设备用户在该计算机设备的设备屏幕中的移动操作,对该填充图像块进行移动,如图3a所示,该计算机设备对应的设备用户可先选中该验证图像中的填充图像块,然后拖动被选中的填充图像块沿填充区域进行移动,该设备用户拖动被选中的填充图像块沿填充区域进行移动的方向可以是如图3a中 的箭头所指示的移动方向。
在一个实施例中,验证图像包含填充图像块的控制标识,控制标识被显示在标识控制区域中;控制验证图像中的填充图像块沿填充区域移动,包括:控制控制标识在标识控制区域中移动,并获取控制标识的移动信息;移动信息包含移动方向或移动距离中的至少一种;及根据控制标识的移动信息,生成填充图像块的移动信息,并采用填充图像块的移动信息控制填充图像块沿填充区域移动。
在一个实施例中,该计算机设备在显示验证图像后,如果该验证图像还包括填充图像块的控制标识,那么,该计算机设备对应的设备用户可通过对控制标识的移动控制,实现对该填充图像块的移动控制。如图3b所示,该验证图像包含的控制标识被显示在标识控制区域中,该控制标识可以是如图3b中由30标记的标识,而该标识控制区域可以是如图3b中由31标记的区域,因此,基于该控制标识对填充图像块的移动控制,可以是如图3b所示的,通过控制该控制标识在标识控制区域中沿该填充区域进行移动,从而实现控制该填充图像块沿填充区域进行移动。
计算机设备显示的验证图像中,包含对填充图像块进行控制的控制标识,控制标识被显示在标识控制区域中,控制验证图像中的填充图像块沿所述填充区域移动包括:该计算机设备可控制该控制标识在标识控制区域中移动,并获取该控制标识的移动信息,在该计算机设备获取到该控制标识的移动信息后,可根据该控制标识的移动信息,生成填充图像块的移动信息,进而可采用该填充图像块的移动信息控制填充图像块沿填充区域移动;其中,该移动信息包含移动方向或移动距离中的至少一种。
在该计算机设备获取到该填充图像块的移动信息后,该计算机设备可基于该填充图像块的移动信息控制填充图像块沿该填充区域进行移动。如图3b所示,当该控制标识的移动信息指示控制标识沿靠近填充区域的方向进行移动时,该计算机设备可获取控制标识与填充图像块之间的移动映射关系,根据控制标识的移动距离和该移动映射关系所指示的比例关系,确定填充图像块需移动的参考距离,并控制填充图像块沿填充区域移动相应的参考距离。其中,移动映射关系用于指示:控制标识的移动距离与填充图像块的移动距离之间的比例关系,填充图像块随控制标识的移动而移动。
在一个实施例中,如果该控制标识的移动信息指示该控制标识沿远离填充区域的方向进行移动,那么,该计算机设备可基于该控制标识的移动距离和移动映射关系指示的比例关系,将该填充图像块沿远离填充区域的方向移动相应的距离。
在一个实施例中,该验证图像中所包含的填充区域是该验证图像中的某个指定位置,因此,该填充图像块也可以是该验证图像中的某个指定位置,该填充区域可以是该验证图像中的最右端的位置,而在该填充图像块是验证图像最右端的位置时,可不在该验证图像对该填充区域的位置进行指示,如图3c所示的,该计算机设备在该填充区域是验证图像最右端的位置时,可不显示该填充区域在验证图像中的位置,仅在该验证图像中显示填充图像块,而在这种情况下,该计算机设备对应的设备用户则可通过控制该填充图像块移动到该验证图像的最右端来进行验证处理。
在上述实施例中,除了直接控制填充图像块移动以外,还提供了通过移动控制标识控制填充图像块移动的方式,使得验证方式更丰富,并且通过移动控制标识,控制填充图像块移动的方式,操作更简单。
在计算机设备对应的设备用户在控制验证图像中的填充图像块进行移动,以实现验证处 理的过程中,还可进行触觉验证提醒的输出,即可转而执行步骤S203,基于对触觉验证提醒的输出,可有效提升验证处理的安全性,并可提升验证处理结果的准确性和有效性。
S203,在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒。
S204,当填充图像块被移动至填充区域时,输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在步骤S203和步骤S204中,在该计算机设备显示的验证图像中包含填充图像块被移动的过程中,该计算机设备可输出与该填充图像块及填充区域之间的距离成反比例关系的第一触觉验证提醒,并在该计算机设备确定该填充图像块被移动至填充区域时,输出相应的第二触觉验证提醒,以告知设备用户验证成功,或者,如果该计算机设备确定在预设的时间范围内未将该填充图像块移动到填充区域,还可输出验证失败的提醒消息,输出的提醒消息例如可以是语音播报消息,或者也可以是显示在设备界面中的通知消息。
在一个实施例中,在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒,包括:在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,目标关系为触觉感知程度随距离的变小而变小的正比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,该计算机设备在移动填充图像块的过程中进行第一触觉验证提醒的输出时,可在移动该填充图像块的过程中,获取填充图像块的移动信息,并根据移动信息确定填充图像块的当前位置,另外,该计算机设备还可确定出该填充区域在验证图像对应的目标位置,然后,该计算机设备则可基于该填充图像块的当前位置和目标位置分别对应的位置参数,确定出该填充图像块的当前位置和填充区域对应的目标位置之间的当前距离,从而可输出与当前距离相关的第一触觉验证提醒。
在一个实施例中,计算机设备在对填充图像块的当前位置及填充区域的目标位置进行确定时,首先可先基于该验证图像构建坐标系,其中,基于该验证图像构建的坐标系的结果可如图4a所示,而在构建验证图像对应的坐标系后,可基于构建的坐标系和该填充图像块和填充区域的中心点(或某个边界点等),确定该填充图像块的当前位置对应的位置坐标,以及该填充区域所在目标位置对应的位置坐标,进而可基于该填充图像块的当前位置对应的位置坐标及填充区域所在目标位置对应的位置坐标,计算得到当前位置和填充区域对应的目标位置之间的当前距离。
在一个实施例中,由于该填充图像块是在验证图像中被实时移动的,而在该填充图像块的移动过程中,可直接确定出该填充图像块与填充区域之间的距离。该计算机设备可先获取填充图像块在验证图像中的初始位置,并确定初始位置与目标位置之间的原始距离,然后基于填充图像块的移动信息获取填充图像块的移动距离,将原始距离与填充图像块的移动距离之间的距离差值,作为填充图像块的当前位置和目标位置之间的当前距离;其中,填充图像块的移动距离用于指示填充图像块的当前位置。
计算机设备确定填充图像块的移动距离包括:获取填充图像块的初始位置的位置参数,以及填充图像块的当前位置对应的位置参数,根据填充图像块的初始位置及当前位置分别对应的位置参数,确定出的填充图像块的移动距离。
在一个实施例中,根据验证图像构建的坐标系,假设填充图像块在该验证图像中的初始位置(假设为图4b中的a点)对应的位置坐标为(x2,y),该填充区域所在目标位置(假设为图4b中的b点)对应的位置坐标为(x1,y),那么,通过计算d1=|x1-x2|,即可确定出填充图像块的初始位置和填充区域对应的目标位置之间的原始距离d1,该原始距离d1即为a点和b点之间的距离,而在该计算机设备确定出原始距离后,可基于该原始距离和该填充图像块的移动信息,确定出该填充图像块的移动距离。
在一个实施例中,获取填充图像块与填充区域之间的当前距离,包括:当填充图像块是在被控制标识控制后进行移动时,获取控制标识在验证图像中的起始位置,以及填充图像块被移动到当前位置时控制标识对应的移动位置;根据控制标识的起始位置,以及控制标识的移动位置分别对应的位置参数,确定控制标识对应的标识移动距离;及获取填充图像块与填充区域之间的原始距离,并根据原始距离和控制标识的标识移动距离,确定填充图像块与填充区域之间的当前距离。
在一个实施例中,如果该填充图像块是在被控制标识控制后进行移动的,那么,该计算机设备在计算该填充图像块的移动距离时,可在获取到该填充图像块和填充区域之间的原始距离后,获取控制标识在验证图像中的起始位置,以及填充图像块在当前位置时控制标识对应的移动位置,进而可根据控制标识的起始位置,以及控制标识的移动位置分别对应的位置参数,确定控制标识对应的标识移动距离,从而可将标识移动距离作为填充图像块的移动距离。
示例性地,基于如图4a所示的坐标系,确定该控制标识的起始位置对应的位置坐标为(a2,b),该控制标识的移动位置对应的位置坐标为(a1,b),通过计算d2=|a1-a2|,即可计算得到控制标识的标识移动距离d2,将d2作为该填充图像块的移动距离。计算机设备确定出填充图像块和填充区域之间的原始距离d1,以及确定出填充图像块的移动距离d2之后,即可通过计算d=|d1-d2|,得到该填充图像块与填充区域之间的当前距离d。
需要说明的是,上述进行当前距离计算的过程可以是由计算机设备本身来执行的,或者也可以是由后台服务器来执行的。其中,由于该计算机设备获取到的验证图像是从后台服务器中获取得到的,那么,后台服务器在将验证图像发送到计算机设备之前,可先基于该验证图像中填充图像块的初始位置和填充区域对应的目标位置,计算得到该填充图像块和填充区域之前的原始距离。
在上述实施例中,当填充图像块是在被控制标识控制后进行移动时,根据控制标识的标识移动距离和原始距离,确定填充图像块与填充区域之间的当前距离,进而可以输出相应的第一触觉验证提醒和第二触觉验证提醒。
在一个实施例中,在计算机设备显示验证图像后,基于对验证图像中填充图像块的移动,可将该填充图像块的移动信息,或该填充图像块对应控制标识的移动信息发送到后台服务器,以便后台服务器基于该移动信息确定出该填充图像块与填充区域之间的当前距离,以及基于确定出的当前距离确定出与当前距离相关的第一触觉验证提醒。
在一个实施例中,在计算机设备显示验证图像后,基于对验证图像中填充图像块的移动,可将该填充图像块的移动信息,以及该填充图像块对应控制标识的移动信息发送到后台服务器,以便后台服务器基于该移动信息确定出该填充图像块与填充区域之间的当前距离,以及基于确定出的当前距离确定出与当前距离相关的第一触觉验证提醒。
在上述实施例中,在移动填充图像块的过程中,根据填充图像块的当前位置,确定填充 图像块与填充区域之间的当前距离,按照当前距离和目标关系输出第一触觉验证提醒,目标关系为第一触觉验证提醒对应的触觉感知程度随当前距离的变小而变小的正比例关系,以使得在填充图像块靠近填充区域的过程中,第一触觉验证提醒对应的触觉感知程度越来越小,通过触觉感知程度的变化,提供更直观的操作信息,使得用户可以第一触觉验证提醒确定填充图像块是否被移动到了指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性。
在一个实施例中,在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒,包括:在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,目标关系为触觉感知程度随距离的变小而增大的反比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,该计算机设备在根据填充图像块与填充区域之间的当前距离,确定填充图像块被移动到当前位置时的第一触觉验证提醒,包括:在填充图像块被移动到当前位置时,获取到填充图像块与填充区域之间的当前距离,即在获取到上述的d之后,获取填充图像块与填充区域的距离与待输出的第一触觉验证提醒对应触觉感知程度之间的目标关系,其中,该计算机设备获取的目标关系可以为:触觉感知程度随距离的变小而增大的反比例关系,那么,在该计算机设备获取到填充图像块与填充区域之间的当前距离d和目标关系后,可按照当前距离和目标关系输出第一触觉验证提醒。
在上述实施例中,目标关系还可以是:第一触觉验证提醒对应的触觉感知程度随当前距离的变小而增大的反比例关系,以使得在填充图像块靠近填充区域的过程中,第一触觉验证提醒对应的触觉感知程度越来越大,使得验证处理的方式更丰富;通过触觉感知程度的变化,提供更直观的操作信息,使得用户可以第一触觉验证提醒确定填充图像块是否被移动到了指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性。
在一个实施例中,按照当前距离和目标关系输出第一触觉验证提醒,包括:按照当前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数;第一提醒参数用于反映第一触觉验证提醒的触觉感知程度,其中,第一提醒参数的取值大小与触觉感知程度的程度大小正相关;及按照第一提醒参数输出第一触觉验证提醒。
在一个实施例中,在确定出填充图像块与填充区域之间的当前距离后,在根据填充图像块与填充区域之间的当前距离输出第一触觉验证提醒时,则先根据填充图像块与填充区域之间的当前距离,确定填充图像块被移动到当前位置时的第一提醒参数,然后就可以按照确定出的第一提醒参数输出第一触觉验证提醒。
在一个实施例中,该计算机设备在根据填充图像块与填充区域之间的当前距离,确定填充图像块被移动到当前位置时的第一触觉验证提醒,包括:在填充图像块被移动到当前位置时,获取到填充图像块与填充区域之间的当前距离,即在获取到上述的d之后,获取填充图像块与填充区域的距离与待输出的第一触觉验证提醒对应触觉感知程度之间的目标关系,其中,该计算机设备获取的目标关系可以为:触觉感知程度随距离的变小而变小的正比例关系,在该计算机设备获取到填充图像块与填充区域之间的当前距离d和目标关系后,可按照当前距离和目标关系输出第一触觉验证提醒。
计算机设备在按照该当前距离d和目标关系进行第一触觉验证提醒输出时,可先按照当 前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数,其中,该第一提醒参数用于反映第一触觉验证提醒的触觉感知程度,且第一提醒参数的取值大小与触觉感知程度的程度大小正相关。
在上述实施例中,通过当前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数,第一提醒参数输出第一触觉验证提醒,第一提醒参数的取值大小与触觉感知程度的程度大小正相关,以使得可以通过第一触觉验证提醒的触觉程度,区分填充图像块被移动至不同的当前位置,进而使得第一触觉验证提醒的触觉程度更加准确。
在一个实施例中,按照当前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数,包括:获取填充图像块与填充区域之间的原始距离;基于目标关系计算当前距离与原始距离之间的距离比值;及根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数。
在一个实施例中,该计算机设备可先获取填充图像块与填充区域之间的原始距离,即上述的d1,然后,该计算机设备可基于目标关系计算当前距离d与原始距离d1之间的距离比值,在一个实施例中,当该目标关系为正比例关系时,计算得到的距离比值为|d1-d2|/|x1-x2|,而当该目标关系为反比例关系时,该计算机设备计算得到的距离比值则为|x1-x2|/|d1-d2|,在得到该距离比值后,该计算机设备则可根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数。
其中,|x1-x2|=d1,即原始距离,|d1-d2|=d,即当前距离。
在上述实施例中,距离比值可以反映当前距离与原始距离之间的比值,根据距离比值确定第一提醒参数,使得第一提醒参数的取值与当前距离相关,在填充图像块的当前位置变化时,第一提醒参数随之变化,进而第一触觉验证提醒的触觉程度随之变化,以使得可以通过第一触觉验证提醒的触觉程度,区分填充图像块被移动至不同的当前位置,进而使得第一触觉验证提醒的触觉程度更加准确。
在一些实施例中,根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数,包括:获取第一提醒参数支持的取值范围;及根据距离比值指示的从取值范围进行取值处理时的取值方向,从取值范围进行取值,得到填充图像块被移动到当前位置时对应的第一提醒参数。
在一个实施例中,该计算机设备在根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数时,可先获取第一提醒参数支持的取值范围,然后则可根据距离比值指示的从取值范围进行取值处理的取值方向,从第一提醒参数支持的取值范围内进行取值处理,得到该填充图像块被移动到当前位置时对应的第一提醒参数。其中,待输出的第一触觉验证提醒包含振动,振动的提醒参数包括以下一种或两种:振动强度和振动频率,也就是说,该第一触觉验证提醒对应的第一提醒参数包含振动强度和振动频率中的任意一种或两种,可以理解,当振动强度或振动频率中的至少一种的取值越大时,对应输出的第一触觉验证提醒的触觉感知程度越强,而在振动强度或振动频率中的至少一种的取值越小时,对应输出的第一触觉验证提醒的触觉感知程度越弱。
在上述实施例中,按照距离比值指示的取值方向,从第一提醒参数支持的取值范围中确定第一提醒参数,在填充图像块的当前位置变化时,距离比值随之变化,使得第一提醒参数随之变化,进而第一触觉验证提醒的触觉程度随之变化,以使得可以通过第一触觉验证提醒的触觉程度,区分填充图像块被移动至不同的当前位置,进而使得第一触觉验证提醒的触觉 程度更加准确。
在一个实施例中,当输出的触觉验证提醒对应的提醒参数包含振动强度时,该计算机设备可获取得到振动强度的取值范围,假设该计算机设备获取到的振动强度的取值范围为[Gmin,Gmax],Gmin表示最小振动强度,Gmax表示最大振动强度。
在一个实施例中,当该计算机设备确定出的距离比值为|d1-d2|/|x1-x2|时,可确定基于该第一提醒参数支持的取值范围按照从最小振动强度Gmin到最大振动强度Gmax的方向进行取值处理;当计算机设备确定出的距离比值则为|x1-x2|/|d1-d2|时,计算机设备可确定基于该第一提醒参数支持的取值范围按照从最大振动强度Gmax到最小振动强度Gmin的方向进行取值处理,进而可得到该填充图像块被移动到当前位置时的第一提醒参数。
在一个实施例中,当计算机设备获取的距离比值为|d1-d2|/|x1-x2|时,可按照式1计算得到第一提醒参数;当计算机设备获取的距离比值为|x1-x2|/|d1-d2|时,可按照式2计算得到第一提醒参数。
G=(Gmax-Gmin)*|d1-d2|/|x1-x2|      式1
G=(Gmax-Gmin)*|x1-x2|/|d1-d2||      式2
其中,|d1-d2|/|x1-x2|是目标关系为正比例关系时的距离比值,|x1-x2|/|d1-d2|是目标关系为反比例关系时的距离比值,Gmax是最大振动强度,Gmin是最小振动强度,G是振动强度对应的第一提醒参数。
在一个实施例中,该第一触觉验证提醒对应的第一提醒参数还可包含振动频率,那么对应的,该计算机设备可获取的第一提醒参数对应的取值范围为振动频率范围,那么,该计算机设备在基于振动频率范围和相应的距离比值确定出提醒参数时可如式3和式4所示。
第一触觉验证提醒对应的第一提醒参数包含振动频率的情况下,当计算机设备获取的距离比值为|d1-d2|/|x1-x2|时,可按照式3计算得到第一提醒参数;当计算机设备获取的距离比值为|x1-x2|/|d1-d2|时,可按照式4计算得到第一提醒参数。
F=(Fmax-Fmin)*|d1-d2|/|x1-x2||      式3
F=(Fmax-Fmin)*|x1-x2|/|d1-d2||      式4
其中,|d1-d2|/|x1-x2|是目标关系为正比例关系时的距离比值,|x1-x2|/|d1-d2|是目标关系为反比例关系时的距离比值,Fmax表示振动马达对应的最大振动频率,Fmin表示振动马达对应的最小振动频率,F是振动频率对应的第一提醒参数;计算机设备计算得到该第一提醒参数后,则可按照该第一提醒参数输出第一触觉验证提醒。
在一个实施例中,该第一触觉验证提醒对应的第一提醒参数也可以是由后台服务器确定后发送到该计算机设备中的,如图4c所示。也就是说,在计算机设备将验证图像显示给相应的设备用户,该设备用户移动该验证图像中的填充图像块进行安全验证时,后台服务器会实时计算填充图像块与填充区域之间的距离信息,并通过下发不同的第一提醒参数(如振动频率参数或振动强度参数中的至少一种)来告知设备用户针对填充图像块的移动方向是否正确,以提升验证过程中的安全性和准确性。
在一个实施例中,第一触觉验证提醒包含振动提醒;按照当前距离和目标关系输出第一触觉验证提醒,包括:获取与目标关系相关联的振动波形图,振动波形图用于指示填充图像块与填充区域之间的距离不同时分别对应的提醒参数,当目标关系为正比例关系时,振动波形图指示的提醒参数与距离正相关,当目标关系为反比例关系时,振动波形图指示的提醒参数与距离负相关;及将振动波形图中当前距离对应的提醒参数作为第一提醒参数,并按照第 一提醒参数输出第一触觉验证提醒。
在一个实施例中,在该第一触觉验证提醒为振动提醒时,该计算机设备还可基于振动波形图进行第一提醒参数的确定;该计算机设备可先获取与目标关系相关联的振动波形图,振动波形图用于指示填充图像块与填充区域之间的距离不同时分别对应的提醒参数,当目标关系为正比例关系时,振动波形图指示的提醒参数与距离正相关,当目标关系为反比例关系时,振动波形图指示的提醒参数与距离负相关,进而该计算机设备可将振动波形图中当前距离对应的提醒参数作为第一提醒参数。
例如可基于该振动波形图确定在该填充图像块和填充区域之间的当前距离为4cm时,确定对应的振动频率为100Hz,当填充图像块和填充区域之间的当前距离为2cm时,确定出的振动频率则可以为200Hz,其中,Hz是衡量振动马达振动频率的单位,表示一秒钟内振动的次数,在用户实际体验中,Hz越大,振感越密集;又或者,该计算机设备可基于该振动波形图确定在填充图像块和填充区域之间的当前距离为4cm时,确定出的振动强度为1Grms,在填充图像块和填充区域之间的当前距离为2cm时,确定出的振动频率为2Grms,Grms是衡量振动马达振动强度的单位,表示加速度的均方根,在用户实际体验中,Grms值越大,振感越强,从而使计算机设备达到在该填充图像块越靠近填充区域时,输出的第一触觉验证提醒感受越大,如振动越强烈,那么,对应的设备用户可基于输出的第一触觉验证提醒的感受大小程度,确定是否将填充图像块沿填充区域进行移动。
在上述实施例中,根据振动波形图确定第一提醒参数,并按照第一提醒参数输出第一触觉验证提醒,通过振动波形图可以确定第一触觉验证提醒对应的振动频率,使得用户可以基于第一触觉验证提醒的振动频率的变化,确定是否将填充图像块沿填充区域进行移动,在填充图像块未沿填充区域进行移动时,可以及时发现,进而提高了验证效率。
在一个实施例中,第一触觉验证提醒包含振动提醒,第一触觉验证提醒对应的第一提醒参数的取值大小在填充图像块被移动的过程中,随振动波形图的变化而变化;当填充图像块被移动至填充区域时,输出第二触觉验证提醒,包括:当填充图像块被移动至填充区域时,第一提醒参数随振动波形图变化为第二提醒参数;及按照第二提醒参数输出振动提醒。
在一个实施例中,当该第一触觉验证提醒包含振动提醒时,在填充图像块被移动的过程中,第一触觉验证提醒对应的第一提醒参数的取值大小随振动波形图的变化而变化;当填充图像块被移动至填充区域时,第一提醒参数随振动波形图变化为第二提醒参数,进而使得计算机设备可按照第二提醒参数输出振动提醒。
在上述实施例中,在填充图像块被移动至填充区域后,通过第二提醒参数输出振动提醒,第二提醒参数对应的振动提醒与第一提醒参数对应的振动提醒不同,即第二触觉验证提醒的触觉感知程度,与第一触觉验证提醒的触觉感知程度不同,以使得在输出过第二触觉验证提醒时,用户可以确定已经将填充图像块移动到指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性。
在一个实施例中,第二触觉验证提醒包含振动提醒;当填充图像块被移动至填充区域时,输出第二触觉验证提醒,包括:当填充图像块被移动至填充区域时,按照预设的振动规律输出振动提醒;其中,预设的振动规律包括输出的振动次数,以及每次振动的持续时长,以及每两次振动之间的时间间隔。
在一个实施例中该计算机设备在确定填充图像块被移动到该填充区域时,还可按照预设的振动规律输出振动提醒;其中,预设的振动规律包括输出的振动次数,以及每次振动的持 续时长,以及每两次振动之间的时间间隔,如在该填充图像块被移动到填充区域时,计算机设备可通过特殊的振动方式进行提示,比如振1s,停1s的方式,对用户进行提示,以告知相应的设备用户停止移动该填充图像块,该特殊的振动方式对应的振动规律包括:每次振动的持续时长为1s,每两次振动之间的时间间隔为1s。
在上述实施例中,在填充图像块被移动至填充区域后,通过预设的振动规律输出振动提醒,预设的振动规律输出振动提醒与第一提醒参数对应的振动提醒不同,即第二触觉验证提醒的触觉感知程度,与第一触觉验证提醒的触觉感知程度不同,以使得在输出过第二触觉验证提醒时,用户可以确定已经将填充图像块移动到指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性。
在一个实施例中,第一触觉验证提醒包含振动提醒;输出第一触觉验证提醒,包括:获取第一触觉验证提醒对应的提醒参数,并按照第一触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在一个实施例中,第二触觉验证提醒包含振动提醒;输出第二触觉验证提醒,包括:获取第二触觉验证提醒对应的提醒参数,并按照第二触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在该计算机设备进行触觉验证提醒的输出时,可将第一触觉验证提醒或第二触觉验证提醒作为目标触觉验证提醒,进而可获取目标触觉验证提醒对应的提醒参数,并按照目标触觉验证提醒对应的提醒参数驱动马达进行振动,以输出振动提醒。在其他实现方式中,上述的第一触觉验证提醒和第二触觉验证提醒还可以是闪光灯或者语音播报等。
在上述实施例中,在计算机设备输出第一触觉验证提醒时,根据第一触觉验证提醒对应的提醒参数驱动马达振动,在计算机设备输出第二触觉验证提醒时,根据第二触觉验证提醒对应的提醒参数驱动马达振动,提高了第一触觉验证提醒和第二触觉验证提醒的振动效果。
在本申请实施例中,计算机设备通过将验证图像显示给相应的设备用户,以使该设备用户可通过移动该验证图像中的填充图像块来实现校验处理,在该设备用户控制该填充图像块在校验图像中进行移动的过程中,可通过该计算机设备的振动功能与设备用户进行交互,即是说,在移动该填充图像块的过程中,计算机设备可输出与该填充图像块和填充区域之间的距离相关的振动信息,从而实现提供更加直观的操作信息,帮助用户基于输出的振动提醒确定填充图像块是否被移动到了指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性,另外,由于振动提醒的输出还同时保留了用户的行为特征,可以抵御恶意请求攻击,从而在提升计算机设备的验证准确性的同时,提升了验证处理的安全性。
请参见图5,是本申请实施例提出的一种验证方法的示意流程图,该验证方法可由上述的后台服务器执行,如图5所示,该方法可包括:
S501,生成验证图像,并将验证图像发送到计算机设备的目标应用程序中,以在计算机设备中显示验证图像。
该后台服务器可在检测到计算机设备对应的设备用户存在验证需求时,随机生成验证图像,并将生成的验证图像发送到计算机设备中,其中,该计算机设备是通过目标应用程序向后台服务器发送验证需求的,因此,该后台服务器生成的验证图像也是被发送到计算机设备的目标应用程序进行显示的。
在一个实施例中,后台服务器随机进行验证图像的生成是指,该后台服务器生成的验证图像的背景画面不同,且该验证图像中所包含的填充图像块和填充区域所在的位置也不相同, 而基于每次随机生成的验证图像中的填充图像块和填充区域的位置的不同,才能基于对填充图像块的移动实现验证处理。也就是说,该后台服务器随机生成的验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离,那么,在将该验证图像发送到计算机设备后,相应的设备用户则可控制该验证图像中的填充图像块进行移动,从而基于对填充图像块的移动结果确定验证处理的结果,即该后台服务器可转而执行步骤S502。
S502,在控制验证图像中的填充图像块沿填充区域移动的过程中,根据填充图像块与填充区域之间的距离确定第一触觉验证提醒。
S503,将第一触觉验证提醒发送到计算机设备,以便计算机设备输出第一触觉验证提醒。
S504,当填充图像块被移动至填充区域时,将确定出的第二触觉验证提醒发送到计算机设备,以便计算机设备输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在步骤S502至步骤S504中,验证图像还包含针对填充图像块的控制标识,填充图像块随控制标识的移动而移动;那么,该填充图像块与填充区域之间的当前距离,是该后台服务器根据原始距离及控制标识的标识移动距离之间的差值确定出的;而原始距离是在生成验证图像之后,该计算机设备根据填充图像块的初始位置和填充区域对应的目标位置分别对应的位置参数确定出的;该控制标识的标识移动距离是计算机设备在获取到填充图像块的移动信息后确定出的。
下面,结合图6,对验证处理过程中,计算机设备、后台服务器、目标应用程序和设备用户之间的交互过程进行详细说明,并可执行如下步骤①至⑩:
①后台服务端随机生成包含填充图像块和填充区域的验证图像,并将填充图像下发到目标应用程序,并计算填充图像块和填充区域之间的原始距离,假设填充图像块的中心坐标为(x2,y),填充区域的中心坐标为(x1,y),那么,可通过上述的d1=|x1-x2|计算得到原始距离;
②目标应用程序接收后台服务器发送的验证图像,并加载该验证图像,该验证图像包括该验证图像的背景,填充图像块以及该填充图像块的控制标识,该控制标识被显示为一个滑块组件;
③计算机设备的处理器根据目标应用程序的处理,在显示屏幕上为设备用户展示验证图像中的背景和作为滑块的控制标识;
④设备用户通过计算机设备的输入模块,如触摸屏幕或者按键等,对作为滑块的控制标识进行移动(或拖动)操作;
⑤计算机设备将用户针对控制标识的移动信息传递给目标应用程序;移动信息包括控制标识的起点坐标和用户移动后的实时坐标;
⑥目标应用程序将填充图像块的实时坐标信息传递给后台服务端;
⑦后台服务器根据控制标识的移动信息,计算控制标识的移动距离与方向,并计算出对应的振动强度或振动频率,计算方法可以为,根据控制标识的起点坐标(a2,b),用户移动后的实时坐标(a1,b),计算d2,其中,d2=|a1-a2|,进而可计算得到振动强度G,或者计算得到振动频率F;
计算得到振动强度G可以是:G=(Gmax-Gmin)*|d1-d2|/|x1-x2|,计算得到振动频率F可以是:F=(Fmax-Fmin)*|d1-d2|/|x1-x2|。
⑧后台服务端将振动强度G或者振动频率F数据,下发至目标应用程序;
⑨计算机设备的处理器根据目标应用程序获取的振动强度G或者振动频率F数据进行处理,将其转化为驱动马达的电信号;
⑩计算机设备通过转化后的电信号,驱动振动马达按照指定的振动强度G或者振动频率F进行振动。
在本申请实施例中,后台服务器可在检测到计算机设备存在验证需求时,将验证图像发送到计算机设备进行显示,相应的设备用户可通过对显示的验证图像中的填充图像块的移动进行验证处理,在该设备用户对填充图像块的移动过程中,该后台服务器可根据填充图像块与填充区域之间的当前距离确定相应的第一触觉验证提醒,并将确定出的第一触觉验证提醒发送到计算机设备中,以使计算机设备输出该第一触觉验证提醒,并在该计算机设备确定该填充图像块被移动到填充区域时,将第二触觉验证提醒发送到计算机设备中,以使该计算机设备输出该第二触觉验证提醒,可帮助相应的用户基于输出的触觉验证提醒确定填充图像块是否被移动到了指定的填充区域中,进而提升验证处理的准确性。
基于上述验证方法实施例的描述,本申请实施例还提出了一种验证装置,该验证装置可以是运行于上述计算机设备中的一个计算机可读指令。该验证装置可用于执行如图2的验证方法,请参见图7,该验证装置包括:显示单元701和处理单元702。
显示单元701,用于显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离;
处理单元702,用于控制验证图像中的填充图像块沿填充区域移动;
处理单元702,还用于在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒;及
处理单元702,还用于当填充图像块被移动至填充区域时,输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在一个实施例中,处理单元702,用于:
在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度;目标关系为触觉感知程度随距离的变小而变小的正比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,处理单元702,用于:
在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,目标关系为触觉感知程度随距离的变小而增大的反比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,处理单元702,用于:
按照当前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数;第一提醒参数用于反映第一触觉验证提醒的触觉感知程度,其中,第一提醒参数的取值大小与触觉感知程度的程度大小正相关;及按照第一提醒参数输出第一触觉验证提醒。
在一个实施例中,处理单元702,用于:
获取填充图像块与填充区域之间的原始距离;基于目标关系计算当前距离与原始距离之 间的距离比值;及根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数。
在一个实施例中,处理单元702,用于:
获取第一提醒参数支持的取值范围;及根据距离比值指示的从取值范围进行取值处理时的取值方向,从取值范围进行取值处理,得到填充图像块被移动到当前位置时对应的第一提醒参数。
在一个实施例中,第一触觉验证提醒包含振动提醒;处理单元702,用于:
获取与目标关系相关联的振动波形图,振动波形图用于指示填充图像块与填充区域之间的距离不同时分别对应的提醒参数,当目标关系为正比例关系时,振动波形图指示的提醒参数与距离正相关,当目标关系为反比例关系时,振动波形图指示的提醒参数与距离负相关;及将振动波形图中当前距离对应的提醒参数作为第一提醒参数,并按照第一提醒参数输出第一触觉验证提醒。
在一个实施例中,第一触觉验证提醒包含振动提醒,第一触觉验证提醒对应的第一提醒参数的取值大小在填充图像块被移动的过程中,随振动波形图的变化而变化;处理单元702,用于:
当填充图像块被移动至填充区域时,第一提醒参数随振动波形图变化为第二提醒参数;及按照第二提醒参数输出振动提醒。
在一个实施例中,第二触觉验证提醒包含振动提醒;处理单元702,用于:
当填充图像块被移动至填充区域时,按照预设的振动规律输出振动提醒;其中,预设的振动规律包括输出的振动次数,以及每次振动的持续时长,以及每两次振动之间的时间间隔。
在一个实施例中,第一触觉验证提醒包含振动提醒;处理单元702,用于:
获取第一触觉验证提醒对应的提醒参数,并按照第一触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在一个实施例中,第二触觉验证提醒包含振动提醒;处理单元702,用于:
获取第二触觉验证提醒对应的提醒参数,并按照第二触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在一个实施例中,验证图像包含填充图像块的控制标识,控制标识被显示在标识控制区域中;处理单元702,用于:
控制控制标识在标识控制区域中移动,并获取控制标识的移动信息;移动信息包含移动方向或移动距离中的至少一种;及根据控制标识的移动信息,生成填充图像块的移动信息,并采用填充图像块的移动信息控制填充图像块进行移动。
在一个实施例中,处理单元702,用于:
当填充图像块是在被控制标识控制后进行移动时,获取控制标识在验证图像中的起始位置,以及填充图像块被移动到当前位置时控制标识对应的移动位置;根据控制标识的起始位置,以及控制标识的移动位置分别对应的位置参数,确定控制标识对应的标识移动距离;及获取填充图像块与填充区域之间的原始距离,并根据原始距离和控制标识的标识移动距离,确定填充图像块与填充区域之间的当前距离。
在本申请实施例中,显示单元701通过将验证图像显示给相应的设备用户,以使该设备用户可通过移动该验证图像中的填充图像块来实现校验处理,在该设备用户控制该填充图像块在校验图像中进行移动的过程中,可通过振动功能与设备用户进行交互,即是说,在移动该填充图像块的过程中,处理单元702可输出与该填充图像块和填充区域之间的距离相关的 振动信息,从而实现提供更加直观的操作信息,帮助用户基于输出的振动提醒确定填充图像块是否被移动到了指定的填充区域中,进而可提升基于验证图像进行验证处理的准确性,另外,由于振动提醒的输出还同时保留了用户的行为特征,可以抵御恶意请求攻击,从而在提升验证准确性的同时,提升了验证处理的安全性。
基于上述验证方法实施例的描述,本申请实施例还提出了一种验证装置,该验证装置可以是运行于上述后台服务器中的一个计算机可读指令。该验证装置可用于执行如图5的验证方法,请参见图8,该验证装置包括:生成单元801和处理单元802。
生成单元801,用于生成验证图像,并将验证图像发送到计算机设备的目标应用程序中,以在计算机设备中显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离;
处理单元802,用于在控制验证图像中的填充图像块沿填充区域移动的过程中,根据填充图像块与填充区域之间的距离确定第一触觉验证提醒;
处理单元802,还用于将第一触觉验证提醒发送到计算机设备,以便计算机设备输出第一触觉验证提醒;及
处理单元802,还用于当填充图像块被移动至填充区域时,将确定出的第二触觉验证提醒发送到计算机设备,以便计算机设备输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在一个实施例中,验证图像还包含针对填充图像块的控制标识,填充图像块随控制标识的移动而移动;
在填充图像块被移动到当前位置时,填充图像块与填充区域之间的当前距离,是根据填充图像块与填充区域之间的原始距离及控制标识的标识移动距离确定出的;及
原始距离是在生成验证图像之后,根据填充图像块的初始位置和填充区域对应的目标位置确定出的;
控制标识的标识移动距离是根据填充图像块的移动信息确定出的。
在本申请实施例中,生成单元801可在检测到计算机设备存在验证需求时,生成验证图像,处理单元802可将生成的验证图像发送到计算机设备进行显示,相应的设备用户则可通过对显示的验证图像中的填充图像块的移动进行验证处理,在该设备用户对填充图像块的移动过程中,该处理单元802可根据填充图像块与填充区域之间的当前距离确定相应的第一触觉验证提醒,并将确定出的第一触觉验证提醒发送到计算机设备中,以使计算机设备输出该第一触觉验证提醒,并在该计算机设备确定该填充图像块被移动到填充区域时,将第二触觉验证提醒发送到计算机设备中,以使该计算机设备输出该第二触觉验证提醒,可帮助相应的用户基于输出的触觉验证提醒确定填充图像块是否被移动到了指定的填充区域中,进而提升验证处理的准确性。
请参见图9,是本申请实施例提供的一种计算机设备的结构示意性框图。如图9所示的本实施例中的计算机设备可包括:一个或多个处理器901;一个或多个输入设备902,一个或多个输出设备903和存储器904。上述处理器901、输入设备902、输出设备903和存储器904通过总线905连接。存储器904用于存储计算机可读指令,处理器901用于执行存储器904存储的计算机可读指令。
存储器904可以包括易失性存储器(volatile memory),如随机存取存储器(random-access memory,RAM);存储器904也可以包括非易失性存储器(non-volatile  memory),如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;存储器904还可以包括上述种类的存储器的组合。
处理器901可以是中央处理器(central processing unit,CPU)。处理器901还可以包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)等。该PLD可以是现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)等。处理器901也可以为上述结构的组合。
本申请实施例中,存储器904用于存储计算机可读指令,处理器901用于执行存储器904存储的计算机可读指令,用来实现上述如图2中相应方法的步骤。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离;
控制验证图像中的填充图像块沿填充区域移动;
在移动填充图像块的过程中,根据填充图像块与填充区域之间的距离输出第一触觉验证提醒;
当填充图像块被移动至填充区域时,输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,目标关系为触觉感知程度随距离的变小而变小的正比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
在移动填充图像块的过程中,在填充图像块被移动到当前位置时,获取填充图像块与填充区域之间的当前距离;获取距离与触觉感知程度之间的目标关系;距离是填充图像块与填充区域的距离,触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,目标关系为触觉感知程度随距离的变小而增大的反比例关系;及按照当前距离和目标关系输出第一触觉验证提醒。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
按照当前距离和目标关系,计算填充图像块被移动到当前位置时的第一提醒参数;第一提醒参数用于反映第一触觉验证提醒的触觉感知程度,其中,第一提醒参数的取值大小与触觉感知程度的程度大小正相关;及按照第一提醒参数输出第一触觉验证提醒。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
获取填充图像块与填充区域之间的原始距离;基于目标关系计算当前距离与原始距离之间的距离比值;及根据距离比值,计算填充图像块被移动到当前位置时的第一提醒参数。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
获取第一提醒参数支持的取值范围;及根据距离比值指示的从取值范围进行取值处理时的取值方向,从取值范围进行取值处理,得到填充图像块被移动到当前移动位置当前位置时对应的第一提醒参数。
在一个实施例中,第一触觉验证提醒包含振动提醒;处理器901被配置调用程序指令, 用于执行:
获取与目标关系相关联的振动波形图,振动波形图用于指示填充图像块与填充区域之间的距离不同时分别对应的提醒参数,当目标关系为正比例关系时,振动波形图指示的提醒参数与距离正相关,当目标关系为反比例关系时,振动波形图指示的提醒参数与距离负相关;及将振动波形图中当前距离对应的提醒参数作为第一提醒参数,并按照第一提醒参数输出第一触觉验证提醒。
在一个实施例中,第一触觉验证提醒包含振动提醒,第一触觉验证提醒对应的第一提醒参数的取值大小在填充图像块被移动的过程中,随振动波形图的变化而变化;处理器901被配置调用计算机可读指令,用于执行:
当填充图像块被移动至填充区域时,第一提醒参数随振动波形图变化为第二提醒参数;及按照第二提醒参数输出振动提醒。
在一个实施例中,第一触觉验证提醒包含振动提醒,处理器901被配置调用计算机可读指令,用于执行:
当填充图像块被移动至填充区域时,按照预设的振动规律输出振动提醒;其中,预设的振动规律包括输出的振动次数,以及每次振动的持续时长,以及每两次振动之间的时间间隔。
在一个实施例中,第一触觉验证提醒包含振动提醒;处理器901被配置调用计算机可读指令,用于执行:
获取第一触觉验证提醒对应的提醒参数,并按照第一触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在一个实施例中,第二触觉验证提醒包含振动提醒,处理器901被配置调用计算机可读指令,用于执行:
获取第二触觉验证提醒对应的提醒参数,并按照第二触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
在一个实施例中,验证图像包含填充图像块的控制标识,控制标识被显示在标识控制区域中;处理器901被配置调用计算机可读指令,用于执行:
控制控制标识在标识控制区域中移动,并获取控制标识的移动信息;移动信息包含移动方向或移动距离中的至少一种;及根据控制标识的移动信息,生成填充图像块的移动信息,并采用填充图像块的移动信息控制填充图像块沿填充区域移动。
在一个实施例中,处理器901被配置调用计算机可读指令,用于执行:
获取控制标识在验证图像中的起始位置,以及填充图像块被移动到当前位置时控制标识对应的移动位置;根据控制标识的起始位置,以及控制标识的移动位置分别对应的位置参数,确定控制标识对应的标识移动距离;及获取填充图像块与填充区域之间的原始距离,并根据原始距离和控制标识的标识移动距离,确定填充图像块与填充区域之间的当前距离。
请参见图10是本申请实施例提供的一种后台服务器的结构示意性框图。如图10所示的本实施例中的后台服务器可包括:一个或多个处理器1001;一个或多个输入设备1002,一个或多个输出设备1003和存储器1004。上述处理器1001、输入设备1002、输出设备1003和存储器1004通过总线1005连接。存储器1004用于存储计算机可读指令,处理器1001用于执行存储器1004存储的计算机可读指令。
存储器1004可以包括易失性存储器(volatile memory),如随机存取存储器(random-access memory,RAM);存储器1004也可以包括非易失性存储器(non-volatile  memory),如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;存储器1004还可以包括上述种类的存储器的组合。
处理器1001可以是中央处理器(central processing unit,CPU)。处理器1001还可以包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)等。该PLD可以是现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)等。处理器1001也可以为上述结构的组合。
本申请实施例中,存储器1004用于存储计算机可读指令,处理器1001用于执行存储器1004存储的计算机可读指令,用来实现上述如图5中相应方法的步骤。
在一个实施例中,处理器1001被配置调用计算机可读指令,用于执行:
生成验证图像,并将验证图像发送到计算机设备的目标应用程序中,以在计算机设备中显示验证图像,验证图像包含填充图像块和填充区域,填充图像块与填充区域相分离;
在控制验证图像中的填充图像块沿填充区域移动的过程中,根据填充图像块与填充区域之间的距离确定第一触觉验证提醒;
将第一触觉验证提醒发送到计算机设备,以便计算机设备输出第一触觉验证提醒;及
当填充图像块被移动至填充区域时,将确定出的第二触觉验证提醒发送到计算机设备,以便计算机设备输出第二触觉验证提醒,第二触觉验证提醒的触觉感知程度不同于第一触觉验证提醒的触觉感知程度。
在一个实施例中,验证图像还包含针对填充图像块的控制标识,填充图像块随控制标识的移动而移动;
在填充图像块被移动到当前位置时,填充图像块与填充区域之间的当前距离,是根据填充图像块与填充区域之间的原始距离及控制标识的标识移动距离确定出的;
原始距离是在生成验证图像之后,根据填充图像块的初始位置和填充区域对应的目标位置确定出的;
控制标识的标识移动距离是根据填充图像块的移动信息确定出的。
本发明本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机可读指令,该计算机可读指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机可读指令,处理器执行该计算机可读指令,使得该计算机设备执行上述如图2或图5所示的方法实施例。其中,的计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本申请的局部实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或局部流程,并依本申请权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (21)

  1. 一种验证方法,其特征在于,由计算机设备执行,包括:
    显示验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
    控制所述验证图像中的所述填充图像块沿所述填充区域移动;
    在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒;及
    当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
  2. 根据权利要求1所述的方法,其特征在于,所述在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒,包括:
    在移动所述填充图像块的过程中,在所述填充图像块被移动到当前位置时,获取所述填充图像块与所述填充区域之间的当前距离;
    获取距离与触觉感知程度之间的目标关系;所述距离是填充图像块与所述填充区域的距离,所述触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,所述目标关系为所述触觉感知程度随所述距离的变小而变小的正比例关系;及
    按照所述当前距离和所述目标关系输出第一触觉验证提醒。
  3. 根据权利要求1所述的方法,其特征在于,所述在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒,包括:
    在移动所述填充图像块的过程中,在所述填充图像块被移动到当前位置时,获取所述填充图像块与所述填充区域之间的当前距离;
    获取距离与触觉感知程度之间的目标关系;所述距离是填充图像块与所述填充区域的距离,所述触觉感知程度是待输出的第一触觉验证提醒对应触觉感知程度,所述目标关系为所述触觉感知程度随所述距离的变小而增大的反比例关系;及
    按照所述当前距离和所述目标关系输出第一触觉验证提醒。
  4. 根据权利要求2或3所述的方法,其特征在于,所述按照所述当前距离和所述目标关系输出第一触觉验证提醒,包括:
    按照所述当前距离和所述目标关系,计算所述填充图像块被移动到所述当前位置时的第一提醒参数;所述第一提醒参数用于反映所述第一触觉验证提醒的触觉感知程度,其中,所述第一提醒参数的取值大小与所述触觉感知程度的程度大小正相关;及
    按照所述第一提醒参数输出所述第一触觉验证提醒。
  5. 根据权利要求4所述的方法,其特征在于,所述按照所述当前距离和所述目标关系,计算所述填充图像块被移动到所述当前位置时的第一提醒参数,包括:
    获取所述填充图像块与所述填充区域之间的原始距离;
    基于所述目标关系计算所述当前距离与所述原始距离之间的距离比值;及
    根据所述距离比值,计算所述填充图像块被移动到所述当前位置时的第一提醒参数。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述距离比值,计算所述填充图像块被移动到所述当前位置时的第一提醒参数,包括:
    获取第一提醒参数支持的取值范围;及
    根据所述距离比值指示的从所述取值范围进行取值处理时的取值方向,从所述取值范围 进行取值,得到所述填充图像块被移动到所述当前位置时对应的第一提醒参数。
  7. 根据权利要求2所述的方法,其特征在于,所述第一触觉验证提醒包含振动提醒;所述按照所述当前距离和所述目标关系输出第一触觉验证提醒,包括:
    获取与所述目标关系相关联的振动波形图,所述振动波形图用于指示所述填充图像块与所述填充区域之间的距离不同时分别对应的提醒参数,当所述目标关系为所述正比例关系时,所述振动波形图指示的提醒参数与所述距离正相关,当所述目标关系为反比例关系时,所述振动波形图指示的提醒参数与所述距离负相关;及
    将所述振动波形图中所述当前距离对应的提醒参数作为第一提醒参数,并按照所述第一提醒参数输出第一触觉验证提醒。
  8. 根据权利要求1所述的方法,其特征在于,所述第一触觉验证提醒包含振动提醒,所述第一触觉验证提醒对应的第一提醒参数的取值大小在所述填充图像块被移动的过程中,随振动波形图的变化而变化;所述当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,包括:
    当所述填充图像块被移动至所述填充区域时,所述第一提醒参数随所述振动波形图变化为第二提醒参数;及
    按照所述第二提醒参数输出振动提醒。
  9. 根据权利要求1所述的方法,其特征在于,所述第二触觉验证提醒包含振动提醒;所述当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,包括:
    当所述填充图像块被移动至所述填充区域时,按照预设的振动规律输出振动提醒;
    其中,所述预设的振动规律包括输出的振动次数,以及每次振动的持续时长,以及每两次振动之间的时间间隔。
  10. 根据权利要求1所述的方法,其特征在于,所述第一触觉验证提醒包含振动提醒;所述输出第一触觉验证提醒,包括:
    获取所述第一触觉验证提醒对应的提醒参数,并按照所述第一触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
  11. 根据权利要求1所述的方法,其特征在于,所述第二触觉验证提醒包含振动提醒;所述输出第二触觉验证提醒,包括:
    获取所述第二触觉验证提醒对应的提醒参数,并按照所述第二触觉验证提取对应的提醒参数驱动马达进行振动,以输出振动提醒。
  12. 根据权利要求1所述的方法,其特征在于,所述验证图像包含所述填充图像块的控制标识,所述控制标识被显示在标识控制区域中;所述控制所述验证图像中的所述填充图像块沿所述填充区域移动,包括:
    控制所述控制标识在所述标识控制区域中移动,并获取所述控制标识的移动信息;移动信息包含移动方向或移动距离中的至少一种;及
    根据所述控制标识的移动信息,生成所述填充图像块的移动信息,并采用所述填充图像块的移动信息控制所述填充图像块沿所述填充区域移动。
  13. 根据权利要求2所述的方法,其特征在于,所述获取所述填充图像块与所述填充区域之间的当前距离,包括:
    当所述填充图像块是在被控制标识控制后进行移动时,获取所述控制标识在所述验证图像中的起始位置,以及所述填充图像块被移动到所述当前位置时所述控制标识对应的移动位 置;
    根据所述控制标识的起始位置,以及所述控制标识的移动位置分别对应的位置参数,确定所述控制标识对应的标识移动距离;及
    获取所述填充图像块与所述填充区域之间的原始距离,并根据所述原始距离和所述控制标识的标识移动距离,确定所述填充图像块与所述填充区域之间的当前距离。
  14. 一种验证方法,其特征在于,由后台服务器执行,包括:
    生成验证图像,并将所述验证图像发送到计算机设备的目标应用程序中,以在所述计算机设备中显示所述验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
    在控制所述验证图像中的所述填充图像块沿所述填充区域移动的过程中,根据所述填充图像块与所述填充区域之间的距离确定第一触觉验证提醒;
    将所述第一触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第一触觉验证提醒;及
    当所述填充图像块被移动至所述填充区域时,将确定出的第二触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
  15. 如权利要求14所述的方法,其特征在于,所述验证图像还包含针对所述填充图像块的控制标识,所述填充图像块随所述控制标识的移动而移动;
    在所述填充图像块被移动到当前位置时,所述填充图像块与所述填充区域之间的当前距离,是根据所述填充图像块与所述填充区域之间的原始距离及所述控制标识的标识移动距离确定出的;
    所述原始距离是在生成所述验证图像之后,根据所述填充图像块的初始位置和所述填充区域对应的目标位置确定出的;
    所述控制标识的标识移动距离是根据所述填充图像块的移动信息确定出的。
  16. 一种验证装置,其特征在于,包括:
    显示单元,用于显示验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
    处理单元,用于控制所述验证图像中的所述填充图像块沿所述填充区域移动;
    所述处理单元,还用于在移动所述填充图像块的过程中,根据所述填充图像块与所述填充区域之间的距离输出第一触觉验证提醒;及
    所述处理单元,还用于当所述填充图像块被移动至所述填充区域时,输出第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
  17. 一种验证装置,其特征在于,包括:
    生成单元,用于生成验证图像,并将所述验证图像发送到计算机设备的目标应用程序中,以在所述计算机设备中显示所述验证图像,所述验证图像包含填充图像块和填充区域,所述填充图像块与所述填充区域相分离;
    处理单元,用于在控制所述验证图像中的所述填充图像块沿所述填充区域移动的过程中,根据所述填充图像块与所述填充区域之间的距离确定第一触觉验证提醒;
    所述处理单元,还用于将所述第一触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第一触觉验证提醒;及
    所述处理单元,还用于当所述填充图像块被移动至所述填充区域时,将确定出的第二触觉验证提醒发送到所述计算机设备,以便所述计算机设备输出所述第二触觉验证提醒,所述第二触觉验证提醒的触觉感知程度不同于所述第一触觉验证提醒的触觉感知程度。
  18. 一种计算机设备,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、所述输入设备、所述输出设备和所述存储器相互连接,其中,所述存储器用于存储计算机可读指令,所述处理器被配置用于调用所述计算机可读指令,执行如权利要求1至13中任一项所述的方法。
  19. 一种后台服务器,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、所述输入设备、所述输出设备和所述存储器相互连接,其中,所述存储器用于存储计算机可读指令,所述处理器被配置用于调用所述计算机可读指令,执行如权利要求14或15所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器加载并执行如权利要求1至15中任一项所述的方法。
  21. 一种计算机程序产品,包括计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现权利要求1至15中任一项所述的方法。
PCT/CN2022/137813 2022-04-13 2022-12-09 验证方法、装置、计算机设备、后台服务器及介质 WO2023197639A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210381533.3A CN116956259A (zh) 2022-04-13 2022-04-13 验证方法、装置、计算机设备、后台服务器及介质
CN202210381533.3 2022-04-13

Publications (1)

Publication Number Publication Date
WO2023197639A1 true WO2023197639A1 (zh) 2023-10-19

Family

ID=88328757

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137813 WO2023197639A1 (zh) 2022-04-13 2022-12-09 验证方法、装置、计算机设备、后台服务器及介质

Country Status (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824413A (zh) * 2010-04-23 2016-08-03 意美森公司 用于提供触觉效果的系统和方法
US10802667B1 (en) * 2019-06-03 2020-10-13 Bank Of America Corporation Tactile response for user interaction with a three dimensional rendering
CN111859354A (zh) * 2020-07-21 2020-10-30 百度在线网络技术(北京)有限公司 图片验证方法、装置、电子设备和计算机可读存储介质
CN111870944A (zh) * 2020-08-10 2020-11-03 网易(杭州)网络有限公司 开锁界面的显示处理方法、装置、设备及存储介质
CN113821138A (zh) * 2021-09-23 2021-12-21 维沃移动通信有限公司 提示方法、装置及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824413A (zh) * 2010-04-23 2016-08-03 意美森公司 用于提供触觉效果的系统和方法
US10802667B1 (en) * 2019-06-03 2020-10-13 Bank Of America Corporation Tactile response for user interaction with a three dimensional rendering
CN111859354A (zh) * 2020-07-21 2020-10-30 百度在线网络技术(北京)有限公司 图片验证方法、装置、电子设备和计算机可读存储介质
CN111870944A (zh) * 2020-08-10 2020-11-03 网易(杭州)网络有限公司 开锁界面的显示处理方法、装置、设备及存储介质
CN113821138A (zh) * 2021-09-23 2021-12-21 维沃移动通信有限公司 提示方法、装置及电子设备

Also Published As

Publication number Publication date
CN116956259A (zh) 2023-10-27

Similar Documents

Publication Publication Date Title
US11563739B2 (en) Authenticating a user device via a monitoring device
JP6756930B2 (ja) 拡張現実に基づく仮想オブジェクトの割り振り
KR102220084B1 (ko) 가상 현실을 사용한 사용자 신원 인증
CN105323065B (zh) 一种安全验证方法及装置
US9871783B2 (en) Universal enrollment using biometric PKI
US8771070B2 (en) Game processing server apparatus and recording medium
WO2017096734A1 (zh) 一种程序检测方法及装置
KR20140028616A (ko) 단말에서의 화면 녹화 방법 및 장치와 그 방법에 대한 프로그램 소스를 저장한 기록 매체
WO2020191817A1 (zh) 一种游戏角色的位置提示方法、终端设备以及存储介质
US10878070B2 (en) Method of controlling a terminal based on motion of the terminal, terminal therefore, and storage medium
WO2017113732A1 (zh) 用户界面控件的布局方法及系统、控制方法及系统
CN104035683A (zh) 一种通讯终端分屏多任务交互方法
US20160041747A1 (en) Computer user interface apparatus, and parameter control method and non-transitory storage medium
CN114363896A (zh) 使用建立的通信信道验证受信通信
WO2023197639A1 (zh) 验证方法、装置、计算机设备、后台服务器及介质
EP3644578A1 (en) Point and click authentication
JP6070211B2 (ja) 情報処理装置、システム、画像投影装置、情報処理方法およびプログラム
KR20130109817A (ko) 손가락 패턴을 이용한 손 모양 인식 장치 및 방법
CN106909481B (zh) 接口测试方法、接口测试装置和电子设备
WO2024001915A1 (zh) 扫描数据显示方法、装置、设备及存储介质
KR20190114616A (ko) 3차원 공간 상의 손가락 움직임을 통해 문자를 입력하는 방법 및 장치
CN112114658A (zh) 震动反馈的方法及具有震动反馈的电子装置
US9679505B2 (en) Method and device for calibrating a projector
US20160091966A1 (en) Stereoscopic tracking status indicating method and display apparatus
US9930489B2 (en) Distance display method based on social networking application, terminal, and server

Legal Events

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

Ref document number: 22937269

Country of ref document: EP

Kind code of ref document: A1