Project data processing method and device, equipment, storage medium and program product
By independently configuring clearing rules of different business types in the clearing control configuration information and matching and switching according to priority, the problem that pricing rules in the prior art are difficult to adapt to business logic changes is solved, and the processing efficiency and flexibility of clearing projects are improved.
Patent Information
- Application Number
- CN202411731522.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-11-28
AI Technical Summary
When the business logic changes, existing clearing engines are difficult to meet the normal changes in pricing rules, which affects the processing efficiency of the first clearing project.
By independently configuring the clearing rules of different business types in the clearing control configuration information, including pricing rules and action switching instructions, and matching and switching according to priority, flexible liquidation of the first clearing project is achieved.
It meets the normal business changes, improves the processing efficiency of the first liquidation project, and ensures the flexibility and accuracy of the liquidation process.
Smart Images

Figure CN119671597A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing, and in particular, relates to a project data processing method, device, equipment, storage medium and program product. Background Art
[0002] Liquidation involves multiple links such as project confirmation and project resource transfer. Pricing rules are important rules used in liquidation, which are used to agree on the cost standards and calculation methods for project resource transfer.
[0003] Currently, the pricing rules used by the clearing engine to process project data are closely related to business logic. When the business logic is adjusted, the pricing rules can only be adjusted according to the particularity of the business, which cannot meet the needs of normal business changes, affecting the processing efficiency of the first clearing project.
[0004] In view of this, how to process project data to meet the needs of normal business changes and improve the processing efficiency of liquidation projects has become an important issue that needs to be solved urgently. Summary of the invention
[0005] The embodiments of the present application provide a project data processing method, device, equipment, storage medium and program product, which can meet the needs of normal business changes and improve the processing efficiency of liquidation projects.
[0006] In a first aspect, an embodiment of the present application provides a project data processing method, including: determining a target business category corresponding to a first liquidation project; based on liquidation control configuration information, determining a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business category as a target pricing rule, the liquidation control configuration information including at least one liquidation rule corresponding to a business category, the liquidation rule including a pricing rule and an action switching indication corresponding to the pricing rule, the pricing rule being configured with a priority; matching the target pricing rule with the first liquidation project to obtain a matching result; when it is determined according to the matching result that the target pricing rule is consistent with the first liquidation project, using the target pricing rule to liquidate the first liquidation project; when the action switching indication corresponding to the target pricing rule represents a switch to a next priority pricing rule, using the next priority pricing rule as the new target pricing rule, and continuing to execute the step of matching the target pricing rule with the first liquidation project.
[0007] In a second aspect, an embodiment of the present application provides a project data processing device, the device comprising: a business type determination module, used to determine a target business type corresponding to a first liquidation project; a rule determination module, used to determine, based on liquidation control configuration information, a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business type as a target pricing rule, the liquidation control configuration information including at least one liquidation rule corresponding to a business type, the liquidation rule including a pricing rule and an action switching indication corresponding to the pricing rule, the pricing rule being configured with a priority; a rule matching module, used to match the target pricing rule with the first liquidation project to obtain a matching result; a liquidation execution module, used to liquidate the first liquidation project using the target pricing rule when it is determined according to the matching result that the target pricing rule is consistent with the first liquidation project; a rule switching module, used to use the next priority pricing rule as the new target pricing rule when the action switching indication corresponding to the target pricing rule represents switching to the next priority pricing rule.
[0008] In a third aspect, an embodiment of the present application provides a project data processing device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the project data processing method as described in the first aspect is implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the project data processing method as described in the first aspect is implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the project data processing method as described in the first aspect.
[0011] The embodiment of the present application provides a project data processing method, in which the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority, thereby realizing the independent configuration of different clearing rules for different business types. Therefore, after determining the target business type corresponding to the first clearing project, the method provided by the embodiment of the present application can, based on the clearing control configuration information, first determine the pricing rule whose priority meets the preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, match the target pricing rule with the first clearing project, obtain a matching result, and when it is determined according to the matching result that the target pricing rule is consistent with the first clearing project, use the target pricing rule to match the target pricing rule with the first clearing project. The first clearing item is cleared, and then when the action switching indication corresponding to the target pricing rule indicates switching to the next priority pricing rule, the next priority pricing rule is used as the new target pricing rule, and the step of matching the target pricing rule with the first clearing item is continued. It can be seen that through the embodiment of the present application, different clearing rules can be configured for different types of business according to the actual business situation. Specifically, pricing rules and the priorities and action switching indications corresponding to the pricing rules can be configured for different types of business according to the actual business situation, thereby achieving the purpose of flexibly controlling the first clearing item to flexibly switch clearing between multiple pricing rules according to the type of business to which it belongs based on the clearing control configuration information, meeting the needs of normal business changes and improving the processing efficiency of the first clearing item.
[0012] Furthermore, in the settlement control configuration information of the method, the pricing rule has corresponding element priority control information, and the element priority control information is used to describe the priority order of the elements that match the pricing rule, so that when the first settlement item is matched with the pricing rule, it can be matched based on the order of element priority, and there is no need to determine the priority of element matching by the sorting position of the element in the element combination, thereby avoiding the risk of errors when personalizing the elements and facilitating flexible personalization of the elements.
[0013] Furthermore, in the clearing control configuration information of the method, the element unique identifier also has a parameter value length field, and the parameter value length field is used to store the length information of the corresponding element parameter value. Therefore, the method can respond to the element order adjustment request, adjust the order of the element unique identifiers in the element combination according to the element order adjustment request, and adjust the order of the element parameter values in the actual business parameters corresponding to the element combination based on the order and the parameter value length field of the element unique identifier, thereby achieving the purpose of flexible and personalized modification of the elements. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0015] Figure 1 It is a schematic diagram of an example of an application scenario of the project data processing method provided in an embodiment of the present application;
[0016] Figure 2 It is a flowchart of a project data processing method provided by an embodiment of the first aspect of the present application;
[0017] Figure 3a It is a schematic diagram of liquidation control configuration information provided by an embodiment of the first aspect of the present application;
[0018] Figure 3b It is a schematic diagram of element arrangement provided by an embodiment of the first aspect of the present application;
[0019] Figure 3c This is a schematic diagram of the element business correspondence relationship provided in an embodiment of the first aspect of the present application;
[0020] Figure 3d It is a schematic diagram of the combination of elements provided in an embodiment of the first aspect of the present application;
[0021] Figure 3e It is a schematic diagram of a combination of elements provided by another embodiment of the first aspect of the present application;
[0022] Figure 3f It is a schematic diagram of a service setting interface provided by an embodiment of the first aspect of the present application;
[0023] Figure 4 is a flowchart of a project data processing method provided by another embodiment of the first aspect of the present application;
[0024] Figure 5 is a flowchart of a project data processing method provided by yet another embodiment of the first aspect of the present application;
[0025] Figure 6 is a flowchart of a project data processing method provided by yet another embodiment of the first aspect of the present application;
[0026] Figure 7 is a flowchart of a project data processing method provided by yet another embodiment of the first aspect of the present application;
[0027] Figure 8 is a flowchart of a project data processing method provided by yet another embodiment of the first aspect of the present application;
[0028] Fig. 9is a flowchart of a project data processing method provided by yet another embodiment of the first aspect of the present application;
[0029] Fig.10 It is a structural schematic diagram of a project data processing device provided in an embodiment of the second aspect of the present application;
[0030] Fig.11 It is a structural diagram of a project data processing device provided in an embodiment of the third aspect of the present application. DETAILED DESCRIPTION
[0031] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended only to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application. It should be noted that the acquisition, storage, use, and processing of information and data in the embodiments of the present application are authorized by users or relevant agencies, in compliance with the relevant provisions of national laws and regulations.
[0032] Currently, the pricing rules used by the clearing engine to process project data are closely related to business logic. When the business logic is adjusted, the pricing rules can only be adjusted according to the particularity of the business, which cannot meet the needs of normal business changes, affecting the processing efficiency of the first clearing project.
[0033] In view of this, an embodiment of the present application provides a project data processing method, in which the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority, thereby realizing the independent configuration of different clearing rules for different business types. Therefore, after determining the target business type corresponding to the first clearing project, the method provided by the embodiment of the present application can, based on the clearing control configuration information, first determine the pricing rule whose priority meets the preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, match the target pricing rule with the first clearing project, obtain a matching result, and when it is determined according to the matching result that the target pricing rule is consistent with the first clearing project, use the target The pricing rule clears the first clearing item, and then when the action switching indication corresponding to the target pricing rule indicates switching to the next priority pricing rule, the next priority pricing rule is used as the new target pricing rule, and the step of matching the target pricing rule with the first clearing item is continued. It can be seen that through the embodiment of the present application, different clearing rules can be configured for different types of business according to the actual business situation. Specifically, pricing rules and the priorities and action switching indications corresponding to the pricing rules can be configured for different types of business according to the actual business situation, thereby achieving the purpose of flexibly controlling the first clearing item based on the clearing control configuration information to flexibly switch the clearing between multiple pricing rules according to the type of business to which it belongs, meeting the needs of normal business changes and improving the processing efficiency of the first clearing item.
[0034] The project data processing method provided in the embodiment of the present application can be used in scenarios where various projects are cleared. For example: clearing of cardless transaction projects, clearing of credit card transaction projects, etc. The project data processing method provided in the embodiment of the present application can be applied to clearing platforms for various types of transactions. The clearing platform can run on a server or any electronic device. Below, the possible application scenarios of the project data processing method provided in the embodiment of the present application are exemplified.
[0035] Figure 1 A schematic diagram of an example of an application scenario of the project data processing method provided in the embodiment of the present application. Figure 1 As shown, the project data processing method provided in the embodiment of the present application is applied to a clearing platform 10 running on a server. In the present application, the first clearing project refers to a transaction that requires resource transfer. The first clearing project includes relevant information of the transaction, such as a transaction unique identifier, a transaction amount, a user unique identifier of the paying user, a user account, a merchant unique identifier of the receiving merchant, and a merchant account number. The first clearing project can be any type of transaction, such as a card-not-present transaction.
[0036] Exemplarily, the clearing platform 10 can be used to determine the first clearing item according to the payment request of the user terminal 20, clear the first clearing item, and complete the process of transferring resources to the merchant 30. Among them, the user terminal 20 can be a program that provides transaction services to users. The user terminal 20 can be bound to the payment account of at least one financial institution (such as various banks, third-party resource trading platforms). In this way, the user terminal 20 can initiate a payment request to the clearing platform 10, and the clearing platform 10 performs clearing based on the pricing of financial institutions, merchants and other parties, deducts the corresponding resources from the payer's account, and transfers the resources to the payee's account.
[0037] The clearing platform 10 may include more than one electronic device. The electronic device may include a server, a gateway, a router, and the like, and the type and quantity of the electronic devices in the clearing platform 10 are not limited here. In some embodiments, the clearing platform 10 may implement a clearing engine according to the method provided in the embodiments of the present application, and clear the clearing items based on the clearing engine.
[0038] In the above application scenario, the clearing platform 10 is provided with clearing control configuration information. The clearing control configuration information includes a clearing rule corresponding to at least one business type, and the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority, thereby realizing the independent configuration of different clearing rules for different business types. Therefore, after the clearing platform 10 determines the target business type corresponding to the first clearing project according to the payment request of the user terminal 20, it can first determine the pricing rule whose priority meets the preset priority condition from the pricing rules corresponding to the target business type based on the clearing control configuration information, and match the target pricing rule with the first clearing project to obtain a matching result. When it is determined according to the matching result that the target pricing rule is consistent with the first clearing project, the first clearing project is cleared using the target pricing rule, and then when the action switching indication corresponding to the target pricing rule indicates switching to the next priority pricing rule, the next priority pricing rule is used as the new target pricing rule, and the step of matching the target pricing rule with the first clearing project is continued.
[0039] It can be seen that in the above application scenario, the clearing platform 10 can configure different clearing rules for different business types according to the actual business situation. Specifically, the clearing platform 10 can configure pricing rules and the priorities and action switching instructions corresponding to the pricing rules for different business types according to the actual business situation, thereby achieving the purpose of flexibly controlling the first clearing project to flexibly switch clearing between multiple pricing rules according to the business type to which it belongs based on the clearing control configuration information, meeting the needs of normal business changes and improving the processing efficiency of the first clearing project.
[0040] The project data processing method, device, equipment, computer storage medium and program product in this application are described below.
[0041] A first aspect of the present application provides a project data processing method that can be executed by a clearing platform. Figure 2 A flowchart of a project data processing method provided in an embodiment of the first aspect of the present application. Figure 2 As shown, the project data processing method may include steps S210-S250.
[0042] S210: Determine the target business type corresponding to the first liquidation item.
[0043] The first clearing item refers to the transaction that requires resource transfer. The first clearing item contains relevant information of the transaction, such as the transaction unique identifier, transaction amount, user unique identifier of the paying user, user account, merchant unique identifier of the receiving merchant and merchant account, etc. The first clearing item can be any type of transaction, such as card-not-present transaction type transaction.
[0044] The target business type refers to the transaction type to which the first clearing item belongs, such as card-not-present transaction type and credit card transaction type.
[0045] In some embodiments of the present application, in S210, in response to a payment request for a card-not-present transaction from a user, it may be determined that the first settlement item is a transaction of a card-not-present transaction type.
[0046] In some other embodiments of the present application, in S210, in response to a payment request for a credit card transaction from a user, it can be determined that the first settlement item is a transaction of a credit card transaction type.
[0047] S220: Based on the clearing control configuration information, determine a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority.
[0048] Pricing rules are rules used in clearing rules to stipulate the fees that the parties to the transaction should pay. Exemplarily, pricing rules may include rules on fee types (such as transaction fees, etc.), fee structures (such as fixed fees, proportional fees, etc.). One or more pricing rules may be included in the clearing rules corresponding to a business type, each pricing rule has a corresponding priority and action switching indication, and the content of different pricing rules is different. Exemplarily: In one scenario, the definition rules for card-not-present transactions include: fixed fee: a fixed charge of 0.5 yuan for each transaction; proportional fee: charged at 0.5% of the transaction amount; minimum fee: the minimum fee for each transaction is 1 yuan; maximum fee: the maximum fee for each transaction is 200 yuan. In another scenario, the definition rules for bank card transactions include: fixed fee: a fixed charge of 1 yuan for each transaction; proportional fee: charged at 0.3% of the transaction amount; minimum fee: the minimum fee for each transaction is 2 yuan; maximum fee: the maximum fee for each transaction is 100 yuan. It should be understood that the examples here are only used to illustrate the pricing rules and do not constitute a limitation.
[0049] The priority of a pricing rule is used to determine the priority order of pricing rules when multiple pricing rules coexist. For example, a certain business type X has three pricing rules, namely, the agreement pricing rule, the back-to-back pricing rule, and the back-to-back card issuance pricing rule. Among them, the agreement pricing rule has the highest priority, the back-to-back pricing rule has a medium priority, and the back-to-back card issuance pricing rule has a low priority. The priority information of the pricing rule can be set in the pricing rule or outside the pricing rule, as long as there is a mapping relationship with the corresponding pricing rule and the priority of the pricing rule can be determined.
[0050] The preset priority condition is the priority requirement for the pricing rule to be selected from the multiple pricing rules corresponding to the business type. For example, in some application scenarios, the preset priority condition is to select the pricing rule with the highest priority as the target pricing rule. For another example, in some application scenarios, the preset priority condition is to select the pricing rule that meets the priority of the relevant information of the transaction as the target pricing rule.
[0051] The action switching indication is indication information for controlling the processing logic of the liquidation to switch between different pricing rules or to end the liquidation. For example, the action switching indication may include an indication indicating switching to the next priority pricing rule, or an indication indicating ending the liquidation.
[0052] by Figure 3a Take the clearing control configuration information shown as an example. Figure 3aAs shown, a certain business type has three pricing rules, namely, the agreement pricing rule, the back-to-back pricing rule, and the back-to-back card issuance pricing rule. Among them, the agreement pricing rule has a higher priority than the back-to-back pricing rule, and the back-to-back pricing rule has a higher priority than the back-to-back card issuance pricing rule. In an optional implementation, according to step S220, from the pricing rules corresponding to the target business type, the pricing rule "agreement pricing rule" with the highest priority can be selected as the target pricing rule.
[0053] S230: Match the target pricing rule with the first liquidation item to obtain a matching result.
[0054] The pricing rules are matched with the liquidation items. Specifically, the element parameter values corresponding to the elements in the first liquidation item are obtained according to the element combination corresponding to the pricing rules, and then the element parameter values are matched with the pricing rules. The purpose is to determine whether the first liquidation item is consistent with the pricing rules, and then determine whether to use the pricing rules for liquidation.
[0055] Specifically, in some embodiments of the present application, matching the target pricing rule with the first liquidation item to obtain a matching result includes:
[0056] Based on the liquidation control configuration information, a target element combination corresponding to the target pricing rule is acquired, wherein the pricing rule in the liquidation control configuration information is configured with a corresponding element combination, and a single element in the element combination is represented by an element unique identifier;
[0057] Obtaining an element parameter value corresponding to the element unique identifier of the target element combination in the first liquidation item;
[0058] The factor parameter value is matched with the target pricing rule to obtain a matching result.
[0059] Among them, the factor combination is a combination of one or more parameters used to define and apply pricing rules. Factor can be understood as a component element in the factor combination. For example, in some application scenarios, the factor combination of a pricing rule includes: customer type, transaction type, transaction amount, etc. Among them, customer type is one factor and transaction type is another factor. The target factor combination is a factor combination used to define and apply the target pricing rule.
[0060] Element parameter value, that is, the value corresponding to the element. For example, the possible values corresponding to the element customer type may include ordinary customer, new customer, old customer, etc.
[0061] The unique identifier of an element is a unique identifier assigned to each element in the clearing process to ensure that each element (such as the accounting entity, lending direction, guarantee party, etc.) can be uniquely identified and matched. The unique identifier can be represented by numbers, letters and / or any other characters. In actual applications, the total size of each clearing transaction is about 10k, and there are hundreds of transaction information and elements. Each element may become a decisive condition for the personalized clearing of the institution. Therefore, in order to facilitate the unified management of these elements by the front and back ends, these elements are given unique identifiers. Exemplarily, the unique identifiers of different elements can be expressed as numbers starting from A01 and arranged in sequence. For example: A01 is the unique identifier of the element of the transaction code, A02 is the unique identifier of the element of the code channel, and A03 is the unique identifier of the element of the business type.
[0062] There is no limit to the arrangement of the unique identification of the elements. For example, the elements can be arranged in order, so that the element number is formed according to the order of arrangement as the unique identification of the element. The unique identification of the element can be expanded so that elements can be added flexibly. For example, according to the parameter analysis and statistics of all businesses, the sequence number with higher frequency of use can be used as the unique identification of the element.
[0063] In some embodiments of the present application, a template for arranging element unique identifiers may be provided, and the template is used to arrange the numbers in the element unique identifiers of different elements. Figure 3b The schematic diagram of element arrangement shown in the figure shows the numbers to which different types of elements such as institutional information, transaction elements, and transaction features are mapped in the arrangement template, and the unique element identifier corresponding to the element is further generated based on the numbers to which these elements are mapped in the arrangement template. Exemplarily, the elements included in a certain business include product type, transaction code, sending agency code, business type, merchant code and other elements, and the numbers corresponding to these elements are 001, 002, 003, 004, and 005, respectively, and these numbers can be used as the unique identifier of the element. For example: the element combination formed based on these numbers can be expressed as 0040400106003080020300515. It can be understood that the element combination is also called virtual parameter in some application scenarios, and the meaning of virtual parameter is consistent with that of element combination, which will not be repeated here.
[0064] In the embodiment of the present application, by arranging the elements, the transaction institution information, merchant information, terminal information and clearing party parsed from each domain and other elements have their own numbers and are embedded in the element unique identifier, which facilitates the mapping of the element unique identifier and the element parameter value.
[0065] The number of elements in the liquidation process is usually large, and may reach hundreds or thousands of elements. In order to avoid simple accumulation of elements, the number of parameters is reduced. In the embodiment of the present application, the element is assigned an element unique identifier, and the element can be classified into one or more business categories through the element unique identifier. In other words, an element unique identifier may belong to both one business and another business at the same time, so that multiple business types can share the same element unique identifier of the element, thereby effectively reducing the number of parameters.
[0066] For example, Figure 3c In the schematic diagram of the element-business correspondence relationship shown in the figure, the elements may include element 11, element 12, element 13, element 21, element 22 and element 23, which belong to the same business type or different business types. By merging elements by business type, free configuration of elements of various businesses can be achieved.
[0067] According to the clearing control configuration information of the embodiment of the present application, different business types have different clearing rules, and different pricing rules in the clearing rules have different element combinations, so that the clearing of different business types can be flexibly distinguished as needed, and the elements are represented by unique element identifiers, which can greatly reduce the amount of elements and reduce storage resources and cache occupancy.
[0068] By obtaining the element parameter value corresponding to the element unique identifier of the target element combination in the first liquidation project and matching the element parameter value with the target pricing rule, it is possible to accurately determine whether the first liquidation project is applicable to liquidation according to the target pricing rule, thereby ensuring the accuracy of liquidation.
[0069] Using the previous example, for example, if the first settlement item is a card-not-present transaction, such as Figure 3a The clearing control configuration information shown selects the pricing rule "agreement pricing rule" with the highest priority as the target pricing rule from the pricing rules corresponding to the target business type. Then, according to step S230, the element parameter value corresponding to the element unique identifier in the element combination corresponding to the "agreement pricing rule" in the cardless transaction can be obtained, and the obtained element parameter value is matched with the definition corresponding to the corresponding element unique identifier in the "agreement pricing rule" to determine whether the "agreement pricing rule" is consistent with the first clearing item.
[0070] More specifically, if the first clearing item is a card-not-present transaction, assuming that in the clearing control configuration information, the pricing rule with the highest priority corresponding to the card-not-present transaction is the acquiring / issuing agreement pricing rule, therefore, according to the clearing control configuration information, the element combination corresponding to the acquiring / issuing agreement pricing rule includes: the charging subject element, the debit / credit direction element, the bottom-up party element, the charging rule element, etc. By searching the business debit / credit direction determination table, the charging subject, debit / credit direction, and bottom-up party of the transaction can be found. After finding the element parameter values of the charging subject element, the debit / credit direction element, and the bottom-up party element of the transaction, the element parameter values of the charging subject element, the debit / credit direction element, and the bottom-up party element of the card-not-present transaction are matched with the definition of the relevant elements in the acquiring / issuing agreement pricing rule. If the definition of the relevant elements is met, it means that the card-not-present transaction is consistent with the acquiring / issuing agreement pricing rule. If the definition of the relevant elements is not met, it means that the card-not-present transaction is inconsistent with the acquiring / issuing agreement pricing rule. Illustratively, the acquiring / issuing agreement pricing rules may require that the collection entity be the acquiring and clearing entity, the lending and borrowing direction be D, the back-up party be the issuing and clearing entity, etc.; in the cardless issuing agreement pricing rules, which serve as a supplement to the acquiring / issuing agreement pricing rules, it may be required that the collection entity be the issuing and clearing entity, the lending and borrowing direction be C, the back-up party be XX, etc.
[0071] In some embodiments of the present application, the pricing rule has corresponding element priority control information, and the element priority control information includes an element priority order corresponding to an element unique identifier of one or more elements.
[0072] Accordingly, the step S230 of matching the factor parameter value with the target pricing rule to obtain a matching result includes:
[0073] The element parameter values of the elements in the target element combination are matched with the target pricing rules according to the element priority order in the element priority control information to obtain a matching result.
[0074] Among them, there is no limit to the setting method of the factor priority control information, and it can be set in any field of the settlement rules. For example, it can be set in the factor combination or in the pricing rules. This application does not impose any restrictions on this, as long as the factor priority control information has a mapping relationship with the corresponding pricing rules.
[0075] For example, if the element priority control information corresponding to the acquiring / issuing agreement pricing rules includes: the priority order of the charging subject element, the lending direction element and the guarantee element, among which the charging subject element has the highest priority, the lending direction element has the middle priority, and the guarantee element has the lowest priority. Based on this, the element parameter values of the charging subject element, the lending direction element and the guarantee element can be matched with the relevant definitions of the acquiring / issuing agreement pricing rules in the order of the charging subject element having the highest priority, the lending direction element having the middle priority, and the guarantee element having the lowest priority.
[0076] In the settlement control configuration information of the method, the pricing rule has corresponding element priority control information, and the element priority control information is used to describe the priority order of the elements matched with the pricing rule, so that when the first settlement item is matched with the pricing rule, it can be matched based on the order of element priority, and there is no need to determine the priority of element matching by the sorting position of the element in the element combination, which avoids the risk of errors when the elements are personalized modified and facilitates flexible personalized modification of the elements.
[0077] It should be understood that since the pricing rules in the embodiments of the present application have corresponding element priority control information, the element parameter values of key elements can be quickly queried based on the element priority without querying other unimportant element parameter values, so that the liquidation items can be quickly matched with the pricing rules, thereby improving the liquidation efficiency; and the reduction in the number of elements also reduces the number of element queries; in addition, the action switching indication specifies the next priority pricing rule to be switched to, which further reduces the number of parameter queries and improves the liquidation efficiency.
[0078] Step 240: When it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, the first liquidation item is liquidated using the target pricing rule.
[0079] Continuing with the previous example, if the aforementioned card-not-present transaction is consistent with the pricing rules of the card-not-present issuance agreement, the billing rules in the pricing rules of the card-not-present issuance agreement and the elements corresponding to the billing rules can be further determined, and the element parameter values corresponding to the elements corresponding to the billing rules in the card-not-present transaction can be obtained. The billing calculation is performed according to the billing rules to obtain the settlement result of the card-not-present transaction.
[0080] Step 250: When the action switching indication corresponding to the target pricing rule indicates switching to the next priority pricing rule, the next priority pricing rule is used as a new target pricing rule, and the step of matching the target pricing rule with the first settlement item is continued.
[0081] The action switching instruction is instruction information used to control the processing logic of the clearing to switch between different pricing rules or to end the clearing.
[0082] In some embodiments of the present application, the action switching indication may include:
[0083] a first action switching indication corresponding to the case where the target pricing rule is consistent with the first liquidation item, the first action switching indication including: an indication representing switching to a pricing rule of a first priority, or an indication of ending liquidation, the first priority having a lower priority order than the target pricing rule;
[0084] A second action switching indication corresponding to the case where the target pricing rule does not match the first settlement item, the second action switching indication includes: an indication representing switching to a pricing rule of a second priority, or an indication to end settlement, the priority order of the second priority being lower than the priority of the target pricing rule.
[0085] The first priority and the second priority may be the same or different.
[0086] Following the previous example, combined with Figure 3a The clearing control configuration information shown, the action switching instructions corresponding to the pricing rules of the cardless issuance agreement may include:
[0087] In case of a match failure with no transaction, end the liquidation and return;
[0088] In the case of successful matching with card-not-present transactions, after completing the settlement of the pricing rules of the card-not-present issuance agreement, switch to the back-to-back acquiring pricing rules and continue to match the card-not-present transactions with the back-to-back acquiring pricing rules.
[0089] In this embodiment, an action switching indication is provided to indicate the next priority pricing rule to be switched or the indication to end clearing and return in case of successful or unsuccessful matching, thereby enabling the first clearing project to be flexibly controlled based on the clearing control configuration information to flexibly switch clearing between multiple pricing rules according to the type of business to which it belongs, thereby meeting the needs of normal business changes and improving the processing efficiency of the first clearing project.
[0090] Figure 4 A flowchart of a project data processing method provided by another embodiment of the first aspect of the present application. Figure 4 As shown, the project data processing method may include steps S210-S260. Figure 2 The difference from the embodiment shown is that the element unique identifier also has a parameter value length field, and the parameter value length field is used to store the length information of the corresponding element parameter value. Figure 2 In the embodiment shown in S230, Figure 4 In the illustrated embodiment, it is specifically manifested as S2301, S2302 and S2303, and the method further includes step S260. Among them:
[0091] S210: Determine the target business type corresponding to the first liquidation item.
[0092] S220: Based on the clearing control configuration information, determine, from the pricing rules corresponding to the target business type, a pricing rule whose priority satisfies a preset priority condition as a target pricing rule.
[0093] S2301: Based on the liquidation control configuration information, a target element combination corresponding to the target pricing rule is obtained, wherein the pricing rule in the liquidation control configuration information is configured with a corresponding element combination, and a single element in the element combination is represented by an element unique identifier.
[0094] S2302: Obtain the element parameter value corresponding to the element unique identifier of the target element combination in the first settlement item.
[0095] S2303: Match the factor parameter value with the target pricing rule to obtain a matching result.
[0096] S240: When it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, liquidate the first liquidation item using the target pricing rule.
[0097] S250: When the action switching indication corresponding to the target pricing rule indicates switching to a next priority pricing rule, the next priority pricing rule is used as a new target pricing rule, and the step of matching the target pricing rule with the first settlement item is continued.
[0098] S260: In response to a request for adjusting the element sequence, the sequence of the element unique identifiers in the element combination is adjusted according to the request for adjusting the element sequence, and the sequence of the element parameter values in the actual business parameters corresponding to the element combination is adjusted accordingly based on the sequence and the parameter value length field of the element unique identifier, and the element unique identifiers in the element combination and the element parameter values in the actual business parameters are in a one-to-one correspondence.
[0099] Among them, the parameter value length field is set in the element unique identifier. It is understandable that the parameter value lengths of different elements may be different. Therefore, this embodiment sets the parameter value length field in the element unique identifier, which can quickly and accurately adjust the position of the element parameter value in the element combination based on the parameter value length in the element unique identifier when the relevant operation and maintenance personnel have parameter adjustment requirements.
[0100] For example, Figure 3d The element combination diagram shown shows the element combination corresponding to a certain business type, including: product type, transaction code, sending agency code, business type, merchant code and other elements, the corresponding numbers of these elements are 001, 002, 003, 004, 005, and the corresponding parameter value length fields of these elements are 04, 06, 08, 03, 15. The element unique identifiers of these elements are composed of their corresponding numbers and parameter value length fields, and the element combination is 0040400106003080020300515. Assume that the parameter value of the actual business parameter corresponding to this element combination is: F001CPLX0100010054S22ABCDEFGHIJKLMNO. Then, when an element order adjustment request is received, requesting to adjust the order of some elements, for example, requesting to adjust the element numbered 005, which was originally located at the last position, to the second element in front, etc., the order of the element unique identifiers is adjusted according to the element order adjustment request, and based on the order and the parameter value length field of the element unique identifier, the order of the element parameter values in the actual business parameters corresponding to the element combination is adjusted accordingly, so as to obtain the following Figure 3e For the combination of factors shown, the parameter value of the actual business parameter after adjustment is: F001ABCDEFGHIJKLMNOS2200010054CPLX01.
[0101] It can be seen that, since the clearing control configuration information of this embodiment includes a parameter value length field in the element unique identifier, and the parameter value length field is used to store the length information of the corresponding element parameter value, the method can respond to the element sequence adjustment request, adjust the order of the element unique identifier in the element combination according to the element sequence adjustment request, and adjust the order of the element parameter values in the actual business parameters corresponding to the element combination based on the parameter value length field of the element unique identifier, thereby achieving the purpose of flexible and personalized modification of the elements. Moreover, this modification method can realize the corresponding synchronous modification of the actual business parameters, and no parameter modification errors will occur. There is no need to test the parameters, and the modification will not bring risks to the business parameters, which simplifies the operation and maintenance of the parameters and greatly reduces the risk of parameter operation and maintenance.
[0102] It should be noted that this Figure 4 Parts not described in detail in the illustrated embodiments may be referred to Figure 2 The related descriptions of S210-S250 are not repeated here. In addition, there are multiple optional implementations for the execution order between S260 and other steps, which are determined according to the actual application scenario. For example, S260 can be executed before S210 or after S250.
[0103] Figure 5A flowchart of a project data processing method provided by another embodiment of the first aspect of the present application. Figure 5 As shown, the project data processing method may include S201 to S250. Figure 2 The embodiment shown is different in that Figure 2 In the embodiment shown in S230, Figure 5 In the illustrated embodiment, it is specifically manifested as S2301, S2302 and S2303, and the method further includes steps S201-S204. Among them:
[0104] S201: In response to a service setting request, determine a corresponding service type to be set according to the service setting request.
[0105] The service setting request is a request for setting a combination of elements corresponding to different types of services. Figure 3f The business setting interface diagram shown in the figure includes: the name of the business type, the business priority and the entry of the business definition rule. Among them, the entry of the business definition rule can be understood as the entry for initiating a business setting request. When the clearing platform administrator clicks the "click to view" button, the interface for setting elements will be entered.
[0106] S202: Receive element unique identifiers and element priorities corresponding to one or more elements to be set for the type of business to be set.
[0107] Continuing with the previous example, when entering the interface for setting a feature, a drop-down menu or text box may be displayed for selecting or manually entering the feature name, feature unique identifier, and feature priority.
[0108] S203: Generate a combination of elements corresponding to the type of service to be set according to the element unique identifiers and element priorities corresponding to the one or more elements to be set.
[0109] Exemplarily, a button such as “Generate Element Combination” or “Confirm Generation” may be displayed in the interface for setting elements, and relevant operation and maintenance personnel may confirm the generation of the element combination by clicking the button.
[0110] S204: Setting the element combination corresponding to the business type to be set into the clearing control configuration information.
[0111] For example, the generated element combination can be saved as follows Figure 3a In the element combination configuration area of the liquidation control configuration information shown.
[0112] S210: Determine the target business type corresponding to the first liquidation item.
[0113] S220: Based on the clearing control configuration information, determine a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority.
[0114] S2301: Based on the liquidation control configuration information, a target element combination corresponding to the target pricing rule is obtained, wherein the pricing rule in the liquidation control configuration information is configured with a corresponding element combination, and a single element in the element combination is represented by an element unique identifier.
[0115] S2302: Obtain the element parameter value corresponding to the element unique identifier of the target element combination in the first settlement item.
[0116] S2303: Match the factor parameter value with the target pricing rule to obtain a matching result.
[0117] S240: When it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, liquidate the first liquidation item using the target pricing rule.
[0118] S250: When the action switching indication corresponding to the target pricing rule indicates switching to a next priority pricing rule, the next priority pricing rule is used as a new target pricing rule, and the step of matching the target pricing rule with the first settlement item is continued.
[0119] It should be noted that this Figure 5 Parts not described in detail in the illustrated embodiments may be referred to Figure 2 The related descriptions of S210-S250 are not repeated here. In addition, there are multiple optional implementations for the execution order between S201-S204 and other steps, which are determined according to the actual application scenario. For example, S201-S204 can be executed before S210 or after S250.
[0120] Through this embodiment, relevant operation and maintenance personnel can initiate business setting requests, and independently and flexibly set the element combination and element priority corresponding to the business type. The elements can be arranged and convenient for reshaping, and the reshaping is not prone to errors, and there will be no risks caused by the existing parameters, which can meet the increasingly rich personalized needs.
[0121] Figure 6 A flowchart of a project data processing method provided in yet another embodiment of the first aspect of the present application. Figure 6As shown, the project data processing method also includes steps S205-S207. Among them:
[0122] S205: In response to the pricing rule setting request, determine a corresponding service type to be set according to the pricing rule setting request.
[0123] For example, following the previous example, when the relevant operation and maintenance personnel initiate a service setting request, they will enter the setting element interface, which may include a pricing rule setting entry. The relevant operation and maintenance personnel can initiate a pricing rule setting request through the pricing rule setting entry.
[0124] S206: Receive a pricing rule set for the service type to be set, a priority corresponding to the pricing rule, and / or an action switching instruction corresponding to the pricing rule.
[0125] Exemplarily, when entering the pricing rule setting entrance, interface components for selecting pricing rules and setting priorities corresponding to pricing rules can be displayed, so that relevant operation and maintenance personnel can select pricing rules, priorities corresponding to pricing rules and / or action switching instructions corresponding to pricing rules through these interface components.
[0126] The setting of the action switching indication includes the setting of specific indication contents, such as: the pricing rule of the next priority to be switched, the conditions to be satisfied for the switching, and the like.
[0127] S207: Setting the pricing rule of the business type to be set, the priority corresponding to the pricing rule and / or the action switching indication corresponding to the pricing rule into the clearing control configuration information.
[0128] For example, the pricing rules and the corresponding priorities can be saved in Figure 3a The Clearing Control configuration information is shown in the Pricing Rules Configuration area.
[0129] Through this embodiment, relevant operation and maintenance personnel can initiate a pricing rule setting request, and independently and flexibly set the pricing rules corresponding to the business type, the priority corresponding to the pricing rules and / or the action switching instructions corresponding to the pricing rules, thereby achieving the purpose of flexibly controlling the first clearing project to flexibly switch clearing between multiple pricing rules according to the business type to which it belongs based on the clearing control configuration information, meeting the needs of normal business changes and improving the processing efficiency of the first clearing project.
[0130] It should be noted that this Figure 6 Parts not described in detail in the illustrated embodiments may be referred to Figure 2The related descriptions of S210-S250 are not repeated here. In addition, there are multiple optional implementations for the execution order between S205-S207 and other steps, which are determined according to the actual application scenario. For example, S205-S207 can be executed before S210 or after S250.
[0131] Figure 7 A flowchart of a project data processing method provided in yet another embodiment of the first aspect of the present application. Figure 7 As shown, the project data processing method may include S210 to S250. Figure 2 The embodiment shown is different in that Figure 2 In S210 of the embodiment shown, Figure 7 In the embodiment shown, it is specifically manifested as S2101 and S2102.
[0132] S2101: Match multiple business types with the first settlement item according to the business priority order of the multiple business types to obtain a business matching result.
[0133] For example, Figure 3f The service setting interface diagram shown in FIG. 1 includes: the name of the service type and the service priority. The service priority can be set by the relevant operation and maintenance personnel. Figure 3f As shown in the business priority, when the first settlement item is received, the first settlement item can be matched with the large merchant agreement pricing business in the order of business priority to determine whether the first settlement item belongs to the large merchant agreement pricing business. If so, the first settlement item belongs to the large merchant agreement pricing business. If not, continue to match it with the card-not-present business, and so on.
[0134] The business matching result may include a match or a mismatch.
[0135] S2102: Determine the target business type corresponding to the first liquidation item according to the business matching result.
[0136] S220: Based on the clearing control configuration information, determine a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority.
[0137] S230: Match the target pricing rule with the first liquidation item to obtain a matching result.
[0138] S240: When it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, liquidate the first liquidation item using the target pricing rule.
[0139] S250: When the action switching indication corresponding to the target pricing rule indicates switching to a next priority pricing rule, the next priority pricing rule is used as a new target pricing rule, and the step of matching the target pricing rule with the first settlement item is continued.
[0140] In this embodiment, by setting the business priorities corresponding to different business types and matching the businesses based on the order of the business priorities, it is possible to more accurately determine the business to which the liquidation project belongs and perform liquidation more accurately.
[0141] Figure 8 A flowchart of a project data processing method provided in yet another embodiment of the first aspect of the present application. Figure 8 As shown, the data processing method of the project includes S2001-S2803. Figure 2 The embodiment shown is different in that Figure 8 The project data processing method shown may further include S2001 before step S210. And the method may further include S2801-S2803. Among them:
[0142] S2001: In response to receiving a transaction request, distinguishing between a first settlement item and a second settlement item corresponding to the transaction request, wherein the second settlement item corresponds to a preset traditional settlement rule.
[0143] In some application scenarios, a transaction request may have different clearing methods for different roles. In order to cope with the different clearing methods of different roles such as institutions and merchants in these application scenarios, this embodiment can achieve role-based compatibility of the clearing engine. Specifically, one clearing method can be a preset traditional clearing rule, and another clearing method can be a back-to-back pricing clearing rule implemented based on the clearing control configuration information of the embodiment of this application.
[0144] Based on this, a transaction request may be divided into multiple clearing items. Some clearing items (e.g., clearing on the acquiring side) can be cleared using the preset traditional clearing rules, while other clearing items (e.g., clearing on the issuing side) can be cleared using the back-to-back pricing clearing rules implemented by the clearing control configuration information of the embodiment of this application.
[0145] S2801: performing liquidation on the second liquidation item based on the preset traditional liquidation rule.
[0146] In this embodiment, when the action switch in step S250 indicates the end of clearing, the process proceeds to S2802.
[0147] S2802: Obtain a first liquidation result of the first liquidation project and a second liquidation result of the second liquidation project.
[0148] S2803: Aggregate the first settlement result and the second settlement result to obtain a settlement result of the transaction request.
[0149] There is no limit to the way of summarizing, and the way of summarizing can be set according to the actual application needs. For example, the summarization can be achieved by splicing, merging and saving. The summarized liquidation results can be saved in the liquidation platform, server or some database. For example, the liquidation results can be recorded in the detailed table of the database.
[0150] Take the first liquidation project as a back-to-back liquidation project and the second liquidation project as a traditional liquidation project. Fig. 9 FIG. 2 is a flowchart of a project data processing method provided by another embodiment of the first aspect of the present application. Fig. 9 As shown, the data processing method of the project includes S910-S970. Among them:
[0151] S910: Transaction preprocessing.
[0152] The transaction preprocessing step may include extracting any information required for clearing, and distinguishing items of different clearing methods.
[0153] S920: Settlement using the default traditional settlement method.
[0154] The default traditional settlement method can be Figure 2-Figure 8 The settlement method in any embodiment is different from other traditional settlement methods that cannot personalize the elements and pricing rules. For example, in some preset traditional settlement methods, the element combination can be constant and cannot be arranged, and the pricing rules can require matching according to the order of the element combination from left to right.
[0155] S930: Settlement by back-to-back settlement method.
[0156] The back-to-back liquidation method can be understood as the liquidation of this application. Figure 2-Figure 8 The clearing and processing method of the personalized arrangement elements and pricing rules of any embodiment shown.
[0157] S940: Extraction of settlement information on the acquiring side.
[0158] This step can be understood as the settlement of the role of the acquiring side in a transaction.
[0159] S950: Card issuance and settlement information extraction.
[0160] This step can be understood as the settlement of the role of the card issuer in a transaction.
[0161] S960: Processing of liquidation results.
[0162] This step can be understood as the summary processing of the settlement results of two different settlement methods.
[0163] S970: Liquidation completed.
[0164] This embodiment, by supporting different clearing methods for different roles, can flexibly control the first clearing item to flexibly switch clearing between multiple pricing rules according to the type of business it belongs to based on the clearing control configuration information, thereby meeting the needs of normal business changes, while taking into account the unawareness of certain roles.
[0165] A second aspect of the present application provides a project data processing device. Fig.10 A schematic diagram of the structure of a project data processing device provided in an embodiment of the second aspect of the present application. Fig.10 As shown, the project data processing device 1000 may include a business type determination module 1010, a rule determination module 1020, a rule matching module 1030, a liquidation execution module 1040 and a rule switching module 1050. Among them:
[0166] A business type determination module 1010 is used to determine a target business type corresponding to the first liquidation project;
[0167] A rule determination module 1020 is used to determine, from the pricing rules corresponding to the target business type, a pricing rule whose priority meets a preset priority condition as a target pricing rule based on the clearing control configuration information, wherein the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority;
[0168] A rule matching module 1030, configured to match the target pricing rule with the first liquidation item to obtain a matching result;
[0169] A liquidation execution module 1040, configured to, when it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, perform liquidation on the first liquidation item using the target pricing rule;
[0170] The rule switching module 1050 is used to, when the action switching indication corresponding to the target pricing rule represents switching to the next priority pricing rule, use the next priority pricing rule as the new target pricing rule and continue to perform the step of matching the target pricing rule with the first settlement item.
[0171] Optionally, the rule matching module may include:
[0172] A combination acquisition submodule, configured to acquire a target element combination corresponding to the target pricing rule based on the liquidation control configuration information, wherein the pricing rule in the liquidation control configuration information is configured with a corresponding element combination, and a single element in the element combination is represented by an element unique identifier;
[0173] A parameter value acquisition submodule, used to acquire an element parameter value corresponding to the element unique identifier of the target element combination in the first liquidation item;
[0174] The matching submodule is used to match the factor parameter value with the target pricing rule to obtain a matching result.
[0175] Optionally, the pricing rule has corresponding element priority control information, and the element priority control information includes an element priority order corresponding to an element unique identifier of one or more elements. The matching submodule is used to match the element parameter values of the elements in the target element combination with the target pricing rule according to the element priority order in the element priority control information to obtain a matching result.
[0176] Optionally, the element unique identifier further has a parameter value length field, and the parameter value length field is used to store the length information of the corresponding element parameter value. The device also includes:
[0177] An element adjustment module is used to respond to an element sequence adjustment request, adjust the order of the element unique identifiers in the element combination according to the element sequence adjustment request, and adjust the order of the element parameter values in the actual business parameters corresponding to the element combination based on the order and the parameter value length field of the element unique identifier, and the element unique identifier in the element combination and the element parameter value in the actual business parameter are in a one-to-one correspondence.
[0178] Optionally, the device further comprises:
[0179] A service setting response module, used to respond to a service setting request and determine a corresponding service type to be set according to the service setting request;
[0180] An element receiving and setting module, used for receiving an element unique identifier and an element priority corresponding to one or more elements to be set for the type of business to be set;
[0181] An element generation module, used to generate an element combination corresponding to the business type to be set according to the element unique identifier and element priority corresponding to the one or more elements to be set;
[0182] The element configuration module is used to set the element combination corresponding to the business type to be set into the clearing control configuration information.
[0183] Optionally, the device further comprises:
[0184] A rule setting response module, used to respond to a pricing rule setting request and determine a corresponding service type to be set according to the pricing rule setting request;
[0185] A rule setting receiving module, used for receiving a pricing rule set for the service type to be set, a priority corresponding to the pricing rule and / or an action switching indication corresponding to the pricing rule;
[0186] The rule configuration module is used to set the pricing rule of the business type to be set, the priority corresponding to the pricing rule and / or the action switching indication corresponding to the pricing rule into the clearing control configuration information.
[0187] Optionally, the business category determination module is used to match multiple business categories with the first liquidation project in order of their business priorities to obtain a business matching result, and determine a target business category corresponding to the first liquidation project based on the business matching result.
[0188] Optionally, the device further comprises:
[0189] The role distinguishing module is used to distinguish between a first settlement item and a second settlement item corresponding to the transaction request in response to receiving the transaction request, wherein the second settlement item corresponds to a preset traditional settlement rule.
[0190] The traditional liquidation module is used to perform liquidation on the second liquidation item based on the preset traditional liquidation rule.
[0191] The result aggregation module is used to obtain a first settlement result of the first settlement item and a second settlement result of the second settlement item, and aggregate the first settlement result and the second settlement result to obtain a settlement result of the transaction request.
[0192] Through the device provided in the embodiment of the present application, different clearing rules can be configured for different types of business according to the actual business situation. Specifically, pricing rules and the priorities and action switching instructions corresponding to the pricing rules can be configured for different types of business according to the actual business situation, thereby achieving the purpose of flexibly controlling the first clearing project to flexibly switch clearing between multiple pricing rules according to the business type to which it belongs based on the clearing control configuration information, meeting the needs of normal business changes and improving the processing efficiency of the first clearing project.
[0193] The third aspect of the present application also provides a project data processing device. Fig.11 This is a schematic diagram of the structure of a project data processing device provided in one embodiment of the present application. Fig.11 As shown, the project data processing device 1100 includes a memory 1101 , a processor 1102 , and a computer program stored in the memory 1101 and executable on the processor 1102 .
[0194] In some examples, the processor 1102 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0195] The memory 1101 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1101 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these.
[0196] The memory 1101 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the project data processing method in the embodiment of the present application.
[0197] The processor 1102 runs a computer program corresponding to the executable program code by reading the executable program code stored in the memory 1101, so as to implement the project data processing method in the above embodiment.
[0198] In some examples, the project data processing device 1100 may further include a communication interface 1103 and a bus 1104. Fig.11 As shown, the memory 1101, the processor 1102, and the communication interface 1103 are connected via a bus 1104 and communicate with each other.
[0199] The communication interface 1103 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication interface 1103 can also be used to access input devices and / or output devices.
[0200] The bus 1104 includes hardware, software, or both, and couples the components of the project data processing device 1100 to each other. By way of example and not limitation, the bus 1104 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-E) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of the above. Where appropriate, the bus 1104 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0201] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program instruction is stored, and when the computer program instruction is executed by a processor, the project data processing method in the above-mentioned embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc., which is not limited here.
[0202] The present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the project data processing method in the above-mentioned embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0203] It should be clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For device embodiments, equipment embodiments, and computer-readable storage medium embodiments, the relevant parts can refer to the description part of the method embodiment. The present application is not limited to the specific steps and structures described above and shown in the figures. Those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application. In addition, for the sake of brevity, a detailed description of known method technologies is omitted here.
[0204] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0205] Those skilled in the art should understand that the above embodiments are exemplary rather than restrictive. Different technical features appearing in different embodiments can be combined to achieve beneficial effects. Based on the study of the drawings, the specification and the claims, those skilled in the art should be able to understand and implement other variations of the disclosed embodiments. In the claims, the term "comprising" does not exclude other devices or steps; the quantifier "one" does not exclude multiple; the terms "first" and "second" are used to indicate names rather than to indicate any specific order. Any figure marks in the claims should not be understood as limiting the scope of protection. The functions of multiple parts appearing in the claims can be implemented by a single hardware or software module. The appearance of certain technical features in different dependent claims does not mean that these technical features cannot be combined to achieve beneficial effects.
Claims
1. A project data processing method, characterized in that: include: Determine the target business type corresponding to the first liquidation project; Based on the clearing control configuration information, determining a pricing rule whose priority satisfies a preset priority condition from the pricing rules corresponding to the target business type as the target pricing rule, the clearing control configuration information including at least one clearing rule corresponding to the business type, the clearing rule including a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority; Matching the target pricing rule with the first liquidation item to obtain a matching result; In the case where it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, liquidating the first liquidation item using the target pricing rule; When the action switching indication corresponding to the target pricing rule indicates switching to the next priority pricing rule, the next priority pricing rule is used as a new target pricing rule, and the step of matching the target pricing rule with the first settlement item is continued.
2. The method according to claim 1, characterized in that The matching of the target pricing rule with the first liquidation item to obtain a matching result includes: Based on the liquidation control configuration information, a target element combination corresponding to the target pricing rule is acquired, wherein the pricing rule in the liquidation control configuration information is configured with a corresponding element combination, and a single element in the element combination is represented by an element unique identifier; Obtaining an element parameter value corresponding to the element unique identifier of the target element combination in the first liquidation item; The factor parameter value is matched with the target pricing rule to obtain a matching result.
3. The method according to claim 2, characterized in that The pricing rule has corresponding element priority control information, and the element priority control information includes an element priority order corresponding to an element unique identifier of one or more elements; The matching of the factor parameter value with the target pricing rule to obtain a matching result includes: The element parameter values of the elements in the target element combination are matched with the target pricing rules according to the element priority order in the element priority control information to obtain a matching result.
4. The method according to claim 3, characterized in that: The element unique identifier also has a parameter value length field, and the parameter value length field is used to store the length information of the corresponding element parameter value; The method further comprises: In response to a request to adjust the element order, the order of the element unique identifiers in the element combination is adjusted according to the element order adjustment request, and the order of the element parameter values in the actual business parameters corresponding to the element combination is adjusted accordingly based on the order and the parameter value length field of the element unique identifier, and the element unique identifier in the element combination and the element parameter value in the actual business parameter are in a one-to-one correspondence.
5. The method according to claim 3, characterized in that: The method further comprises: In response to the service setting request, determining a corresponding service type to be set according to the service setting request; Receive a unique element identifier and an element priority corresponding to one or more elements to be set for the type of service to be set; Generate a combination of elements corresponding to the type of service to be set according to the element unique identifiers and element priorities corresponding to the one or more elements to be set; The element combination corresponding to the business type to be set is set in the clearing control configuration information.
6. The method according to any one of claims 1 to 5, characterized in that: The action switching indication includes: a first action switching indication corresponding to the case where the target pricing rule is consistent with the first liquidation item, the first action switching indication including: an indication representing switching to a pricing rule of a first priority, or an indication of ending liquidation, the first priority having a lower priority order than the target pricing rule; A second action switching indication corresponding to the case where the target pricing rule does not match the first settlement item, the second action switching indication includes: an indication representing switching to a pricing rule of a second priority, or an indication to end settlement, the priority order of the second priority being lower than the priority of the target pricing rule.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to a pricing rule setting request, determining a corresponding service type to be set according to the pricing rule setting request; Receiving a pricing rule set for the service type to be set, a priority corresponding to the pricing rule, and / or an action switching indication corresponding to the pricing rule; The pricing rule of the business type to be set, the priority corresponding to the pricing rule and / or the action switching indication corresponding to the pricing rule are set in the clearing control configuration information.
8. The method according to any one of claims 1 to 5, characterized in that: The determining of the target business type corresponding to the first liquidation project includes: According to the business priority order of the multiple business types, the multiple business types are matched with the first settlement item to obtain a business matching result; According to the business matching result, a target business type corresponding to the first liquidation item is determined.
9. The method according to any one of claims 1 to 5, characterized in that: Before determining the target business type corresponding to the first liquidation item, the method further includes: in response to receiving a transaction request, distinguishing between a first liquidation item and a second liquidation item corresponding to the transaction request, wherein the second liquidation item corresponds to a preset traditional liquidation rule; The method further comprises: performing liquidation on the second liquidation item based on the preset traditional liquidation rule; Obtaining a first liquidation result of the first liquidation project and a second liquidation result of the second liquidation project; The first settlement result and the second settlement result are aggregated to obtain a settlement result of the transaction request.
10. A project data processing device, characterized in that: The device comprises: A business category determination module, used to determine the target business category corresponding to the first liquidation project; a rule determination module, configured to determine, based on the clearing control configuration information, from the pricing rules corresponding to the target business type, a pricing rule whose priority satisfies a preset priority condition as a target pricing rule, wherein the clearing control configuration information includes a clearing rule corresponding to at least one business type, the clearing rule includes a pricing rule and an action switching indication corresponding to the pricing rule, and the pricing rule is configured with a priority; A rule matching module, used for matching the target pricing rule with the first liquidation item to obtain a matching result; a liquidation execution module, configured to, when it is determined according to the matching result that the target pricing rule is consistent with the first liquidation item, perform liquidation on the first liquidation item using the target pricing rule; A rule switching module is used to, when the action switching indication corresponding to the target pricing rule represents switching to the next priority pricing rule, use the next priority pricing rule as the new target pricing rule and continue to perform the step of matching the target pricing rule with the first settlement item.
11. A project data processing device, characterized in that: include: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the project data processing method according to any one of claims 1 to 9 is implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the project data processing method according to any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the project data processing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method, device and system for telecommunication service settlement
CN101765078A
Service processing method and device and server
CN111367904A
Business data clearing method and device and electronic equipment
CN117291610A
Electronic settlement use support device, electronic settlement use support method, and program
JP2021093006A
Providing device, providing method and providing program
JP2024061272A
Cited By
Intelligent rule engine-based liquidation account-returning method and intelligent rule engine-based liquidation account-returning system
CN122347464A