CN113763116A - Order information processing method, device, equipment and readable storage medium - Google Patents
Order information processing method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN113763116A CN113763116A CN202110294061.3A CN202110294061A CN113763116A CN 113763116 A CN113763116 A CN 113763116A CN 202110294061 A CN202110294061 A CN 202110294061A CN 113763116 A CN113763116 A CN 113763116A
- Authority
- CN
- China
- Prior art keywords
- order
- strategy
- order information
- wind control
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims description 11
- 238000003672 processing method Methods 0.000 title claims description 11
- 238000012795 verification Methods 0.000 claims abstract description 79
- 238000000034 method Methods 0.000 claims abstract description 49
- 238000004590 computer program Methods 0.000 claims description 8
- 239000000463 material Substances 0.000 abstract description 4
- 238000012550 audit Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000007704 transition Effects 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0635—Risk analysis of enterprise or organisation activities
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method, a device, equipment and a readable storage medium for processing order information. The method comprises the following steps: according to an article ordering request of a user submitted from a client, obtaining order information corresponding to the article ordering request, verifying the order information according to a preset information verification rule to obtain a verification result, and processing the article ordering request according to the verification result and the article ordering request. According to the method, the order can be checked firstly by adopting the short strategy with the small number of the wind control rules, if the result can be checked out by the short strategy, the article order or the request failure prompt is directly generated according to the check result, the long strategy with the large number of the wind control rules is prevented from being used for checking, the time spent on checking is shortened, the checking performance is improved, more manpower and material resources spent on using the post-arranged checking strategy to cancel the generated order are avoided, and the processing efficiency of the order placing request submitted by a user is improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for processing order information.
Background
In the process of ordering by using the mobile terminal, a user needs to initiate an ordering request in application software of the mobile terminal and upload ordering information, such as user account information, delivery addresses, the number of ordered items and the like, and then call a series of auditing criteria through the server to audit and confirm the ordering information to generate a corresponding order.
In the prior art, in order to avoid that the application software spends a large amount of time in checking order information, which affects delayed order generation, and improve response speed of order generation, after a user uploads order information, a server uses a post-check strategy, that is, a corresponding order is preferentially generated, and then the order is checked by using a check criterion.
However, in the post-audit strategy in the prior art, a large amount of audit criteria are still used for auditing order placing information, a large amount of audit time is occupied, and after an order is generated, if a problem of the order is found later, more manpower and material resources are needed to intercept the order, so that the processing efficiency of an order placing request initiated by a user is low.
Disclosure of Invention
The application provides a method, a device, equipment and a readable storage medium for processing order information, which are used for solving the problem of low processing efficiency of an order placing request initiated by a user.
In a first aspect, the present application provides a method for processing order information, including:
according to an item ordering request of a user submitted from a client, acquiring order information corresponding to the item ordering request;
according to a preset information verification rule, verifying the order information to obtain a verification result, wherein the verification result is used for indicating whether the order corresponding to the article ordering request has risks, and the information verification rule is as follows: the method comprises the steps that firstly, a short strategy is adopted to verify order information, and a long strategy is adopted to verify the order information after the short strategy cannot determine risks, wherein the number of wind control rules included in the short strategy is smaller than that of wind control rules included in the long strategy;
and processing the item ordering request according to the verification result and the item ordering request.
In a second aspect, the present application provides an order information processing apparatus, including:
the information acquisition module is used for acquiring order information corresponding to an article ordering request according to the article ordering request of the user submitted from the client;
the checking module is used for checking the order information according to a preset information checking rule to obtain a checking result, the checking result is used for indicating whether the order corresponding to the article ordering request has risks, and the information checking rule is as follows: the method comprises the steps that firstly, a short strategy is adopted to verify order information, and a long strategy is adopted to verify the order information after the short strategy cannot determine risks, wherein the number of wind control rules included in the short strategy is smaller than that of wind control rules included in the long strategy;
and the processing module is used for processing the item ordering request according to the verification result and the item ordering request.
In a third aspect, the present application provides a processing apparatus comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory, causing the at least one processor to perform the method as described above.
In a fourth aspect, the present application provides a readable storage medium having stored therein computer executable instructions for implementing the method as described above when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method described above.
According to the order information processing method, the order information processing device, the order information processing equipment and the readable storage medium, the short strategy and the long strategy with different wind control rule numbers are set, after a user submits an article ordering request, the short strategy with the smaller wind control rule number can be adopted, the order is checked firstly, if the short strategy can check a result, an article order or a request failure prompt is generated directly according to the check result, the long strategy with the larger wind control rule number is used for checking, the time spent on checking is shortened, the checking performance is improved, more manpower and material resources are spent on canceling the generated order by using the post-arranged checking strategy, and the order ordering request processing efficiency submitted by the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application;
fig. 1 is a schematic view of an application scenario of a processing method for order information provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a first embodiment of a method for processing order information according to the present application;
fig. 3 is a schematic flowchart of a second embodiment of a processing method for order information provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of a third embodiment of a processing method for order information provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a processing apparatus according to an embodiment of the present application;
with the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The wind control rules are standard criteria for judging whether the object has related risks, a long policy or a short policy can be formed by a plurality of wind control rules, the more the wind control rules are contained, the higher the judgment accuracy is, meanwhile, more judgment time is needed, and more server performance is occupied. In the prior art, when a user initiates an article ordering request through a client on a mobile terminal, for example, when purchasing tickets, in order to avoid some malicious ordering situations, a server may use a post-audit policy, generate corresponding order data according to the article ordering request, then verify order information submitted by the user using a wind control rule, if it is determined that a risk exists, the order needs to be cancelled subsequently, so that a large amount of material and labor costs are incurred, and if the post-audit policy is not used, the article ordering request is verified by using the wind control rule first, and when no risk exists, the order is regenerated, a large amount of verification time is occupied, so that order generation is delayed, and timeliness of order generation is affected.
In view of the foregoing problems, embodiments of the present application provide a method, an apparatus, a device and a readable storage medium for processing order information, which have the following specific technical concepts: by adopting two different long strategies and short strategies, after a user submits an item ordering request, the short strategy is firstly adopted for verification to determine whether order information is risky, an order can be directly generated when no risk exists, the long strategy comprising a large number of wind control rules is prevented from being used for verification, the timeliness of order generation is improved, and resource waste caused by a post-arranged auditing strategy is also avoided.
Fig. 1 is a schematic view of an application scenario of a processing method for order information provided in an embodiment of the present application, as shown in fig. 1, the processing method of the order information can be applied to the server 12 in the background, and the user can use the mobile terminal 11, for example, a mobile phone, initiates an item ordering request on the client, and after the item ordering request is received by the server 12, the server 12 parses the corresponding order information, the order information includes various information related to the order, such as account information of the user, the order quantity of the goods, the delivery address of the goods, the delivery mode of the goods, and the like, the server 12 checks rules according to preset information, and checking the order information, if the order information has risk, returning an order request failure prompt to the mobile terminal 11, and if the order information has no risk, generating an order and returning the generated order information to the mobile terminal 11.
The preset information verification rules may include a long policy and a short policy, the number of the wind control rules included in the short policy is less than the number of the wind control rules included in the long policy, specifically, the wind control rules in the short policy may be used to verify the order information first, and the long policy is used to verify the order information after the short policy fails to determine the risk.
For example, the preset information verification rules may further include a plurality of different policies, each policy includes different numbers of wind control rules, the priority of each policy is determined according to the number of the included wind control rules, the policy with the small number of the included wind control rules may have a higher priority, the server preferentially verifies the order information by using the policy with the high priority, when the policy with the high priority cannot determine the risk, the order is continuously verified by using the policy with the next priority, and the order is sequentially verified according to the priority until the verification result is obtained, so as to determine whether the order information has the risk.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a first embodiment of a method for processing order information according to the embodiment of the present application, and as shown in fig. 2, the method may be applied to a server in a background, taking the server as an execution subject as an example, and specifically includes the following steps:
s201, according to an article ordering request of a user submitted from a client, obtaining order information corresponding to the article ordering request.
Specifically, the order placing request for the article may be initiated by the user from the client and uploaded to the background server by the client, for example, the user may place an order for a limited amount of articles, and after placing the order, corresponding order information may be generated, where the order information may include identity information of the user, such as a telephone number, real-name information, and the like, and may also include the order placing amount, a delivery address, a delivery manner, an article discount roll, and the like of the article.
For example, the user may complete the filling of the order information on the client of the mobile terminal, and then perform a click operation, such as clicking "confirm placing" to generate an item placing request.
S202, according to a preset information verification rule, verifying order information to obtain a verification result.
Wherein, the verification result is used for indicating whether the order corresponding to the article ordering request has risk, and the information verification rule is as follows: the order information is verified by adopting a short strategy, and the order information is verified by adopting a long strategy after the short strategy cannot determine risks, wherein the number of the wind control rules in the short strategy is less than that in the long strategy.
Specifically, the preset information verification rules include a short policy and a long policy, the short policy may include a plurality of wind control rules, the long policy may also include a plurality of wind control rules, and the wind control rules in the short policy are different from the wind control rules in the long policy, when the order information is verified, the wind control rules in the short policy are used to verify the order information, and when the wind control rules in the short policy cannot determine whether the order information is risky, the wind control rules in the long policy are used to verify the order information, so as to determine whether the order corresponding to the order information is risky.
For example, the wind control rule in the short policy may be some key wind control rules, such as whether the user is a real name, whether the number of items meets the requirement, whether the credit of the user meets the requirement, and the like, and the wind control rule in the long policy may be some detailed wind control rules, specifically, the wind control rules may be delivery addresses, delivery modes, whether the user uses virtual assets such as discount rolls, gift cards, and the like.
When the order information does not satisfy all the wind control rules in the short strategy, the order is indicated to have risks, when the order information satisfies all the wind control rules in the short strategy, the order is indicated to have no risks, when the order information satisfies only part of the wind control rules in the short strategy, the order cannot be determined whether the order has risks, and the wind control rules in the long strategy need to be used for continuous verification.
And S203, processing the item ordering request according to the verification result and the item ordering request.
Specifically, the verification result includes two types, one is to determine that the order is at risk, the other is to determine that the order is not at risk, when it is determined that the order is not at risk, a corresponding order for the article is generated according to the order placing request, when it is determined that the order is at risk, a corresponding order placing request failure prompt is generated according to the order placing request, and the order placing request failure prompt is used for prompting the user that the order placing request is intercepted by the background server and cannot be placed.
For example, if the server generates an order placing request failure prompt, the order placing request failure prompt may be returned to the client, and the client may display the order placing request failure prompt through a page.
For example, if the server generates an item order, the item order may be returned to the client, and the client may display the generated item order through a page.
According to the method and the device for checking the order, before the order is generated, the section strategy with the smaller number of the checking criteria is preferentially selected according to the number of the checking criteria, the order information is checked, if the short strategy cannot determine whether the order is a risk order, then the long strategy is adopted for checking, and finally the order is determined to be generated or intercepted according to the checking result.
Fig. 3 is a flowchart illustrating a second embodiment of a processing method for order information provided in the embodiment of the present application, as shown in fig. 3, for example, in some embodiments, the step S202 may be specifically implemented by the following steps:
s301, checking order information according to the short strategy, and if the order information accords with all the wind control rules in the short strategy, determining that the order has no risk;
s302, if the order information does not accord with all wind control rules in the short strategy, determining that the order has risks;
and S303, if the order information conforms to part of the wind control rules in the short strategy, the long strategy is adopted to verify the order information, and whether the order has risks is determined.
In this embodiment, the order information includes various different types of information, and each of the wind control rules in the short policy respectively corresponds to checking whether there is a risk in one type of information in the order information.
Further, the wind control rules of the short policy include a next single number wind control rule, a user credit wind control rule and an identity information wind control rule, wherein,
the order quantity wind control rule can check the order quantity of the articles in the order information, for example, the order quantity of the articles in the order information cannot be less than 1, is higher than 99 and the like; the user credit wind control rule can verify the credit of the user in the order core, specifically can score the credit of the user according to the historical ordering request of the user, and if the credit score of the user is lower than 80 scores, the user credit wind control rule is not met; the identity information wind control rule is used for verifying the identity information of the user in the order information, and for example, if the identity information of the user is not perfect and lacks real-name information, the identity information wind control rule is not met.
In the embodiment of the application, the order information is verified by using the wind control rule in the short strategy, if the short strategy can determine that the order has or does not have a risk, the verification result is directly obtained, the order placing request of the article can be rapidly processed according to the verification result, the order information is prevented from being verified by using the long strategy comprising a large number of wind control strategies, and the processing efficiency of the order placing request of the article is improved.
Further, in some embodiments, the "checking order information by using a long policy to determine whether an order has a risk" may specifically be implemented by the following steps:
checking the order information according to the long strategy, and if the order information accords with all the wind control rules in the long strategy, determining that the order has no risk;
and if the order information conforms to part of the wind control rules in the long strategy or does not conform to all the wind control rules in the long strategy, determining that the order has risks.
Specifically, the long policy includes more wind control rules, each wind control rule in the long policy verifies the order information, and when any one of the order information does not conform to a certain wind control rule in the long policy, it is determined that the order has a risk.
Exemplary long policy wind control rules include delivery address wind control rules, delivery method wind control rules, item discount coupon wind control rules, and user virtual asset wind control rules, wherein,
the delivery address wind control rule can be used for verifying the delivery addresses in the order information, for example, the delivery addresses can be filled by users, the number of the delivery addresses can be multiple, one of the delivery addresses can be set by the users as a common address, and when the delivery addresses in the order information are different from the common address or the delivery addresses filled by the users are different, it is indicated that the delivery addresses in the order information have risks and do not accord with the delivery address wind control rule.
Further, the distribution mode wind control rule is used for verifying the distribution mode filled by the user in the order information, the item discount roll wind control rule is used for verifying the item discount roll used by the user in the order information, and the user virtual asset wind control rule is used for verifying the points, consumption coupons and the like used by the user in the order information.
In the embodiment of the application, the order information is verified by using the long strategy with large wind control rule quantity and detailed verification, so that whether the order is risky or not can be accurately determined, and the verification accuracy can be improved.
On the basis of the foregoing embodiments, in some embodiments, the step S203 may specifically be implemented by the following steps:
if the verification result indicates that the order has risks, generating an order placing request failure prompt;
and if the verification result indicates that the order has no risk, generating an item order corresponding to the item ordering request.
Specifically, the generation flow of the item order specifically includes the following steps: the method comprises the steps that a user initiates an article ordering request through a client, a server verifies order information corresponding to the article ordering request, whether risks exist in an order corresponding to the article ordering request is determined, if the risks exist, the article ordering request is intercepted, and if the risks do not exist, an article order is generated.
Each item ordering request corresponds to an order, when the order is at risk, the item ordering request is intercepted by the server, the server returns an ordering request failure prompt representing that the audit is not passed to the client, the ordering request failure prompt may include order information at risk, and the user determines which information in the order information is at risk by checking the ordering request failure prompt.
When the order is not risky, the server generates an item order according to an item placing request submitted by the client, and returns the item order to the client, wherein the item order comprises the order information.
According to the embodiment of the application, the checking result is analyzed, whether the order has risks or not is determined, the generation of the order with risks is avoided, a large amount of resources are subsequently spent to cancel the order with risks, and the utilization rate of the resources and the order processing efficiency are improved.
On the basis of the foregoing embodiment, in some embodiments, the step S202 may specifically include the following steps:
if the order information is verified according to the short strategy to obtain a verification result, storing the verification result obtained by verifying the short strategy into a preset first queue;
and if the order information is verified according to the long strategy to obtain a verification result, storing the verification result obtained by verifying the long strategy into a preset second queue.
Specifically, if the server can determine that the order has no risk by using the wind control rule in the short policy, the server stores the verification result into the preset first queue, and optionally, if the server can determine that the order has risk by using the wind control rule in the short policy, the server can also store the verification result into the preset first queue.
And if the wind control rule in the short strategy cannot be used for determining whether the order has risks, the server continuously verifies the order information by using the wind control rule in the long strategy to determine whether the order has risks, and the verification result is stored in a preset second queue.
For example, the preset second queue may store the verification result in the form of a key-value pair, for example, the order 1: risk exists, order 2: there is no risk.
For example, only the identification information of the order may be stored in the preset first queue, and the identification information may be a digital code, such as order 1, order 2, and order 3.
For example, the server may process a plurality of article ordering requests in parallel, the server is divided into an ordering system and a wind control system, the ordering system receives the article ordering request uploaded from the client, the wind control system verifies order information corresponding to the article ordering request by using a short policy and a long policy, a verification result is stored in a preset first queue or a preset second queue, the ordering system searches from the preset first queue first, if the verification result is not found, then searches from the preset second queue to obtain the verification result, and the article ordering request is processed according to the verification result.
For example, the server may set a waiting duration, where the waiting duration is used to indicate that the server searches for the check result from the preset first queue within the waiting duration, and if the waiting duration exceeds the waiting duration, the server will not search for the check result in the preset first queue any more, and instead preset the check result in the second queue.
According to the embodiment of the application, the short strategy verification result and the long strategy verification result are stored in different queues, so that the server can confirm whether the short strategy can verify that order information has risks, and the server can feed back the information to the client in real time conveniently.
On the basis of the foregoing embodiments, in some embodiments, after the order information is verified by using the short policy, the method further includes:
and when the short strategy cannot determine the risk, outputting an information display page to the client.
The information display page comprises a countdown timer, and the countdown timer is used for indicating a process of verifying the order information by adopting a long strategy.
Specifically, when the short strategy cannot determine the risk, the server checks the order information by using the long strategy, and meanwhile, the server feeds back an information display page to the client side, and the client side displays the information display page for the user to check.
For example, the countdown time may be 10 seconds, and the time length of the countdown time may be set according to the time length taken for the order information to be checked by the long policy.
For example, when the long policy verifies the order information to determine that the order is at risk, the user may be prompted with an order placing request failure directly on the information display page.
Fig. 4 is a flowchart illustrating a third embodiment of a method for processing order information according to the present application, where as shown in fig. 4, the method may be applied to a server, where the server includes an order issuing system, a wind control system, and a transition page, and the method specifically includes the following steps:
s401, submitting an order.
Specifically, the order placing system acquires an item order placing request submitted by a user from a client, and determines order information corresponding to the item order placing request.
S402, executing wind control; and S403, judging whether the order is risky according to the short policy rule.
Specifically, the wind control system executes the wind control rule in the short policy first, checks the order information, and determines whether the order is risky.
S404, when no risk exists, short strategy result queue.
Specifically, when it is determined that the order is not at risk or at risk, the check result is stored in a preset first queue (i.e., a short policy result queue).
S405, when the risk duration strategy rule exists, the strategy result queue is lengthened.
Specifically, when the short policy cannot determine whether the order is at risk, the order information is verified by using the wind control rule in the long policy, and a verification result is obtained and stored in a preset second queue (i.e., a long policy result queue).
S406, acquiring a wind control result; and S407, judging whether a wind control result is obtained or not, and generating an order when the wind control result is obtained.
Specifically, the ordering system searches from the short strategy result queue, judges whether the check result is found, and if the result exists in the short strategy result queue, the ordering system indicates that the order has no risk and generates the order.
And S408, when the wind control result is not obtained, obtaining a long strategy judgment result and judging whether the wind control result is risky.
Specifically, when the verification result is not found, the transition system searches the long policy result queue to obtain a long policy judgment result, and judges whether the order has a risk according to the long policy judgment result.
S409, when no risk exists, generating an order; and S410, prompting the ordering failure when the risk exists.
Specifically, when the order is not at risk, an article order is generated, and when the order is at risk, the transition system gives a feedback ordering failure prompt to the client to prompt the user.
According to the order information processing method provided by the embodiment of the application, the order information is verified by adopting the short strategy and the long strategy, when the short strategy can determine whether the order has risks, the order can be directly generated or the order placing failure is prompted, the long strategy with more wind control rules is not needed to be used for verification, and the order information processing efficiency is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present application, and as shown in fig. 5, the processing apparatus 50 includes an information obtaining module 51, a verifying module 52, and a processing module 53, wherein,
the information obtaining module 51 is configured to obtain order information corresponding to an item placing request according to the item placing request of the user submitted from the client.
The checking module 52 is configured to check the order information according to a preset information checking rule to obtain a checking result.
And the processing module 53 is configured to process the item ordering request according to the verification result and the item ordering request.
Wherein, the verification result is used for indicating whether the order corresponding to the article ordering request has risk, and the information verification rule is as follows: the order information is verified by adopting a short strategy, and the order information is verified by adopting a long strategy after the short strategy cannot determine risks, wherein the number of the wind control rules in the short strategy is less than that in the long strategy.
In some embodiments, the verification module 52 may be specifically configured to:
checking the order information according to the short strategy, and if the order information conforms to all the wind control rules in the short strategy, determining that the order has no risk;
if the order information does not accord with all the wind control rules in the short strategy, determining that the order has risks;
and if the order information conforms to part of the wind control rules in the short strategy, the long strategy is adopted to verify the order information and determine whether the order has risks.
In some embodiments, the verification module 52 may be specifically configured to:
checking the order information according to the long strategy, and if the order information accords with all the wind control rules in the long strategy, determining that the order has no risk;
and if the order information conforms to part of the wind control rules in the long strategy or does not conform to all the wind control rules in the long strategy, determining that the order has risks.
In some embodiments, the processing module 53 is specifically configured to:
if the verification result indicates that the order has risks, generating an order placing request failure prompt;
and if the verification result indicates that the order has no risk, generating an item order corresponding to the item ordering request.
In some embodiments, the verification module 52 may be specifically configured to:
if the order information is verified according to the short strategy to obtain a verification result, storing the verification result obtained by verifying the short strategy into a preset first queue;
and if the order information is verified according to the long strategy to obtain a verification result, storing the verification result obtained by verifying the long strategy into a preset second queue.
In some embodiments, the processing device 50 may further include a page transition module, configured to output an information presentation page to the client when the short policy fails to determine the risk, where the information presentation page includes a countdown indicating a process of checking the order information using the long policy.
The apparatus provided in the embodiment of the present application may be used to execute the method in the embodiments shown in fig. 2 to fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a processing device according to an embodiment of the present application, and as shown in fig. 6, the processing device 60 includes a memory 61 and at least one processor 62;
the memory 61 stores computer executable instructions, and the processing device 60 further comprises a bus 63, wherein the memory 61 is connected to the processor 62 via the bus 63.
In particular implementations, the at least one processor 62 executes computer-executable instructions stored by the memory 61 to cause the at least one processor 62 to perform the methods as described above.
For example, the memory 61 may also be used to store preset wind control rules of the short policy, wind control rules of the long policy, and the like, and the memory 61 may be cloud storage or local storage.
Illustratively, the processing device may be a computer device or a server.
Illustratively, the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
For a specific implementation process of the processor, reference may be made to the above method embodiments, which implement principles and technical effects are similar, and details are not described herein again.
Optionally, the present application further provides a readable storage medium, in which computer executable instructions are stored, and when the processor executes the computer executable instructions, the steps of the method as described above are implemented.
Optionally, an embodiment of the present application further provides a computer program product, which includes a computer program/instructions, and when the computer program is executed by a processor, the steps of the method are implemented.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (15)
1. A processing method of order information is characterized by comprising the following steps:
according to an item ordering request of a user submitted from a client, acquiring order information corresponding to the item ordering request;
according to a preset information verification rule, verifying the order information to obtain a verification result, wherein the verification result is used for indicating whether the order corresponding to the article ordering request has risks, and the information verification rule is as follows: the method comprises the steps that firstly, a short strategy is adopted to verify order information, and a long strategy is adopted to verify the order information after the short strategy cannot determine risks, wherein the number of wind control rules included in the short strategy is smaller than that of wind control rules included in the long strategy;
and processing the item ordering request according to the verification result and the item ordering request.
2. The method according to claim 1, wherein the verifying the order information according to a preset information verification rule to obtain a verification result comprises:
checking the order information according to the short strategy, and if the order information conforms to all the wind control rules in the short strategy, determining that the order has no risk;
if the order information does not accord with all the wind control rules in the short strategy, determining that the order has risks;
and if the order information conforms to part of the wind control rules in the short strategy, verifying the order information by adopting the long strategy to determine whether the order has risks.
3. The method of claim 2, wherein said verifying said order information using said long policy to determine if said order is at risk comprises:
checking the order information according to the long strategy, and if the order information conforms to all the wind control rules in the long strategy, determining that the order has no risk;
and if the order information conforms to part of the wind control rules in the long strategy or does not conform to all the wind control rules in the long strategy, determining that the order has risks.
4. The method of any one of claims 1 to 3, wherein the short policy's wind control rules include a next-order-quantity wind control rule, a user credit wind control rule, and an identity information wind control rule.
5. The method of any one of claims 1 to 3, wherein the long policy wind control rules comprise delivery address wind control rules, delivery style wind control rules, item discount coupon wind control rules, user virtual asset wind control rules.
6. The method according to any one of claims 1 to 3, wherein the processing the item ordering request according to the verification result and the item ordering request comprises:
if the verification result indicates that the order has risks, generating an order placing request failure prompt;
and if the verification result indicates that the order has no risk, generating an item order corresponding to the item ordering request.
7. The method according to claim 1, wherein the verifying the order information according to a preset information verification rule to obtain a verification result comprises:
if the order information is verified according to the short strategy to obtain a verification result, storing the verification result obtained by verifying the short strategy into a preset first queue;
and if the order information is verified according to the long strategy to obtain a verification result, storing the verification result obtained by verifying the long strategy into a preset second queue.
8. The method of claim 1, wherein after the order information is verified using the short policy, the method further comprises:
and when the short strategy cannot determine the risk, outputting an information display page to the client, wherein the information display page comprises a countdown which is used for indicating the progress of checking the order information by adopting the long strategy.
9. An order information processing apparatus, comprising:
the information acquisition module is used for acquiring order information corresponding to an article ordering request according to the article ordering request of the user submitted from the client;
the checking module is used for checking the order information according to a preset information checking rule to obtain a checking result, the checking result is used for indicating whether the order corresponding to the article ordering request has risks, and the information checking rule is as follows: the method comprises the steps that firstly, a short strategy is adopted to verify order information, and a long strategy is adopted to verify the order information after the short strategy cannot determine risks, wherein the number of wind control rules included in the short strategy is smaller than that of wind control rules included in the long strategy;
and the processing module is used for processing the item ordering request according to the verification result and the item ordering request.
10. The apparatus of claim 9, wherein the verification module is specifically configured to:
checking the order information according to the short strategy, and if the order information conforms to all the wind control rules in the short strategy, determining that the order has no risk;
if the order information does not accord with all the wind control rules in the short strategy, determining that the order has risks;
and if the order information conforms to part of the wind control rules in the short strategy, verifying the order information by adopting the long strategy to determine whether the order has risks.
11. The apparatus of claim 10, wherein the verification module is specifically configured to:
checking the order information according to the long strategy, and if the order information conforms to all the wind control rules in the long strategy, determining that the order has no risk;
and if the order information conforms to part of the wind control rules in the long strategy or does not conform to all the wind control rules in the long strategy, determining that the order has risks.
12. The apparatus of claim 10, wherein the processing module is specifically configured to:
if the verification result indicates that the order has risks, generating an order placing request failure prompt;
and if the verification result indicates that the order has no risk, generating an item order corresponding to the item ordering request.
13. A processing device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-8.
14. A readable storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 7 when executed by a processor.
15. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1-8 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110294061.3A CN113763116A (en) | 2021-03-19 | 2021-03-19 | Order information processing method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110294061.3A CN113763116A (en) | 2021-03-19 | 2021-03-19 | Order information processing method, device, equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113763116A true CN113763116A (en) | 2021-12-07 |
Family
ID=78786765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110294061.3A Pending CN113763116A (en) | 2021-03-19 | 2021-03-19 | Order information processing method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113763116A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114610511A (en) * | 2022-03-07 | 2022-06-10 | 北京百度网讯科技有限公司 | Input verification method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123031A (en) * | 2017-05-02 | 2017-09-01 | 深圳乐信软件技术有限公司 | A kind of order processing method and device |
CN107316134A (en) * | 2017-06-16 | 2017-11-03 | 深圳乐信软件技术有限公司 | A kind of risk control method, device, server and storage medium |
CN109741065A (en) * | 2019-01-28 | 2019-05-10 | 广州虎牙信息科技有限公司 | A kind of payment risk recognition methods, device, equipment and storage medium |
CN112132649A (en) * | 2020-08-28 | 2020-12-25 | 绿瘦健康产业集团有限公司 | Order verification processing method, device, medium and terminal equipment |
-
2021
- 2021-03-19 CN CN202110294061.3A patent/CN113763116A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123031A (en) * | 2017-05-02 | 2017-09-01 | 深圳乐信软件技术有限公司 | A kind of order processing method and device |
CN107316134A (en) * | 2017-06-16 | 2017-11-03 | 深圳乐信软件技术有限公司 | A kind of risk control method, device, server and storage medium |
CN109741065A (en) * | 2019-01-28 | 2019-05-10 | 广州虎牙信息科技有限公司 | A kind of payment risk recognition methods, device, equipment and storage medium |
CN112132649A (en) * | 2020-08-28 | 2020-12-25 | 绿瘦健康产业集团有限公司 | Order verification processing method, device, medium and terminal equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114610511A (en) * | 2022-03-07 | 2022-06-10 | 北京百度网讯科技有限公司 | Input verification method and device, electronic equipment and storage medium |
CN114610511B (en) * | 2022-03-07 | 2024-08-09 | 北京百度网讯科技有限公司 | Input verification method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107909471A (en) | A kind of method, apparatus of business processing, self-help terminal equipment and storage medium | |
US8606644B1 (en) | Order queue management in event ticket network systems | |
CN107958382A (en) | Abnormal behaviour recognition methods, device, electronic equipment and storage medium | |
CN110992020A (en) | Data processing method based on intelligent contract, related node and storage medium | |
US8001020B2 (en) | Budgetary ledger | |
JP7445785B2 (en) | Information processing methods, devices, electronic devices and storage media | |
CN108762907A (en) | Task processing method based on multiple client and system | |
CN112200450A (en) | Customer service distribution method, device and medium | |
CN110990486A (en) | Block link evidence issuing and storing method and device based on network data interaction | |
CN111626458A (en) | Processing method and device for user reservation request and related equipment | |
CN114187072A (en) | Aggregation taxi taking method and device, computer equipment and storage medium | |
CN106022495A (en) | After-sales service point queuing method, apparatus and system | |
CN113763116A (en) | Order information processing method, device, equipment and readable storage medium | |
CN107798405A (en) | Medical services reserving method, device, storage medium and computer equipment | |
CN107295052A (en) | A kind of method for processing business and device | |
CN112734533B (en) | Logistics rights and interests processing method and device for member users | |
CN104580193B (en) | A kind of data processing method and device | |
CN103780592A (en) | Method and apparatus for determining being stolen of user account | |
CN105512208B (en) | Information publishing method, device and system | |
CN110569346B (en) | Automatic service processing method, device, equipment and storage medium | |
CN112734387A (en) | Document approval method and device, electronic equipment and storage medium | |
EP3285179A1 (en) | Data transfer method and device | |
WO2014043389A2 (en) | Data processing method and system | |
CN111353766A (en) | Service process processing system and method of distributed service system | |
CN109377331B (en) | Data processing method and device for idle article, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |