Human-machine verification method, device, equipment, medium and program based on real machine challenge

By sending a real machine challenge request to the electronic device when the server receives a network request to verify whether it is separated from the real machine environment, the problems of unstable human-computer verification and poor user experience in the existing technology are solved, and the offline protocol flashing is realized. Effective resistance improves verification accuracy and user experience.

CN118784269APending Publication Date: 2024-10-15ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712326.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing human-machine verification methods have problems such as high instability and poor user experience, and cannot effectively resist offline protocol swiping attacks.

Method used

After the server receives the network request, it sends a real machine challenge request to the electronic device to verify whether it is out of the real machine environment. If the verification passes, the network retry request is executed, otherwise it is not executed. This method includes determining the target file path, whether the Java class exists, calling the application programming interface and executing the virtual machine binary code. These results cannot be generated if the device is separated from the real machine environment.

Benefits of technology

It improves the stability and accuracy of human-machine verification, reduces the missed detection rate and data leakage risk, improves user experience, has high concealment, saves costs, and effectively resists offline protocol brushing attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784269A_ABST
    Figure CN118784269A_ABST
Patent Text Reader

Abstract

The invention provides a man-machine verification method and device based on real machine challenge, equipment, a medium and a program, and relates to the technical field of network security, the method comprises the following steps: after receiving a network request sent by electronic equipment, a server verifies whether the electronic equipment is separated from a real machine environment by sending a real machine challenge request to the electronic equipment; when it is verified that the electronic device is not separated from the real machine environment, the network retry request is normally executed; and when the electronic equipment is verified to be separated from the real machine environment, the network request is not executed. According to the technical scheme, the user is not disturbed, the use experience of the user and the stability and accuracy of man-machine verification are effectively improved, the omission ratio and the data leakage risk are reduced, and therefore the off-line protocol swipe attack is effectively resisted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and in particular to a human-machine verification method, device, equipment, medium and program based on real machine challenge. Background Art

[0002] Offline protocol brushing simulates network protocols through automated script tools, and directly initiates large-scale network requests on the server or cloud without terminal devices to crawl the company's business data, posing a major threat to the company's business interests.

[0003] Currently, after receiving a network request, the server mainly uses human-machine verification to determine whether the network request is initiated by a real user, thereby resisting attacks initiated by offline protocol brushing.

[0004] However, the existing technology has the problems of high instability and poor user experience. Summary of the invention

[0005] Multiple aspects of the present application provide a human-machine verification method, device, equipment, medium and program based on real machine challenge to solve the problems of high instability and poor user experience in existing human-machine verification.

[0006] In a first aspect, an embodiment of the present application provides a human-machine verification method based on real machine challenge, which is applied to a server, and the method includes:

[0007] Sending a real machine challenge request to the electronic device according to a network request sent by the electronic device, wherein the real machine challenge request is used to verify whether the electronic device is out of a real machine environment;

[0008] receiving a network retry request sent by the electronic device, wherein the network retry request is used to request the server to re-execute the network request;

[0009] If the network retry request carries a real machine challenge result, and the real machine challenge result is the target real machine challenge result, the network retry request is executed.

[0010] In a possible design, the real machine challenge request includes at least one of the following:

[0011] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code;

[0012] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

[0013] In a possible design, sending a real device challenge request to the electronic device according to a network request sent by the electronic device includes:

[0014] If the protocol version used by the network request is the target protocol version, a real device challenge request is sent to the electronic device, and the target protocol version is the currently deciphered protocol version.

[0015] In one possible design, executing the network retry request includes:

[0016] A token is sent to the electronic device so that a target application corresponding to the network request can access services or resources of the server through the token.

[0017] In one possible design, the method further includes:

[0018] If the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, the real machine challenge request is resent to the electronic device.

[0019] In a second aspect, an embodiment of the present application provides a human-machine verification method based on real machine challenge, which is applied to an electronic device, and the method includes:

[0020] After sending a network request to a server, receiving a real machine challenge request sent by the server, wherein the real machine challenge request is used to verify whether the electronic device is out of a real machine environment;

[0021] According to the network request and the real machine challenge request, a network retry request is sent to the server, where the network retry request is used to request the server to re-execute the network request.

[0022] In a possible design, sending a network retry request to the server according to the network request and the real machine challenge request includes:

[0023] Execute the real machine challenge request and generate a real machine challenge result;

[0024] Send the network retry request to the server according to the network request and the real machine challenge result.

[0025] In a possible design, the real machine challenge request includes at least one of the following:

[0026] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code;

[0027] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

[0028] In one possible design, after sending the network retry request to the server, the method further includes:

[0029] Receiving the real machine challenge request sent again by the server;

[0030] or,

[0031] A token sent by the server is received so that a target application corresponding to the network request can access services or resources of the server through the token.

[0032] In a third aspect, an embodiment of the present application provides a human-machine verification device based on real machine challenge, which is applied to a server, and the device includes:

[0033] A sending module, used for sending a real machine challenge request to the electronic device according to a network request sent by the electronic device, wherein the real machine challenge request is used to verify whether the electronic device is out of the real machine environment;

[0034] A receiving module, used for receiving a network retry request sent by the electronic device, wherein the network retry request is used for requesting the server to re-execute the network request;

[0035] An execution module is used to execute the network retry request if the network retry request carries a real machine challenge result and the real machine challenge result is a target real machine challenge result.

[0036] In a possible design, the real machine challenge request includes at least one of the following:

[0037] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code;

[0038] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

[0039] In a possible design, the sending module is specifically used to:

[0040] If the protocol version used by the network request is the target protocol version, a real device challenge request is sent to the electronic device, and the target protocol version is the currently deciphered protocol version.

[0041] In a possible design, the execution module is specifically used to:

[0042] A token is sent to the electronic device so that a target application corresponding to the network request can access services or resources of the server through the token.

[0043] In a possible design, the sending module is further used for:

[0044] If the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, the real machine challenge request is resent to the electronic device.

[0045] In a fourth aspect, an embodiment of the present application provides a human-machine verification device based on real machine challenge, which is applied to an electronic device, and the device includes:

[0046] A receiving module, configured to receive a real machine challenge request sent by the server after sending a network request to the server, wherein the real machine challenge request is used to verify whether the electronic device is out of the real machine environment;

[0047] A sending module is used to send a network retry request to the server according to the network request and the real machine challenge request, wherein the network retry request is used to request the server to re-execute the network request.

[0048] In a possible design, the sending module is specifically used to:

[0049] Execute the real machine challenge request and generate a real machine challenge result;

[0050] Send the network retry request to the server according to the network request and the real machine challenge result.

[0051] In a possible design, the real machine challenge request includes at least one of the following:

[0052] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code;

[0053] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

[0054] In one possible design, after sending the network retry request to the server, the receiving module is further used to:

[0055] Receiving the real machine challenge request sent again by the server;

[0056] or,

[0057] A token sent by the server is received so that a target application corresponding to the network request can access services or resources of the server through the token.

[0058] In a fifth aspect, an embodiment of the present application provides a server, including: a memory, a transceiver, and a processor;

[0059] The transceiver is used to interact with an electronic device;

[0060] The memory stores computer-executable instructions;

[0061] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the human-machine verification method based on real machine challenge as shown in the first aspect and various possible designs.

[0062] In a sixth aspect, an embodiment of the present application provides an electronic device, including: a memory, a transceiver, and a processor;

[0063] The transceiver is used to interact with the server;

[0064] The memory stores computer-executable instructions;

[0065] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the human-machine verification method based on real machine challenge as shown in the first aspect and various possible designs.

[0066] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement the human-machine verification method based on real machine challenges as shown in the first aspect, the second aspect and various possible designs.

[0067] In an eighth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the human-machine verification method based on real machine challenges as shown in the first aspect, the second aspect and various possible designs.

[0068] The human-machine verification method, device, equipment, medium and program based on real machine challenge provided by the embodiment of the present application include: after receiving the network request sent by the electronic device, the server verifies whether the electronic device is out of the real machine environment by sending a real machine challenge request to the electronic device, and then executes the network retry request normally when verifying that the electronic device is not out of the real machine environment; when verifying that the electronic device is out of the real machine environment, the network request is not executed. In this technical solution, the user is unaware of the human-machine verification process, which will not cause disturbance to the user, and has high concealment, which effectively improves the user experience on the basis of cost saving. At the same time, since the network request initiated by the offline protocol brushing method must be out of the real machine environment, the human-machine verification can be performed by verifying whether the electronic device is out of the real machine environment, which can ensure the stability and accuracy of the verification, reduce the missed detection rate and data leakage risk, and effectively resist the offline protocol brushing attack. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0070] Figure 1 A flowchart of a human-machine verification method provided by the prior art;

[0071] Figure 2 A schematic diagram of a scenario of a human-machine verification method based on real machine challenge provided in an embodiment of the present application;

[0072] Figure 3A flowchart of a first embodiment of a human-machine verification method based on a real machine challenge provided in an embodiment of the present application;

[0073] Figure 4 A flowchart of a second embodiment of a human-machine verification method based on a real machine challenge provided in an embodiment of the present application;

[0074] Figure 5 A schematic diagram of the structure of a first embodiment of a human-machine verification device based on real machine challenge provided in an embodiment of the present application;

[0075] Figure 6 A schematic diagram of the structure of a second embodiment of a human-machine verification device based on real machine challenge provided in an embodiment of the present application;

[0076] Figure 7 A schematic diagram of the structure of a server provided in an embodiment of the present application;

[0077] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0078] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application. The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0079] Next, the scenarios involved in this application are introduced.

[0080] In the digital age, for companies, having high-quality data means being able to better understand market trends, consumer behavior, and competitor dynamics. Therefore, companies usually invest a lot of resources to collect, analyze, and protect their own business data. For this reason, when conducting marketing activities, companies also need to collect business data from other companies, such as product prices, sales, user clicks, etc., to help companies make more informed decisions and optimize products and services.

[0081] For example, if Company A wants to sell its products on an e-commerce platform, in order to ensure that its products have sufficient price advantages and sufficient profits, it needs to conduct market research in advance to determine the selling prices of other products similar to the product on the e-commerce platform, and then determine the selling price of its own products. Specifically, this can be achieved by having employees manually search for similar products on the e-commerce platform and manually record the sales prices.

[0082] However, due to the inefficiency and high labor costs of manual data collection, some illegal companies have begun to use various illegal automated tools and scripts to crawl other companies' business data in order to save costs and improve efficiency, and then make profits for themselves.

[0083] As technology develops, automated tools and scripts become more and more advanced, capable of bypassing traditional security measures such as Internet Protocol (IP) blocking, verification codes, user behavior analysis, etc. These tools can initiate a large number of requests in a short period of time, simulating the behavior of real users, making them less likely to be detected.

[0084] Among them, offline protocol brushing is one of the commonly used attack methods. Offline protocol brushing can analyze the network protocol parameters of network requests, and then construct network protocol parameters through tool scripts without terminal devices to initiate a large number of network requests to the server to crawl commercial data in the server.

[0085] In order to solve the above problems, the existing technology is mainly implemented through human-machine verification. Figure 1 The following is a flow chart of the human-machine verification method provided by the prior art. Figure 1 As shown, the human-machine verification method can be implemented by the following steps:

[0086] Step 1: An application (English: Application, abbreviated as: APP) installed in a terminal device sends a first network request to a network software development kit (Software Development Kit, SDK).

[0087] Among them, the network SDK is a network request middleware that organizes and constructs protocol request parameters and provides a set of general network request libraries for terminal devices.

[0088] When the APP needs to communicate with the server, it will call the Application Programming Interface (API) provided by the network SDK for processing, such as constructing request parameters, processing user input, calling SDK methods, etc., and then generate the first network request and send it to the network SDK.

[0089] Correspondingly, the network SDK obtains the first network request sent by the APP.

[0090] Step 2: The network SDK in the terminal device sends a second network request to the server.

[0091] Among them, after receiving the first network request sent by the APP, the network SDK can directly determine the first network request as the second network request and forward it to the server. It can also perform some pre-processing on the first network request, such as adding authentication information, encrypting data, compressing data, etc., and then generate a second network request and send it to the server.

[0092] Correspondingly, the server receives the second network request sent by the network SDK.

[0093] Step 3: The server sends a human-machine verification message to the network SDK.

[0094] Exemplarily, the human-machine verification message includes relevant data of the human-machine verification. After receiving the human-machine verification message, the network SDK will execute the corresponding human-machine verification process according to the human-machine verification message.

[0095] Correspondingly, the network SDK receives the human-machine verification message sent by the server

[0096] Step 4: The network SDK executes the corresponding human-machine verification process according to the human-machine verification message.

[0097] Optionally, the human-machine verification process includes at least one of the following: verification code verification, "I am not a robot" checkbox verification, picture selection verification, etc. When executing the human-machine verification process, the network SDK needs to respond to the user's operation, such as inputting a verification code, clicking on the "I am not a robot" checkbox, or clicking on a picture, and then obtain verification information, which includes the verification code input by the user, the options determined by the user, pictures, etc.

[0098] Step 5: The network SDK sends a network retry request to the server.

[0099] The network retry request carries the above verification information.

[0100] Correspondingly, the server receives the network retry request sent by the network SDK.

[0101] Step 6: When the server determines that the verification information passes the human-machine verification, it executes the network retry request.

[0102] Among them, when the verification code in the verification information is consistent with the target verification code, the option determined by the user is the "I am not a robot option", and the picture determined by the user is the target picture, it is considered that the human-machine verification has been passed.

[0103] However, according to Figure 1 As can be seen from the embodiments shown, the human-machine verification method in the prior art requires user participation, which is highly disturbing to normal users, has high SMS costs, and has a poor user experience. In addition, there are cracking methods for human-machine verification methods such as picture selection verification and "I am not a robot" checkbox verification that are performed by user selection. It is impossible to ensure that all offline protocol brushes can be detected in this way, and there is a high instability problem.

[0104] Based on the above technical problems, the invention of the present application is conceived as follows: the most important factor in determining whether a network request is initiated by an offline protocol brush is to determine whether the electronic device that initiates the network request is out of the real machine environment, that is, to determine whether the network request is initiated by a real application environment. Then, the real machine challenge algorithm can be deployed in the application in advance, and after the server obtains the network request sent by the electronic device, it can trigger the electronic device to execute the real machine challenge algorithm by sending a real machine challenge request to the electronic device. If the network request is sent by a terminal device of a real user, the terminal device can call the real machine challenge algorithm to generate the corresponding real machine challenge result, and send the real machine challenge result to the server through a network retry request; if the network request is initiated by an offline protocol brush, the real machine challenge algorithm cannot be executed because the application is not installed, and the real machine challenge result cannot be sent to the server through a network retry request. In this way, the server can determine whether the electronic device is out of the real machine environment based on whether the real machine challenge result is carried in the network retry request, and whether the real machine challenge result is the target real machine challenge result, and then complete the human-machine verification. The whole process does not require user participation, and is imperceptible to the user, which greatly improves the user experience and saves costs. At the same time, since the real machine challenge algorithm is deployed in the application, the execution process needs to rely on the application, and initiating a network request through an offline protocol brush does not require the installation and use of the application, it is impossible to execute the real machine challenge algorithm, and thus cannot pass the human-machine verification. It can ensure the stable screening of all network attacks initiated by offline protocol brushes, thereby improving the accuracy and comprehensiveness of detection.

[0105] Based on this, the present application provides a human-machine verification method, device, equipment, medium and program based on real machine challenge.

[0106] For example, Figure 2 A schematic diagram of a scenario of a human-machine verification method based on real machine challenge provided in an embodiment of the present application. Figure 2As shown, the scenario includes a terminal device 21, a server 22, and a server 23. Among them, the terminal device 21 is a terminal device actually used by the user and installed with an application, the server 22 is a server that initiates an offline protocol refresh, and the server 23 is a server corresponding to the application. The server 23 communicates and interacts with the terminal device 21 and the server 22 respectively through wired or wireless means.

[0107] In actual applications, the terminal device 21 can display the operation interface of the application program to the user through a display, and the user can operate the operation interface according to actual needs. The terminal device initiates a network request to the server in response to the user's operation on the operation interface. For example, when the user wants to query the price of a commodity sold on the application program through the application program, the user can enter the commodity name in the search control in the operation interface of the application program and click the confirmation control. The terminal device sends a commodity query request to the server in response to the user's search operation.

[0108] An automated script tool for implementing offline protocol refresh is pre-installed in the server 22 . The server 22 executes the automated script tool through a scheduled task or the like, and then initiates a large-scale network request to the server 23 .

[0109] After receiving the network request, the server 23 may send a real machine challenge request to the device that sent the network request, so as to determine whether the network request is initiated by a real user according to the network retry request returned by the device. It should be understood that the specific implementation steps and principles of this process will be described in detail in the following embodiments, and will not be repeated here.

[0110] It should be understood that in the following embodiments, the terminal device 21 and the server 22 are collectively referred to as electronic devices.

[0111] It should be understood that in actual scenarios, there is no limit on the number of terminal devices 21 and servers 22. Figure 1 Only one terminal device 21 and one server 22 are used for explanation, and the specific number of terminal devices 21 and the number of servers 22 can be determined according to actual conditions.

[0112] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0113] Figure 3 This is a flow chart of the first embodiment of the human-machine verification method based on real machine challenge provided in the embodiment of the present application. Figure 3 As shown, the human-machine verification method based on real machine challenge can be implemented by the following steps:

[0114] S31. The server sends a real device challenge request to the electronic device according to the network request sent by the electronic device.

[0115] In this embodiment, the server and the electronic device can communicate and interact in a wired or wireless manner. When the electronic device needs to obtain data from the server, it can do so by sending a network request. Similarly, when the server needs to obtain data from the electronic device, it can also do so by sending a network request. It should be understood that the electronic device can be a terminal device actually used by the user, or it can be a device that executes an offline protocol brush.

[0116] In this step, after obtaining the network request sent by the electronic device, the server needs to send a real machine challenge request to the electronic device in order to verify whether the network request is initiated by a real user. The real machine challenge request is used to verify whether the electronic device is out of the real machine environment.

[0117] In one possible implementation, a relevant algorithm for executing a real machine challenge request is deployed in the application. If the electronic device is not out of the real machine environment, after obtaining the real machine challenge request sent by the server, the relevant algorithm can be called to generate an execution result. If the electronic device is out of the real machine environment, the application is not installed in the electronic device at this time, and the relevant algorithm cannot be called, and the execution result cannot be generated. In other words, the server can determine whether the electronic device is out of the real machine environment based on whether the terminal device can generate an execution result.

[0118] Furthermore, in order to more accurately determine whether the electronic device is out of the real device environment, the real device challenge request may include at least one of the following:

[0119] 1. Determine whether the target file path exists.

[0120] The target file path is the file path included in the target application corresponding to the network request.

[0121] For example, assume that SDK1 is integrated into application A, and file A created by SDK1 is path A. If the electronic device is in a real machine environment, file A must exist, and the path of file A must be path A. On the contrary, if it is not a real environment, file A will not exist, or file A exists but the path is not path A. Therefore, whether the electronic device is in a real machine environment can be determined by determining whether the target file path exists.

[0122] In this case, the real machine challenge request may be to determine whether path A exists, or to obtain the path of file A.

[0123] 2. Determine whether the target Java class exists.

[0124] The target Java class is a Java class included in the target application.

[0125] For example, assume that SDK2 is integrated in application A, and Java class 1 exists in SDK2. If the electronic device is a real machine environment, the Java runtime environment will definitely load Java class 1, that is, Java class 1 will definitely exist in the electronic device. On the contrary, if it is not a real environment, Java class 1 will not exist. Therefore, whether the electronic device is a real machine environment can be determined by determining whether Java class 1 exists.

[0126] In this case, the real machine challenge request may be to determine whether the Java class 1 exists.

[0127] 3. Call the target API.

[0128] The target API is used for the interaction between the target application and the corresponding first SDK.

[0129] For example, suppose that SDK3 is integrated into application A, and SDK3 has API1 for obtaining the name of SDK3. If the electronic device is a real machine environment, API1 must exist, and the call result generated by calling API1 must be the name of SDK3. On the contrary, if it is not a real environment, API1 will not exist, or API1 exists but the call result is not the name of SDK3. Therefore, it can be determined whether the electronic device is a real machine environment by calling API1.

[0130] In this case, the real device challenge request may be a call to API1.

[0131] 4. Perform target arithmetic operations.

[0132] The target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit (GPU).

[0133] For example, since the real network request is initiated by the user's real terminal device, the real machine challenge request may also be an arithmetic operation performed by a GPU of the terminal device.

[0134] 5. Execute the target virtual machine binary code.

[0135] The target virtual machine binary code is a virtual machine binary code that needs to be executed by the virtual machine in the second SDK corresponding to the target application.

[0136] For example, assume that SDK 3 is integrated in application A, and SDK 3 contains virtual machine 1. Since the target virtual machine binary code can only be executed through virtual machine 1, it can be determined whether the electronic device is out of the real machine environment according to the execution result.

[0137] It should be understood that the first SDK and the second SDK may be the same SDK or different SDKs. Similarly, SDK1, SDK2, and SDK3 in the above examples may be the same SDK or different SDKs.

[0138] The above real machine challenge request verifies whether the electronic device is out of the real machine environment from four dimensions from large to small: whether it is a real device, whether a real application is deployed, whether a real SDK is used, and whether a real virtual machine exists, thereby greatly improving the accuracy of verification.

[0139] In actual applications, due to the large number of users using the server, many network requests are initiated during use. If a real machine challenge is to be performed for each network request, a large amount of computing resources will be required, which will affect the processing of network requests initiated by normal users. Therefore, it is also possible to first determine whether the protocol version used by the network request is the target protocol version, and the target protocol version is the protocol version that has been cracked. If the protocol version used by the network request is the target protocol version, it means that the network request may have been initiated by an offline protocol brush, and a real machine challenge request is sent to the electronic device for human-machine verification; if the protocol version used by the network request is not the target protocol version, it means that there is currently no script tool that can crack the protocol version, and the network request is initiated by a real user, then the network request is processed.

[0140] Optionally, the target protocol version can be determined by relevant staff conducting an investigation into the actual situation, or it can be determined based on the release time of the protocol version, for example, a protocol version whose release time exceeds a preset time is determined as the target protocol version. It can also be determined based on whether the protocol version is the latest protocol version, for example, a protocol version that is not the latest is determined as the target protocol version.

[0141] It should be understood that the present application does not impose any specific restrictions on the method for determining the target protocol version, which can be determined based on actual conditions.

[0142] Optionally, the network request may be a query request, a data acquisition request, a data processing request, etc. The present application does not impose any specific restrictions on the type of network request, which may be determined based on actual conditions.

[0143] Correspondingly, the electronic device receives the real device challenge request sent by the server.

[0144] S32. The electronic device sends a network retry request to the server according to the network request and the real device challenge request.

[0145] In this step, if the electronic device is not out of the real machine environment, the real machine challenge request will be executed and a real machine challenge result will be generated. Furthermore, based on the network request and the real machine challenge result, a network retry request is sent to the server, and the network retry request carries the real machine challenge result. If the electronic device is out of the real machine environment, the real machine challenge request cannot be executed, or the real machine challenge request can be executed but the correct real machine challenge result cannot be obtained. Furthermore, the electronic device sends a network retry request to the server, and the network retry request does not carry the real machine challenge result, or carries an incorrect real machine challenge result.

[0146] The network retry request is used to request the server to re-execute the network request.

[0147] Based on the relevant content of S31, the results of the real machine challenge are explained.

[0148] 1. If the real machine challenge request is to determine whether the target file path exists, the real machine challenge result is "yes" or "no"; if the real machine challenge request is to determine the path of the target file, the real machine challenge result is the file path.

[0149] 2. If the real machine challenge request is to determine whether the target Java class exists, the real machine challenge result is "yes" or "no".

[0150] 3. If the real device challenge request is to call the target API, the real device challenge result is the call result.

[0151] 4. If the real machine challenge request is to perform a target arithmetic operation, the real machine challenge result is the operation result.

[0152] 5. If the real machine challenge request is to execute the target virtual machine binary code, the real machine challenge result is the execution result.

[0153] Correspondingly, the server receives the network retry request sent by the electronic device.

[0154] S33. If the network retry request carries a real machine challenge result, and the real machine challenge result is the target real machine challenge result, the server executes the network retry request.

[0155] In this step, after receiving the network retry request, the server can determine whether the human-machine verification has passed based on whether it carries the real machine challenge result and whether the real machine challenge result is the target real machine challenge result. When the network retry request carries the real machine challenge result and the real machine challenge result is the target real machine challenge result, it is determined that the human-machine verification has passed and the network retry request is executed; when the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, it is determined that the human-machine verification has not passed and the network retry request is not executed.

[0156] Among them, the target real machine challenge result is the target value that should be generated after the real machine challenge request is correctly executed.

[0157] In one possible implementation, executing the network retry request may be sending a token to the electronic device so that the target application corresponding to the network request can access the service or resource of the server through the token. The electronic device receives the token sent by the server and accesses the service or resource of the server through the token.

[0158] Optionally, if the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, the server can resend the real machine challenge request to the electronic device, and the electronic device receives the real machine challenge request sent again by the server. The server can also send a verification result to the electronic device, which is used to indicate that the electronic device has not passed the human-machine verification, and the electronic device receives the verification result sent by the server.

[0159] The human-machine verification method of the real machine challenge provided in the embodiment of the present application is that after receiving the network request sent by the electronic device, the server verifies whether the electronic device is out of the real machine environment by sending a real machine challenge request to the electronic device, and then executes the network retry request normally when verifying that the electronic device is not out of the real machine environment; when verifying that the electronic device is out of the real machine environment, the network request is not executed. In this technical solution, the user is unaware of the human-machine verification process, which will not cause disturbance to the user, and has high concealment, which effectively improves the user experience on the basis of cost saving. At the same time, since the network request initiated by the offline protocol brushing method must be out of the real machine environment, the human-machine verification can be performed by verifying whether the electronic device is out of the real machine environment, which can ensure the stability and accuracy of the verification, reduce the missed detection rate and data leakage risk, and effectively resist the offline protocol brushing attack.

[0160] Optionally, in actual applications, in order to further ensure the correctness of verification, the real machine challenge algorithm deployed in the application can also be updated, and then the specific content of the real machine challenge can be transformed to prevent exhaustive bypass.

[0161] Next, taking the scenario where a real user initiates a network request through a terminal device and the server performs human-machine verification on the terminal device as an example, the human-machine verification method of the real machine challenge is further explained.

[0162] Figure 4 This is a flow chart of the second embodiment of the human-machine verification method based on real machine challenge provided in the embodiment of the present application. Figure 4 As shown, the human-machine verification method based on real machine challenge can be implemented by the following steps:

[0163] S401. An APP installed in a terminal device sends a first network request to a network SDK.

[0164] Among them, the network SDK is a network request middleware that organizes and constructs protocol request parameters and provides a set of general network request libraries for terminal devices.

[0165] When the APP needs to communicate with the server, it will call the API provided by the network SDK for processing, such as building request parameters, processing user input, calling SDK methods, etc., and then generate the first network request and send it to the network SDK.

[0166] Correspondingly, the network SDK obtains the first network request sent by the APP.

[0167] S402: The network SDK in the terminal device sends a second network request to the server.

[0168] Among them, after receiving the first network request sent by the APP, the network SDK can directly determine the first network request as the second network request and forward it to the server. It can also perform some pre-processing on the first network request, such as adding authentication information, encrypting data, compressing data, etc., and then generate a second network request and send it to the server.

[0169] Correspondingly, the server receives the second network request sent by the network SDK.

[0170] S403: If the protocol version of the second network request is the target protocol version, the server sends a real device challenge request to the network SDK.

[0171] Correspondingly, the network SDK receives the real device challenge request sent by the server.

[0172] S404: The network SDK executes the real device challenge request and obtains the real device challenge result.

[0173] S405: The network SDK sends a network retry request to the server.

[0174] The network retry request carries the real machine challenge result.

[0175] Correspondingly, the server receives the network retry request sent by the network SDK.

[0176] S406: If the server determines that the real machine challenge result passes the human-machine verification, it returns a token and related data to the network SDK.

[0177] Optionally, if the server determines that the real machine challenge result does not pass the human-machine verification, it re-sends the real machine challenge request to the network SDK, or sends the verification result.

[0178] Correspondingly, the network SDK receives the token and related data sent by the server.

[0179] S407, the network SDK sends the token and related data to the APP.

[0180] Correspondingly, the APP receives the token and related data sent by the network SDK.

[0181] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0182] Figure 5 This is a structural diagram of a first embodiment of a human-machine verification device based on real machine challenge provided in an embodiment of the present application, such as Figure 5 As shown, a human-machine verification device 50 based on real machine challenge is applied to a server, and the human-machine verification device 50 based on real machine challenge includes:

[0183] The sending module 51 is used to send a real machine challenge request to the electronic device according to the network request sent by the electronic device, and the real machine challenge is used to verify whether the electronic device is out of the real machine environment.

[0184] The receiving module 52 is used to receive a network retry request sent by the electronic device, where the network retry request is used to request the server to re-execute the network request.

[0185] The execution module 53 is used to execute the network retry request if the network retry request carries the real machine challenge result and the real machine challenge result is the target real machine challenge result.

[0186] In a possible implementation, the real machine challenge includes at least one of the following:

[0187] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code.

[0188] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is the arithmetic operation that needs to be performed by the graphics processing unit, and the target virtual machine binary code is the virtual machine binary code that needs to be executed by the virtual machine in the second software development kit corresponding to the target application.

[0189] In a possible implementation, the sending module 51 is specifically configured to:

[0190] If the protocol version used by the network request is the target protocol version, a real device challenge request is sent to the electronic device, and the target protocol version is the currently deciphered protocol version.

[0191] In a possible implementation, the execution module 53 is specifically configured to:

[0192] A token is sent to the electronic device so that the target application corresponding to the network request can access the services or resources of the server through the token.

[0193] In a possible implementation, the sending module 51 is further configured to:

[0194] If the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, the real machine challenge request is resent to the electronic device.

[0195] The human-machine verification device based on real machine challenge provided in the embodiment of the present application can execute the technical solution shown in the above-mentioned server-side method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0196] Figure 6 This is a schematic diagram of the structure of Embodiment 2 of the human-machine verification device based on real machine challenge provided in the embodiment of the present application, as shown in FIG. Figure 6 As shown, a human-machine verification device 60 based on real machine challenge is applied to an electronic device, and the human-machine verification device 60 based on real machine challenge includes:

[0197] The receiving module 61 is used to receive a real machine challenge sent by the server after sending a network request to the server, and the real machine challenge is used to verify whether the electronic device is out of the real machine environment.

[0198] The sending module 62 is used to send a network retry request to the server according to the network request and the real machine challenge request, and the network retry request is used to request the server to re-execute the network request.

[0199] In a possible implementation, the sending module 62 is specifically configured to:

[0200] Execute the real machine challenge request and generate the real machine challenge result.

[0201] Send a network retry request to the server based on the network request and the real machine challenge result.

[0202] In a possible implementation, the real machine challenge includes at least one of the following:

[0203] Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code.

[0204] Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is the arithmetic operation that needs to be performed by the graphics processing unit, and the target virtual machine binary code is the virtual machine binary code that needs to be executed by the virtual machine in the second software development kit corresponding to the target application.

[0205] In a possible implementation, after sending the network retry request to the server, the receiving module 61 is further configured to:

[0206] Receive the real device challenge request sent by the server again.

[0207] or,

[0208] Receive the token sent by the server so that the target application corresponding to the network request can access the server's services or resources through the token.

[0209] The human-machine verification device based on real machine challenge provided in the embodiment of the present application can execute the technical solution shown in the method embodiment of the above-mentioned electronic device side. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0210] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, all or part of them can be integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements. They can also be implemented in the form of hardware. Some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0211] Figure 7 This is a schematic diagram of the structure of the server provided in the embodiment of the present application. Figure 7 As shown, the server 23 may include a processor 71, a memory 72, and a transceiver 73. Exemplarily, the processor 71, the memory 72, and the transceiver 73 are interconnected via a system bus 74.

[0212] The transceiver 73 is used to interact with the electronic device 80 .

[0213] Memory 72 stores computer executable instructions.

[0214] The processor 71 executes the computer execution instructions stored in the memory 72, so that the processor 71 executes the human-machine verification method based on real machine challenge as shown in the above-mentioned server-side method embodiment.

[0215] Optionally, the above-mentioned components of the server 23 may be connected via a system bus 74 .

[0216] The server provided in the embodiment of the present application can be used to execute the human-machine verification method based on real machine challenge as shown in the above-mentioned server-side method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0217] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 80 may include a processor 81, a memory 82, and a transceiver 83. Exemplarily, the processor 81, the memory 82, and the transceiver 83 are interconnected via a system bus 84.

[0218] The transceiver 83 is used to interact with the server 23 .

[0219] Memory 82 stores computer executable instructions.

[0220] The processor 81 executes the computer execution instructions stored in the memory 82, so that the processor 81 executes the human-machine verification method based on real machine challenge as shown in the method embodiment on the electronic device side.

[0221] Optionally, the above-mentioned components of the electronic device 80 may be connected via a system bus 84 .

[0222] The electronic device provided in the embodiment of the present application can be used to execute the human-machine verification method based on real machine challenge as shown in the method embodiment of the above-mentioned electronic device side. Its implementation principle and technical effects are similar and will not be repeated here.

[0223] It should be understood that Figure 2The terminal device 21 and the server 22 in the embodiment can both be the above-mentioned electronic device 80.

[0224] It should be understood that the processor may be a CPU, or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0225] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0226] Accordingly, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the human-machine verification method based on real machine challenge of the above method embodiment.

[0227] Accordingly, an embodiment of the present application may also provide a computer program product, including a computer program. When the computer program is executed by a processor, the human-machine verification method based on real machine challenge shown in the above method embodiment can be implemented.

[0228] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0229] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0230] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0231] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0232] In a typical configuration, a computing device (server or electronic device) includes one or more processors, input / output interfaces, network interfaces, and memory.

[0233] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0234] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), SRAM, dynamic random access memory (DRAM), other types of RAM, read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0235] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0236] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A human-machine verification method based on real machine challenge, characterized in that: Applied to a server, the method comprises: Sending a real machine challenge request to the electronic device according to a network request sent by the electronic device, wherein the real machine challenge request is used to verify whether the electronic device is out of a real machine environment; receiving a network retry request sent by the electronic device, wherein the network retry request is used to request the server to re-execute the network request; If the network retry request carries a real machine challenge result, and the real machine challenge result is the target real machine challenge result, the network retry request is executed.

2. The method according to claim 1, characterized in that: The real machine challenge request includes at least one of the following: Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code; Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

3. The method according to claim 1 or 2, characterized in that: The sending a real device challenge request to the electronic device according to the network request sent by the electronic device includes: If the protocol version used by the network request is the target protocol version, a real device challenge request is sent to the electronic device, and the target protocol version is the currently deciphered protocol version.

4. The method according to claim 1 or 2, characterized in that: The executing the network retry request comprises: A token is sent to the electronic device so that a target application corresponding to the network request can access services or resources of the server through the token.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: If the network retry request does not carry the real machine challenge result, or the network retry request carries the real machine challenge result but the real machine challenge result is not the target real machine challenge result, the real machine challenge request is resent to the electronic device.

6. A human-machine verification method based on real machine challenge, characterized in that: Applied to electronic equipment, the method comprises: After sending a network request to a server, receiving a real machine challenge request sent by the server, wherein the real machine challenge request is used to verify whether the electronic device is out of a real machine environment; According to the network request and the real machine challenge request, a network retry request is sent to the server, where the network retry request is used to request the server to re-execute the network request.

7. The method according to claim 6, characterized in that The sending a network retry request to the server according to the network request and the real machine challenge request includes: Execute the real machine challenge request and generate a real machine challenge result; Send the network retry request to the server according to the network request and the real machine challenge result.

8. The method according to claim 6 or 7, characterized in that: The real machine challenge request includes at least one of the following: Determine whether the target file path exists, determine whether the target Java class exists, call the target application programming interface, perform target arithmetic operations, and execute the target virtual machine binary code; Among them, the target file path is the file path included in the target application corresponding to the network request, the target Java class is the Java class included in the target application, the target application programming interface is used for the interaction between the target application and the corresponding first software development kit, the target arithmetic operation is an arithmetic operation that needs to be performed by a graphics processing unit, and the target virtual machine binary code is a virtual machine binary code that needs to be executed by a virtual machine in a second software development kit corresponding to the target application.

9. The method according to claim 6 or 7, characterized in that: After sending the network retry request to the server, the method further includes: Receiving the real machine challenge request sent again by the server; or, A token sent by the server is received so that a target application corresponding to the network request can access services or resources of the server through the token.

10. A human-machine verification device based on real machine challenge, characterized in that: Applied to a server, the device comprises: A sending module, used for sending a real machine challenge request to the electronic device according to a network request sent by the electronic device, wherein the real machine challenge request is used to verify whether the electronic device is out of the real machine environment; A receiving module, used for receiving a network retry request sent by the electronic device, wherein the network retry request is used for requesting the server to re-execute the network request; An execution module is used to execute the network retry request if the network retry request carries a real machine challenge result and the real machine challenge result is a target real machine challenge result.

11. A human-machine verification device based on real machine challenge, characterized in that: Applied to electronic equipment, the device comprises: A receiving module, configured to receive a real machine challenge request sent by the server after sending a network request to the server, wherein the real machine challenge request is used to verify whether the electronic device is out of the real machine environment; A sending module is used to send a network retry request to the server according to the network request and the real machine challenge request, wherein the network retry request is used to request the server to re-execute the network request.

12. A server, characterized in that: include: memories, transceivers, and processors; The transceiver is used to interact with an electronic device; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the human-machine verification method based on real machine challenge as described in any one of claims 1 to 5.

13. An electronic device, characterized in that: include: memories, transceivers, and processors; The transceiver is used to interact with the server; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the human-machine verification method based on real machine challenge as described in any one of claims 6 to 9.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the human-machine verification method based on real machine challenge as described in any one of claims 1 to 9.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the human-machine verification method based on real machine challenge as described in any one of claims 1 to 9.