Order cancel-after-verification intelligent control method and device, server and storage medium
By receiving and analyzing order information returned from recharge channels, the system automatically determines target keyword patterns and field values, solving the problem of low order verification efficiency caused by inconsistent recharge result information and achieving efficient and accurate order processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN FEIZHIDU TECH CO LTD
- Filing Date
- 2023-11-29
- Publication Date
- 2026-04-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing recharge scenarios, the recharge result information returned by different recharge channels is inconsistent, which requires manual processing for order verification, resulting in low efficiency and a high risk of human error.
By receiving order information returned by the recharge channel, it determines whether a keyword mode is configured, obtains the recharge count record value, determines the target keyword mode, and determines the target key field value based on the recharge result information and the target keyword mode, and executes automated reconciliation actions.
It automates order verification, improves efficiency, reduces the possibility of human error, adapts to non-uniform result information from different recharge channels, and is adaptive.
Smart Images

Figure HDA0004579573770000011 
Figure HDA0004579573770000021 
Figure HDA0004579573770000031
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an intelligent control method, device, server and storage medium for order verification. Background Technology
[0002] With the rapid development of the internet and the continuous increase in the number of internet users, online top-up scenarios are becoming increasingly common. However, existing top-up scenarios suffer from inconsistent top-up results returned by different channels, and even orders with multiple top-ups may return inconsistent results. This necessitates manual processing for order verification, severely impacting order processing efficiency. Summary of the Invention
[0003] In view of this, this application provides an intelligent control method, device, server and storage medium for order verification, in order to solve the technical problem of low efficiency when manually processing order verification.
[0004] A first aspect of this application provides an intelligent control method for order verification, the method comprising: Receive recharge result information for orders returned by the recharge channel; Determine whether a keyword mode has been configured for the aforementioned recharge channel. When a keyword mode is configured for the recharge channel, the recharge count record value of the order is obtained; The target keyword pattern is determined based on the recorded number of recharges. Determine the target key field value based on the recharge result information and the target keyword pattern; The cancellation action is performed based on the classification reason corresponding to the target key field value and the blacklist field value.
[0005] In an optional implementation, determining the target keyword pattern based on the recharge count record includes: Determine whether the recorded number of recharges is 1; When the recharge count record value is 1, the first preset keyword pattern in the keyword pattern is obtained, and the first preset keyword pattern is determined as the target keyword pattern; When the recharge count record value is not 1, determine whether a second preset keyword pattern exists in the keyword pattern; when the second preset keyword pattern exists in the keyword pattern, determine the second preset keyword pattern as the target keyword pattern; when the second preset keyword pattern does not exist in the keyword pattern, determine whether a third preset keyword pattern exists in the keyword pattern; when the third preset keyword pattern exists in the keyword pattern, determine the third preset keyword pattern as the target keyword pattern.
[0006] In an optional implementation, when the recharge count record value is 1, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple first key fields corresponding to the first preset keyword pattern; Determine whether there is a target first key field value among the plurality of first key field values that matches the recharge result information; When the target first key field value exists among the plurality of first key field values, determine whether the number of the target first key field values is 1; When the number of the target first key field values is 1, the target first key field value is determined as the target key field value; When the number of the target first key field values is not 1, calculate the first similarity between the recharge result information and each of the target first key field values, and determine the target first key field value corresponding to the largest first similarity as the target key field value.
[0007] In an optional implementation, when the recharge count record value is not 1 and the target keyword pattern is the second preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple second key fields corresponding to the second preset keyword pattern; The historical recharge result information corresponding to the recharge count record value of 1 is combined with the recharge result information to obtain the combined recharge result information; Determine whether there is a target second key field value among the plurality of second key field values that matches the combined recharge result information; When the target second key field value exists among the plurality of second key field values, determine whether the number of the target second key field value is 1; When the number of the target second key field values is 1, the target second key field value is determined as the target key field value; When the number of the target second key field values is not 1, calculate the second similarity between the combined recharge result information and each of the target second key field values, and determine the target second key field value corresponding to the largest second similarity as the target key field value.
[0008] In an optional implementation, when the recharge count record value is not 1 and the target keyword pattern is the third preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple third key fields corresponding to the third preset keyword pattern; Determine whether there is a target third key field value among the plurality of third key field values that matches the recharge result information; When the target third key field value exists among the plurality of third key field values, determine whether the number of the target third key field value is 1; When the number of the target third key field values is 1, the target third key field value is determined as the target key field value; When the number of the target third key field values is not 1, calculate the third similarity between the recharge result information and each of the target third key field values, and determine the target third key field value corresponding to the largest third similarity as the target key field value.
[0009] In an optional implementation, the step of performing the reversal action based on the classification reason and blacklist field value corresponding to the target key field value includes: When the classification reason corresponding to the target key field value is a system reason, the order will be reassigned to the recharge channel for recharge. When the value of the blacklist field corresponding to the target key field value is a preset value, the card key corresponding to the order will be blacklisted.
[0010] In an optional implementation, the method further includes: After blacklisting the card code corresponding to the order for a preset time period, the order is reassigned to the recharge channel for recharge.
[0011] A second aspect of this application provides an intelligent control device for order verification, the device comprising: The receiving module is used to receive the recharge result information of the order returned by the recharge channel. The judgment module is used to determine whether the keyword mode has been configured for the recharge channel. The acquisition module is used to acquire the recharge count record value of the order when a keyword mode is configured for the recharge channel. The determination module is used to determine the target keyword pattern based on the recharge count record value; The determining module is further configured to determine the target key field value based on the recharge result information and the target keyword pattern; The verification module performs verification actions based on the classification reason and blacklist field value corresponding to the target key field value.
[0012] A third aspect of this application provides a server including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the intelligent control method for order verification.
[0013] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements the steps of the intelligent control method for order verification.
[0014] This application receives order recharge result information returned by a recharge channel and determines whether a keyword mode has been configured for that channel. If a keyword mode has been configured, the application obtains the recharge count record value for the order, determines the target keyword mode based on the recharge count record value, determines the target key field value based on the recharge result information and the target keyword mode, and executes a verification action based on the classification reason and blacklist field value corresponding to the target key field value. This application can automate order verification processing, improving order processing efficiency without manual intervention, thereby reducing the possibility of human error. Furthermore, even if the recharge result information returned by different recharge channels is different, and the recharge result information returned by orders with multiple recharges is not uniform, this application determines the target keyword mode based on the recharge result information and recharge count record value returned by different recharge channels, and then adopts a verification processing strategy corresponding to the target keyword mode to execute the verification action. This has adaptability and can be applied to different recharge scenarios. Attached Figure Description
[0015] Figure 1 This is a flowchart of the intelligent control method for order verification provided in the embodiments of this application; Figure 2 This is a schematic diagram of an write-off rule configuration table provided in an embodiment of this application; Figure 3 This is a schematic diagram of another reversal rule configuration table provided in an embodiment of this application; Figure 4 This is a schematic diagram of another reimbursement rule configuration table provided in the embodiments of this application; Figure 5 This is a functional block diagram of the intelligent order verification control device provided in the embodiments of this application; Figure 6 This is a structural diagram of the server provided in the embodiments of this application. Detailed Implementation
[0016] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations that include one or more of the listed items.
[0017] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0018] Figure 1 This is a flowchart of the intelligent order verification control method provided in the embodiments of this application. The intelligent order verification control method is applied in a channel control server and specifically includes the following steps.
[0019] S11: Receive the order recharge result information returned by the recharge channel.
[0020] The channel control server communicates with multiple recharge channels via interfaces. Each recharge channel is a separate server, corresponding to one recharge channel. A recharge channel typically refers to an electronic payment or recharge platform, application, or website. After receiving a recharge order, the channel control server distributes it to the recharge channel. The recharge channel then processes the recharge order and returns the result information to the channel control server upon completion. Recharges can include game currency, points, game cards, and mobile phone credit top-ups.
[0021] The channel control server parses the interface data returned by the recharge channel to obtain the order recharge result information. The order recharge result information may include, but is not limited to: current order status, payment time, payment method, product name, full merchant name, acquiring institution, transaction number, and merchant order number. The current order status can be "System Problem," "System Problem 234," "Card Key Reason," or "Card Key Expired," etc.
[0022] For example, suppose the channel control server distributes a phone bill order to the recharge channel for recharge. The recharge channel returns the following recharge result information for this order: "System problem", payment time "September 9, 1999, 09:09:09", and product name "50 yuan phone bill card recharge".
[0023] S12, determine whether the keyword mode has been configured for the recharge channel.
[0024] The channel control server can provide a reimbursement rule configuration interface. Through this interface, authorized personnel can pre-select whether to configure reimbursement rules for one or more recharge channels based on actual needs. After authorized personnel configure reimbursement rules for recharge channels through the interface, the channel control server can generate a reimbursement rule configuration table for each channel and store it locally or upload it to the blockchain.
[0025] After receiving the recharge result information of the order returned by the recharge channel, the channel control server can determine whether the recharge channel has a reimbursement rule configuration table. If the recharge channel has a reimbursement rule configuration table, it indicates that a keyword mode has been configured for the recharge channel. If the recharge channel does not have a reimbursement rule configuration table, it indicates that a keyword mode has not been configured for the recharge channel.
[0026] Each row in the revocation rule configuration table represents a revocation rule, and each column in the table represents a field name, such as the keyword pattern field, initial keyword field, resend keyword field, classification reason field, blacklist field, blacklist duration field, and revocation action field. The keyword patterns include: first preset keyword pattern, second preset keyword pattern, and third preset keyword pattern.
[0027] Different keyword patterns represent recharge result information for different numbers of recharges. The first preset keyword pattern indicates the reconciliation rules to be executed when an order is recharged for the first time. The second and third preset keyword patterns indicate the reconciliation rules to be executed when an order is recharged multiple times. The second preset keyword pattern is obtained by combining the first and third preset keyword patterns in sequence. The classification reason is used to determine the classification of the matched recharge result information and to execute the corresponding reconciliation action according to the classification reason.
[0028] The personnel with configuration permissions are typically administrators of the channel control server or other authorized personnel. The reimbursement rule configuration table is summarized and compiled by these personnel based on existing reimbursement processing experience. Each reimbursement rule in the configuration table has strong logic and constraints, ensuring that the recharge result information has a unique reimbursement execution logic.
[0029] When a keyword mode is configured for the recharge channel, execute S13; when no keyword mode is configured for the recharge channel, execute S16. By determining whether a keyword mode is configured for the recharge channel, the recharge result information returned by the recharge channel with the keyword mode configured can be separated from the recharge result information returned by the recharge channel without the keyword mode configured. For the recharge result information returned by the recharge channel with the keyword mode configured, automated verification processing is performed; for the recharge result information returned by the recharge channel without the keyword mode configured, manual verification processing is used, thereby improving the efficiency of order verification.
[0030] S13, obtain the recharge count record value of the order.
[0031] The channel control server pre-stores a recharge count record table, which records the order number and corresponding recharge count value for each order. When an order is recharged for the first time, the corresponding recharge count value is 1. When the same order is recharged again, the corresponding recharge count value is updated to 2. Each subsequent recharge of the same order increments the corresponding recharge count value by 1.
[0032] By obtaining the recharge count record value of the order, the target keyword pattern can be determined, so as to determine the target key field value based on the recharge result information and the target keyword pattern, and then perform the cancellation action based on the classification reason and blacklist field value corresponding to the target key field value.
[0033] S14, determine the target keyword pattern based on the recharge count record value.
[0034] Different recharge records result in different target keyword patterns, leading to different reimbursement actions.
[0035] In an optional implementation, determining the target keyword pattern based on the recharge count record includes: Determine whether the recorded number of recharges is 1; When the recharge count record value is 1, the first preset keyword pattern in the keyword pattern is obtained, and the first preset keyword pattern is determined as the target keyword pattern; When the recharge count record value is not 1, determine whether a second preset keyword pattern exists in the keyword pattern; when the second preset keyword pattern exists in the keyword pattern, determine the second preset keyword pattern as the target keyword pattern; when the second preset keyword pattern does not exist in the keyword pattern, determine whether a third preset keyword pattern exists in the keyword pattern; when the third preset keyword pattern exists in the keyword pattern, determine the third preset keyword pattern as the target keyword pattern.
[0036] Since each order involves an initial top-up process, when configuring redemption rules for top-up channels, you can choose to configure only the first keyword mode, the first keyword mode and the second keyword mode, the first keyword mode and the third keyword mode, or the first keyword mode, the second keyword mode, and the third keyword mode simultaneously. The first keyword mode can be the initial keyword mode, the second keyword mode can be the combined keyword mode, and the third keyword mode can be the resend keyword mode.
[0037] The channel control server first retrieves the recharge count record value of the order from the recharge count record data table, and then determines whether the recharge count record value is 1. If the recharge count record value is 1, it means that this order is the first recharge, and then the first preset keyword mode in the keyword mode in the reimbursement rule configuration table is directly determined as the target keyword mode, for example, the target keyword mode is determined to be the first-time keyword mode.
[0038] If the recharge count record value is not 1, the system first checks the reconciliation rule configuration table to see if a second preset keyword pattern exists, and then checks if a combined keyword pattern exists. If a second preset keyword pattern is found, it is designated as the target keyword pattern. If a second preset keyword pattern is not found, the system checks the reconciliation rule configuration table to see if a third preset keyword pattern exists, i.e., checks if a resend keyword pattern exists. If a third preset keyword pattern is not found, the order's recharge result information is written to the exception list for manual reconciliation.
[0039] S15, determine the target key field value based on the recharge result information and the target keyword pattern.
[0040] Since different keyword patterns correspond to different reimbursement rules in the reimbursement rule configuration table, and the same keyword pattern can correspond to one or more key field values, after determining the target keyword pattern, it is also necessary to combine the recharge result information to determine the target key field value.
[0041] In an optional implementation, when the recharge count record value is 1, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple first key fields corresponding to the first preset keyword pattern; Determine whether there is a target first key field value among the plurality of first key field values that matches the recharge result information; When the target first key field value exists among the plurality of first key field values, determine whether the number of the target first key field values is 1; When the number of the target first key field values is 1, the target first key field value is determined as the target key field value; When the number of the target first key field values is not 1, calculate the first similarity between the recharge result information and each of the target first key field values, and determine the target first key field value corresponding to the largest first similarity as the target key field value.
[0042] For ease of description below, the key field value corresponding to the first preset keyword pattern will be referred to as the first key field value.
[0043] When the recharge count record value is 1, it indicates that the recharge result information of the order is the information obtained from the first recharge. Then, the recharge result information is matched with the multiple first key field values. Matching the recharge result information with the multiple first key field values can yield the following three matching results: no first key field value is matched, one first key field value is matched, or multiple first key field values are matched.
[0044] If no first key field value is matched, that is, if no first key field value matches the recharge result information, the recharge result information of the order is written into the abnormal list for manual verification.
[0045] When a first key field value is matched, that is, when there is a unique first key field value that matches the recharge result information, the matched first key field value is determined as the target first key field value.
[0046] When multiple first key field values are matched, that is, when multiple first key field values match the recharge result information, the target key field value is determined based on the first similarity between the recharge result information and the target first key field value. A similarity calculation function, such as the Euclidean distance function, can be used to calculate the similarity between the recharge result information and each target first key field value.
[0047] For example, such as Figure 2 As shown, assuming the recharge result information returned by the recharge channel for a certain order after the first recharge is "System Problem", since this order is the first recharge, the "First Keyword Pattern" in the keyword pattern is queried, and multiple first key field values corresponding to the "First Keyword Pattern" are obtained: "System Problem" and "System Problem 2". Each first key field value corresponds to a reconciliation rule. Since the first key field values "System Problem" and "System Problem 2" match the recharge result information "System Problem", they are the target first key field values. The similarity between the target first key field value "System Problem" and the recharge result information "System Problem" is 100%, and the similarity between the target first key field value "System Problem 2" and the recharge result information "System Problem" is 95%. Therefore, the target first key field value "System Problem" is determined as the target key field value, and the reconciliation rule corresponding to the target key field value "System Problem" is determined as the target reconciliation rule.
[0048] In an optional implementation, when the recharge count record value is not 1 and the target keyword pattern is the second preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple second key fields corresponding to the second preset keyword pattern; The historical recharge result information corresponding to the recharge count record value of 1 is combined with the recharge result information to obtain the combined recharge result information; Determine whether there is a target second key field value among the plurality of second key field values that matches the combined recharge result information; When the target second key field value exists among the plurality of second key field values, determine whether the number of the target second key field value is 1; When the number of the target second key field values is 1, the target second key field value is determined as the target key field value; When the number of the target second key field values is not 1, calculate the second similarity between the combined recharge result information and each of the target second key field values, and determine the target second key field value corresponding to the largest second similarity as the target key field value.
[0049] For ease of description below, the key field value corresponding to the second preset keyword pattern will be referred to as the second key field value.
[0050] When the recharge count record value is greater than 1, it indicates that the order's recharge result information is from multiple recharges. Therefore, when determining the target keyword pattern as the second preset keyword pattern, the historical recharge result information corresponding to a recharge count record value of 1 is first combined with the recharge result information to obtain combined recharge result information. Then, the combined recharge result information is matched with the multiple second key field values. Matching the combined recharge result information with the multiple second key field values can yield the following three matching results: no matching of any second key field value, matching of one second key field value, or matching of multiple second key field values.
[0051] If no second key field value is matched, that is, if no second key field value matches the recharge result information, the recharge result information of the order is written into the abnormal list for manual verification.
[0052] When a second key field value is matched, that is, when there is a unique second key field value that matches the recharge result information, the matched second key field value is determined as the target second key field value.
[0053] When multiple second key field values are matched, that is, when multiple second key field values match the recharge result information, the target key field value is determined based on the second similarity between the combined recharge result information and the target second key field value. A similarity calculation function, such as the Euclidean distance function, can be used to calculate the similarity between the combined recharge result information and each target second key field value.
[0054] For example, such as Figure 3As shown, assuming a combined keyword pattern exists within the keyword pattern, and the recharge result information for a certain order returned by the recharge channel after the first recharge is "Unknown Error," and the recharge result information for the same order after the second recharge is "System Problem," then the combined recharge result information is "Unknown Error, System Problem." Since this order is the second recharge, the combined keyword pattern in the keyword pattern is queried, obtaining multiple second key field values corresponding to the combined keyword pattern: "System Problem, System Problem," "Unknown Error, System Problem 12," "Unknown Error, System Problem," and "Unknown Error 12, System Problem 12." Each second key field value corresponds to a reconciliation rule. Since the second key field values "Unknown Error, System Problem 12" and "Unknown Error, System Problem" match the combined recharge result information "Unknown Error, System Problem," then the second key field values "Unknown Error, System Problem 12" and "Unknown Error, System Problem" are the target second key field values. Among them, the similarity between the target second key field value "Unknown error, system problem" and the combined recharge result information "Unknown error, system problem" is 100%, and the similarity between the target second key field value "Unknown error, system problem 12" and the recharge result information "Unknown error, system problem" is 96%. Therefore, the target second key field value "Unknown error, system problem" is determined as the target key field value, and the reimbursement rule corresponding to the target key field value "Unknown error, system problem" is determined as the target reimbursement rule.
[0055] In an optional implementation, when the recharge count record value is not 1 and the target keyword pattern is the third preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple third key fields corresponding to the third preset keyword pattern; Determine whether there is a target third key field value among the plurality of third key field values that matches the recharge result information; When the target third key field value exists among the plurality of third key field values, determine whether the number of the target third key field value is 1; When the number of the target third key field values is 1, the target third key field value is determined as the target key field value; When the number of the target third key field values is not 1, calculate the third similarity between the recharge result information and each of the target third key field values, and determine the target third key field value corresponding to the largest third similarity as the target key field value.
[0056] For ease of description below, the key field value corresponding to the third preset keyword pattern will be referred to as the third key field value.
[0057] When the number of recharge records is greater than 1, it indicates that the order's recharge result information is from multiple recharges. Therefore, when the target keyword pattern is determined to be the third preset keyword pattern, the recharge result information is matched with the multiple third key field values. Matching the recharge result information with the multiple third key field values can yield three matching results: no match for any third key field value, match for one third key field value, or match for multiple third key field values.
[0058] If no third key field value is matched, that is, if no third key field value matches the recharge result information, the recharge result information of the order is written into the abnormal list for manual verification.
[0059] When a third key field value is matched, that is, when there is a unique third key field value that matches the recharge result information, the matched third key field value is determined as the target third key field value.
[0060] When multiple third key field values are matched, that is, when multiple third key field values match the recharge result information, the target key field value is determined based on the third similarity between the recharge result information and the target third key field value. A similarity calculation function, such as the Euclidean distance function, can be used to calculate the similarity between the recharge result information and each target third key field value.
[0061] For example, such as Figure 4As shown, assuming there is no combined keyword pattern in the keyword pattern, but a resend keyword pattern exists, the recharge result information for a certain order returned by the recharge channel after the first recharge is "unknown error," and the recharge result information for the same order after the third recharge is "system upgrade." Since this order is the third recharge and there is no combined keyword pattern in the keyword pattern, the resend keyword pattern in the keyword pattern is queried. Multiple third key field values corresponding to the resend keyword pattern are obtained: "System Upgrade in Progress," "System Upgrade," and "System Upgrade 12." Each third key field value corresponds to a reconciliation rule. Since the third key field values "System Upgrade in Progress," "System Upgrade," and "System Upgrade 12" match the recharge result information "System Upgrade," the third key field values "System Upgrade in Progress," "System Upgrade," and "System Upgrade 12" are the target third key field values. Among them, the similarity between the target third key field value "System Upgrade" and the recharge result information "System Upgrade" is 100%, the similarity between the target third key field value "System Upgrade in Progress" and the recharge result information "System Upgrade" is 95%, and the similarity between the target third key field value "System Upgrade 12" and the recharge result information "System Upgrade" is 97%. Therefore, the target third key field value "System Upgrade" is determined as the target key field value, and the reimbursement rule corresponding to the target key field value "System Upgrade" is determined as the target reimbursement rule.
[0062] S16, Perform a cancellation action based on the classification reason and blacklist field value corresponding to the target key field value.
[0063] The target key field value has one and only one keyword pattern. Each keyword pattern corresponds to a classification reason and a blacklist field value. The classification reason is pre-configured by personnel with configuration permissions and may include, but is not limited to, "successful cancellation", "system reason", "card reason", and "account reason". The blacklist field corresponds to two blacklist field values: a preset value and a null value, with the default being null. When the classification reason is "card reason" or "account reason", the blacklist field value can be configured to be the preset value. The cancellation action refers to the fixed process to be executed when the order is cancelled based on the recharge result information and the matched classification reason and blacklist field value corresponding to the target key field value.
[0064] By using the classification reasons and blacklist field values corresponding to the target key field values, the order can be automatically and accurately processed for reconciliation, improving the efficiency and accuracy of order reconciliation.
[0065] In an optional implementation, the step of performing the reversal action based on the classification reason and blacklist field value corresponding to the target key field value includes: When the classification reason corresponding to the target key field value is a system reason, the order will be reassigned to the recharge channel for recharge. When the value of the blacklist field corresponding to the target key field value is a preset value, the card key corresponding to the order will be blacklisted.
[0066] When the classification reason corresponding to the target key field value is successful reconciliation, the channel control server automatically triggers the successful reconciliation action, generates a notification of successful order reconciliation, and archives the reconciliation record of this order.
[0067] When the classification reason corresponding to the target key field value is a system reason, the channel control server will automatically trigger a polling mechanism to redistribute the order to the recharge channel for recharge, determine the target keyword pattern again based on the recharge count record value, and determine the target key field value based on the recharge result information and the re-determined target keyword pattern. Then, the cancellation action will be performed again based on the classification reason and blacklist field value corresponding to the re-determined target key field value.
[0068] When the classification reason corresponding to the target key field value is card code reason or account reason, and the blacklist field value is the preset value, a notification of order reconciliation failure is generated, and the reconciliation record of this order is archived.
[0069] When the classification reason corresponding to the target key field value is card code reason or account reason, and the blacklist field value is empty, the channel control server automatically triggers the card code blacklist mechanism, sets the card code corresponding to the order to blacklist, generates a notification of order reconciliation failure, and archives the reconciliation record of this order.
[0070] The reasons for using the card key may include, but are not limited to: the card key has expired, the card key has been used, or the card key does not exist. The reasons for using the account may include, but are not limited to: the account has been cancelled, or the current account has been ported to another network.
[0071] For example, suppose the resale rule configuration table contains the following resale rules: Resale Rule 1: Initial keyword value is "System problem", resend keyword value is empty, combined keyword value is empty, categorized reason is "System reason", and the blacklist field value defaults to "No"; Resale Rule 2: Initial keyword value is "System problem 234", resend keyword value is empty, combined keyword value is empty, categorized reason is "Resale successful", and the blacklist field value defaults to "No"; Resale Rule 3: Initial keyword value is empty, resend keyword value is "Card key invalid", combined keyword value is empty, categorized reason is "Card key reason", and the blacklist configuration is "Yes"; Resale Rule 4: Initial keyword value is empty, resend keyword value is "Card key reason", combined keyword value is empty, categorized reason is "System reason", and the blacklist configuration is "Yes"; The reason for the first recharge is "Yes"; Reconciliation Rule 5: Initial keyword value is empty, resend keyword value is empty, combined keyword value is "System problem, card key invalid", categorized reason is "Card key reason", blacklist field value is "Yes"; Reconciliation Rule 6: Initial keyword value is empty, resend keyword value is empty, combined keyword value is "System problem, card key reason", categorized reason is "Card key reason", blacklist field value is "No"; If the recharge result information corresponding to the first recharge of the order is "System problem", initial keyword matching is performed. Reconciliation Rule 1 and Reconciliation Rule 2 can match. Since Reconciliation Rule 1 has the highest similarity to the recharge result information, the initial keyword value "System problem" corresponding to Reconciliation Rule 1 is the target key field value. The categorized reason for Reconciliation Rule 1 is "System reason", and the order is reassigned to the recharge channel for recharge.
[0072] Suppose that the recharge result information for the second recharge of an order is "card key invalid," and the recharge record count is 2. A combination of key fields is used, resulting in the recharge result information "system problem, card key invalid." The combined key field value that matches the recharge result information is verification rule 5. The classification reason for verification rule 5 is "card key reason," and the blacklist field value is "yes." The channel control server automatically triggers the blacklist action, setting the card key corresponding to the order to be blacklisted and generating a notification of order verification failure. If verification rule 5 does not exist, the recharge result information "card key invalid" for the second recharge is matched with the resend keyword. If a match is found with verification rule 3, the order is processed for verification according to the classification reason corresponding to verification rule 3.
[0073] Assuming the order's recharge result information for the second recharge is "system problem," and for the third recharge it's "card code reason," a combined key field is used. The combined recharge result information is "system problem, card code reason." This combined recharge result information matches reconciliation rule 6, with the categorization reason for reconciliation rule 6 being "card code reason." The blacklist field value is "no," and the channel control server generates a notification of order reconciliation failure. If reconciliation rule 6 does not exist, the recharge result information "card code reason" for the third recharge is matched with the resend keyword. This matches reconciliation rule 4, and the order is processed for reconciliation according to the categorization reason of reconciliation rule 4.
[0074] In an optional implementation, the method further includes: After blacklisting the card code corresponding to the order for a preset time period, the order is reassigned to the recharge channel for recharge.
[0075] Through the reconciliation rule configuration interface, authorized personnel can pre-configure the blacklist duration for card codes according to actual needs. When setting the blacklist for the card code corresponding to the order, the blacklist time period can be set, including but not limited to the following settings: by hour, by day, by month, permanent, etc. Orders within the preset blacklist time period cannot be processed for reconciliation. That is, if the channel control server receives the order again within the preset blacklist time period, it will directly block the order and not process it for reconciliation. After the preset blacklist time period is set, the order will be reassigned to the recharge channel for recharge, and the order reconciliation process will be executed again based on the recharge result information.
[0076] S17, Write the recharge result information into the abnormal list.
[0077] When no keyword mode is configured for the recharge channel, the recharge result information of the order is written into the abnormal list and manually processed to ensure the reliability of order processing.
[0078] This application receives order recharge result information returned by a recharge channel and determines whether a keyword mode has been configured for that channel. If a keyword mode has been configured, the application obtains the recharge count record value for the order, determines the target keyword mode based on the recharge count record value, determines the target key field value based on the recharge result information and the target keyword mode, and executes a verification action based on the classification reason and blacklist field value corresponding to the target key field value. This application can automate order verification processing, improving order processing efficiency without manual intervention, thereby reducing the possibility of human error. Furthermore, even if the recharge result information returned by different recharge channels is different, and the recharge result information returned by orders with multiple recharges is not uniform, this application determines the target keyword mode based on the recharge result information and recharge count record value returned by different recharge channels, and then adopts a verification processing strategy corresponding to the target keyword mode to execute the verification action. This has adaptability and can be applied to different recharge scenarios. Figure 5 This is a functional block diagram of the intelligent order verification control device provided in the embodiments of this application.
[0079] In some embodiments, the intelligent order verification control device 50 may include multiple functional modules composed of computer program segments. The computer programs for each program segment in the intelligent order verification control device 50 may be stored in the memory of the intelligent order verification control device and executed by at least one processor to perform (see details). Figure 1 (Description) The function of intelligent control for order verification.
[0080] In this embodiment, the intelligent order verification control device 50 can be divided into multiple functional modules according to the functions it performs. These functional modules may include: a receiving module 501, a judging module 502, an acquiring module 503, a determining module 504, a verification module 505, and a distribution module 506. The module referred to in this invention is a series of computer program segments that can be executed by at least one processor and perform a fixed function, and which are stored in memory.
[0081] The receiving module 501 is used to receive the order recharge result information returned by the recharge channel.
[0082] The judgment module 502 is used to determine whether the keyword mode has been configured for the recharge channel.
[0083] The acquisition module 503 is used to acquire the recharge count record value of the order when a keyword mode is configured for the recharge channel.
[0084] The determining module 504 is used to determine the target keyword pattern based on the recharge count record value.
[0085] The determining module 504 is further configured to determine the target key field value based on the recharge result information and the target keyword pattern.
[0086] The verification module 505 performs a verification action based on the classification reason and blacklist field value corresponding to the target key field value.
[0087] The diversion module 506 is used to redistribute the order to the recharge channel for recharge after blacklisting the card code corresponding to the order for a preset time period.
[0088] It should be understood that the various variations and specific embodiments of the intelligent order verification control method provided in the above embodiments are also applicable to the intelligent order verification control device in this embodiment. Through the foregoing detailed description of the intelligent order verification control method, those skilled in the art can clearly understand the implementation process of the intelligent order verification control device in this embodiment. For the sake of brevity, it will not be described in detail here.
[0089] This application also provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements all or part of the steps of the intelligent control method for order verification.
[0090] See Figure 6 The diagram shown is a structural schematic of a server provided in an embodiment of this application. In a preferred embodiment of this application, the server 6 includes a memory 61, at least one processor 62, and at least one communication bus 63.
[0091] Those skilled in the art should understand that Figure 6 The server structure shown does not constitute a limitation of the embodiments of this application. It can be a bus structure or a star structure. The server 6 may also include more or fewer other hardware or different component arrangements than shown.
[0092] In some embodiments, the server 6 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. The server 6 may also include client devices, which include, but are not limited to, any electronic product that can interact with a client via a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smartphone, or digital camera.
[0093] In some embodiments, the memory 61 stores a computer program that, when executed by the at least one processor 62, implements all or part of the steps in the intelligent order verification control method described above. The memory 61 includes read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Further, the computer-readable storage medium mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for a function, etc.
[0094] In some embodiments, the at least one processor 62 is the control unit of the server 6, connecting various components of the server 6 via various interfaces and lines. It executes programs or modules stored in the memory 61 and calls data stored in the memory 61 to perform various functions of the server 6 and process data. For example, when the at least one processor 62 executes a computer program stored in the memory, it implements all or part of the steps of the intelligent order verification control method described in this application embodiment; or it implements all or part of the functions of the intelligent order verification control method. The at least one processor 62 may be composed of integrated circuits, such as a single-packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0095] In some embodiments, the at least one communication bus 63 is configured to enable communication between the memory 61 and the at least one processor 62, etc. Although not shown, the server 6 may also include a power supply (e.g., a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 62 via a power management device, thereby enabling functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The server 6 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0096] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a processor to execute portions of the methods described in the various embodiments of this application.
[0097] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0098] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0099] The above content is only a specific implementation of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application.
Claims
1. A method for intelligent control of order verification, characterized in that, The method includes: Receive recharge result information for orders returned by the recharge channel; Determine whether a keyword mode has been configured for the aforementioned recharge channel. When a keyword mode is configured for the recharge channel, the recharge count record value of the order is obtained; The target keyword pattern is determined based on the recorded number of recharges. Determine the target key field value based on the recharge result information and the target keyword pattern; The cancellation action is performed based on the classification reason corresponding to the target key field value and the blacklist field value.
2. The intelligent control method for order verification according to claim 1, characterized in that, The step of determining the target keyword pattern based on the recharge count record includes: Determine whether the recorded number of recharges is 1; When the recharge count record value is 1, the first preset keyword pattern in the keyword pattern is obtained, and the first preset keyword pattern is determined as the target keyword pattern; When the recharge count record value is not 1, determine whether a second preset keyword pattern exists in the keyword pattern; when the second preset keyword pattern exists in the keyword pattern, determine the second preset keyword pattern as the target keyword pattern; when the second preset keyword pattern does not exist in the keyword pattern, determine whether a third preset keyword pattern exists in the keyword pattern; when the third preset keyword pattern exists in the keyword pattern, determine the third preset keyword pattern as the target keyword pattern.
3. The intelligent control method for order verification according to claim 2, characterized in that, When the recharge count record value is 1, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple first key fields corresponding to the first preset keyword pattern; Determine whether there is a target first key field value among the plurality of first key field values that matches the recharge result information; When the target first key field value exists among the plurality of first key field values, determine whether the number of the target first key field values is 1; When the number of the target first key field values is 1, the target first key field value is determined as the target key field value; When the number of the target first key field values is not 1, calculate the first similarity between the recharge result information and each of the target first key field values, and determine the target first key field value corresponding to the largest first similarity as the target key field value.
4. The intelligent control method for order verification according to claim 3, characterized in that, When the recharge count record value is not 1 and the target keyword pattern is the second preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple second key fields corresponding to the second preset keyword pattern; The historical recharge result information corresponding to the recharge count record value of 1 is combined with the recharge result information to obtain the combined recharge result information; Determine whether there is a target second key field value among the plurality of second key field values that matches the combined recharge result information; When the target second key field value exists among the plurality of second key field values, determine whether the number of the target second key field value is 1; When the number of the target second key field values is 1, the target second key field value is determined as the target key field value; When the number of the target second key field values is not 1, calculate the second similarity between the combined recharge result information and each of the target second key field values, and determine the target second key field value corresponding to the largest second similarity as the target key field value.
5. The intelligent control method for order verification according to claim 3, characterized in that, When the recharge count record value is not 1 and the target keyword pattern is the third preset keyword pattern, determining the target key field value based on the recharge result information and the target keyword pattern includes: Obtain the values of multiple third key fields corresponding to the third preset keyword pattern; Determine whether there is a target third key field value among the plurality of third key field values that matches the recharge result information; When the target third key field value exists among the plurality of third key field values, determine whether the number of the target third key field value is 1; When the number of the target third key field values is 1, the target third key field value is determined as the target key field value; When the number of the target third key field values is not 1, calculate the third similarity between the recharge result information and each of the target third key field values, and determine the target third key field value corresponding to the largest third similarity as the target key field value.
6. The intelligent control method for order verification according to any one of claims 1 to 5, characterized in that, The step of performing the cancellation action based on the classification reason and blacklist field value corresponding to the target key field value includes: When the classification reason corresponding to the target key field value is a system reason, the order will be reassigned to the recharge channel for recharge. When the value of the blacklist field corresponding to the target key field value is a preset value, the card key corresponding to the order will be blacklisted.
7. The intelligent control method for order verification according to claim 6, characterized in that, The method further includes: After blacklisting the card code corresponding to the order for a preset time period, the order is reassigned to the recharge channel for recharge.
8. An intelligent control device for order verification, characterized in that, The device includes: The receiving module is used to receive the recharge result information of the order returned by the recharge channel. The judgment module is used to determine whether the keyword mode has been configured for the recharge channel. The acquisition module is used to acquire the recharge count record value of the order when a keyword mode is configured for the recharge channel. The determination module is used to determine the target keyword pattern based on the recharge count record value; The determining module is further configured to determine the target key field value based on the recharge result information and the target keyword pattern; The verification module performs verification actions based on the classification reason and blacklist field value corresponding to the target key field value.
9. A server, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the intelligent control method for order verification as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the intelligent control method for order verification as described in any one of claims 1 to 7.