Settlement bill data processing method and device based on intelligent matching settlement rule

Through the intelligent matching settlement rules processing method, the inefficiency problem of the Internet localized service platform when supporting multiple settlement needs is solved, and the processing efficiency of settlement statement data is quickly processed and optimized.

CN118886983APending Publication Date: 2024-11-01深圳市分期乐网络科技有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410951830.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, when the Internet localized service platform supports the settlement needs of different merchants, it needs to develop business processes and code logic in a targeted manner, resulting in inefficient data in settlement mode and inefficient order data processing.

Method used

Using a method based on intelligent matching settlement rules, by obtaining transaction order data and operating based on target settlement rules in the preset settlement rule database, we can quickly determine settlement results and shorten the settlement processing link.

Benefits of technology

It improves the data processing efficiency of merchant settlement mode, shortens the processing link of order data to be settled, and improves settlement efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886983A_ABST
    Figure CN118886983A_ABST
Patent Text Reader

Abstract

The invention discloses a settlement bill data processing method and device based on an intelligent matching settlement rule, and the method comprises the steps: obtaining to-be-settled order data, and storing the to-be-settled order data in a to-be-settled list in a local database; if it is determined that the current system time reaches the preset settlement time, obtaining corresponding target settlement rule data from a preset settlement rule base for each piece of to-be-settled order data in the to-be-settled list; for each piece of to-be-settled order data, performing order operation based on the corresponding target settlement rule data to obtain a corresponding settlement result; and for each settlement result, if a preset condition is satisfied, executing a corresponding settlement payment operation on the settlement result, and updating a payment execution state of the settlement result. According to the embodiment of the invention, the target settlement rule data of the merchant can be quickly determined based on the preset settlement rule base, a processing link for settlement of the to-be-settled order data in an internet localization service platform is shortened, and the processing efficiency of the to-be-settled order data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for processing settlement order data based on intelligent matching settlement rules. Background Art

[0002] At present, various Internet localization service platforms provide a variety of online services, such as takeaway ordering, self-pickup, group ordering, offline payment, etc. At the same time, it has also attracted many merchants to settle in the Internet localization service platform. The merchants settled in the Internet localization service platform are diverse, with different service scenarios and scales, and different needs for fund settlement such as payment.

[0003] Because different merchants have different settlement needs, the operating companies corresponding to the Internet localization service platform will develop corresponding business processes and code logic for different merchants in a targeted manner to achieve different settlement modes, and dynamically support different settlement periods for different merchants based on configuration methods (such as T+1, T+2, T+N, etc., where T represents the payment date and N is a positive integer).

[0004] It can be seen that with the change or addition of business scenarios and settlement modes of the Internet localization service platform, if the above-mentioned targeted development of corresponding business processes and code logic for merchants with different needs is adopted, and the configuration-based method dynamically supports more business scenarios and settlement modes, the system changes to the Internet localization service platform are large, resulting in low efficiency in obtaining the settlement mode data required by merchants. Moreover, even after obtaining the settlement mode data required by merchants, the regression link for order data processing is long and inefficient. Summary of the invention

[0005] The embodiments of the present invention provide a settlement order data processing method and device based on intelligent matching settlement rules, aiming to solve the problem that in the prior art, corresponding business processes and code logic are developed in a targeted manner for merchants with different needs, and the configuration-based method dynamically supports more business scenarios and settlement modes for merchants, which not only leads to inefficiency in obtaining the settlement mode data required by the merchants, but also the regression link of the obtained settlement mode data for order data processing is long and inefficient.

[0006] In a first aspect, an embodiment of the present invention provides a method for processing settlement order data based on intelligent matching settlement rules, which includes:

[0007] In response to a quasi-real-time settlement instruction for a transaction order, acquiring to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and storing the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and an initial settlement state of the to-be-settled list is a waiting settlement state;

[0008] If it is determined that the current system time reaches the preset settlement time, the waiting settlement state of the to-be-settled list is switched to the start settlement state, and the to-be-settled list is obtained;

[0009] For each order data to be settled in the to-be-settled list, corresponding target settlement rule data is obtained from a preset settlement rule library based on the name of the settlement subject, the current system time and the preset settlement rule screening strategy; wherein the preset settlement rule library is a settlement rule template library that can extend settlement rules;

[0010] For each to-be-settled order data in the to-be-settled list, order calculation is performed based on the corresponding target settlement rule data to obtain a corresponding settlement result;

[0011] For the settlement result corresponding to each to-be-settled order data in the to-be-settled list, if it is determined that the current system date reaches the preset payment date, a corresponding settlement payment operation is performed on the settlement result and the corresponding settlement result payment execution status is updated.

[0012] In a second aspect, an embodiment of the present invention further provides a settlement order data processing device based on intelligent matching settlement rules, which includes:

[0013] A to-be-settled order data acquisition unit, configured to, in response to a quasi-real-time settlement instruction for a transaction order, acquire the to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and store the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and an initial settlement state of the to-be-settled list is a waiting settlement state;

[0014] A to-be-settled list acquisition unit, configured to switch the waiting settlement state of the to-be-settled list to the start settlement state and acquire the to-be-settled list if it is determined that the current system time has reached the preset settlement time;

[0015] a target settlement rule acquisition unit, configured to acquire corresponding target settlement rule data from a preset settlement rule library for each to-be-settled order data in the to-be-settled list based on the name of the settlement subject, the current system time and the preset settlement rule screening strategy; wherein the preset settlement rule library is a settlement rule template library that can extend settlement rules;

[0016] A target settlement rule execution unit, configured to perform order calculation based on the corresponding target settlement rule data for each to-be-settled order data in the to-be-settled list, to obtain a corresponding settlement result;

[0017] The payment operation execution unit is used to execute the corresponding settlement payment operation on the settlement result corresponding to each to-be-settled order data in the to-be-settled list and update the corresponding settlement result payment execution status if it is determined that the current system date reaches the preset payment date.

[0018] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0019] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method described in the first aspect above can be implemented.

[0020] The embodiment of the present invention provides a method and device for processing settlement order data based on intelligent matching settlement rules, the method comprising: in response to a quasi-real-time settlement instruction of a transaction order, obtaining to-be-settled order data corresponding to the quasi-real-time settlement instruction of the transaction order, and storing the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and the initial settlement state of the to-be-settled list is a waiting settlement state; if it is determined that the current system time has reached a preset settlement time, the waiting settlement state of the to-be-settled list is switched to a start settlement state, and the to-be-settled list is obtained; for the to-be-settled order data, the to-be-settled order data is stored in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and the initial settlement state of the to-be-settled list is a waiting settlement state; if it is determined that the current system time has reached a preset settlement time, the waiting settlement state of the to-be-settled list is switched to a start settlement state, and the to-be-settled list is obtained; Each to-be-settled order data in the settlement list obtains the corresponding target settlement rule data in the preset settlement rule library based on the settlement subject name, the current system time and the preset settlement rule screening strategy; wherein the preset settlement rule library is a settlement rule template library of extensible settlement rules; for each to-be-settled order data in the to-be-settled list, an order operation is performed based on the corresponding target settlement rule data to obtain a corresponding settlement result; for the settlement result corresponding to each to-be-settled order data in the to-be-settled list, if it is determined that the current system date reaches the preset payment date, the corresponding settlement payment operation is performed on the settlement result and the corresponding settlement result payment execution status is updated. The embodiment of the present invention can not only quickly determine the merchant's target settlement rule data based on the preset settlement rule library, but also shorten the processing link for the settlement of to-be-settled order data in the Internet localization service platform, and improve the efficiency of processing the to-be-settled order data. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0022] Figure 1 A schematic diagram of an application scenario of a settlement order data processing method based on intelligent matching settlement rules provided in an embodiment of the present invention;

[0023] Figure 2 A flow chart of a method for processing settlement order data based on intelligent matching settlement rules provided in an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of a sub-flow of a method for processing settlement order data based on intelligent matching settlement rules provided in an embodiment of the present invention;

[0025] Figure 4 A schematic block diagram of a settlement order data processing device based on intelligent matching settlement rules provided in an embodiment of the present invention;

[0026] Figure 5 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] Please also refer to Figure 1 and Figure 2 ,in Figure 1 Schematic diagram of a scenario of a method for processing settlement order data based on intelligent matching settlement rules according to an embodiment of the present invention. Figure 2 Schematic diagram of the flow of the settlement order data processing method based on intelligent matching settlement rules provided by an embodiment of the present invention. Figure 1 As shown, the settlement order data processing method based on intelligent matching settlement rules provided in an embodiment of the present invention is applied to a server 10 , and the server 10 is communicatively connected to a user terminal 20 , and the server 10 is also communicatively connected to a merchant user terminal 30 .

[0032] like Figure 2 As shown, the method includes the following steps S110-S150.

[0033] S110. In response to a quasi-real-time settlement instruction for a transaction order, obtain to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and store the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list.

[0034] The pending settlement list includes a number of pending settlement order data, and the initial settlement state of the pending settlement list is a waiting settlement state.

[0035] In this embodiment, the technical solution is described with the server as the execution subject. The server can be more specifically understood as the business server corresponding to the Internet localization service platform, and the settlement platform is integrated in the Internet localization service platform. After the merchant user completes the merchant registration on the business server and sets up its online store accordingly, and configures the current settlement rule data corresponding to it (including at least one settlement rule data) based on the settlement rule template data, the current settlement rule data can be used to settle the various pending order data generated by the actual consumer online order of the merchant user to obtain the settlement result.

[0036] For example, after consumer user A uses his user terminal to visit the online store C of merchant user B on the Internet localization service platform, he selects his D1 business section to place an order for commodity E1 and selects his D2 business section to place an order for commodity E2, and then generates a quasi-real-time settlement instruction for the transaction order corresponding to commodity E1 and commodity E2. After the quasi-real-time settlement instruction for the transaction order is sent to the server by the user terminal, the server can obtain the pending order data sent together with the quasi-real-time settlement instruction for the transaction order (for example, the pending order data includes the name of the settlement subject, the name of the order commodity, the order amount, etc.). Continuing to refer to the above example, the pending order data received by the server more specifically includes the pending order data for commodity E1 and the pending order data for commodity E2. When the server obtains the pending order data corresponding to the quasi-real-time settlement instruction for the transaction order, it stores the pending order data in the pending settlement list in the local database to update the pending settlement list.

[0037] Among them, a preset settlement time (such as 00:00 every day) and a preset data cleaning or migration time (such as 2:00 every day) are set for the pending settlement list. Specifically, when the daily system time reaches the preset settlement time, each pending order data in the pending settlement list is settled, and after the daily system time reaches the preset data cleaning or migration time, all the data in the pending settlement list are migrated to other storage areas to clear the pending settlement list, or all the data in the pending settlement list are directly deleted to clear the pending settlement list. Moreover, the reason why the pending settlement order data is stored in the pending settlement list in the local database instead of being settled immediately is that at least a T+1 settlement account period is set for the pending settlement order data (T is the generation date of the pending settlement order data). On the Tth day, all the pending settlement order data can be stored in the pending settlement list in the local database. At this time, the initial settlement state of the pending settlement list is the waiting settlement state.

[0038] S120: If it is determined that the current system time reaches the preset settlement time, the settlement waiting state of the to-be-settled list is switched to the settlement start state, and the to-be-settled list is obtained.

[0039] In this embodiment, if it is determined that the current system time reaches the preset settlement time, it means that the settlement of the to-be-settled list in the local database can be started, and at this time, the to-be-settled list in the latest state can be obtained.

[0040] S130. For each to-be-settled order data in the to-be-settled list, corresponding target settlement rule data is obtained from a preset settlement rule library based on the settlement subject name, the current system time and the preset settlement rule screening strategy.

[0041] The preset settlement rule base is a settlement rule template base that can extend settlement rules.

[0042] In this embodiment, when the calculation of each pending order data in the pending settlement list has begun, it is necessary to first obtain the corresponding target settlement rule data in the preset settlement rule library in the server based on the settlement subject name, current system time and preset settlement rule screening strategy of the pending order data. Then, the pending order data is calculated in combination with the target settlement rule data, thereby realizing the target settlement process.

[0043] Moreover, the reason why the preset settlement rule base is a settlement rule template base with extensible settlement rules is to facilitate flexible configuration of settlement rules that meet the needs of various merchant users in the server. And there is no need to adjust the system architecture, business process and implementation code logic of the Internet localization service platform. It is only necessary to use a low-code visual configuration method to pre-configure several settlement rules for several goods or services of several merchant users and store them to form a preset settlement rule base.

[0044] In one embodiment, before step S110 or before step S130, the method further includes:

[0045] If a merchant settlement request instruction is detected, current settlement rule template data corresponding to the merchant settlement request instruction is obtained, and corresponding current settlement rule data is generated based on the current settlement rule template data.

[0046] In this embodiment, the merchant user can use a merchant user terminal (such as a smart phone, etc.) to log in to the Internet localization service platform corresponding to the server. If the merchant user is a new user type, it is also necessary to obtain the merchant user's merchant settlement request instruction. After that, the server parses and obtains the key information carried by the merchant settlement request instruction to determine the current settlement rule template data corresponding to the merchant settlement request instruction.

[0047] For example, a merchant user (such as merchant user B in the above example) newly registers and logs in to the Internet localization service platform corresponding to the server. At this time, a plurality of pre-stored settlement rule templates can be displayed on the interactive interface corresponding to the Internet localization service platform. Then, the merchant user operates the merchant user terminal to select a current settlement rule template that meets his or her own settlement needs, and then edits and adjusts the data of the current settlement rule template in combination with his or her actual settlement needs to obtain the current settlement rule template data. Finally, the current settlement rule data corresponding to the current settlement rule template data is automatically generated in the server.

[0048] Among them, when the merchant user edits and adjusts the data of the current settlement rule template in combination with his actual settlement needs to obtain the current settlement rule data, at least the settlement account period (such as T+1, T+2, ... T+N, etc., where T represents the Internet localization service platform's payment date and N is a positive integer) and the payment card number (that is, the payment bank card number used by the merchant user when the Internet localization service platform transfers money to the merchant user, and at least one payment bank card number can be set) in the current settlement rule template can be edited and adjusted. After completing the data editing and adjustment of the current settlement rule template data, the current settlement rule data can be obtained.

[0049] For example, the settlement rule template pre-set in the Internet localization service platform is shown in Table 1 below:

[0050] Table 1

[0051]

[0052]

[0053] Among them, each settlement rule template at least includes a template ID, a dimension sequence, a dimension sequence value, an aggregation dimension and a settlement rule code. For example, in the settlement rule template with a template ID of T1 in Table 1, the dimension sequence is set to F (indicating payment category), the dimension sequence value is f1 (for example, specifically indicating a prepaid type), the aggregation dimension is an empty value and the settlement rule code. Of course, multiple other settlement rule templates can be pre-set in the server based on actual needs, so that subsequent merchant users can select settlement rule templates based on their own needs when they enter the platform (i.e., the Internet localization service platform). Moreover, by selecting one or more of the multiple pre-stored settlement rule templates for combination, a settlement rule template that meets the specific needs of the merchant can be obtained.

[0054] When the merchant user has completed the selection of the settlement rule template, he can further edit and set the settlement account period and payment card number and other information for the selected settlement rule template to obtain the current settlement rule data corresponding to the merchant user. After completing the setting and saving of the settlement rule templates for all merchant users stationed on the platform, the preset settlement rule library can be obtained in the server. Among them, the preset settlement rule library can be stored in the form of a list as shown in Table 2, and each row of data represents a settlement rule data of a merchant user, that is, the settlement rule data of each merchant user at least includes ID (representing the settlement rule data ID, which can be represented by the storage serial number of the settlement rule data), settlement subject name (that is, the specific name corresponding to the merchant user), template ID, dimension sequence, dimension sequence value, aggregation dimension, settlement rule code, settlement account period, payment card number, effective time and expiration time. For example, the preset settlement rule library obtained is shown in Table 2 below:

[0055] Table 2

[0056]

[0057]

[0058] The following uses four business scenarios as examples to illustrate the settlement rules data that merchant users can set when they join the platform:

[0059] A1) In scenario 1, the merchant user needs to settle different businesses independently, but all in the T+N post-payment mode. This can be set in the form corresponding to the settlement rule data with ID 8 in Table 2;

[0060] A2) In scenario 2, the merchant user wants to settle some of the same type of business together and the other part of the business independently, which can be set according to the form corresponding to the combined settlement rule data with IDs 4 and 7 in Table 2;

[0061] A3) In scenario 3, the merchant user wants the main business to be settled independently at the head office, and the secondary business to be settled independently at the branch. This can be done in the form corresponding to the combined settlement rule data with IDs 4 and 7 in Table 2, and the payment card number for the main business is set to the card number of the head office, and the payment card number for the secondary business is set to the card number of the corresponding branch;

[0062] A4) In scenario 4, the Internet localization service platform hopes to implement a prepayment model for merchant users with high scarcity, which can be set in the form corresponding to the settlement rule data with ID 1 in Table 2.

[0063] It can be seen that, on the one hand, the flexible setting of the dimension sequence, dimension sequence value and specific content or value of the aggregate dimension in the settlement rule data, as well as the combination of settlement rule data, can basically meet the settlement needs of all complex scenarios. On the other hand, the extraction of commonly used settlement rules as rule templates simplifies the data improvement of subsequent settlement rule data, improves the expansion efficiency of the preset settlement rule library and reduces the expansion difficulty.

[0064] Afterwards, the server can obtain the corresponding target settlement rule data in the preset settlement rule library shown in Table 2 based on the current system time, the preset settlement rule screening strategy, and the settlement subject name in the order data to be settled.

[0065] In one embodiment, if Figure 3 As shown, step S130 includes:

[0066] S131, based on the rough screening sub-strategy in the preset settlement rule screening strategy, obtaining the settlement subject name and current system time corresponding to each to-be-settled order data in the to-be-settled list to form an initial search condition corresponding to each to-be-settled order data;

[0067] S132, searching the preset settlement rule library according to the initial search condition corresponding to each to-be-settled order data in the to-be-settled list, and obtaining an initial screening settlement rule data set corresponding to each to-be-settled order data in the to-be-settled list;

[0068] S133: Based on the fine screening sub-strategy in the preset settlement rule screening strategy, obtain the dimension sequence and dimension sequence value corresponding to each to-be-settled order data in the to-be-settled list to form a fine matching condition corresponding to each to-be-settled order data;

[0069] S134. Match the corresponding initial screening settlement rule data set according to the fine matching condition corresponding to each to-be-settled order data in the to-be-settled list to obtain the target settlement rule data corresponding to each to-be-settled order data in the to-be-settled list.

[0070] In this embodiment, the preset settlement rule screening strategy includes at least a rough screening sub-strategy and a fine screening sub-strategy. The rough screening sub-strategy can be used to determine the initial search conditions corresponding to the order data to be settled, and the fine screening sub-strategy can be used to determine the fine matching conditions corresponding to the order data to be settled. For example, still referring to the above example, taking an order data to be settled as an order data to be settled for merchant user B as an example, the settlement subject name corresponding to merchant user B is s1m1, the current system time is t1 and is within the time interval corresponding to [T11, T12], then the settlement subject name s1m1 and the current system time t1 constitute the initial search conditions for the order data to be settled.

[0071] Then, the initial search condition is used to perform search and matching in the preset settlement rule library to obtain the initial screening settlement rule data set corresponding to the order data to be settled (for example, settlement rule data with template ID T1 and settlement rule data with template ID T2, that is, 2 settlement rule data with IDs 1 and 2 in Table 2).

[0072] Then, based on the fine screening sub-strategy, the dimension sequence and dimension sequence value corresponding to the to-be-settled order data are obtained. If the dimension sequence corresponding to the to-be-settled order data is F and the dimension sequence value is f1, the dimension sequence F and the dimension sequence value f1 form a fine matching condition corresponding to the settlement order data. Finally, the fine matching condition corresponding to the settlement order data (i.e., dimension sequence = F and dimension sequence value = f1) is matched in the initial screening settlement rule data set to obtain the target settlement rule data corresponding to the settlement order data (such as the settlement rule data with template ID T1 in Table 2). It can be seen that based on the above-mentioned multi-round matching method, the target settlement rule data corresponding to each settlement order data can be accurately and quickly determined.

[0073] In one embodiment, step S133 includes:

[0074] Based on the fine screening sub-strategy, the payment category and payment scenario information corresponding to each order data to be settled in the list to be settled are obtained, and the payment category of each order data to be settled is used as the dimension sequence and the payment scenario information of each order data to be settled is used as the dimension sequence value to form a fine matching condition corresponding to each order data to be settled.

[0075] In this embodiment, when determining the dimension sequence and dimension sequence value corresponding to the order data to be settled based on the fine screening sub-strategy, the payment category (such as including F, F_C, etc., F specifically includes prepaid type f1 and postpaid type f2) and payment scenario information (such as including specific scenarios such as c1, c2 and c3, and the above specific scenarios are customized by the merchant user) corresponding to the order data to be settled can be obtained first. Then, the payment category of the order data to be settled is used as the dimension sequence and the payment scenario information of the order data to be settled is used as the dimension sequence value to form a fine matching condition corresponding to the order data to be settled.

[0076] In one embodiment, after step S130, the method further includes:

[0077] The template ID value, aggregation dimension value and settlement account period value of the target settlement rule data corresponding to the order data to be settled are obtained to form the target settlement order aggregation key value corresponding to the target settlement rule data.

[0078] In this embodiment, taking an order data to be settled in the list to be settled as an example, the template ID value, aggregation dimension value and settlement period value of the target settlement rule data can also be obtained from the target settlement rule data corresponding to the order data to be settled. For example, in the above example, the template ID value of the target settlement rule data is 1, the aggregation dimension value is null, and the settlement period value is T+0, then the template ID value, aggregation dimension value and settlement period value of the target settlement rule data constitute the target settlement form aggregation key value such as 1_null_T+0. The target settlement form aggregation key value corresponding to each order data to be settled can be further used to aggregate the order data to be settled with the same target settlement form aggregation key value into the same settlement form for unified settlement.

[0079] In one embodiment, after acquiring the template ID value, the aggregation dimension value and the settlement account period value of the target settlement rule data corresponding to the to-be-settled order data to form the target settlement order aggregation key value corresponding to the target settlement rule data, the method further includes:

[0080] Obtain a target settlement order having the target settlement order aggregation key value, and add the to-be-settled order data to the target settlement order to update the target settlement order.

[0081] In this embodiment, still referring to the above example, after determining that the target settlement order aggregation key value corresponding to the order data to be settled is 1_null_T+0, and a settlement order aggregation key value corresponding to a target settlement order is also stored in the server, the order data to be settled is added to the target settlement order to update the target settlement order, thereby realizing the aggregation of the order data to be settled with the same target settlement order aggregation key value into the same settlement order for unified settlement.

[0082] S140, performing order calculation for each to-be-settled order data in the to-be-settled list based on the corresponding target settlement rule data to obtain a corresponding settlement result.

[0083] In this embodiment, after determining the target settlement rule data corresponding to the order data to be settled, the order data to be settled can be first subjected to order operation based on the target settlement rule data (more specifically, based on the settlement rule operation logic corresponding to the settlement rule code in the target settlement rule data) to obtain the corresponding settlement result.

[0084] The settlement result corresponding to the order data to be settled obtained at this time is then performed according to the settlement result corresponding to the order data to be settled after the system time reaches the settlement account period value corresponding to the order data to be settled.

[0085] In one embodiment, after step S140, the method further includes:

[0086] Acquire the to-be-settled order data in the to-be-settled list that satisfies a settlement period value equal to a first preset value, so as to form a first type of to-be-settled list;

[0087] Based on the first preset settlement strategy, the corresponding prepayment deduction payment operation is performed on each pending order data in the first type pending settlement list and the corresponding prepayment deduction payment execution status is updated;

[0088] Each to-be-settled order data included in the first type to-be-settled list is deleted from the to-be-settled list to update the to-be-settled list.

[0089] In this embodiment, it should be noted that once the settlement period value in the target settlement rule data corresponding to the order data to be settled is T+0 (i.e., the first preset value is T+0), this type of order data to be settled is regarded as the first type of order data to be settled, and is added to the first type of pending settlement list. When the corresponding prepayment deduction payment operation is performed on each order data to be settled in the first type pending settlement list based on the first preset settlement strategy and the corresponding prepayment deduction payment execution status is updated, if the processing process of one order data to be settled in the first type pending settlement list based on the first preset settlement strategy is taken as an example, specifically, after the current system time reaches the preset settlement time, the settlement result corresponding to the order data to be settled can be quickly obtained first, and then the prepayment data of the settlement subject name corresponding to the order data to be settled on the Internet localization service platform can be obtained, and then the settlement result of the order data to be settled is subtracted from the prepayment data corresponding to the settlement subject name to update the prepayment data corresponding to the settlement subject name, thereby completing the settlement operation for the settlement subject with a settlement period value of T+0.

[0090] Since the settlement of the prepayment deduction method has been completed for each order data to be settled in the first type of list to be settled, it is now necessary to delete each order data to be settled included in the first type of list to be settled from the list to be settled to update the list to be settled, thereby avoiding the each order data to be settled in the first type of list to be settled from participating in subsequent settlements.

[0091] S150. For the settlement result corresponding to each to-be-settled order data in the to-be-settled list, if it is determined that the current system date reaches the preset payment date, a corresponding settlement payment operation is performed on the settlement result and the corresponding settlement result payment execution status is updated.

[0092] In this embodiment, when performing subsequent specific payment operations on the settlement results corresponding to each pending order data in the pending settlement list, the subsequent specific payment operations on the settlement results corresponding to the pending order data can be firstly described by taking an example. Before performing subsequent specific payment operations on the settlement results corresponding to the pending order data, it is also necessary to obtain the current system date, and when it is determined that the current system date reaches the preset payment date, the corresponding settlement payment operation is performed on the settlement results corresponding to the pending order data (for example, the payment card number is determined based on the settlement subject name corresponding to the pending order data, and then the settlement amount corresponding to the pending settlement result is transferred to the payment card number to complete the settlement payment operation) and the payment execution status of the settlement result corresponding to the pending order data is updated.

[0093] It can be seen that the implementation example of the method can not only quickly determine the merchant's target settlement rule data based on the preset settlement rule library, but also shorten the processing link for settlement of order data to be settled in the Internet localization service platform, and improve the efficiency of processing order data to be settled.

[0094] Figure 4 is a schematic block diagram of a settlement order data processing device based on intelligent matching settlement rules provided by an embodiment of the present invention. Figure 4 As shown, corresponding to the above settlement order data processing method based on intelligent matching settlement rules, the present invention also provides a settlement order data processing device 100 based on intelligent matching settlement rules. The settlement order data processing device based on intelligent matching settlement rules includes: a to-be-settled order data acquisition unit 110, a to-be-settled list acquisition unit 120, a target settlement rule acquisition unit 130, a target settlement rule execution unit 140 and a payment operation execution unit 150.

[0095] The pending order data acquisition unit 110 is used to respond to the quasi-real-time settlement instruction of the transaction order, acquire the pending order data corresponding to the quasi-real-time settlement instruction of the transaction order, and store the pending order data in the pending settlement list in the local database to update the pending settlement list.

[0096] The pending settlement list includes a number of pending settlement order data, and the initial settlement state of the pending settlement list is a waiting settlement state.

[0097] In this embodiment, the technical solution is described with the server as the execution subject. The server can be more specifically understood as the business server corresponding to the Internet localization service platform, and the settlement platform is integrated in the Internet localization service platform. After the merchant user completes the merchant registration on the business server and sets up its online store accordingly, and configures the current settlement rule data corresponding to it (including at least one settlement rule data) based on the settlement rule template data, the current settlement rule data can be used to settle the various pending order data generated by the actual consumer online order of the merchant user to obtain the settlement result.

[0098] For example, after consumer user A uses his user terminal to visit the online store C of merchant user B on the Internet localization service platform, he selects his D1 business section to place an order for commodity E1 and selects his D2 business section to place an order for commodity E2, and then generates a quasi-real-time settlement instruction for the transaction order corresponding to commodity E1 and commodity E2. After the quasi-real-time settlement instruction for the transaction order is sent to the server by the user terminal, the server can obtain the pending order data sent together with the quasi-real-time settlement instruction for the transaction order (for example, the pending order data includes the name of the settlement subject, the name of the order commodity, the order amount, etc.). Continuing to refer to the above example, the pending order data received by the server more specifically includes the pending order data for commodity E1 and the pending order data for commodity E2. When the server obtains the pending order data corresponding to the quasi-real-time settlement instruction for the transaction order, it stores the pending order data in the pending settlement list in the local database to update the pending settlement list.

[0099] Among them, a preset settlement time (such as 00:00 every day) and a preset data cleaning or migration time (such as 2:00 every day) are set for the pending settlement list. Specifically, when the daily system time reaches the preset settlement time, each pending order data in the pending settlement list is settled, and after the daily system time reaches the preset data cleaning or migration time, all the data in the pending settlement list are migrated to other storage areas to clear the pending settlement list, or all the data in the pending settlement list are directly deleted to clear the pending settlement list. Moreover, the reason why the pending settlement order data is stored in the pending settlement list in the local database instead of being settled immediately is that at least a T+1 settlement account period is set for the pending settlement order data (T is the generation date of the pending settlement order data). On the Tth day, all the pending settlement order data can be stored in the pending settlement list in the local database. At this time, the initial settlement state of the pending settlement list is the waiting settlement state.

[0100] The to-be-settled list acquiring unit 120 is configured to switch the waiting settlement state of the to-be-settled list to the starting settlement state and acquire the to-be-settled list if it is determined that the current system time has reached the preset settlement time.

[0101] In this embodiment, if it is determined that the current system time reaches the preset settlement time, it means that the settlement of the to-be-settled list in the local database can be started, and at this time, the to-be-settled list in the latest state can be obtained.

[0102] The target settlement rule acquisition unit 130 is used to acquire corresponding target settlement rule data from a preset settlement rule library based on the settlement subject name, current system time and preset settlement rule screening strategy for each to-be-settled order data in the to-be-settled list.

[0103] The preset settlement rule base is a settlement rule template base that can extend settlement rules.

[0104] In this embodiment, when the calculation of each pending order data in the pending settlement list has begun, it is necessary to first obtain the corresponding target settlement rule data in the preset settlement rule library in the server based on the settlement subject name, current system time and preset settlement rule screening strategy of the pending order data. Then, the pending order data is calculated in combination with the target settlement rule data, thereby realizing the target settlement process.

[0105] Moreover, the reason why the preset settlement rule base is a settlement rule template base with extensible settlement rules is to facilitate flexible configuration of settlement rules that meet the needs of various merchant users in the server. And there is no need to adjust the system architecture, business process and implementation code logic of the Internet localization service platform. It is only necessary to use a low-code visual configuration method to pre-configure several settlement rules for several goods or services of several merchant users and store them to form a preset settlement rule base.

[0106] In one embodiment, the settlement order data processing device 100 based on intelligent matching settlement rules further includes:

[0107] The merchant settlement request processing unit is used to obtain the current settlement rule template data corresponding to the merchant settlement request instruction if a merchant settlement request instruction is detected, and generate corresponding current settlement rule data based on the current settlement rule template data.

[0108] In this embodiment, the merchant user can use a merchant user terminal (such as a smart phone, etc.) to log in to the Internet localization service platform corresponding to the server. If the merchant user is a new user type, it is also necessary to obtain the merchant user's merchant settlement request instruction. After that, the server parses and obtains the key information carried by the merchant settlement request instruction to determine the current settlement rule template data corresponding to the merchant settlement request instruction.

[0109] For example, a merchant user (such as merchant user B in the above example) newly registers and logs in to the Internet localization service platform corresponding to the server. At this time, a plurality of pre-stored settlement rule templates can be displayed on the interactive interface corresponding to the Internet localization service platform. Then, the merchant user operates the merchant user terminal to select a current settlement rule template that meets his or her own settlement needs, and then edits and adjusts the data of the current settlement rule template in combination with his or her actual settlement needs to obtain the current settlement rule template data. Finally, the current settlement rule data corresponding to the current settlement rule template data is automatically generated in the server.

[0110] Among them, when the merchant user edits and adjusts the data of the current settlement rule template in combination with his actual settlement needs to obtain the current settlement rule data, at least the settlement account period (such as T+1, T+2, ... T+N, etc., where T represents the Internet localization service platform's payment date and N is a positive integer) and the payment card number (that is, the payment bank card number used by the merchant user when the Internet localization service platform transfers money to the merchant user, and at least one payment bank card number can be set) in the current settlement rule template can be edited and adjusted. After completing the data editing and adjustment of the current settlement rule template data, the current settlement rule data can be obtained.

[0111] For example, the settlement rule templates pre-set in the Internet localization service platform are shown in Table 1 above, wherein each settlement rule template includes at least a template ID, a dimension sequence, a dimension sequence value, an aggregation dimension, and a settlement rule code. For example, in the settlement rule template with a template ID of T1 in Table 1, the dimension sequence is set to F (indicating payment category), the dimension sequence value is f1 (for example, specifically indicating a prepaid type), the aggregation dimension is an empty value, and the settlement rule code. Of course, multiple other settlement rule templates can be pre-set in the server based on actual needs, so that subsequent merchant users can select settlement rule templates based on their own needs when they enter the platform (i.e., the Internet localization service platform). Moreover, by selecting one or more of the multiple pre-stored settlement rule templates for combination, a settlement rule template that meets the specific needs of the merchant can be obtained.

[0112] When the merchant user completes the selection of the settlement rule template, he can further edit and set the settlement account period and payment card number and other information for the selected settlement rule template to obtain the current settlement rule data corresponding to the merchant user. After completing the setting and saving of the settlement rule templates for all merchant users stationed on the platform, the preset settlement rule library can be obtained in the server. Among them, the preset settlement rule library can be stored in the form of a list as shown in Table 2, and each row of data represents a settlement rule data of a merchant user, that is, the settlement rule data of each merchant user at least includes ID (representing the settlement rule data ID, which can be represented by the storage serial number of the settlement rule data), settlement subject name (that is, the specific name corresponding to the merchant user), template ID, dimension sequence, dimension sequence value, aggregation dimension, settlement rule code, settlement account period, payment card number, effective time and expiration time. For example, the preset settlement rule library obtained is shown in Table 2 above.

[0113] The following uses four business scenarios as examples to illustrate the settlement rules data that merchant users can set when they join the platform:

[0114] A1) In scenario 1, the merchant user needs to settle different businesses independently, but all in the T+N post-payment mode. This can be set in the form corresponding to the settlement rule data with ID 8 in Table 2;

[0115] A2) In scenario 2, the merchant user wants to settle some of the same type of business together and the other part of the business independently, which can be set according to the form corresponding to the combined settlement rule data with IDs 4 and 7 in Table 2;

[0116] A3) In scenario 3, the merchant user wants the main business to be settled independently at the head office, and the secondary business to be settled independently at the branch. This can be done in the form corresponding to the combined settlement rule data with IDs 4 and 7 in Table 2, and the payment card number for the main business is set to the card number of the head office, and the payment card number for the secondary business is set to the card number of the corresponding branch;

[0117] A4) In scenario 4, the Internet localization service platform hopes to implement a prepayment model for merchant users with high scarcity, which can be set in the form corresponding to the settlement rule data with ID 1 in Table 2.

[0118] It can be seen that, on the one hand, the flexible setting of the dimension sequence, dimension sequence value and specific content or value of the aggregate dimension in the settlement rule data, as well as the combination of settlement rule data, can basically meet the settlement needs of all complex scenarios. On the other hand, the extraction of commonly used settlement rules as rule templates simplifies the data improvement of subsequent settlement rule data, improves the expansion efficiency of the preset settlement rule library and reduces the expansion difficulty.

[0119] Afterwards, the server can obtain the corresponding target settlement rule data in the preset settlement rule library shown in Table 2 based on the current system time, the preset settlement rule screening strategy, and the settlement subject name in the order data to be settled.

[0120] In one embodiment, the target settlement rule acquisition unit 130 is used to:

[0121] Based on the rough screening sub-strategy in the preset settlement rule screening strategy, the settlement subject name and the current system time corresponding to each to-be-settled order data in the to-be-settled list are obtained to form an initial search condition corresponding to each to-be-settled order data;

[0122] Searching the preset settlement rule library according to the initial search condition corresponding to each to-be-settled order data in the to-be-settled list, obtaining an initial screening settlement rule data set corresponding to each to-be-settled order data in the to-be-settled list;

[0123] Based on the fine screening sub-strategy in the preset settlement rule screening strategy, obtaining the dimension sequence and dimension sequence value corresponding to each to-be-settled order data in the to-be-settled list to form a fine matching condition corresponding to each to-be-settled order data;

[0124] According to the fine matching condition corresponding to each to-be-settled order data in the to-be-settled list, matching is performed in the corresponding initial screening settlement rule data set to obtain target settlement rule data corresponding to each to-be-settled order data in the to-be-settled list.

[0125] In this embodiment, the preset settlement rule screening strategy includes at least a rough screening sub-strategy and a fine screening sub-strategy. The rough screening sub-strategy can be used to determine the initial search conditions corresponding to the order data to be settled, and the fine screening sub-strategy can be used to determine the fine matching conditions corresponding to the order data to be settled. For example, still referring to the above example, taking an order data to be settled as an order data to be settled for merchant user B as an example, the settlement subject name corresponding to merchant user B is s1m1, the current system time is t1 and is within the time interval corresponding to [T11, T12], then the settlement subject name s1m1 and the current system time t1 constitute the initial search conditions for the order data to be settled.

[0126] Then, the initial search condition is used to perform search and matching in the preset settlement rule library to obtain the initial screening settlement rule data set corresponding to the order data to be settled (for example, settlement rule data with template ID T1 and settlement rule data with template ID T2, that is, 2 settlement rule data with IDs 1 and 2 in Table 2).

[0127] Then, based on the fine screening sub-strategy, the dimension sequence and dimension sequence value corresponding to the to-be-settled order data are obtained. If the dimension sequence corresponding to the to-be-settled order data is F and the dimension sequence value is f1, the dimension sequence F and the dimension sequence value f1 form a fine matching condition corresponding to the settlement order data. Finally, the fine matching condition corresponding to the settlement order data (i.e., dimension sequence = F and dimension sequence value = f1) is matched in the initial screening settlement rule data set to obtain the target settlement rule data corresponding to the settlement order data (such as the settlement rule data with template ID T1 in Table 2). It can be seen that based on the above-mentioned multi-round matching method, the target settlement rule data corresponding to each settlement order data can be accurately and quickly determined.

[0128] In one embodiment, the obtaining of the dimension sequence and dimension sequence value corresponding to each to-be-settled order data in the to-be-settled list based on the fine screening sub-strategy in the preset settlement rule screening strategy to form a fine matching condition corresponding to each to-be-settled order data includes:

[0129] Based on the fine screening sub-strategy, the payment category and payment scenario information corresponding to each order data to be settled in the list to be settled are obtained, and the payment category of each order data to be settled is used as the dimension sequence and the payment scenario information of each order data to be settled is used as the dimension sequence value to form a fine matching condition corresponding to each order data to be settled.

[0130] In this embodiment, when determining the dimension sequence and dimension sequence value corresponding to the order data to be settled based on the fine screening sub-strategy, the payment category (such as including F, F_C, etc., F specifically includes prepaid type f1 and postpaid type f2) and payment scenario information (such as including specific scenarios such as c1, c2 and c3, and the above specific scenarios are customized by the merchant user) corresponding to the order data to be settled can be obtained first. Then, the payment category of the order data to be settled is used as the dimension sequence and the payment scenario information of the order data to be settled is used as the dimension sequence value to form a fine matching condition corresponding to the order data to be settled.

[0131] In one embodiment, the settlement order data processing device 100 based on intelligent matching settlement rules further includes:

[0132] The target settlement order aggregate key value acquisition unit is used to obtain the template ID value, aggregation dimension value and settlement account period value of the target settlement rule data corresponding to the order data to be settled, so as to form the target settlement order aggregate key value corresponding to the target settlement rule data.

[0133] In this embodiment, taking an order data to be settled in the list to be settled as an example, the template ID value, aggregation dimension value and settlement period value of the target settlement rule data can also be obtained from the target settlement rule data corresponding to the order data to be settled. For example, in the above example, the template ID value of the target settlement rule data is 1, the aggregation dimension value is null, and the settlement period value is T+0, then the template ID value, aggregation dimension value and settlement period value of the target settlement rule data constitute the target settlement form aggregation key value such as 1_null_T+0. The target settlement form aggregation key value corresponding to each order data to be settled can be further used to aggregate the order data to be settled with the same target settlement form aggregation key value into the same settlement form for unified settlement.

[0134] In one embodiment, the settlement order data processing device 100 based on intelligent matching settlement rules further includes:

[0135] A target settlement order updating unit is used to obtain a target settlement order having the target settlement order aggregation key value, and add the to-be-settled order data to the target settlement order to update the target settlement order.

[0136] In this embodiment, still referring to the above example, after determining that the target settlement order aggregation key value corresponding to the order data to be settled is 1_null_T+0, and a settlement order aggregation key value corresponding to a target settlement order is also stored in the server, the order data to be settled is added to the target settlement order to update the target settlement order, thereby realizing the aggregation of the order data to be settled with the same target settlement order aggregation key value into the same settlement order for unified settlement.

[0137] The target settlement rule execution unit 140 is used to perform order calculation based on the corresponding target settlement rule data for each to-be-settled order data in the to-be-settled list to obtain a corresponding settlement result.

[0138] In this embodiment, after determining the target settlement rule data corresponding to the order data to be settled, the order data to be settled can be first subjected to order operation based on the target settlement rule data (more specifically, based on the settlement rule operation logic corresponding to the settlement rule code in the target settlement rule data) to obtain the corresponding settlement result.

[0139] The settlement result corresponding to the order data to be settled obtained at this time is then performed according to the settlement result corresponding to the order data to be settled after the system time reaches the settlement account period value corresponding to the order data to be settled.

[0140] In one embodiment, the settlement order data processing device 100 based on intelligent matching settlement rules further includes:

[0141] A first type to-be-settled list acquisition unit, configured to acquire to-be-settled order data in the to-be-settled list that satisfies a settlement period value equal to a first preset value, to form a first type to-be-settled list;

[0142] A prepayment deduction execution unit, configured to execute a corresponding prepayment deduction payment operation on each to-be-settled order data in the first type to-be-settled list based on a first preset settlement strategy and update a corresponding prepayment deduction payment execution status;

[0143] The to-be-settled list updating unit is configured to delete each to-be-settled order data included in the first type of to-be-settled list from the to-be-settled list, so as to update the to-be-settled list.

[0144] In this embodiment, it should be noted that once the settlement period value in the target settlement rule data corresponding to the order data to be settled is T+0 (i.e., the first preset value is T+0), this type of order data to be settled is regarded as the first type of order data to be settled, and is added to the first type of pending settlement list. When the corresponding prepayment deduction payment operation is performed on each order data to be settled in the first type pending settlement list based on the first preset settlement strategy and the corresponding prepayment deduction payment execution status is updated, if the processing process of one order data to be settled in the first type pending settlement list based on the first preset settlement strategy is taken as an example, specifically, after the current system time reaches the preset settlement time, the settlement result corresponding to the order data to be settled can be quickly obtained first, and then the prepayment data of the settlement subject name corresponding to the order data to be settled on the Internet localization service platform can be obtained, and then the settlement result of the order data to be settled is subtracted from the prepayment data corresponding to the settlement subject name to update the prepayment data corresponding to the settlement subject name, thereby completing the settlement operation for the settlement subject with a settlement period value of T+0.

[0145] Since the settlement of the prepayment deduction method has been completed for each order data to be settled in the first type of list to be settled, it is now necessary to delete each order data to be settled included in the first type of list to be settled from the list to be settled to update the list to be settled, thereby avoiding the each order data to be settled in the first type of list to be settled from participating in subsequent settlements.

[0146] The payment operation execution unit 150 is used to execute the corresponding settlement payment operation on the settlement result corresponding to each pending order data in the pending settlement list and update the corresponding settlement result payment execution status if it is determined that the current system date reaches the preset payment date.

[0147] In this embodiment, when performing subsequent specific payment operations on the settlement results corresponding to each pending order data in the pending settlement list, the subsequent specific payment operations on the settlement results corresponding to the pending order data can be firstly described by taking an example. Before performing subsequent specific payment operations on the settlement results corresponding to the pending order data, it is also necessary to obtain the current system date, and when it is determined that the current system date reaches the preset payment date, the corresponding settlement payment operation is performed on the settlement results corresponding to the pending order data (for example, the payment card number is determined based on the settlement subject name corresponding to the pending order data, and then the settlement amount corresponding to the pending settlement result is transferred to the payment card number to complete the settlement payment operation) and the payment execution status of the settlement result corresponding to the pending order data is updated.

[0148] It can be seen that the implementation of the embodiment of the device can not only quickly determine the merchant's target settlement rule data based on the preset settlement rule library, but also shorten the processing link for settlement of order data to be settled in the Internet localization service platform, and improve the efficiency of processing order data to be settled.

[0149] The above-mentioned settlement order data processing device based on intelligent matching settlement rules can be implemented in the form of a computer program. The computer program can be used in Figure 5 Runs on the computer device shown.

[0150] See also Figure 5 , Figure 5 The present invention is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device integrates any of the settlement order data processing devices based on intelligent matching settlement rules provided by an embodiment of the present invention.

[0151] See also Figure 5 The computer device includes a processor 402 , a memory and a network interface 405 connected via a system bus 401 , wherein the memory may include a storage medium 403 and an internal memory 404 .

[0152] The storage medium 403 can store an operating system 4031 and a computer program 4032. The computer program 4032 includes program instructions, and when the program instructions are executed, the processor 402 can execute the settlement order data processing method based on the intelligent matching settlement rules.

[0153] The processor 402 is used to provide computing and control capabilities to support the operation of the entire computer device.

[0154] The internal memory 404 provides an environment for the operation of the computer program 4032 in the storage medium 403. When the computer program 4032 is executed by the processor 402, the processor 402 can execute the above-mentioned settlement order data processing method based on intelligent matching settlement rules.

[0155] The network interface 405 is used to communicate with other devices over the network. Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0156] The processor 402 is used to run the computer program 4032 stored in the memory to implement the settlement order data processing method based on the intelligent matching settlement rules as described above.

[0157] It should be understood that in the embodiment of the present invention, the processor 402 may be a central processing unit (CPU), and the processor 402 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0158] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0159] Therefore, the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the settlement order data processing method based on the intelligent matching settlement rule as described above.

[0160] The computer-readable storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0161] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0162] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0163] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0165] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for processing settlement order data based on intelligent matching settlement rules, characterized in that: include: In response to a quasi-real-time settlement instruction for a transaction order, acquiring to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and storing the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and an initial settlement state of the to-be-settled list is a waiting settlement state; If it is determined that the current system time reaches the preset settlement time, the waiting settlement state of the to-be-settled list is switched to the start settlement state, and the to-be-settled list is obtained; For each order data to be settled in the to-be-settled list, corresponding target settlement rule data is obtained from a preset settlement rule library based on the name of the settlement subject, the current system time and the preset settlement rule screening strategy; wherein the preset settlement rule library is a settlement rule template library that can extend settlement rules; For each to-be-settled order data in the to-be-settled list, order calculation is performed based on the corresponding target settlement rule data to obtain a corresponding settlement result; For the settlement result corresponding to each to-be-settled order data in the to-be-settled list, if it is determined that the current system date reaches the preset payment date, a corresponding settlement payment operation is performed on the settlement result and the corresponding settlement result payment execution status is updated.

2. The method according to claim 1, characterized in that Before the step of responding to the quasi-real-time settlement instruction for a transaction order, acquiring the to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and storing the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list, the method further includes: If a merchant settlement request instruction is detected, current settlement rule template data corresponding to the merchant settlement request instruction is obtained, and corresponding current settlement rule data is generated based on the current settlement rule template data.

3. The method according to claim 1, characterized in that The method of obtaining corresponding target settlement rule data from a preset settlement rule library for each pending order data in the pending settlement list based on the settlement subject name, the current system time and the preset settlement rule screening strategy includes: Based on the rough screening sub-strategy in the preset settlement rule screening strategy, the settlement subject name and the current system time corresponding to each to-be-settled order data in the to-be-settled list are obtained to form an initial search condition corresponding to each to-be-settled order data; Searching the preset settlement rule library according to the initial search condition corresponding to each to-be-settled order data in the to-be-settled list, obtaining an initial screening settlement rule data set corresponding to each to-be-settled order data in the to-be-settled list; Based on the fine screening sub-strategy in the preset settlement rule screening strategy, obtaining the dimension sequence and dimension sequence value corresponding to each to-be-settled order data in the to-be-settled list to form a fine matching condition corresponding to each to-be-settled order data; According to the fine matching condition corresponding to each to-be-settled order data in the to-be-settled list, matching is performed in the corresponding initial screening settlement rule data set to obtain target settlement rule data corresponding to each to-be-settled order data in the to-be-settled list.

4. The method according to claim 3, characterized in that: The obtaining of the dimension sequence and dimension sequence value corresponding to each to-be-settled order data in the to-be-settled list based on the fine screening sub-strategy in the preset settlement rule screening strategy to form a fine matching condition corresponding to each to-be-settled order data includes: Based on the fine screening sub-strategy, the payment category and payment scenario information corresponding to each order data to be settled in the list to be settled are obtained, and the payment category of each order data to be settled is used as the dimension sequence and the payment scenario information of each order data to be settled is used as the dimension sequence value to form a fine matching condition corresponding to each order data to be settled.

5. The method according to claim 1, characterized in that After the step of acquiring corresponding target settlement rule data from a preset settlement rule library for each to-be-settled order data in the to-be-settled list based on the settlement subject name, the current system time and the preset settlement rule screening strategy, the method further comprises: The template ID value, aggregation dimension value and settlement period value of the target settlement rule data corresponding to the order data to be settled are obtained to form the target settlement order aggregation key value corresponding to the target settlement rule data.

6. The method according to claim 5, characterized in that After the step of obtaining the template ID value, the aggregation dimension value and the settlement account period value of the target settlement rule data corresponding to the to-be-settled order data to form the target settlement order aggregation key value corresponding to the target settlement rule data, the method further includes: Obtain a target settlement order having the target settlement order aggregation key value, and add the to-be-settled order data to the target settlement order to update the target settlement order.

7. The method according to claim 6, characterized in that The order calculation is performed on each to-be-settled order data in the to-be-settled list based on the corresponding target settlement rule data to obtain a corresponding settlement result, including: Obtain the to-be-settled order data and the corresponding target settlement order; The target settlement order is subjected to order calculation based on the target settlement rule data to obtain a target settlement order settlement result; wherein the target settlement order settlement result includes a settlement result corresponding to the order data to be settled.

8. A settlement order data processing device based on intelligent matching settlement rules, characterized in that: include: A to-be-settled order data acquisition unit, configured to, in response to a quasi-real-time settlement instruction for a transaction order, acquire the to-be-settled order data corresponding to the quasi-real-time settlement instruction for the transaction order, and store the to-be-settled order data in a to-be-settled list in a local database to update the to-be-settled list; wherein the to-be-settled list includes a plurality of to-be-settled order data, and an initial settlement state of the to-be-settled list is a waiting settlement state; A to-be-settled list acquisition unit, configured to switch the waiting settlement state of the to-be-settled list to the start settlement state and acquire the to-be-settled list if it is determined that the current system time has reached the preset settlement time; a target settlement rule acquisition unit, configured to acquire corresponding target settlement rule data from a preset settlement rule library for each to-be-settled order data in the to-be-settled list based on the name of the settlement subject, the current system time and the preset settlement rule screening strategy; wherein the preset settlement rule library is a settlement rule template library that can extend settlement rules; A target settlement rule execution unit, configured to perform order calculation based on the corresponding target settlement rule data for each to-be-settled order data in the to-be-settled list, to obtain a corresponding settlement result; The payment operation execution unit is used to execute the corresponding settlement payment operation on the settlement result corresponding to each to-be-settled order data in the to-be-settled list and update the corresponding settlement result payment execution status if it is determined that the current system date reaches the preset payment date.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the settlement order data processing method based on intelligent matching settlement rules as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the method for processing settlement order data based on intelligent matching settlement rules as described in any one of claims 1 to 7 can be implemented.

Citation Information

Cited By

  • Request processing method and device, computer equipment and storage medium

    CN119863246A

  • Data settlement system and method and electronic equipment

    CN120894030A

  • A data settlement system, method and electronic device

    CN120894030B