Method, device, electronic device and readable storage medium for issuing target rewards
By detecting the persistence status of continuous touch screen information and identifying non-automated operations, it solves the problem of inaccurate identification of automated operations, improves identification accuracy and fairness of rewards, and ensures the authenticity of terminal operations.
Patent Information
- Application Number
- CN202210331331.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-03-30
AI Technical Summary
The inaccurate identification of automated operations in the existing technology results in the inability to effectively distinguish between real users and illegal automated operations, affecting the fairness and accuracy of rewards.
By detecting a preset number of consecutive touch screen information, the recognition result is determined. If the touch screen operation is not caused by automated operation, the target reward will be issued within the preset period before the reward acquisition request, using information such as pressing area, position, timestamp, etc. Continuous status determination improves recognition accuracy.
It improves the accuracy of automated operation identification, avoids the limitations of accessibility services and blacklisted App identification, enhances the detection capabilities of illegal operations, and ensures the fairness and accuracy of rewards.
Smart Images

Figure CN114820033B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data, and in particular to a method, device, electronic device and readable storage medium for issuing target rewards. Background Art
[0002] With the development of the Internet, users can get virtual coins and other rewards when watching videos or reading e-books. However, in order to get rewards conveniently, some users use automated operations to simulate real touch screen operations, so that the terminal can be controlled to automatically generate touch screen behaviors without manual operation by the user.
[0003] Currently, there are two types of automated operations: one is barrier-free service and the other is blacklist app identification. Barrier-free service is an automated operation tool provided by the mobile phone system for people with disabilities. The blacklist contains a number of software names that can realize automated operations. The terminal determines whether the terminal has installed apps that can perform automated operations based on these software names.
[0004] Regardless of whether the above-mentioned barrier-free service or blacklist App identification is used, the terminal will perform detection immediately after the application software is opened, with the aim of obtaining the result of whether automated operation is adopted in a short period of time. Too short detection time will lead to inaccurate identification results.
[0005] There is no good solution to the problem of inaccurate identification in current automated operations. Summary of the invention
[0006] In order to solve or at least partially solve the problem of inaccurate identification of automated operations mentioned above, the present application provides a method, device, electronic device and readable storage medium for issuing target rewards.
[0007] In a first aspect, the present application provides a method for issuing a target reward, which is applied to a target terminal, and the method comprises:
[0008] Determining touch screen information according to the detected touch screen operation;
[0009] Determine a recognition result according to a preset number of consecutive touch screen information, wherein the recognition result is used to indicate whether the touch screen operation is generated by an automated operation;
[0010] According to the reward acquisition request triggered by the client, the target reward is issued through the target recognition result within a preset time period, wherein the preset time period is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation.
[0011] Optionally, the touch screen information includes at least one of a pressed area, a pressed position, a pressed timestamp, and a lifted timestamp.
[0012] Optionally, determining the recognition result according to a preset number of consecutive touch screen information includes:
[0013] Determining a pressing area of a preset number of consecutive touch screen operations;
[0014] When the values of the preset number of pressed areas are all preset values, determining a target model of the target terminal;
[0015] Acquire a sample pressing area of a sample terminal corresponding to the target model from a database, wherein the sample pressing area is generated according to an operation of a real user;
[0016] When the pressing areas of a preset number of consecutive samples are not completely the same, it is determined that the touch screen operation is generated by an automatic operation.
[0017] Optionally, determining the recognition result according to a preset number of consecutive touch screen information includes:
[0018] Obtaining a preset number of consecutive touch screen operation pressing positions;
[0019] When the preset number of pressing positions are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0020] When the preset number of pressing positions are the same, it is determined that the touch screen operation is generated by an automated operation.
[0021] Optionally, determining the recognition result according to a preset number of consecutive touch screen information includes:
[0022] Get the pressing timestamps of a preset number of consecutive touch screen operations;
[0023] Determine a pressing time interval between adjacent pressing timestamps;
[0024] When the pressing time intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0025] When the pressing time intervals of the preset number of touch-screen operations are the same, it is determined that the touch-screen operation is generated by an automated operation.
[0026] Optionally, determining the recognition result according to a preset number of consecutive touch screen information includes:
[0027] Get the pressing timestamps and lifting timestamps of a preset number of consecutive touch screen operations;
[0028] Determining a timestamp interval between the press timestamp and the lift timestamp;
[0029] When the time stamp intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0030] When the time stamp intervals of the preset number of touch screen operations are the same, it is determined that the touch screen operation is generated by an automated operation.
[0031] Optionally, the issuing of a target reward according to a target recognition result within a preset period of time according to a reward acquisition request triggered by the client includes:
[0032] Upon detecting a reward acquisition request triggered by the client, sending the reward acquisition request to the corresponding first server, so that the first server sends the target recognition result within a preset time period to the second server corresponding to the client according to the triggering moment of the reward acquisition request;
[0033] When the second server determines that the target recognition result indicates that the touch screen operation is not generated by an automated operation, the target reward is issued through the second server.
[0034] In a second aspect, a method for issuing a target reward is provided, which is applied to a first server, and the method includes:
[0035] Receiving a reward acquisition request sent by a target terminal, wherein the reward acquisition request carries a triggering time of the reward;
[0036] Acquire a target recognition result within a preset period before the triggering moment from a database, wherein the database stores a plurality of recognition results sent by the target terminal, and the target recognition result is obtained based on a preset number of continuous touch screen information;
[0037] The target recognition result is sent to a second server, so that the second server sends a target reward to the target terminal when it determines that the touch screen operation is not generated by an automated operation based on the target recognition result, wherein the second server is a server corresponding to the client in the target terminal.
[0038] In a third aspect, a method for issuing a target reward is provided, which is applied to a second server, and the method includes:
[0039] Receiving a target recognition result sent by a first server, wherein the first server is a server corresponding to the target terminal, the target recognition result is obtained based on a preset number of continuous touch screen information, and the preset time period where the target recognition result is located is before the triggering moment of the reward acquisition request of the target terminal;
[0040] In a case where it is determined that the target recognition result indicates that the touch screen operation in the target terminal is not generated by an automated operation, a target reward is sent to the target terminal.
[0041] In a fourth aspect, a device for issuing a target reward is provided, which is applied to a target terminal, and the device includes:
[0042] A first determining module, used to determine touch screen information according to the detected touch screen operation;
[0043] A second determination module, configured to determine a recognition result according to a preset number of consecutive touch screen information, wherein the recognition result is used to indicate whether the touch screen operation is generated by an automated operation;
[0044] The issuing module is used to issue a target reward according to a reward acquisition request triggered by a client through a target recognition result within a preset time period, wherein the preset time period is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation.
[0045] In a fifth aspect, a device for issuing a target reward is provided, which is applied to a first server, and the device includes:
[0046] A receiving module, configured to receive a reward acquisition request sent by a target terminal, wherein the reward acquisition request carries a triggering time of the reward;
[0047] an acquisition module, configured to acquire from a database a target recognition result within a preset period before the triggering moment, wherein the database stores a plurality of recognition results sent by the target terminal, and the target recognition result is obtained based on a preset number of continuous touch screen information;
[0048] A sending module is used to send the target recognition result to a second server, so that the second server sends a target reward to the target terminal when it determines that the touch screen operation is not generated by an automated operation based on the target recognition result, wherein the second server is a server corresponding to the client in the target terminal.
[0049] In a sixth aspect, a device for issuing a target reward is provided, which is applied to a second server, and the device includes:
[0050] A receiving module, configured to receive a target recognition result sent by a first server, wherein the first server is a server corresponding to a target terminal, the target recognition result is obtained based on a preset number of continuous touch screen information, and the preset time period where the target recognition result is located is before the triggering moment of the reward acquisition request of the target terminal;
[0051] The sending module is used to send a target reward to the target terminal when it is determined that the target recognition result indicates that the touch screen operation in the target terminal is not generated by an automated operation.
[0052] In a seventh aspect, an electronic device is provided, characterized in that it includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0053] Memory, used to store computer programs;
[0054] The processor is used to implement any of the method steps described above when executing a program stored in the memory.
[0055] In an eighth aspect, a computer-readable storage medium is provided, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the method steps described is implemented.
[0056] In the present application, the terminal determines the recognition result in real time based on a preset number of continuous touch screen information. If a reward acquisition request is detected, the target recognition result before the triggering moment of the reward acquisition request is obtained. If the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation, the target reward is issued.
[0057] The recognition result is determined based on a continuous preset number of touch screen information, that is, the recognition result is obtained through touch screen information within a period of time. Compared with the prior art in which the recognition result is determined instantly after the client is started, the present application uses continuous state judgment automation operation and no longer relies on the state of a moment as the only basis, thereby improving the accuracy of the recognition result. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0060] Figure 1 A schematic diagram of the hardware environment of a method for issuing target rewards provided in an embodiment of the present application;
[0061] Figure 2 A flowchart of a method for issuing target rewards provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of the structure of a device for issuing target rewards provided in an embodiment of the present application;
[0063] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 this field without making creative work are within the scope of protection of this application.
[0065] An embodiment of the present application provides a method for issuing a target reward, which can be applied to a terminal to issue a target reward when the terminal does not adopt an automated operation.
[0066] In the embodiment of the present application, the above method for issuing target rewards can be applied to: Figure 1 In the hardware environment shown in FIG. 1 , a terminal 101, a first server 103 and a second server 105 are formed. Figure 1 As shown, the first server 103 is connected to the terminal 101 through a network, and a database can be set on the first server 103 or independently of the first server to provide data storage services for the terminal 101. The second server 105 is connected to the terminal 101 and can be used to provide services for the client installed on the terminal. Data can also be transmitted between the first server 103 and the second server 105. The terminal 101 includes but is not limited to a PC, a mobile phone, a tablet computer, etc.
[0067] The following will be combined with a specific implementation method to provide a method for issuing target rewards provided by an embodiment of the present application in detail. Figure 2 As shown, the specific steps are as follows:
[0068] Step 201: Determine touch screen information according to the detected touch screen operation.
[0069] In an embodiment of the present application, the client can send corresponding rewards based on the user's usage (such as the number of short videos watched, the length of time spent on electronic content). In order to ensure that the touch screen operation of the terminal is a real user operation rather than an automated operation, the terminal needs to determine whether the touch screen operation is generated by an automated operation based on the touch screen information.
[0070] The terminal detects the touch screen operation in real time, and then determines the touch screen information according to the touch screen operation, wherein the touch screen information includes but is not limited to at least one of the pressing area, pressing position, pressing timestamp and lifting timestamp of the touch screen operation.
[0071] Step 202: Determine a recognition result based on a preset number of consecutive touch screen information.
[0072] The recognition result is used to indicate whether the touch screen operation is generated by an automated operation.
[0073] In the embodiment of the present application, the terminal obtains a preset number of continuous touch screen operations, and determines the recognition result according to the touch screen information of the preset number of touch screen operations, thereby determining whether the touch screen operation is generated by an automated operation. If the touch screen operation is generated by an automated operation, no reward will be issued, and if the touch screen operation is not generated by an automated operation, a reward will be issued.
[0074] Among them, the terminal can determine the recognition result based on a preset number of touch screen information of one category, or after obtaining the recognition result based on one category of touch screen information, continue to use other categories of touch screen information to obtain the recognition result. The recognition results are consistent and the result is considered valid. This can improve the accuracy of the final recognition result.
[0075] Before the terminal determines the recognition result based on the touch screen information, it is also necessary to delete redundant and invalid touch screen information, which can improve the accuracy of the touch screen information and thus improve the accuracy of the recognition of the automated operation.
[0076] Step 203: According to the reward acquisition request triggered by the client, the target reward is issued according to the target recognition result within a preset time period.
[0077] The preset time period is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation.
[0078] In the embodiment of the present application, during the use of the client, if the client meets the conditions for issuing a reward, a reward acquisition request will be triggered. The reward acquisition request has a corresponding triggering time, and the preset period is before the triggering time. The terminal determines whether a reward needs to be issued based on the target recognition result within the preset period.
[0079] Among them, the database contains recognition results of multiple time periods, and the preset time period can be the nth to last time period before the trigger moment, where n is a positive integer. The embodiment of the present application sets the preset time period to the first to last time period before the trigger moment, so that the time difference between the trigger moment and the preset time period can be shortened, so that the probability of using the same trigger operation at the trigger moment and the preset time period is higher, thereby improving the accuracy of the target recognition result.
[0080] If the target recognition result indicates that the touch screen operation is generated by an automated operation, the terminal will not issue a reward. If the target recognition result indicates that the touch screen operation is not generated by an automated operation, the terminal will issue a reward.
[0081] In the present application, the recognition result is determined based on a continuous preset number of touch screen information, that is, the recognition result is obtained through touch screen information within a period of time. Compared with the prior art in which the recognition result is determined instantly after the client is started, the present application uses continuous state judgment automation operation and no longer relies on the state of a moment as the only basis, thereby improving the accuracy of the recognition result.
[0082] In addition, the barrier-free service was originally intended to provide convenience for people with disabilities, but some illegal users used the barrier-free service to simulate real touch screens to illegally obtain rewards. The terminal cannot detect whether the barrier-free service is for people with disabilities or for illegally obtaining rewards. This application does not need to use the barrier-free service, thus avoiding the problem of not being able to determine the true purpose of the automated operation.
[0083] There are a large number of apps on the market, and the blacklist cannot cover all apps with automated operations. Moreover, installing a blacklist app does not mean that the terminal is using the app, which leads to low accuracy in identifying illegal rewards using blacklist apps. Compared with using app names, this application does not require comparison with blacklists, which improves the accuracy of identifying illegal rewards.
[0084] As an optional implementation, determining the recognition result based on a continuous preset number of touch screen information includes: determining the pressing areas of a continuous preset number of touch screen operations; when the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining the sample pressing areas of the sample terminals corresponding to the target model from the database; when the continuous preset number of sample pressing areas are not exactly the same, determining that the touch screen operation is generated by an automated operation.
[0085] In the embodiment of the present application, the touch screen information is the pressing area. The terminal determines the pressing area of a preset number of consecutive touch screen operations, and then determines whether the values of the preset number of pressing areas are all preset values. If not, it means that the pressing area has changed, and the touch screen operation is not generated by an automated operation; if so, it means that the pressing area of the preset value is most likely generated by an automated operation, but there is a small probability that it may be due to the terminal model, so it needs to be further determined.
[0086] The database stores multiple touch screen information of sample terminals of different models. The terminal determines the target model of the target terminal, and then obtains multiple sample pressing areas of the sample terminals of the target model from the database according to the target model. The sample pressing areas are generated by the operations of real users, wherein each sample pressing area is obtained by a continuous preset number of touch screen operations.
[0087] The terminal determines whether the preset number of sample pressing areas are the same. If the preset number of sample pressing areas are not exactly the same, it means that real users can produce different sample pressing areas using this model of terminal. This type of terminal supports the calculation of the pressing area, and the pressing area of the target terminal is the same, which is the preset value. This indicates that the touch screen operation of the target terminal is generated by automated operation.
[0088] If the preset number of sample pressing areas are the same, it means that even if a real user uses the terminal of this model, the sample pressing areas generated are the same. The terminal of this type does not support the calculation of the pressing area, and any pressing area returns a fixed value. In this case, the terminal of this type can use other touch screen information (non-pressing area) to obtain the recognition result.
[0089] In this application, the preset value is 1. If the pressing area of the target terminal is 1, it means that the target terminal is most likely to use automated operation. In order to further improve the accuracy of confirmation, it is necessary to continue to determine whether the pressing areas of multiple samples of other terminals of the same model in the database are the same. If they are the same, it means that the terminal of this model is not suitable for the calculation of the pressing area, and other touch screen information is used to re-obtain the recognition result; if they are not the same, it means that this type of terminal is suitable for the calculation of the pressing area. Since its pressing area is always 1, the terminal uses automated operation.
[0090] As an optional implementation, determining the recognition result based on a continuous preset number of touch screen information includes: obtaining a continuous preset number of pressing positions of touch screen operations; when the preset number of pressing positions are not exactly the same, determining that the touch screen operation is not generated by an automated operation; when the preset number of pressing positions are the same, determining that the touch screen operation is generated by an automated operation.
[0091] In the embodiment of the present application, the touch screen information is the pressing position. The terminal obtains the pressing positions of a preset number of consecutive touch screen operations, and then determines whether the preset number of pressing positions are the same. If the terminal determines that the pressing positions are not exactly the same, it indicates that it is a real user operation. The user's real touch screen operation cannot click the same position for multiple consecutive times, so the touch screen operation is not generated by an automated operation; if the terminal determines that the pressing positions are the same, it indicates that the touch screen operation is generated by an automated operation.
[0092] For example, the first pressing position is (x: 120.0365, y: 45.0155), the second pressing position is also (x: 120.0365, y: 45.0155), and the subsequent pressing positions are all (x: 120.0365, y: 45.0155), so it can be determined that it is an automated operation.
[0093] As an optional implementation, determining the recognition result based on a preset number of consecutive touch screen information includes: obtaining a preset number of consecutive touch screen operations' press timestamps; determining the press time interval between adjacent press timestamps; when the press time intervals of a preset number of touch screen operations are not exactly the same, determining that the touch screen operation is not generated by an automated operation; when the press time intervals of a preset number of touch screen operations are the same, determining that the touch screen operation is generated by an automated operation.
[0094] In the embodiment of the present application, the touch screen information is a press timestamp. The terminal obtains the press timestamps of a preset number of consecutive touch screen operations, and then determines the press time intervals between adjacent press timestamps to determine whether the press time intervals of the preset number of touch screen operations are the same. If the terminal determines that the press time intervals of the preset number of touch screen operations are not exactly the same, it indicates that it is a real user operation. The user's real touch screen operation cannot achieve the same press time interval between multiple consecutive presses, then it is determined that the touch screen operation is not generated by an automated operation; if the terminal determines that the press time intervals of the preset number of touch screen operations are the same, then it indicates that the touch screen operation is generated by an automated operation.
[0095] For example, the timestamp accuracy is to milliseconds. The first press timestamp is 18:10:17:365 on March 3, 2022, the second press timestamp is 18:10:19:365 on March 3, 2022, and the third press timestamp is 18:10:21:365 on March 3, 2022. The intervals are all 2 seconds, so it can be determined to be an automated operation.
[0096] As an optional implementation, determining the recognition result based on a preset number of consecutive touch screen information includes: obtaining lift-up timestamps of a preset number of consecutive touch screen operations; determining the lift-up time intervals between adjacent lift-up timestamps; when the lift-up time intervals of a preset number of touch screen operations are not exactly the same, determining that the touch screen operation is not generated by an automated operation; when the lift-up time intervals of a preset number of touch screen operations are the same, determining that the touch screen operation is generated by an automated operation.
[0097] As an optional implementation, determining the recognition result based on a preset number of consecutive touch screen information includes: obtaining a press timestamp and a lift timestamp of a preset number of consecutive touch screen operations; determining the timestamp interval between the press timestamp and the lift timestamp; when the timestamp intervals of the preset number of touch screen operations are not exactly the same, determining that the touch screen operation is not generated by an automated operation; when the timestamp intervals of the preset number of touch screen operations are the same, determining that the touch screen operation is generated by an automated operation.
[0098] In the embodiment of the present application, the touch screen information is a press timestamp and a lift timestamp. The terminal obtains the press timestamp and lift timestamp of a preset number of consecutive touch screen operations, determines the timestamp interval between the press timestamp and the lift timestamp, and then determines whether the timestamp intervals of the preset number of touch screen operations are the same. If the timestamp intervals of the preset number of touch screen operations are not exactly the same, it indicates that it is a real user operation. The user's real touch screen operation cannot achieve the same time interval between multiple consecutive presses and lifts, and it is determined that the touch screen operation is generated by an automated operation; if the timestamp intervals of the preset number of touch screen operations are the same, it is determined that the touch screen operation is generated by an automated operation.
[0099] For example, the first pressing time is 18:10:17:365 on March 3, 2022, the lifting time is 18:10:18:365 on March 3, 2022, and the operation takes 1 second. If the subsequent operations take 1 second, it is determined to be an automated operation.
[0100] Among them, the present application can determine the recognition result by using one kind of touch screen information, and then use other touch screen information to re-determine the recognition result, which can improve the accuracy of the recognition result.
[0101] As an optional implementation, according to the reward acquisition request triggered by the client, issuing the target reward through the target recognition result within a preset time period includes two embodiments.
[0102] In the first embodiment, the terminal can store multiple recognition results locally. When the terminal detects a reward acquisition request, it acquires the target recognition result of a preset period of time from the local, and sends the target reward through the second server if the target recognition result indicates that the touch screen operation is not generated by an automated operation.
[0103] In the second embodiment, when the client meets the reward issuance conditions, a reward acquisition request will be generated at the trigger time. After the terminal detects the reward request, it will send the reward acquisition request carrying the trigger time to the first server, and the first server corresponds to the client. The first client obtains the target recognition result of the preset time period before the trigger time from the database according to the trigger time carried in the reward acquisition request, and then sends the target recognition result to the second server corresponding to the client. If the second server determines that the touch screen operation is not generated by an automated operation based on the target recognition result, it will send the corresponding target reward to the target terminal; if it determines that the touch screen operation is generated by an automated operation, it will send feedback information to the target terminal, and the feedback information indicates that the target terminal does not meet the specifications and cannot receive the reward.
[0104] Compared with the first embodiment, the second embodiment stores the recognition result in the first server, so that even if the target terminal loses the recognition result due to flashing or other operations, the recognition result of each time period can be obtained from the first service, and the recognition result can be applied to multiple services. The second embodiment adds the function of data transmission between the first server and the second server, so that the first server can directly send the target recognition result to the second server.
[0105] Based on the same technical concept, the embodiment of the present application also provides a device for issuing target rewards, such as Figure 3 As shown, the device comprises:
[0106] A first determining module 301, configured to determine touch screen information according to a detected touch screen operation;
[0107] A second determination module 302 is used to determine a recognition result according to a preset number of consecutive touch screen information, wherein the recognition result is used to indicate whether the touch screen operation is generated by an automated operation;
[0108] The issuing module 303 is used to issue the target reward according to the reward acquisition request triggered by the client through the target recognition result within a preset time period, wherein the preset time period is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation.
[0109] Optionally, the touch screen information includes at least one of a pressed area, a pressed position, a pressed timestamp, and a lifted timestamp.
[0110] Optionally, the second determining module 302 is used to:
[0111] Determining a pressing area of a preset number of consecutive touch screen operations;
[0112] When the values of the preset number of pressed areas are all preset values, determining the target model of the target terminal;
[0113] Acquire a preset number of consecutive sample pressing areas of touch screen operations of a sample terminal corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users;
[0114] When the pressed areas of the preset number of samples are not completely the same, it is determined that the touch screen operation is generated by an automated operation.
[0115] Optionally, the second determining module 302 is used to:
[0116] Obtaining a preset number of consecutive touch screen operation pressing positions;
[0117] When the preset number of pressing positions are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0118] When a preset number of pressing positions are the same, it is determined that the touch screen operation is generated by an automated operation.
[0119] Optionally, the second determining module 302 is used to:
[0120] Get the pressing timestamps of a preset number of consecutive touch screen operations;
[0121] Determine a pressing time interval between adjacent pressing timestamps;
[0122] When the pressing time intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0123] When the pressing time intervals of a preset number of touch-screen operations are the same, it is determined that the touch-screen operation is generated by an automated operation.
[0124] Optionally, the second determining module 302 is used to:
[0125] Get the pressing timestamps and lifting timestamps of a preset number of consecutive touch screen operations;
[0126] Determine the timestamp interval between the press timestamp and the lift timestamp;
[0127] When the time stamp intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation;
[0128] When the time stamp intervals of a preset number of touch screen operations are the same, it is determined that the touch screen operation is generated by an automated operation.
[0129] Optionally, the issuing module 303 is used to:
[0130] Upon detecting a reward acquisition request triggered by a client, sending the reward acquisition request to the corresponding first server, so that the first server sends the target recognition result within a preset time period to the second server corresponding to the client according to the triggering moment of the reward acquisition request;
[0131] When the second server determines that the target recognition result indicates that the touch screen operation is not generated by an automated operation, the target reward is issued through the second server.
[0132] The present application also provides a device for issuing a target reward, which is applied to a first server, and the device includes:
[0133] A receiving module, used to receive a reward acquisition request sent by a target terminal, wherein the reward acquisition request carries a triggering time of the reward;
[0134] An acquisition module, used to acquire a target recognition result within a preset period before the triggering moment from a database, wherein the database stores a plurality of recognition results sent by the target terminal, and the target recognition result is obtained based on a preset number of continuous touch screen information;
[0135] The sending module is used to send the target recognition result to the second server, so that the second server sends the target reward to the target terminal when it determines that the touch screen operation is not generated by the automated operation based on the target recognition result, wherein the second server is a server corresponding to the client in the target terminal.
[0136] The present application also provides a device for issuing a target reward, which is applied to a second server, and the device includes:
[0137] A receiving module, configured to receive a target recognition result sent by a first server, wherein the first server is a server corresponding to a target terminal, the target recognition result is obtained based on a preset number of continuous touch screen information, and the preset time period where the target recognition result is located is before the triggering moment of the reward acquisition request of the target terminal;
[0138] The sending module is used to send the target reward to the target terminal when it is determined that the target recognition result indicates that the touch screen operation in the target terminal is not generated by an automated operation.
[0139] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Figure 4 As shown, it includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404.
[0140] Memory 403, used for storing computer programs;
[0141] The processor 401 is used to implement the above steps when executing the program stored in the memory 403.
[0142] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can 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.
[0143] The communication interface is used for communication between the above electronic device and other devices.
[0144] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0145] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0146] In another embodiment of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program implements the steps of any of the above methods when executed by a processor.
[0147] In another embodiment of the present invention, a computer program product including instructions is provided, which enables the computer to execute any one of the methods in the above embodiments when the computer program product is executed on the computer.
[0148] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)) and the like.
[0149] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0150] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for issuing a target reward, characterized in that: Applied to a target terminal, the method comprises: Determining touch screen information according to the detected touch screen operation; Determine a recognition result according to a preset number of consecutive touch screen information, wherein the recognition result is used to indicate whether the touch screen operation is generated by an automated operation; According to the reward acquisition request triggered by the client, the target reward is issued through the target recognition result within a preset time period, wherein the preset time period is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation; The step of determining the recognition result according to a preset number of continuous touch screen information includes: Determining a pressing area of a preset number of consecutive touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
2. The method according to claim 1, characterized in that The touch screen information includes at least one of a pressed area, a pressed position, a pressed timestamp, and a lifted timestamp.
3. The method according to claim 2, characterized in that Determining the recognition result according to a preset number of continuous touch screen information includes: Obtaining a preset number of consecutive touch screen operation pressing positions; When the preset number of pressing positions are not completely the same, determining that the touch screen operation is not generated by an automated operation; When the preset number of pressing positions are the same, it is determined that the touch screen operation is generated by an automated operation.
4. The method according to claim 2, characterized in that: Determining the recognition result according to a preset number of continuous touch screen information includes: Get the pressing timestamps of a preset number of consecutive touch screen operations; Determine a pressing time interval between adjacent pressing timestamps; When the pressing time intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation; When the pressing time intervals of the preset number of touch-screen operations are the same, it is determined that the touch-screen operation is generated by an automated operation.
5. The method according to claim 2, characterized in that: Determining the recognition result according to a preset number of continuous touch screen information includes: Get the pressing timestamps and lifting timestamps of a preset number of consecutive touch screen operations; Determining a timestamp interval between the press timestamp and the lift timestamp; When the time stamp intervals of the preset number of touch screen operations are not completely the same, determining that the touch screen operation is not generated by an automated operation; When the time stamp intervals of the preset number of touch screen operations are the same, it is determined that the touch screen operation is generated by an automated operation.
6. The method according to claim 1, characterized in that The method of issuing a target reward according to a target recognition result within a preset period of time according to a reward acquisition request triggered by a client includes: Upon detecting a reward acquisition request triggered by the client, sending the reward acquisition request to the corresponding first server, so that the first server sends the target recognition result within a preset time period to the second server corresponding to the client according to the triggering moment of the reward acquisition request; When the second server determines that the target recognition result indicates that the touch screen operation is not generated by an automated operation, the target reward is issued through the second server.
7. A method for issuing a target reward, characterized in that: Applied to a first server, the method comprises: Receiving a reward acquisition request sent by a target terminal, wherein the reward acquisition request carries a triggering time of the reward; Acquire a target recognition result within a preset period before the triggering moment from a database, wherein the database stores a plurality of recognition results sent by the target terminal, and the target recognition result is obtained based on a preset number of continuous touch screen information; Sending the target recognition result to a second server, so that the second server sends a target reward to the target terminal when determining that the touch screen operation is not generated by an automated operation according to the target recognition result, wherein the second server is a server corresponding to a client in the target terminal; The target recognition result is determined as follows: The target terminal determines a preset number of pressing areas of continuous touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
8. A method for issuing a target reward, characterized in that: Applied to the second server, the method comprises: Receiving a target recognition result sent by a first server, wherein the first server is a server corresponding to the target terminal, the target recognition result is obtained based on a preset number of continuous touch screen information, and the preset time period where the target recognition result is located is before the triggering moment of the reward acquisition request of the target terminal; In a case where it is determined that the target recognition result indicates that the touch screen operation in the target terminal is not generated by an automated operation, sending a target reward to the target terminal; The target recognition result is determined as follows: The target terminal determines a preset number of pressing areas of continuous touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
9. A device for issuing target rewards, characterized in that: Applied to a target terminal, the device comprises: A first determining module, used to determine touch screen information according to the detected touch screen operation; A second determination module, configured to determine a recognition result according to a preset number of consecutive touch screen information, wherein the recognition result is used to indicate whether the touch screen operation is generated by an automated operation; A distribution module, used for distributing a target reward according to a reward acquisition request triggered by a client through a target recognition result within a preset period of time, wherein the preset period of time is before the triggering moment of the reward acquisition request, and the target recognition result is used to indicate that the touch screen operation is not generated by an automated operation; Wherein, the second determining module is used for: Determining a pressing area of a preset number of consecutive touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
10. A device for issuing target rewards, characterized in that: Applied to a first server, the device comprises: A receiving module, used to receive a reward acquisition request sent by a target terminal, wherein the reward acquisition request carries a triggering time of the reward; an acquisition module, configured to acquire from a database a target recognition result within a preset period before the triggering moment, wherein the database stores a plurality of recognition results sent by the target terminal, and the target recognition result is obtained based on a preset number of continuous touch screen information; a sending module, configured to send the target recognition result to a second server, so that the second server sends a target reward to the target terminal when it is determined that the touch screen operation is not generated by an automated operation according to the target recognition result, wherein the second server is a server corresponding to a client in the target terminal; Wherein, the device is also used for: The target terminal determines a preset number of pressing areas of continuous touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
11. A device for issuing target rewards, characterized in that: Applied to the second server, the device comprises: A receiving module, configured to receive a target recognition result sent by a first server, wherein the first server is a server corresponding to a target terminal, the target recognition result is obtained based on a preset number of continuous touch screen information, and the preset time period where the target recognition result is located is before the triggering moment of the reward acquisition request of the target terminal; A sending module, configured to send a target reward to the target terminal if it is determined that the target recognition result indicates that the touch screen operation in the target terminal is not generated by an automated operation; Wherein, the device is also used for: The target terminal determines a preset number of pressing areas of continuous touch screen operations; When the values of the preset number of pressed areas are not all preset values, determining that the touch screen operation is not generated by an automated operation; When the values of the preset number of pressing areas are all preset values, determining the target model of the target terminal; obtaining sample pressing areas of sample terminals corresponding to the target model from a database, wherein the sample pressing areas are generated according to operations of real users; When the pressing areas of a preset number of consecutive samples are not completely the same, determining that the touch screen operation is generated by an automated operation; When the pressing areas of a preset number of consecutive samples are exactly the same, other touch screen information is used to obtain the recognition result.
12. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1-6 or 7 or 8 when executing a program stored in a memory.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1-6 or 7 or 8 are implemented.
