Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two.
The words "if", as used herein, may be interpreted as "at" or "when" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
Fig. 1 is a flowchart of a request processing method according to an embodiment of the present invention, as shown in fig. 1, where the method includes the following steps:
101. when a ordering request or an electronic ticket picking request corresponding to a target account is received, determining behavior statistical information corresponding to the target account and a list to which a target account history belongs, wherein the list comprises a blacklist, a whitelist or a gray list.
102. And determining a target list to which the target account currently belongs according to the behavior statistical information and the list to which the target account history belongs.
103. According to the corresponding relation between the preset list and the request processing mode, determining a target request processing mode corresponding to the target list, wherein the request processing mode corresponding to the blacklist is not used for responding to the order placing request or the electronic ticket acquisition request, and the request processing modes corresponding to the whitelist and the gray list are used for responding to the order placing request or the electronic ticket acquisition request.
104. And processing the order request or the electronic ticket acquisition request corresponding to the target account based on the target request processing mode.
The service providing platform can issue available services in websites and correspondingly issue electronic coupons to a large number of users, so that the users can get the electronic coupons, and when ordering the services, the users can order by using the electronic coupons under the condition that the using rules of the electronic coupons are met, and further, the users can obtain corresponding preferential benefits. In practical applications, some users may take some illegal actions to obtain more offers in order to obtain more offers, however, such actions seriously affect the normal running order of the network. With the invention, this can be avoided to a certain extent.
The invention can realize maintenance of normal operation order based on the wind control system. The wind control system can be abstracted into 4 layers, including scenes, policies, rules, tools.
The lowest layer is a tool, the tool represents the capability, and the tool has a certain tool, so that the wind control system has the capability of a certain type of behavior.
The upper layer of the tool is a rule, which represents a condition, and a certain rule is established, which means that a certain constraint condition is established.
The upper layer of rules is a strategy, and one strategy can consist of one rule or a plurality of rules, and each strategy has a corresponding internal and external processing mode. The external processing mode may be, for example, order prohibition, voice verification, short message verification, ticket prohibition, etc. Accordingly, the internal processing mode can be a system instant messaging tool alarm, adding the order subscriber to a blacklist and the like. Each policy may set three states including pre-online, and offline. After the operator configures the strategy, the strategy can be pre-online, the hit result of the strategy is observed, and then the threshold value in the strategy can be properly adjusted according to the hit result so as to achieve the operation expectation. One schematic view of operator configured policies is shown in fig. 2. And formally uploading the threshold value after finishing adjustment. The pre-online state may not trigger an internal and external processing mode. In addition, each policy can also be configured with conditions such as effective city, time and the like independently.
The uppermost layer is an accessed scene, such as a scene that a user order represents on the user side, and the user coupon is also a scene, which is specifically defined by an operator and can correspond to a plurality of policies.
A specific business architecture for building a platform anti-cheating system can be seen in fig. 3. As can be seen from fig. 3, the business architecture may include an application layer, a service layer, and a data layer. The application layer is provided with service scenes and service support, including order making, order receiving, presentation and marketing activities. The service layer is provided with a tool management module, a rule engine module, a wind control strategy module, data monitoring and log inquiry. The tool management module comprises a counting class, a comparison class, a detection class, a judgment class, a list class, an external service class, a model class and the like. The rules engine module includes a single tool or a combination of tools, type selection, parameter configuration, and threshold control through which rules are output. The wind control strategy module comprises strategy types (such as an online strategy and a pre-online strategy), effective ranges (including source division, category division, city division and time division), processing modes (including a challenge class, a suspension class and a mark class). The data layer is provided with a data collection module and data analysis, and order information, identity information, network information, position information, hardware information, payment information, external data and the like can be collected.
In practical application, when a user browses a website of the service providing platform, the user can select a required service to order or can also get an electronic ticket, so that the server can receive an order ordering request or an electronic ticket getting request from a target account logged in by the user. When the requests are detected, the corresponding behavior statistical information of the target account and the list of the history of the target account can be determined.
The above-described behavior statistics indicate the behavior categories, frequency of generation, and the like generated in the service providing platform by the user during the history period. It can be understood that when logging in the target account, if any behavior operation generated by the target account is detected, the behavior operation of the target account can be recorded in a user log corresponding to the target account, so that the behavior operation of the target account can be counted conveniently, and behavior statistical information corresponding to the target account can be obtained. In the embodiment of the invention, the behavior statistical information can be, for example, the number of electronic coupons that the target account has acquired on the same day, where the electronic coupons that the user has acquired can be electronic coupons for the same service or electronic coupons for different types of services, and so on.
It should be noted that, in the behavior statistics information, the corresponding order request or the electronic ticket acquisition request corresponding to the currently received target account may also be counted correspondingly. For example, 2 coupons are counted for the target account on the same day before the electronic coupon pickup request corresponding to the target account is received, and 1 may be added to the number of coupons picked up for the target account on the same day after the electronic coupon pickup request corresponding to the target account is received, so that 3 coupons are counted for the target account on the same day.
In addition to determining the behavior statistical information corresponding to the target account, a list to which the target account history belongs may be determined, and the list to which the target account history belongs may include a black list, a white list, or a gray list. The list to which the target account history belongs can be obtained by dividing the target account according to some behavior operations of the target account history, and can also be provided by a third party. In general, after determining the list to which the history of the target account belongs, the list to which the target account belongs may be updated according to some subsequent behavior operation of the target account, and if the target account is found to have a slight violation or a severe violation, the target account may be moved from the white list to the gray list, or the target account may be moved from the gray list to the black list, or the like.
Therefore, the target list of the target account can be determined according to the behavior statistical information and the list of the target account history. Optionally, according to the behavior statistical information and the list to which the target account history belongs, the process of determining the target list to which the target account currently belongs may be implemented by determining whether the behavior statistical information meets a second preset condition if the list to which the target account history belongs is not a gray list, and determining that the target list to which the target account currently belongs is a black list if the behavior statistical information meets the second preset condition.
Optionally, if the behavior statistical information meets the second preset condition, the process of determining that the target list to which the target account currently belongs is a blacklist may be implemented in such a way that if the behavior statistical information indicates that the frequency of the target account for picking up the electronic ticket is greater than or equal to a second preset threshold, the target list to which the target account currently belongs is determined to be a blacklist.
In practical application, if the frequency of the target account for picking up the electronic ticket on the same day is greater than or equal to 3 times, it may be determined that the target account has serious illegal activity, and the target account may be put on a blacklist.
Correspondingly, according to the behavior statistical information and the list to which the target account history belongs, the process of determining the target list to which the target account currently belongs can also be realized by determining whether the behavior statistical information meets a first preset condition if the list to which the target account history belongs is a gray list, and determining the target list to which the target account currently belongs as a black list if the behavior statistical information meets the first preset condition.
Optionally, if the behavior statistical information meets the first preset condition, the process of determining that the target list to which the target account currently belongs is a blacklist may be implemented in such a way that if the behavior statistical information indicates that the frequency of the target account for picking up the electronic ticket is greater than or equal to a first preset threshold, the target list to which the target account currently belongs is determined to be a blacklist, and the second preset threshold is greater than the first preset threshold.
In practical application, assuming that if the target account receives the electronic ticket every day, but receives only 2 times of electronic tickets every day, it has been continuously received for 10 days, since the target account does not receive coupons more than 3 times every day, the target account is not put on the blacklist, but the target user approaches to triggering to put it on the blacklist every day, the behavior operation of the target user may be considered to be problematic, but may be temporarily put on the blacklist without being directly put on the blacklist, and observation is performed for a period of time. If the target account is still in doubtful behavioural operation after entering the gray list, the target account may be pulled from the gray list into the black list.
For example, assuming that the target account is picked up 2 times per day and 10 days continuously, the target account is entered into the gray list. After entering the gray list, the target account may also be continuously taken 2 times daily on days 11-15, at which time it may be determined that there is serious violation of the target account, and the target account may be moved to the black list.
After determining the target list to which the target account currently belongs, determining a target request processing mode corresponding to the target list according to the corresponding relation between the preset list and the request processing mode. And then, processing the order request or the electronic ticket acquisition request corresponding to the target account based on the target request processing mode. If the target list to which the target account belongs is a white list or a gray list, the method can respond to the order request or the electronic ticket acquisition request corresponding to the target account. If the target list to which the target account belongs is a blacklist, responding to the order request or the electronic ticket acquisition request corresponding to the target account can be stopped, namely, the order request of the target account is refused or the target account is forbidden to acquire the electronic ticket again.
It will be appreciated that for some newly registered accounts, the credit of the electronic ticket may be set to a higher value to encourage new users to experience the service at the service providing platform. Assuming that the electronic ticket issued to the new user is stored in the target account, the target account initiates an order request for using the electronic ticket issued to the new user, and at this time, the order request for using the electronic ticket issued to the new user can be considered as an order request of a target type. In this case, the order internet protocol address or the order service address carried in the order request of the target type corresponding to the target account may be acquired. And then, acquiring reference order placing requests which are received by histories and belong to different accounts and belong to target types, and determining a target list to which the target account belongs currently as a blacklist if the order placing requests with the same address as the order placing internet protocol address or the order service address exist in the reference order placing requests.
In practical application, a user logs in a target account in a terminal to make an order, each terminal corresponds to an order internet protocol address, and when the order is made through the target account, the order internet protocol address can be carried in an order request and sent to a server. Assuming that the same user illicitly registers a large number of accounts, each account registered will pick up an electronic ticket issued for the new user, so that the user can use the electronic ticket issued for the new user in each account by logging in a different account. However, the user is likely to initiate an order request using a different electronic ticket issued for a new user through the same order internetworking protocol address, so that each time an order request of a target type is received, it can be determined whether other accounts have previously initiated an order request of the target type using the same order internetworking protocol address, and if other accounts have previously initiated an order request of the target type using the same order internetworking protocol address, the order request of the target type initiated by the current account can be denied and the current account pulled to the blacklist.
In addition, for some orders with the service of going up, the user needs to fill the order service address in the order, and the order service address filled by the user can be carried in the order placing request and sent to the server. Assuming that more than two accounts are found to be using the electronic ticket issued for the new user, and that the order service addresses in the orders are the same, then it is shown that there is a high likelihood that the same user actually makes multiple orders after the electronic ticket issued for the new user is picked up by different accounts, and further the order request of the target type initiated by the subsequent account can be rejected, and the subsequent account is pulled into the blacklist.
By adopting the method and the device, when the ordering request or the electronic ticket picking request corresponding to the target account is received, the type of the list to which the target account belongs can be reclassified according to the behavior statistical information corresponding to the target account and the list to which the history of the target account belongs. After the target list of the target account is determined, the order request or the electronic ticket acquisition request initiated by the target account can be processed according to the target request processing mode corresponding to the target list. Through the behavior statistical information of the target account and the list of the history of the target account, the target account can be prejudged to determine whether the current request initiated by the target account is illegal or not, and then corresponding processing measures are adopted. By the method, the behavior operation attributes of different accounts can be distinguished, the order request or the electronic ticket acquisition request initiated by the accounts can be selectively processed, and the safety and order of the service providing platform can be ensured.
A request processing apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these request processing means may be configured by the steps taught by the present solution using commercially available hardware components.
Fig. 4 is a schematic structural diagram of a request processing apparatus according to an embodiment of the present invention, as shown in fig. 4, where the apparatus includes:
A receiving module 21, configured to determine, when receiving a request for ordering or receiving an electronic ticket corresponding to a target account, behavioral statistics corresponding to the target account and a list to which the history of the target account belongs, where the list includes a blacklist, a whitelist, or a gray list;
A determining module 22, configured to determine, according to the behavior statistics information and the list to which the target account history belongs, a target list to which the target account currently belongs; determining a target request processing mode corresponding to the target list according to a corresponding relation between a preset list and a request processing mode, wherein the request processing mode corresponding to the blacklist is not used for responding to the order placing request or the electronic ticket acquisition request, and the request processing modes corresponding to the whitelist and the gray list are used for responding to the order placing request or the electronic ticket acquisition request;
And the processing module 23 is configured to process an order request or an electronic ticket pickup request corresponding to the target account based on the target request processing manner.
Optionally, the determining module 22 is configured to:
if the list of the target account history is a gray list, determining whether the behavior statistical information meets a first preset condition;
And if the behavior statistical information meets the first preset condition, determining that the target list to which the target account currently belongs is a blacklist.
Optionally, the determining module 22 is configured to:
and if the behavior statistical information indicates that the frequency of the target account for acquiring the electronic ticket is greater than or equal to a first preset threshold value, determining that a target list to which the target account currently belongs is a blacklist.
Optionally, the determining module 22 is configured to:
If the list of the target account history is not a gray list, determining whether the behavior statistical information meets a second preset condition;
and if the behavior statistical information meets the second preset condition, determining that the target list to which the target account currently belongs is a blacklist.
Optionally, the determining module 22 is configured to:
If the behavior statistical information indicates that the frequency of the target account for picking up the electronic ticket is greater than or equal to a second preset threshold, determining that a target list to which the target account currently belongs is a blacklist, wherein the second preset threshold is greater than the first preset threshold.
Optionally, the request corresponding to the target account is a target type of ordering request, and the determining module 22 is further configured to:
Determining an order Internet interconnection protocol address or an order service address carried in an order request of a target type corresponding to the target account;
acquiring historical received reference order requests which belong to the target type from different accounts;
And if the reference order placing request has an order placing request with the same address as the order placing internet interconnection protocol address or the order service address, determining that the target list to which the target account currently belongs is a blacklist.
The apparatus shown in fig. 4 may perform the request processing method provided in the foregoing embodiments shown in fig. 1 to 3, and detailed execution and technical effects are referred to the description in the foregoing embodiments and are not repeated herein.
In one possible design, the structure of the request processing apparatus shown in fig. 4 may be implemented as an electronic device, which may include a processor 91 and a memory 92 as shown in fig. 5. Wherein the memory 92 has executable code stored thereon, which when executed by the processor 91, causes the processor 91 to at least implement the request processing method as provided in the embodiments of fig. 1-3 described above.
Optionally, a communication interface 93 may also be included in the electronic device for communicating with other devices.
Further, embodiments of the present invention provide a non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to at least implement a request processing method as provided in the embodiments of fig. 1-3 described above.
The apparatus embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The request processing method provided by the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the electronic device mentioned in the foregoing embodiment may download the program/software to a local non-volatile storage medium, and when it needs to execute the foregoing request processing method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the request processing method provided in the foregoing embodiment, and the execution process may refer to the schematic diagrams in fig. 1-3.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.