Settlement data processing method and device

By receiving business feature information, determining settlement methods and configuring settlement configuration information in the ABS settlement system, forming settlement logic to calculate settlement data, the problem of high code redundancy and iteration costs in the prior art is solved, and the flexibility and cost reduction of settlement scenario expansion are achieved.

CN114691186BActive Publication Date: 2025-04-15JINGDONG TECH HLDG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011578453.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2025-04-15
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

The code redundancy in the existing ABS settlement system is high, resulting in high iteration costs, especially when adding new business types or settlement scenarios, new code is required.

Method used

By receiving the business characteristic information in the settlement request, determining the settlement method, and configuring the settlement configuration information according to the settlement method, forming settlement logic to calculate settlement data. This method does not require adding new codes, and automatically forms the settlement logic corresponding to the newly added settlement scenario.

Benefits of technology

It reduces the degree of code redundancy and reduces iteration costs, so that when adding new settlement scenarios, only the corresponding settlement method and configuration information need to be added.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691186B_ABST
    Figure CN114691186B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method and device for processing settlement data, the method comprising: receiving a settlement request of a target business sent by a receiving request end, the settlement request containing business characteristic information of the target business; determining the settlement method of the target business according to the business characteristic information of the target business; configuring settlement configuration information for the target business according to the settlement method of the target business; and calculating the settlement data of the target business according to the settlement logic composed of the settlement configuration information. Compared with the prior art, the present application only needs to add the corresponding settlement method when adding a settlement scenario, and automatically composes the corresponding settlement logic through the settlement configuration information corresponding to the settlement method, thereby eliminating the need for adding new code and reducing the degree of code redundancy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a method and device for processing settlement data. Background Art

[0002] Asset backed securitization (ABS) settlement refers to a settlement method based on the assets owned by the project and guaranteed by the expected returns that the project assets can bring. ABS settlement usually includes various business types such as repayment business, investment business, guarantee agency business, procurement business, etc.

[0003] However, due to the large differences between the various business types of ABS settlement, when a business type or a settlement scenario is added to ABS settlement, it is necessary to add corresponding settlement logic and implement the settlement logic through new code. Therefore, the code redundancy in the existing ABS settlement is relatively high, resulting in a relatively high iteration cost. Summary of the invention

[0004] The embodiment of the present application provides a settlement data processing method and device to solve the problem of high code redundancy in the prior art. The technical solution of the present application is as follows:

[0005] In a first aspect, an embodiment of the present application provides a settlement data processing method, including:

[0006] receiving a settlement request of a target service sent by a settlement request end, wherein the settlement request includes service feature information of the target service;

[0007] Determining a settlement method for the target business according to the business characteristic information of the target business;

[0008] Configuring settlement configuration information for the target business according to the settlement method of the target business;

[0009] The settlement data of the target business is calculated according to the settlement logic composed of the settlement configuration information.

[0010] In an optional implementation manner, determining the settlement method of the target service according to the service characteristic information of the target service includes:

[0011] Obtaining a task execution list, wherein the task execution list includes a mapping relationship between business feature information and settlement methods;

[0012] The settlement method of the target service is determined according to the service feature information of the target service and the mapping relationship between the service feature information and the settlement method.

[0013] In an optional implementation manner, determining the settlement method of the target service according to the service characteristic information of the target service includes:

[0014] Determining a settlement platform corresponding to the target settlement according to the business characteristic information of the target business;

[0015] The settlement method of the target business is determined according to the settlement platform corresponding to the target settlement.

[0016] In an optional implementation manner, configuring settlement configuration information for the target service according to the settlement method of the target service includes:

[0017] Determining the business type of the target business according to the settlement method of the target business;

[0018] Settlement configuration information of the target service is configured according to the configuration template of the service type.

[0019] In an optional implementation manner, the settlement configuration information includes fee type information of the target settlement and / or customer information of the target settlement.

[0020] In an optional implementation manner, the fee type information includes at least one of the following: principal settlement, settlement subject, settlement scenario and product information.

[0021] In an optional implementation manner, the calculating the settlement data of the target service according to the settlement logic formed by the settlement configuration information includes:

[0022] Obtain data corresponding to the cost type information of the target settlement;

[0023] The settlement logic composed of the settlement configuration information is used to process the data corresponding to the expense type information of the target settlement to obtain the settlement data of the target business.

[0024] In an optional implementation, the settlement logic includes addition and subtraction logic;

[0025] The calculating the settlement data of the target business includes:

[0026] If the settlement scenario is replacement difference settlement, then obtaining the principal settlement data of the target business;

[0027] According to the addition and subtraction items corresponding to the principal settlement of the target business, addition and subtraction operations are performed on the data of the principal settlement of the target business to determine the settlement data of the target business.

[0028] In an optional implementation manner, after calculating the settlement data of the target business, the method further includes:

[0029] Generate settlement details of the target business according to the settlement data of the target business;

[0030] The settlement data of the target business and the settlement details of the target business are sent to the settlement request end.

[0031] Fee type information Fee type information Fee type information In a second aspect, an embodiment of the present application provides a settlement data processing device, including:

[0032] A receiving module, receiving a settlement request of a target service sent by a settlement request end, wherein the settlement request includes service feature information of the target service;

[0033] A processing module is used to determine the settlement method of the target business according to the business characteristic information of the target business; configure settlement configuration information for the target business according to the settlement method of the target business; and calculate the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0034] In an optional implementation, the processing module is specifically used to obtain a task execution list, which contains a mapping relationship between business feature information and settlement methods; and determine the settlement method of the target business based on the business feature information of the target business and the mapping relationship between the business feature information and the settlement method.

[0035] In an optional implementation, the processing module is specifically used to determine the settlement platform corresponding to the target settlement according to the business characteristic information of the target business; and determine the settlement method of the target business according to the settlement platform corresponding to the target settlement.

[0036] In an optional implementation, the processing module is specifically configured to determine the business type of the target business according to the settlement method of the target business; and configure the settlement configuration information of the target business according to the configuration template of the business type.

[0037] In an optional implementation manner, the settlement configuration information includes fee type information of the target settlement and / or customer information of the target settlement.

[0038] In an optional implementation, the fee type information includes at least one of the following: principal settlement, settlement subject, settlement scenario and product information.

[0039] In an optional implementation, the processing module is specifically used to obtain data corresponding to the cost type information of the target settlement; and use the settlement logic composed of the settlement configuration information to process the data corresponding to the cost type information of the target settlement to obtain the settlement data of the target business.

[0040] In an optional implementation, the settlement logic includes addition and subtraction logic;

[0041] The processing module is specifically used to obtain the principal settlement data of the target business if the settlement scenario is replacement difference settlement; perform addition and subtraction operations on the principal settlement data of the target business according to the addition and subtraction items corresponding to the principal settlement of the target business to determine the settlement data of the target business.

[0042] In an optional implementation manner, the processing module is further used to configure the settlement details of the target business according to the settlement data of the target business;

[0043] The device further comprises: a sending module, configured to send the settlement data of the target service and the settlement details of the target service to the initiating end.

[0044] In a third aspect, an embodiment of the present application provides a computer program product, including computer instructions, which implement the settlement method of the first method when executed by a processor.

[0045] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0046] In a fifth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0047] The settlement data processing method and device provided in the embodiment of the present application includes a settlement request for a target business sent by a settlement request end initiator, wherein the settlement request includes business feature information of the target business; the settlement method of the target business is determined according to the business feature information of the target business; the settlement configuration information is configured for the target business according to the settlement method of the target business; and the settlement data of the target business is calculated according to the settlement logic composed of the settlement configuration information. Compared with the prior art, the present application only needs to add the corresponding settlement method when adding a settlement scenario, and automatically composes the corresponding settlement logic through the settlement configuration information corresponding to the settlement method, thereby eliminating the need for adding new code and reducing the degree of code redundancy. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 An application scenario provided for the embodiments of the present application is a schematic diagram;

[0050] Figure 2 A flowchart of a settlement data processing method provided in an embodiment of the present application;

[0051] Figure 3 A flowchart of another settlement data processing method provided in an embodiment of the present application;

[0052] Figure 4 A signaling interaction diagram of a settlement data processing method provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of a settlement data processing device provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.

[0058] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0059] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0060] It should be understood that in the present invention, "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean that B is determined only based on A, but B can also be determined based on A and / or other information.

[0061] Depending on the context, "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."

[0062] Asset backed securitization (ABS) settlement refers to a settlement method based on the assets owned by the project and guaranteed by the expected returns that the project assets can bring. ABS settlement usually includes various business types such as repayment business, investment business, guarantee agency business, procurement business, etc. However, due to the large differences between the various business types of ABS settlement, when a business type or a settlement scenario is added to the ABS settlement, it is necessary to add the corresponding settlement logic and implement the settlement logic through the addition of new code. Therefore, the code redundancy in the existing ABS settlement is relatively high, resulting in a relatively high iteration cost.

[0063] To solve the above problems, the embodiments of the present application provide a settlement method and device. Compared with the prior art, the embodiments of the present application use settlement configuration information to form settlement logic, so that when adding a settlement scenario, only the corresponding settlement method needs to be added, and the settlement logic corresponding to the newly added settlement scenario is automatically formed through the settlement configuration information corresponding to the settlement method, thereby eliminating the need for new code and reducing code redundancy.

[0064] The application scenarios of the embodiments of the present application are described below.

[0065] Figure 1 An application scenario provided for the embodiment of the present application is a schematic diagram, such as Figure 1 As shown, the application scenario of the embodiment of the present application includes a settlement request terminal 101 and a settlement terminal 102. After receiving the settlement instruction input by the user, the settlement request terminal 101 can first send a settlement request for the target business to the settlement terminal 102. The settlement terminal 102 determines the settlement method of the target business according to the business feature information in the settlement request, and configures the settlement configuration information for the target business based on the settlement method of the target business. Finally, the settlement terminal 102 performs data interaction with the server 103 of the settlement platform according to the settlement logic composed of the settlement configuration information to calculate the settlement data, and feeds the settlement data back to the settlement request terminal 101.

[0066] The settlement request end 101 may be a terminal device, and the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in a smart home, etc. In the embodiment of the present application, the device for realizing the function of the terminal may be a terminal, or may be a device that can support the terminal to realize the function, such as a chip system, which may be installed in the terminal. In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.

[0067] The settlement terminal 102 may be a server, which may be, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of computers or network servers based on cloud computing. Cloud computing is a type of distributed computing, a super virtual computer consisting of a group of loosely coupled computers.

[0068] It should be noted that the application scenarios of the technical solution of this application can be Figure 1 The application scenario is not limited to this, and can also be applied to other scenarios that require settlement.

[0069] It can be understood that the above-mentioned settlement data processing method can be implemented by the settlement data processing device provided in the embodiment of the present application. The settlement data processing device can be part or all of a certain device, for example, it can be the settlement terminal 102 or the processor in the settlement terminal 102.

[0070] The following uses a settlement terminal integrated or installed with relevant execution codes as an example to describe the technical solution of the embodiment of the present application in detail with a specific embodiment. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0071] Figure 2 A flow chart of a settlement data processing method provided in an embodiment of the present application, refer to Figure 2 As shown, the embodiment of the present application relates to a specific process of how the settlement end calculates settlement data based on a settlement request. The settlement data processing method mainly includes steps S201 to S204, which are as follows:

[0072] S201. Receive a settlement request for a target service sent by a settlement request end, where the settlement request includes service feature information of the target service.

[0073] In the present application, when a user needs to settle a target service, the settlement end may send a settlement request for the target service, and then the settlement end receives the settlement request for the target service sent by the settlement request end.

[0074] The embodiments of the present application do not limit how to trigger the settlement request of the target business. In some embodiments, the user can trigger the settlement request of the target business by clicking a control on the touch screen of the settlement request end.

[0075] It should be understood that the embodiments of the present application do not limit the business types of the target business. For example, the target business may include shopping payment business, repayment settlement business, investment business, insurance agency business, procurement business, etc.

[0076] It should be understood that the business characteristic information of the target business may include business requirements of the target business, completion methods of the target business, settlement platforms that are preferentially used by the target business, and the like.

[0077] S202: Determine a settlement method for the target business based on the business characteristic information of the target business.

[0078] In this step, after the settlement end receives the settlement request of the target service sent by the settlement request end, it can determine the settlement method of the target service according to the service feature information of the target service.

[0079] In some embodiments, the settlement end may first obtain a task execution list, which includes a mapping relationship between service feature information and settlement methods. Subsequently, the settlement end determines the settlement method of the target service based on the service feature information of the target service and the mapping relationship between the service feature information and settlement methods.

[0080] For example, if the settlement system of the settlement end is connected to the first settlement platform and the second settlement platform, the business characteristic information of the target business includes the identifier of the first settlement platform to be used preferentially. The settlement end can configure the identifier of the first settlement platform into the task execution list, thereby determining in the task execution list that the target business is settled using the settlement method corresponding to the first settlement platform.

[0081] In some embodiments, the settlement terminal may first determine the settlement platform corresponding to the target settlement according to the business characteristic information of the target business, and then determine the settlement method of the target business according to the settlement platform corresponding to the target settlement.

[0082] For example, if the settlement system of the settlement end is connected to the first settlement platform and the second settlement platform, the business feature information of the target business includes the identifier of the first settlement platform to be used preferentially. If the first settlement platform is limited to sampling the first settlement method, the settlement end can directly determine that the settlement method of the target business is the first settlement method.

[0083] It should be noted that there is a corresponding relationship between the settlement method in the embodiment of the present application and the settlement platform where the target settlement is located. When the settlement system at the settlement end is connected to a new settlement platform, the settlement method corresponding to the new settlement platform can be added to the settlement system.

[0084] S203. Configure settlement configuration information for the target business according to the settlement method of the target business.

[0085] In the present application, after the settlement end determines the settlement method of the target business, the settlement configuration information can be configured for the target business according to the settlement method of the target business.

[0086] In some embodiments, the settlement configuration information may include fee type information of the target settlement and / or customer information of the target stage.

[0087] The fee type information consists of at least one of the following: principal settlement, settlement subject, settlement scenario and product information. Principal settlement refers to the principal to be settled under this fee type; the settlement subject refers to the settlement platform that provides the settlement data for this fee type; the settlement scenario refers to the scenario when this fee type is triggered, such as the repayment scenario and the payment scenario; and the product information refers to the information of the product that provides this target business.

[0088] Exemplarily, if a user triggers a settlement request for a payment service, the fee type information in the generated settlement configuration information may include payment scenario information, the principal required for this payment, the payment platform required to complete this payment service, information on the application that triggers the payment service, etc.

[0089] It should be understood that in the embodiments of the present application, the settlement configuration information required to be configured when the settlement end adopts different settlement methods is different. Exemplarily, if the target business is the repayment settlement business of the first settlement platform, then the corresponding settlement configuration information configured by the target business includes fee type information such as principal settlement, settlement subject, settlement scenario and product information. Exemplarily, if the target business is the shopping payment business of the second settlement platform, then the corresponding settlement configuration information configured by the target business includes customer information that needs to be deducted, etc.

[0090] The following provides an available method for configuring settlement configuration information for the target business.

[0091] In some embodiments, the settlement end first determines the business type of the target business according to the settlement method of the target business. Then, the settlement end configures the settlement configuration information of the target business according to the configuration template of the business type.

[0092] It should be understood that the business type is used to distinguish the settlement data generated by different product lines. For example, the business type may include payment business, repayment business, investment business, insurance agency business, procurement business, etc. Different business types have different configuration templates, and the configuration template is provided with the settlement configuration information required to complete the settlement business of the business type.

[0093] S204. Calculate the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0094] In this step, after configuring the settlement configuration information for the target business, the settlement end can calculate the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0095] The embodiments of the present application do not limit how to calculate the settlement data of the target business. In some embodiments, the settlement end may first obtain the data corresponding to the cost type information of the target settlement, and then use the settlement logic composed of the settlement configuration information to process the data corresponding to the cost type information of the target settlement to obtain the settlement data of the target business.

[0096] Among them, the embodiments of the present application do not limit the settlement logic, such as addition and subtraction logic, division settlement logic, and multiplication settlement logic.

[0097] It should be noted that different settlement configuration information can usually form different settlement logics. For example, if the settlement scenario in the settlement configuration information is replacement difference settlement, the settlement logic includes addition and subtraction logic. Accordingly, when calculating the settlement data of the target business, the settlement end can obtain the data of the principal settlement of the target business. Subsequently, according to the addition and subtraction items corresponding to the principal settlement of the target business, the data of the principal settlement of the target business is added and subtracted to determine the settlement data of the target business.

[0098] For example, Table 1 shows the addition and subtraction items corresponding to different business types when the exchange difference is settled. As can be seen from Table 1, the business type includes two businesses with two settlement scenarios of exchange difference settlement, the addition and subtraction items corresponding to business ID 1 are addition items, and the addition and subtraction items corresponding to business ID 7 are subtraction items. If the principal of business ID 1 is 100 and the principal of business ID 2 is 90, the settlement data of the target business is 100-90=10.

[0099] Table 1

[0100]

[0101] In some embodiments, after calculating the settlement data, the settlement end may also generate settlement details of the target business based on the settlement data of the target business.

[0102] It should be understood that the embodiments of the present application do not limit the content of the settlement details. For example, if the target business is a payment settlement business, the settlement details may include the original price of the goods, the discounted price, the coupons used, etc.

[0103] In some embodiments, after completing the calculation of the settlement data and determining the settlement details, the settlement end may also send the settlement data and the settlement details of the target business to the settlement request end.

[0104] In this application, the entire settlement generation process is abstracted, and different settlement configuration information is configured for the settlement method to form a settlement strategy, which is convenient for expansion. For settlement requests of different business types and scenarios, data acquisition and settlement strategies are abstracted, and differentiation is promoted from the code level to the configuration level, which greatly reduces the development iteration cost. For new settlement scenarios, only the corresponding settlement configuration information needs to be added, and no iterative development is required.

[0105] The settlement data processing method provided in the embodiment of the present application receives a settlement request of a target business sent by a settlement request end, wherein the settlement request contains business characteristic information of the target business; determines the settlement method of the target business according to the business characteristic information of the target business; configures settlement configuration information for the target business according to the settlement method of the target business; and calculates the settlement data of the target business according to the settlement logic composed of the settlement configuration information. Compared with the prior art, the present application only needs to add the corresponding settlement method when adding a settlement scenario, and automatically composes the settlement logic corresponding to the newly added settlement scenario through the settlement configuration information corresponding to the settlement method, thereby eliminating the need for adding new code and reducing the degree of code redundancy.

[0106] Based on the above embodiment, the following describes in detail how the settlement terminal configures the settlement configuration information. Figure 3 A flow chart of another method for processing settlement data provided in an embodiment of the present application is provided. Figure 3 As shown, the settlement data processing method mainly includes steps S301 to S306, which are specifically as follows:

[0107] S301. Receive a settlement request for a target service sent by a settlement request end, where the settlement request includes service feature information of the target service.

[0108] S302: Obtain a task execution list, which includes a mapping relationship between business feature information and settlement methods.

[0109] S303: Determine the settlement method of the target business according to the business feature information of the target business and the mapping relationship between the business feature information and the settlement method.

[0110] S304: Determine the business type of the target business according to the settlement method of the target business.

[0111] S305. Configure settlement configuration information of the target business according to the configuration template of the business type.

[0112] S306. Calculate the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0113] It should be noted that the technical terms, technical effects, technical features, and optional implementation methods of S301-S306 can be found in Figure 2 It is understood that S201-S204 shown in the figure will not be repeated here for the repeated contents.

[0114] Based on the technology of the above-mentioned embodiment, the interaction process between the settlement end and the settlement request end is described below. Figure 4 A signaling interaction diagram of a settlement data processing method provided in an embodiment of the present application, refer to Figure 4As shown, the settlement data processing method mainly includes steps S01 to S406, which are specifically as follows:

[0115] S401. The settlement request end sends a settlement request of a target business to a settlement end. The settlement request includes business feature information of the target business.

[0116] S402: The settlement end determines the settlement method of the target business according to the business characteristic information of the target business.

[0117] S403: The settlement end configures settlement configuration information for the target business according to the settlement method of the target business.

[0118] S404: The settlement end calculates the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0119] S405. The settlement terminal generates settlement details of the target business according to the settlement data of the target business.

[0120] It should be understood that the embodiments of the present application do not limit the content of the settlement details. For example, if the target business is a payment settlement business, the settlement details may include the original price of the goods, the discounted price, the coupons used, etc.

[0121] S406: The settlement end sends the settlement data and settlement details of the target business to the settlement request end.

[0122] In some embodiments, the settlement device may send only the settlement data of the target business, or may send only the settlement details of the target business, or may send both the settlement data and the settlement details of the target business at the same time, which is not limited in this embodiment of the present application.

[0123] It should be noted that the technical terms, technical effects, technical features, and optional implementation methods of S401-S406 can be referred to Figure 2 It is understood that S201-S204 shown in the figure will not be repeated here for the repeated contents.

[0124] The settlement data processing method provided in the embodiment of the present application receives a settlement request of a target business sent by a settlement request end, wherein the settlement request contains business characteristic information of the target business; determines the settlement method of the target business according to the business characteristic information of the target business; configures settlement configuration information for the target business according to the settlement method of the target business; and calculates the settlement data of the target business according to the settlement logic composed of the settlement configuration information. Compared with the prior art, the present application only needs to add the corresponding settlement method when adding a settlement scenario, and automatically composes the settlement logic corresponding to the newly added settlement scenario through the settlement configuration information corresponding to the settlement method, thereby eliminating the need for adding new code and reducing the degree of code redundancy.

[0125] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program information, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0126] Figure 5 The following is a schematic diagram of the structure of a settlement data processing device provided in an embodiment of the present application. The settlement data processing device can be implemented by software, hardware, or a combination of both, such as the above-mentioned settlement terminal, and the settlement data processing device is used to execute the settlement data processing method in the above-mentioned embodiment. Figure 5 As shown, the settlement data processing device includes: a receiving module 501, a processing module 502 and a sending module 503.

[0127] A receiving module 501 receives a settlement request of a target service sent by a settlement request end, wherein the settlement request includes service feature information of the target service;

[0128] The processing module 502 is used to determine the settlement method of the target business according to the business characteristic information of the target business; configure settlement configuration information for the target business according to the settlement method of the target business; and calculate the settlement data of the target business according to the settlement logic composed of the settlement configuration information.

[0129] In an optional implementation, the processing module 502 is specifically used to obtain a task execution list, which includes a mapping relationship between business feature information and settlement methods; and determine the settlement method of the target business based on the business feature information of the target business and the mapping relationship between the business feature information and the settlement method.

[0130] In an optional implementation manner, the processing module 502 is specifically configured to determine a settlement platform corresponding to a target settlement according to business characteristic information of the target business; and determine a settlement method for the target business according to the settlement platform corresponding to the target settlement.

[0131] In an optional implementation, the processing module 502 is specifically configured to determine the business type of the target business according to the settlement method of the target business; and configure the settlement configuration information of the target business according to the configuration template of the business type.

[0132] In an optional implementation manner, the settlement configuration information includes cost type information of the target settlement and / or customer information of the target settlement.

[0133] In an optional implementation, the fee type information includes at least one of the following: principal settlement, settlement subject, settlement scenario and product information.

[0134] In an optional implementation, the processing module 502 is specifically used to obtain data corresponding to the cost type information of the target settlement; and use the settlement logic composed of the settlement configuration information to process the data corresponding to the cost type information of the target settlement to obtain the settlement data of the target business.

[0135] In an optional implementation, the settlement logic includes addition and subtraction logic;

[0136] Processing module 502 is specifically used to obtain the principal settlement data of the target business if the settlement scenario is replacement difference settlement; perform addition and subtraction operations on the principal settlement data of the target business according to the addition and subtraction items corresponding to the principal settlement of the target business to determine the settlement data of the target business.

[0137] In an optional implementation, the processing module 502 is further used to configure the settlement details of the target business according to the settlement data of the target business;

[0138] The sending module 503 is used to send the settlement data and settlement details of the target business to the settlement request end.

[0139] The settlement data processing device provided in the embodiment of the present application can execute the actions of the settlement data method in the above embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0140] It should be noted that the settlement data processing device provided in the above embodiment only uses the division of the above functional modules as an example when executing the settlement data processing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the detection device for the drying fan provided in the above embodiment and the detection method embodiment of the drying fan belong to the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.

[0141] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0142] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6As shown, the electronic device may include: a processor 61 (such as a CPU), a memory 62, a receiver 63 and a transmitter 64; the receiver 63 and the transmitter 64 are coupled to the processor 61, and the processor 61 controls the receiving action of the receiver 63 and the processor 61 controls the sending action of the transmitter 64. The memory 62 may include a high-speed RAM memory, and may also include a non-volatile memory NVM, such as at least one disk memory. Various information may be stored in the memory 62 to complete various processing functions and implement the method steps of the embodiment of the present application. Optionally, the electronic device involved in the embodiment of the present application may also include: a power supply 65, a communication bus 66 and a communication port 63. The receiver 63 and the transmitter 64 may be integrated in the transceiver of the electronic device, or may be an independent transceiver antenna on the electronic device. The communication bus 66 is used to realize the communication connection between components. The above-mentioned communication port 63 is used to realize the connection and communication between the electronic device and other peripherals.

[0143] In the embodiment of the present application, the above-mentioned memory 62 is used to store computer executable program code, and the program code includes information; when the processor 61 executes the information, the information enables the processor 61 to perform the processing action of the above-mentioned method embodiment, enables the transmitter 64 to perform the sending action in the above-mentioned method embodiment, and enables the receiver 33 to perform the receiving action in the above-mentioned method embodiment. The implementation principles and technical effects are similar and will not be repeated here.

[0144] The present application embodiment also provides a chip, including a processor and an interface. The interface is used to input and output data or instructions processed by the processor. The processor is used to execute the method provided in the above method embodiment.

[0145] The present invention also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program information, and the program information is used for the above method.

[0146] An embodiment of the present application also provides a program, which, when executed by a processor, is used to execute the method provided in the above method embodiment.

[0147] The embodiment of the present application also provides a program product, such as a computer-readable storage medium, in which instructions are stored. When the program product is run on a computer, the computer executes the method provided by the above method embodiment.

[0148] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a service end or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, service end or data center. The computer-readable storage medium can be any available medium that can be accessed by the computer or a data storage device such as a service end, a data center, etc. that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

[0150] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A settlement data processing method, characterized in that: include: receiving a settlement request of a target service sent by a settlement request end, wherein the settlement request includes service feature information of the target service; The service characteristic information includes the service requirements of the target service, the completion method of the target service and the settlement platform preferentially used by the target service; Determine the settlement method of the target business according to the business characteristic information of the target business; the settlement method has a corresponding relationship with the settlement platform where the target business is located; Determining the business type of the target business according to the settlement method of the target business; According to the business type, configure settlement configuration information of the target business; The settlement data of the target business is calculated according to the settlement logic composed of the settlement configuration information.

2. The method according to claim 1, characterized in that The determining, according to the service characteristic information of the target service, a settlement method of the target service includes: Obtaining a task execution list, wherein the task execution list includes a mapping relationship between business feature information and settlement methods; The settlement method of the target service is determined according to the service feature information of the target service and the mapping relationship between the service feature information and the settlement method.

3. The method according to claim 1, characterized in that The determining, according to the service characteristic information of the target service, a settlement method of the target service includes: Determining a settlement platform corresponding to the target business according to the business characteristic information of the target business; Determine the settlement method of the target business according to the settlement platform corresponding to the target business.

4. The method according to claim 1, characterized in that: The configuring the settlement configuration information of the target service according to the service type includes: Settlement configuration information of the target service is configured according to the configuration template of the service type.

5. The method according to any one of claims 1 to 4, characterized in that: The settlement configuration information includes the fee type of the target service and / or the customer information of the target service.

6. The method according to claim 5, characterized in that The fee type includes at least one of the following: principal settlement, settlement subject, settlement scenario and product information.

7. The method according to claim 6, characterized in that The calculating the settlement data of the target business according to the settlement logic formed by the settlement configuration information includes: Obtaining data corresponding to the expense type of the target business; The settlement logic composed of the settlement configuration information is used to process the data corresponding to the expense type of the target business to obtain the settlement data of the target business.

8. The method according to claim 7, characterized in that The settlement logic includes addition and subtraction logic; The calculating the settlement data of the target business includes: If the settlement scenario is replacement difference settlement, then obtaining the principal settlement data of the target business; According to the addition and subtraction items corresponding to the principal settlement of the target business, addition and subtraction operations are performed on the data of the principal settlement of the target business to determine the settlement data of the target business.

9. The method according to claim 1, characterized in that: After calculating the settlement data of the target business, the method further includes: Generate settlement details of the target business according to the settlement data of the target business; The settlement data of the target business and the settlement details of the target business are sent to the settlement request end.

10. A settlement data processing device, characterized in that: include: A receiving module, receiving a settlement request of a target service sent by a settlement request end, wherein the settlement request includes service feature information of the target service; The service characteristic information includes the service requirements of the target service, the completion method of the target service and the settlement platform preferentially used by the target service; A processing module is used to determine the settlement method of the target business according to the business characteristic information of the target business; the settlement method has a corresponding relationship with the settlement platform where the target business is located; according to the settlement method of the target business, determine the business type of the target business; according to the business type, configure the settlement configuration information of the target business; according to the settlement logic composed of the settlement configuration information, calculate the settlement data of the target business.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the method of any one of claims 1 to 9 is implemented.

12. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 9.

13. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method as claimed in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Waybill settlement management and control method and system, computer equipment and storage medium

    CN111353745A