Human-computer interaction verification method and device, electronic device, and storage medium
By using three-dimensional graphics splitting and random forest models in human-computer interaction verification to collect and verify interactive behavior data, the problem of reduced effectiveness of human-computer verification in the existing technology is solved, and the accuracy and safety of interactive behavior are improved.
Patent Information
- Application Number
- CN202210923657.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-08-02
AI Technical Summary
Existing human-machine verification methods are less effective in the face of machine cracking technology, making it difficult to accurately distinguish between natural people and machine interaction behaviors.
Using the three-dimensional graphics splitting and verification method, by collecting the speed data, trajectory data and spatial coordinates of the sub-three-dimensional graphics in the attitude restoration process in the interactive interface, combined with the random forest data verification model, human-computer interaction verification results are generated, which increases the verification multi-dimensional and difficult.
It improves the accuracy of natural human interactions, increases the cost of machines bypassing verification, and enhances security.
Smart Images

Figure CN115292685B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a human-computer interaction verification method, a human-computer interaction verification device, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of artificial intelligence technology and image processing technology, it is becoming increasingly important to distinguish whether data requests are generated by normal human interaction or by machines during human-computer interaction. Existing human-computer verification methods, including point-and-click verification codes, sliding verification codes, and calculation verification codes, are based on two-dimensional image display comparison results, and then use other additional reference factors to increase the difficulty of machine cracking. Although human-computer verification methods are constantly being optimized and upgraded, corresponding cracking methods are also being generated at the same time, such as cracking methods using OCR image recognition technology and deep learning algorithms, which reduces the effectiveness of existing human-computer verification methods.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The purpose of the present disclosure is to provide a human-computer interaction verification method, a human-computer interaction verification device, an electronic device, and a storage medium; thereby overcoming the defects caused by the limitations and defects of the relevant technologies at least to a certain extent.
[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0006] According to a first aspect of the present disclosure, a human-computer interaction verification method is provided, the method comprising:
[0007] Collecting speed data, trajectory data, and first space coordinates after posture transformation corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface;
[0008] Comparing the first spatial coordinates of each of the three-dimensional sub-graphics with the corresponding reference spatial coordinates to obtain a first data comparison result; and
[0009] Inputting the speed data and the trajectory data into a data verification model to obtain a second data verification result;
[0010] The human-computer interaction verification result is generated by combining the first data comparison result and the second data verification result.
[0011] In an exemplary embodiment of the present disclosure, the sub-3D image includes n preset marking points;
[0012] The step of comparing the first spatial coordinates of each of the three-dimensional sub-graphics with the corresponding reference spatial coordinates to obtain a first data comparison result includes:
[0013] Comparing the first spatial coordinates of each marking point of the sub-three-dimensional graphic with the corresponding reference spatial coordinates to determine the coordinate distance corresponding to each marking point;
[0014] When the coordinate distance corresponding to the marked point is less than a preset error threshold, the first data comparison result is determined to be a successful data verification; or
[0015] When the coordinate distance corresponding to the marking point is greater than a preset error threshold, the first data comparison result is determined to be a data verification failure.
[0016] In an exemplary embodiment of the present disclosure, the speed data includes:
[0017] The speed parameters and normal acceleration parameters of the sub-three-dimensional graphic rotating along the axis.
[0018] In an exemplary embodiment of the present disclosure, the data validation model is a random forest-based data validation model.
[0019] In an exemplary embodiment of the present disclosure, the step of combining the first data comparison result and the second data verification result to generate a human-computer interaction verification result includes:
[0020] When both the first data comparison result and the second data verification result are successful data verifications, determining that the human-computer interaction verification result is successful verification; or,
[0021] When at least one of the first data comparison result and the second data verification result is data verification failure, the human-computer interaction verification result is determined to be verification failure.
[0022] In an exemplary embodiment of the present disclosure, the method further includes:
[0023] The parent three-dimensional graphic corresponding to the child three-dimensional graphic is displayed in the interactive interface.
[0024] In an exemplary embodiment of the present disclosure, the method further includes:
[0025] Select a parent 3D graphic from the graphic library;
[0026] Splitting the parent three-dimensional graphic to obtain a plurality of sub-three-dimensional graphics, and determining the transformation axis of each of the sub-three-dimensional graphics;
[0027] The sub-three-dimensional graphics after the disorder processing are displayed in the interactive interface.
[0028] In an exemplary embodiment of the present disclosure, the step of selecting a parent three-dimensional graphic from a graphic library includes:
[0029] In response to the triggered verification request, the mother three-dimensional graphic is selected from the graphic library in a random manner or according to the scene corresponding to the verification request.
[0030] In an exemplary embodiment of the present disclosure, splitting a mother three-dimensional graphic to obtain a plurality of child three-dimensional graphics includes:
[0031] Determine the number of splits of the current mother three-dimensional figure by using a random function;
[0032] The parent three-dimensional graphic is segmented according to the segmentation quantity to obtain child three-dimensional graphics corresponding to the segmentation quantity.
[0033] In an exemplary embodiment of the present disclosure, the mother three-dimensional graphic is configured with a plurality of preset segmentation position marks for segmenting the three-dimensional graphic.
[0034] In an exemplary embodiment of the present disclosure, determining the transformation axis of each of the sub-three-dimensional graphics includes:
[0035] The directions of the axes of the sub-three-dimensional graphics are respectively configured to be transformed in a random manner.
[0036] According to a second aspect of the present disclosure, a human-computer interaction verification device is provided, comprising:
[0037] A data acquisition module, used to collect speed data, trajectory data corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface, and the first space coordinates after the posture transformation;
[0038] A first data verification module, configured to compare the first spatial coordinates of each of the three-dimensional sub-graphics with the corresponding reference spatial coordinates to obtain a first data comparison result; and
[0039] A second data verification module, used for inputting the speed data and trajectory data into a data verification model to obtain a second data verification result;
[0040] The verification result data output module is used to generate a human-computer interaction verification result in combination with the first data comparison result and the second data verification result.
[0041] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0042] Processor; and
[0043] A memory, configured to store executable instructions of the processor;
[0044] Wherein, the processor is configured to perform the above-mentioned human-computer interaction verification method by executing the executable instructions.
[0045] According to a fourth aspect of the present disclosure, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the human-computer interaction verification method as described in any one of the above embodiments is implemented.
[0046] In a human-computer interaction verification method provided by an embodiment of the present disclosure, a complete mother three-dimensional graphic of a clothes moth is split into multiple sub-three-dimensional graphics, and the first spatial coordinates of the sub-three-dimensional graphics after posture transformation, as well as the corresponding speed data and trajectory data are collected during the human-computer interaction verification process, so that the restoration process of the three-dimensional graphics can be verified in multiple dimensions, which increases the cost and difficulty of bypassing the three-dimensional graphics verification by using algorithms, and improves the accuracy of distinguishing whether the interactive behavior is normally generated by a natural person.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0049] Figure 1 A schematic diagram schematically illustrates a human-computer interaction verification method in an exemplary embodiment of the present disclosure;
[0050] Figure 2 A schematic diagram schematically illustrates a method for generating a child three-dimensional graphic according to a parent three-dimensional graphic in an exemplary embodiment of the present disclosure;
[0051] Figure 3 A schematic diagram schematically illustrates a mother three-dimensional figure formed by a combination in an exemplary embodiment of the present disclosure;
[0052] Figure 4 A schematic diagram schematically illustrates a mother three-dimensional figure based on an animal model in an exemplary embodiment of the present disclosure;
[0053] Figure 5 A schematic diagram schematically shows a method of displaying a child three-dimensional graphic and a parent three-dimensional graphic in an interactive interface in an exemplary embodiment of the present disclosure;
[0054] Figure 6 A schematic diagram schematically illustrates a method of configuring an axis for a sub-three-dimensional graphic in a random manner and determining the coordinates of a marking point of the sub-three-dimensional graphic in an exemplary embodiment of the present disclosure;
[0055] Figure 7 A schematic diagram schematically shows a three-dimensional sub-figure rotating along an axis in an exemplary embodiment of the present disclosure;
[0056] Figure 8 A schematic diagram showing the acquisition of speed and acceleration parameters when a sub-three-dimensional graphic is transformed along the axis in an exemplary embodiment of the present disclosure is shown;
[0057] Fig. 9 A schematic diagram schematically illustrates a human-computer interaction verification device in an exemplary embodiment of the present disclosure;
[0058] Fig.10 A schematic diagram schematically illustrates an electronic device in an exemplary embodiment of the present disclosure;
[0059] Fig.11 The figure schematically shows a composition diagram of a terminal device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0060] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0061] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0062] In the related technologies, human-machine verification methods include: point-and-click verification codes, sliding verification codes, calculation verification codes, etc., all of which are based on the comparison result items displayed in two-dimensional images; as OCR image recognition technology and deep learning are applied to verification code cracking methods, the effectiveness of existing human-machine verification methods based on two-dimensional images is decreasing. Therefore, it is necessary to distinguish between human-machine verification methods that are different from traditional two-dimensional planes.
[0063] In this example implementation, in order to solve the technical defects existing in the prior art, a human-computer interaction verification method is first provided. Figure 1 As shown, the human-computer interaction verification method may specifically include:
[0064] Step S11, collecting speed data, trajectory data corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface, and the first space coordinates after the posture transformation;
[0065] Step S12, comparing the first spatial coordinates of each of the three-dimensional sub-graphics with the corresponding reference spatial coordinates to obtain a first data comparison result; and
[0066] Step S13, inputting the speed data and trajectory data into a data verification model to obtain a second data verification result;
[0067] Step S14, generating a human-computer interaction verification result by combining the first data comparison result and the second data verification result.
[0068] In the human-computer interaction verification method provided in this example implementation, the complete mother three-dimensional graphic of the clothes moth is split into multiple sub-three-dimensional graphics, and the first spatial coordinates of the sub-three-dimensional graphics after posture transformation, as well as the corresponding speed data and trajectory data are collected during the human-computer interaction verification process. This allows the restoration process of the three-dimensional graphics to be verified in multiple dimensions, thereby increasing the cost and difficulty of bypassing the three-dimensional graphics verification using algorithms and improving the accuracy of distinguishing whether the interactive behavior is normally generated by a natural person.
[0069] Below, each step of the human-computer interaction verification method in this example implementation will be described in more detail with reference to the accompanying drawings and embodiments.
[0070] Step S101, selecting a parent three-dimensional graphic from a graphic library;
[0071] Step S102, splitting the parent three-dimensional graphic to obtain a plurality of child three-dimensional graphics, and determining the transformation axis of each of the child three-dimensional graphics;
[0072] Step S103, displaying the sub-three-dimensional graphics after the disorder processing in the interactive interface.
[0073] In this example implementation, the above step S101 may include: in response to a triggered verification request, selecting the parent three-dimensional graphic from the graphic library in a random manner or according to a scene corresponding to the verification request.
[0074] Specifically, the above method can be applied to a terminal device, or implemented by the cooperation of the terminal device and the server. For example, the above terminal device can be a smart terminal device such as a mobile phone, a tablet computer, a computer, etc. Specifically, a database for storing three-dimensional graphics can be pre-built as the above graphics library. The graphics library can be stored in the terminal device or the server.
[0075] The above-mentioned verification request can be a verification request triggered by an application or in a web page when the user logs in, searches, etc. in the interactive interface of the terminal device. After the terminal device obtains the triggered verification request, it can select the mother three-dimensional graphic from the preset graphics library. When the graphics library is set on the terminal device, after the verification request is triggered, the mother three-dimensional graphic can be extracted from the graphics library on the terminal device, and the parameters of the relevant verification process can be sent to the server for judgment. Alternatively, if the graphics library is configured on the server side or in an independent database, when the user triggers the verification request on the terminal device side, the terminal device sends the verification request to the server side, and the server side responds to the verification request and extracts the mother three-dimensional graphic from the graphics library locally or in the database.
[0076] In this example implementation, after the verification request is triggered, a three-dimensional graphic can be randomly selected from the graphics library as the parent three-dimensional graphic. Alternatively, the three-dimensional graphics in the graphics library can be classified in advance and the corresponding application scenarios can be configured. After the terminal device triggers the verification request, the application scenario corresponding to the verification request can be first identified, and a three-dimensional graphic can be randomly selected from the type corresponding to the application scenario in the graphics library. For example, the type of application scenario can be divided according to the page type, such as application programs and web pages; in addition, the type can also be divided according to the purpose, such as identity authentication during the login process, human-machine authentication before content search, identity authentication during information change, and so on. In different application scenarios, a three-dimensional graphic of the complexity corresponding to the current application scenario is selected according to the actual required security level.
[0077] Among them, the three-dimensional graphics in the graphics library can be a three-dimensional model obtained based on the modeling of a complete object; for example, the selected objects can be buildings, daily necessities, electrical appliances and other types of objects; for example, the three-dimensional model can be a car model, a building model, an electric fan model, an air conditioner model, a mobile phone model, a TV model, a display model, an animal model, etc. For example, reference Figure 4 Three-dimensional graphics of animals shown.
[0078] Alternatively, the three-dimensional graphics in the graphics library may also include a combined three-dimensional model obtained by combining and splicing basic three-dimensional models. For example, the basic three-dimensional model may include a cylinder, a cone, a cuboid, a cube, a sphere, and other regular basic three-dimensional models, or an irregular basic three-dimensional model; the combined three-dimensional model may be obtained by combining at least two basic three-dimensional models. For example, referring to Figure 3 As shown, the three-dimensional model is a parent three-dimensional figure obtained by combining a hemisphere, a cube and a cone.
[0079] In addition, in some exemplary embodiments, the library may be updated at a preset period to add or modify three-dimensional graphics in the graphics library.
[0080] In this example implementation, in the above step S102, the following may be specifically included:
[0081] Step S1021, using a random function to determine the number of splits of the current mother three-dimensional figure;
[0082] Step S1022: segment the parent three-dimensional graphic according to the segmentation quantity to obtain child three-dimensional graphics corresponding to the segmentation quantity.
[0083] Specifically, after selecting a mother 3D graphic, the spatial coordinates of some points on the 3D graphic can be marked; these points can be configured when adding the 3D graphic to the graphic library; based on these marked points, the basic outline of the 3D graphic and special points can be described. For example, n coordinate points of the mother 3D graphic P can be marked, such as:
[0084]
[0085] After selecting the mother 3D graph, you can call the random function random.randint(a,b) to determine an integer N in the interval [a,b], and configure the integer N as the number of splits; that is, split the mother 3D graph P into N components, namely N sub-3D graphs: S 1 , S 2 ...S N. For example, each three-dimensional graphic in the graphics library can be pre-configured with a plurality of preset segmentation position marks for segmenting the three-dimensional graphics. For example, there can be at least one preset segmentation plane, or at least two non-intersecting segmentation planes. Among them, the segmentation plane can be constructed using the preset marking points of the three-dimensional graphic; for example, using the spatial coordinates of any three marking points in the three-dimensional graphic, a plane for segmenting the three-dimensional graphic can be determined; that is, the preset segmentation position mark of the three-dimensional graphic can use the spatial coordinates of the above-mentioned marking points. After determining the number of splits, the segmentation position mark can be randomly selected in the above-mentioned, and the three-dimensional graphic can be split to obtain N sub-three-dimensional graphics. Alternatively, in some exemplary embodiments, a machine learning-based image segmentation model can be pre-trained; after determining the number of splits, the number of splits and the mother three-dimensional graphic are used as input parameters of the image segmentation model, and the segmented N sub-three-dimensional images and corresponding parameters are input.
[0086] Alternatively, in some exemplary embodiments, if the graphic selected from the graphic library is a combined graphic, the number of splits can also be configured according to the number of basic three-dimensional models corresponding to the combined graphic; and the contact surface of any two basic three-dimensional graphics can be used as a separation plane.
[0087] In this example implementation, determining the transformation axis of each of the three-dimensional sub-graphics includes: configuring the directions of the transformation axis for each of the three-dimensional sub-graphics in a random manner.
[0088] Specifically, the above transformation axis can be a straight line passing through the physical center of mass of the sub-3D graphics. After the sub-3D graphics are segmented and determined, the spatial coordinates of the center of mass corresponding to each sub-3D graphics can be obtained. Then, the direction of the transformation axis is configured based on the center of mass in a random manner; for example, referring to Figure 6 The figure shows the transformation axis of each three-dimensional graphic. 1 , S 2 ...S N After that, the transformation axes of each sub-3D figure are determined to be C 1 , C 2 ...C N . And, one or more marking points are selected in each three-dimensional graph. The marking point can be used as a base point. For example, when selecting a marking point, its corresponding N sets of spatial coordinates (X S1 , Y S1 , Z S1 )、(X S2 , Y S2 , Z S2 )......(X SN , Y SN , Z SN ). The marking point may be the centroid of the sub-3D figure.
[0089] In addition, the sub-3D graphics can be processed in a random order and then displayed in the interactive interface. That is, the original position and posture of each 3D sub-graphic in the interactive interface are disrupted, and the spatial coordinates of the marking points of each sub-3D graphic after the random order are determined to be (X′ S1... , Y′ S1 , Z′ S1 ), (X′ S2 , Y′ S2 , Z′ S2 )......(X′ SN , Y′ SN , Z′ SN ). For example, refer to Figure 5 shown.
[0090] In step S11, the speed data, trajectory data, and first space coordinates after the posture transformation corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface are collected.
[0091] In this example implementation, after selecting a parent 3D graphic from the graphics library and obtaining multiple child 3D graphics through the above preprocessing process, the child 3D graphics and the parent 3D graphic can be rendered and displayed in the interactive interface.
[0092] The terminal device can collect relevant parameters of the user during the 3D graphics verification process, which is the process of restoring multiple sub-3D graphics to the corresponding parent 3D graphics in the interactive interface. The user can move, rotate, and other transformations of the sub-3D graphics through control gestures in the interactive interface; or, the user can also use input devices such as a mouse and keyboard to transform the position and posture of the sub-3D graphics in the interactive interface.
[0093] In the verification process, the first spatial coordinates of each sub-3D graphic after restoration, as well as the trajectory and speed parameters during the restoration process can be collected; wherein the speed data includes: the speed parameters and normal acceleration parameters of the sub-3D graphic rotating along the axis. Specifically, the sensors of the terminal device can be used for data collection, such as the acceleration sensor and gyroscope on the terminal device to collect data during the 3D graphic verification process. In addition, the trajectory and speed of each sub-3D graphic moving in the interactive interface can also be recorded. For example, refer to Figure 7 , Figure 8 As shown, the directions of rotation of the sub-three-dimensional figure along the axis, as well as the marked acceleration directions and velocity directions are respectively shown.
[0094] In step S12, the first space coordinates of each of the three-dimensional sub-graphics are compared with the corresponding reference space coordinates to obtain a first data comparison result.
[0095] In this example implementation, in the interactive interface, when the user completes the restoration process of the sub-3D graphic and confirms the end of the verification process, the restored coordinates may be verified first. Specifically, the above step S12 may include:
[0096] Step S121, comparing the first spatial coordinates of each marking point of the sub-three-dimensional graphic with the corresponding reference spatial coordinates to determine the coordinate distance corresponding to each marking point;
[0097] Step S122, when the coordinate distance corresponding to the marked point is less than a preset error threshold, determining that the first data comparison result is a data verification success; or
[0098] Step S123, when the coordinate distance corresponding to the marked point is greater than a preset error threshold, it is determined that the first data comparison result is a data verification failure.
[0099] Specifically, the sub-3D image may include n preset marking points; for example, the marking point may be a coordinate point, namely, the centroid described in the above embodiment; or, it may be at least two marking points used to mark the outline of the sub-3D graphic. Taking the centroid of the 3D graphic as an example, after the user restores the position of the sub-3D graphic, the first spatial coordinates of the marking points marking each sub-3D graphic are (X″ S1... , Y″ S1 , Z″ S1 )、(X″ S2 , Y″ S2 , Z″ S2 )......(X″ SN , Y″ SN , Z″ SN ); the first spatial coordinates corresponding to each sub-3D model are respectively compared with the corresponding reference coordinates (X S1 , Y S1 , Z S1 )、(X S2 , Y S2 , Z S2 )......(X SN , Y SN , Z SN ) to calculate the distance between the two coordinate points. If the distance between the coordinate points is greater than the preset error threshold, the current verification is judged to have failed, and the verification result of this human-computer interaction can be judged to have failed, and the second data verification result is no longer considered. Alternatively, if the distance between the coordinate points is less than or equal to the preset error threshold, the first data comparison result can be output as successful verification, and the calculation of the second data verification result can be performed.
[0100] In step S13, the speed data and trajectory data are input into a data verification model to obtain a second data verification result.
[0101] In this exemplary embodiment, a data verification model based on a random forest can be pre-trained. The speed data and trajectory data obtained during the reduction process of the sub-three-dimensional graph are used as input parameters and input into the pre-trained data verification model based on a random forest to output a second data verification result. Among them, the second data verification result can be verification success or verification failure.
[0102] For example, for the training of the data verification model, the verification historical data of the three-dimensional graph can be marked with positive and negative samples. The verification process data determined to be manual operations is marked as positive samples, and the verification process data determined to be machine operations is marked as negative samples. Among them, the sample data can include the trajectory and speed during the reduction process of the sub-three-dimensional graph, as well as the speed parameter and normal acceleration parameter of the sub-three-dimensional graph rotating along the axis. Generally speaking, the training method of the random forest model can include: traversing the size of the random forest K times: sampling N times from the sample set T in a way of sampling with replacement to form a new sub-training set D, randomly selecting m features, where m < M, using the new training set D and m features to learn a complete decision tree, obtaining each decision tree according to each data subset, and jointly forming a random forest by multiple decision trees, and selecting the class with the most votes as the result to return according to the voting method.
[0103] In step S14, a human-computer interaction verification result is generated by combining the first data comparison result and the second data verification result.
[0104] In this exemplary embodiment, specifically, when both the first data comparison result and the second data verification result are data verification success, it is determined that the human-computer interaction verification result is verification success. Or, when at least one of the first data comparison result and the second data verification result is data verification failure, it is determined that the human-computer interaction verification result is verification failure.
[0105] Specifically, the first data comparison result can be calculated first. When the first data comparison result is verification success, the calculation of the second data verification result is executed. If the first data comparison result is verification failure, the human-computer interaction verification result can be directly output as verification failure. And the verification result is displayed on the interaction interface.
[0106] The human-computer interaction verification method provided by the embodiment of the present disclosure can first randomly extract a mother three-dimensional graphic from a three-dimensional graphic library after triggering verification, and then determine the number of splits of the graphic in a random manner, split the mother three-dimensional graphic into child three-dimensional graphics, and then randomly assign transformation axes to each child three-dimensional graphic, and record information such as coordinates in a database, and then present each child three-dimensional graphic in an interactive interface with the mother three-dimensional graphic after random processing, and record the spatial coordinates of each graphic, thereby realizing a method for generating a verification graphic. By using a random method in at least one link such as selecting a mother three-dimensional graphic, generating a child three-dimensional graphic, and configuring a transformation axis, multiple processes are not fixed, ensuring the randomness of the transformation and thus increasing the difficulty of cracking and enhancing security. In the user's graphic restoration verification process, the two-dimensional plane system using the X and Y axes to determine the plane position coordinates is improved to the three-dimensional space system X, Y, and Z axes to determine the spatial position coordinates, and the reference system dimension is increased to improve the verification accuracy. Increase the cost of machine bypassing verification and improve the accuracy of distinguishing whether the interactive behavior is normally generated by a natural person.
[0107] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0108] For further reference, Fig. 9 As shown, in the implementation of this example, a human-computer interaction verification device 90 is also provided, which can be arranged on an electronic device; the device includes: a data acquisition module 901, a first data verification module 902, a second data verification module 903, and a verification result data output module 904. Among them,
[0109] The data acquisition module 901 can be used to collect speed data, trajectory data corresponding to the posture restoration process of each sub-3D graphic in the interactive interface, and the first space coordinates after the posture transformation.
[0110] The first data verification module 902 may be used to compare the first spatial coordinates of each of the sub-three-dimensional graphics with the corresponding reference spatial coordinates to obtain a first data comparison result.
[0111] The second data verification module 903 can be used to input the speed data and trajectory data into a data verification model to obtain a second data verification result.
[0112] The verification result data output module 904 may be used to generate a human-computer interaction verification result in combination with the first data comparison result and the second data verification result.
[0113] In some exemplary embodiments, the sub-3D image includes n preset marking points; the first data verification module 902 may include: comparing the first spatial coordinates of each marking point of the sub-3D graphic with the corresponding reference spatial coordinates to determine the coordinate distance corresponding to each marking point; when the coordinate distance corresponding to the marking point is less than a preset error threshold, judging that the first data comparison result is a successful data verification; or when the coordinate distance corresponding to the marking point is greater than the preset error threshold, judging that the first data comparison result is a failed data verification.
[0114] In some exemplary embodiments, the velocity data includes: a velocity parameter of the sub-three-dimensional graphic rotating along an axis and a normal acceleration parameter.
[0115] In some exemplary embodiments, the data validation model is a random forest based data validation model.
[0116] In some exemplary embodiments, the verification result data output module 904 can be used to determine that the human-computer interaction verification result is a successful verification when the first data comparison result and the second data verification result are both successful data verifications; or, when at least one of the first data comparison result and the second data verification result is a data verification failure, determine that the human-computer interaction verification result is a verification failure.
[0117] In some exemplary embodiments, the apparatus further comprises: a display control module.
[0118] The display control module may be configured to display the parent three-dimensional graphic corresponding to the child three-dimensional graphic in the interactive interface.
[0119] In some exemplary embodiments, the apparatus further comprises: a three-dimensional graphics pre-processing module.
[0120] The three-dimensional graphics preprocessing module can be used to select a mother three-dimensional graphic from a graphics library; split the mother three-dimensional graphic to obtain multiple child three-dimensional graphics, and determine the transformation axis of each child three-dimensional graphic; and display the child three-dimensional graphics after random processing in the interactive interface.
[0121] In some exemplary embodiments, the three-dimensional graphics pre-processing module includes: a response triggering module.
[0122] The response trigger module may be configured to select the parent three-dimensional graphic from the graphic library in a random manner or according to a scene corresponding to the verification request in response to a triggered verification request.
[0123] In some exemplary embodiments, the three-dimensional graphics pre-processing module includes: a splitting processing module.
[0124] The splitting processing module can be used to determine the number of splits of the current mother three-dimensional graphic using a random function; and divide the mother three-dimensional graphic according to the number of splits to obtain child three-dimensional graphics corresponding to the number of splits.
[0125] In some exemplary embodiments, the mother three-dimensional graphic is configured with a plurality of preset segmentation position marks for segmenting the three-dimensional graphic.
[0126] In some exemplary embodiments, the three-dimensional graphics preprocessing module includes: configuring the directions of the axes of the sub-three-dimensional graphics to be transformed respectively in a random manner.
[0127] For further reference, Fig.10 As shown, in the implementation of this example, an electronic device 10 is also provided. The electronic device 10 may include: a processor 101 and a memory 102. Among them, the memory 102 is used to store executable instructions of the processor; the processor 101 is configured to execute the human-computer interaction verification method described in the above embodiment by executing the executable instructions.
[0128] The specific details of the above-mentioned human-computer interaction verification device and each module in the electronic device have been described in detail in the corresponding human-computer interaction verification method, so they will not be repeated here.
[0129] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0130] Fig.11 A schematic diagram of a terminal device suitable for implementing an embodiment of the present invention is shown.
[0131] It should be noted that Fig.11 The terminal device 1000 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0132] like Fig.11As shown, the terminal device 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0133] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0134] In particular, according to an embodiment of the present invention, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present application are executed.
[0135] Specifically, the terminal device may be a smart mobile terminal device such as a mobile phone, a tablet computer or a laptop computer, or may be a smart terminal device such as a desktop computer.
[0136] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0137] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0138] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0139] It should be noted that, as another aspect, the present application also provides a computer-readable medium, which may be included in an electronic device; or may exist independently without being installed in the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiments. For example, the electronic device may implement the following Figure 1 The steps shown.
[0140] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0142] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A human-computer interaction verification method, characterized in that: The method comprises: Selecting a mother three-dimensional graphic from a graphic library, splitting the mother three-dimensional graphic to obtain a plurality of child three-dimensional graphics; the child three-dimensional graphics include n preset marking points; Collecting speed data, trajectory data, and first space coordinates after posture transformation corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface; Compare the first spatial coordinates of each marking point of the sub-three-dimensional graphic with the corresponding reference spatial coordinates to determine the coordinate distance corresponding to each marking point, and when the coordinate distance corresponding to the marking point is less than a preset error threshold, obtain data verification success as a first data comparison result; or, when the coordinate distance corresponding to the marking point is greater than the preset error threshold, obtain data verification failure as a first data comparison result; and Inputting the speed data and the trajectory data into a data verification model to obtain a second data verification result; The human-computer interaction verification result is generated by combining the first data comparison result and the second data verification result.
2. The human-computer interaction verification method according to claim 1, characterized in that: The speed data includes: The speed parameters and normal acceleration parameters of the sub-three-dimensional graphic rotating along the axis.
3. The human-computer interaction verification method according to claim 1 or 2, characterized in that: The data validation model is a data validation model based on random forest.
4. The human-computer interaction verification method according to claim 1, characterized in that: The generating of the human-computer interaction verification result by combining the first data comparison result and the second data verification result includes: When both the first data comparison result and the second data verification result are successful data verifications, determining that the human-computer interaction verification result is successful verification; or, When at least one of the first data comparison result and the second data verification result is data verification failure, the human-computer interaction verification result is determined to be verification failure.
5. The human-computer interaction verification method according to claim 1, characterized in that: The method further comprises: The parent three-dimensional graphic corresponding to the child three-dimensional graphic is displayed in the interactive interface.
6. The human-computer interaction verification method according to claim 1, characterized in that: The step of splitting the mother three-dimensional graph to obtain a plurality of child three-dimensional graphs further includes: Determining the transformation axis of each of the sub-three-dimensional graphics; The sub-three-dimensional graphics after the disorder processing are displayed in the interactive interface.
7. The human-computer interaction verification method according to claim 6, characterized in that: The step of selecting a parent three-dimensional graphic from a graphic library includes: In response to the triggered verification request, the mother three-dimensional graphic is selected from the graphic library in a random manner or according to the scene corresponding to the verification request.
8. The human-computer interaction verification method according to claim 6, characterized in that: The step of splitting a mother three-dimensional graphic to obtain a plurality of child three-dimensional graphics includes: Determine the number of splits of the current mother three-dimensional figure by using a random function; The parent three-dimensional graphic is segmented according to the segmentation quantity to obtain child three-dimensional graphics corresponding to the segmentation quantity.
9. The human-computer interaction verification method according to claim 6 or 8, characterized in that: The mother three-dimensional graphic is configured with a plurality of preset segmentation position marks for segmenting the three-dimensional graphic.
10. The human-computer interaction verification method according to claim 6 or 8, characterized in that: The step of determining the transformation axis of each of the three-dimensional sub-graphics comprises: The directions of the transformation axes are respectively configured for the sub-three-dimensional graphics in a random manner.
11. A human-computer interaction verification device, characterized in that: include: A three-dimensional graphics preprocessing module, used for selecting a mother three-dimensional graphics from a graphics library, and splitting the mother three-dimensional graphics to obtain a plurality of child three-dimensional graphics; The sub-three-dimensional graph includes n preset marking points; A data acquisition module, used to collect speed data, trajectory data corresponding to the posture restoration process of each sub-three-dimensional graphic in the interactive interface, and the first space coordinates after the posture transformation; A first data verification module is used to compare the first spatial coordinates of each marking point of the sub-three-dimensional graphic with the corresponding reference spatial coordinates to determine the coordinate distance corresponding to each of the marking points, and when the coordinate distance corresponding to the marking point is less than a preset error threshold, obtain data verification success as a first data comparison result; or, when the coordinate distance corresponding to the marking point is greater than the preset error threshold, obtain data verification failure as a first data comparison result; as well as A second data verification module, used for inputting the speed data and trajectory data into a data verification model to obtain a second data verification result; The verification result data output module is used to generate a human-computer interaction verification result in combination with the first data comparison result and the second data verification result.
12. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the human-computer interaction verification method according to any one of claims 8 to 10 by executing the executable instructions.
13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the human-computer interaction verification method according to any one of claims 1 to 10 is implemented.
