Intelligent expense settlement method and device, equipment and medium

Through the intelligent fee settlement method at the settlement processing terminal, the target order is obtained and the allocation calculation is performed, and the calculation difference caused by the accuracy limitation in online fee settlement is solved, and efficient and accurate settlement processing is achieved.

CN119273357APending Publication Date: 2025-01-07SHENZHEN YUXUANDAO HEALTH TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411293244.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The incomplete removal situations caused by accuracy limitations in the online fee settlement process of prior art lead to differences in calculation historical data, affecting the efficiency and accuracy of accounting settlement. Moreover, manual accounting processing takes a long time and is prone to errors and is inefficient.

Method used

By implementing intelligent fee settlement methods at the settlement processing terminal, obtaining target orders, amortizing calculations based on the charging allocation rules, generating a fee allocation detailed list, and refund settlement according to the refund strategy to generate flat accounts and improve the accuracy of settlement processing. Sex and efficiency.

Benefits of technology

It improves the accuracy and efficiency of bill settlement processing, reduces the time and errors of manual processing, and improves the overall efficiency of fee settlement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273357A_ABST
    Figure CN119273357A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent fee settlement method, device, equipment and medium, and the method comprises the steps: obtaining a target order corresponding to fee payment information from an order information library, carrying out the apportionment calculation of each charge amount in the fee payment information, and obtaining a fee apportionment detail table; and if a fee refund request is received, acquiring fee refund information corresponding to the fee refund request according to the fee allocation detail table, and performing fee refund settlement on the fee allocation detail table according to a fee refund strategy and the fee refund information to obtain account balancing flow information. According to the method, the expense payment information can be subjected to allocation calculation according to the target order, and the expense refund settlement is performed on the expense allocation detail table according to the expense refund request; compared with manual settlement and balance account processing, the technical method improves the accuracy of balance account settlement processing, so that the expense settlement processing is more efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent settlement technology, and in particular to an intelligent fee settlement method, device, equipment and medium. Background Art

[0002] During the online fee settlement process, the client can send payment information or refund requests to the settlement processing terminal. During the fee settlement management process, the settlement processing terminal needs to sort out the product accounts involved in various complex business scenarios. The traditional way of recording transactions usually records the payment method and amount of each order according to the settlement information; however, due to the precision limitation of two decimal places in fee settlement, there will be a large number of indivisible situations, and any small adjustment may cause differences in the historical data calculated each time, which has a great impact on the efficiency of account settlement and the accuracy of settlement; every time a difference occurs during the fee settlement process, the personnel can only manually settle the account, which takes a long time and is prone to human errors, resulting in low efficiency of settlement. Therefore, there is a problem of low efficiency in fee settlement processing in the prior art method. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, equipment and medium for intelligent fee settlement, aiming to solve the problem of low efficiency in fee settlement processing in the prior art methods.

[0004] In a first aspect, an embodiment of the present invention provides a method for intelligent fee settlement, wherein the method is applied to a settlement processing terminal, the settlement processing terminal is connected to a client for communication to achieve data information transmission, and the method includes:

[0005] If fee payment information is received from the client, a target order corresponding to the fee payment information is obtained from a preset order information database;

[0006] According to the preset fee allocation rules and the target order, each fee amount in the fee payment information is allocated and calculated to obtain a corresponding fee allocation detailed list;

[0007] If a refund request is received from the client, obtaining refund information corresponding to the refund request according to the expense sharing details table;

[0008] The refund settlement is performed on the expense sharing details table according to the preset refund policy and the refund information to obtain the corresponding balance flow information.

[0009] In a second aspect, an embodiment of the present invention further provides a fee intelligent settlement device, wherein the device is configured in a settlement processing terminal, the settlement processing terminal is connected to a client for communication to achieve data information transmission, and the device is used to execute the fee intelligent settlement method as described in the first aspect above, and the device includes:

[0010] A target order acquisition unit, configured to acquire a target order corresponding to the fee payment information from a preset order information database upon receiving fee payment information from the client;

[0011] An allocation calculation unit is used to allocate and calculate each fee amount in the fee payment information according to a preset fee allocation rule and the target order to obtain a corresponding fee allocation detailed list;

[0012] A refund information acquisition unit, configured to, if receiving a refund request from the client, acquire refund information corresponding to the refund request according to the expense sharing details table;

[0013] The balance flow information acquisition unit is used to perform refund settlement on the expense sharing detail table according to a preset refund strategy and the refund information to obtain corresponding balance flow information.

[0014] In a third aspect, an embodiment of the present invention further provides a computer device, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0015] Memory, used to store computer programs;

[0016] The processor is used to implement the steps of the intelligent fee settlement method described in the first aspect when executing the program stored in the memory.

[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the intelligent fee settlement method as described in the first aspect above are implemented.

[0018] The embodiment of the present invention provides a method, device, equipment and medium for intelligent fee settlement, the method comprising: obtaining a target order corresponding to fee payment information from an order information database and performing apportionment calculation on each fee amount in the fee payment information to obtain a fee apportionment detail list; if a refund request is received, obtaining refund information corresponding to the refund request according to the fee apportionment detail list, performing refund settlement on the fee apportionment detail list according to the refund policy and refund information, and obtaining account balance flow information. The above method can perform apportionment calculation on the fee payment information according to the target order, and perform refund settlement on the fee apportionment detail list according to the refund request; compared with manual settlement and account balance processing, the above technical method improves the accuracy of account balance settlement processing and makes fee settlement processing more efficient. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A method flow chart of the fee intelligent settlement method provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of an application scenario of the intelligent fee settlement method provided by an embodiment of the present invention;

[0022] Figure 3 A schematic block diagram of an intelligent fee settlement device provided by an embodiment of the present invention;

[0023] Figure 4 It is a schematic block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

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

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

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

[0028] See also Figure 1 As shown in the figure, the embodiment of the present invention provides a method for intelligent fee settlement, which is applied in a settlement processing terminal and is executed by application software installed in the settlement processing terminal. Figure 2 As shown, the settlement processing terminal 10 is connected in communication with the client 20 to realize the transmission of data information. The client 20 can be a terminal device such as a laptop computer, desktop computer, tablet computer or mobile phone; the settlement processing terminal 10 is a server terminal installed inside an enterprise or institution. The client 20 can send payment information or settlement request to the settlement processing terminal 10. The settlement processing terminal 10 performs fee settlement processing according to the information from the client 20, and accurately and in detail records the payment and refund flow of fees according to the balance flow information obtained during the fee settlement processing. For example, the settlement processing terminal 10 can be a server terminal configured in a medical institution, and the client 20 is a terminal device configured in each store for information processing. The store operator performs fee payment and refund operations through the client 20, and the consumer directly connects with the operator in the store. Figure 1 As shown, the method includes steps S110 to S140.

[0029] S110: If fee payment information is received from the client, a target order corresponding to the fee payment information is obtained from a preset order information database.

[0030] If the fee payment information is received from the client, the target order corresponding to the fee payment information is obtained from the preset order information library. The settlement processing terminal is configured with an order information library for storing fee orders. For example, each time an order is opened, an unpaid fee order is generated and added to the order information library. There are multiple fee orders stored in the order information library. The fee order consists of a fee amount and a fee details table. A fee order can contain multiple fee items. A fee order can be charged multiple times, and can also be refunded multiple times.

[0031] When the user makes a payment, the client generates corresponding fee payment information based on the payment operation and sends it to the settlement processing terminal. The settlement processing terminal obtains the target order corresponding to the fee payment information from the pre-configured order information library. The fee payment information includes the order number. By obtaining the order number in the fee payment information, the matching fee order in the order information library can be obtained and determined as the target order. The fee payment information can include one or more fee amounts.

[0032] For example, a charging order is shown in Table 1:

[0033] Table 1

[0034]

[0035] S120. Calculate and apportion each fee amount in the fee payment information according to the preset fee apportionment rule and the target order to obtain a corresponding fee apportionment detailed list.

[0036] The charge amounts in the fee payment information are apportioned and calculated according to the preset charge apportionment rules and the target order to obtain a corresponding charge apportionment detailed list. Further, the charge amounts in the fee payment information are apportioned according to the charge apportionment rules and the target order. The fee payment information may include one or more charge amounts. After the apportionment calculation, a charge apportionment detailed list can be obtained. The apportionment calculation involves apportioning each charge amount in the fee payment information according to the charge items in the target order.

[0037] In a specific embodiment, step S120 includes the following sub-steps: obtaining the first charge amount in the fee payment information and determining it as the target charge amount; performing apportionment calculation on the target charge amount according to the apportionment calculation formula in the fee apportionment rule and the charge items included in the target order to obtain a corresponding apportionment result; verifying whether the apportionment result is abnormal according to the verification formula in the fee apportionment rule; if the apportionment result verification is normal, determining whether the uncalculated amount corresponding to the target charge amount is zero; if the apportionment result verification is abnormal, generating an alarm prompt message for calculation abnormality; if the uncalculated amount is not zero, performing a correction calculation on the target charge amount according to the error correction calculation formula in the fee apportionment rule. The allocation result is corrected to obtain a new allocation result and return to execute the step of verifying whether the allocation result is abnormal according to the verification formula in the fee allocation rule; if the uncalculated amount is zero and the fee payment information contains a fee amount that has not been completed, then obtain the next fee amount in the fee payment information and determine it as the target fee amount, and return to execute the step of allocating the target fee amount according to the allocation calculation formula in the fee allocation rule and the fee items included in the target order; if the uncalculated amount is zero and the fee amounts in the fee payment information have all been allocated, generate a fee allocation details table based on the allocation results currently corresponding to each fee amount.

[0038] For example, if the fee payment information includes a WeChat fee of 0.3 yuan, an Alipay fee of 6 yuan, and a cash fee of 20 yuan, the maintenance fee is first determined as the target fee amount, and the cumulative calculation amount g is set to 0. Further, the target fee amount is apportioned and calculated according to the apportionment calculation formula and the fee items included in the target order. For example, the fee items included in the target order include three items: decoction fee, Poria cocos, and licorice. First, the amount of the WeChat fee apportioned in the first fee item is calculated according to the apportionment calculation formula, and the calculation formula is shown in formula (1);

[0039]

[0040] Among them, f i is the calculated value of the current target charging amount allocated to the i-th charging item, F i is the amount of the current target charge amount allocated to the i-th charge item, round(q, p) is to round q to p decimal places, in the above calculation formula, p = 2, which means to keep two decimal places, b i is the receivable amount of the ith charging item, a is the order amount, and e is the target charging amount (e.g. WeChat charging e=0.3).

[0041] The amount collected this time corresponding to each charging item can be calculated using formula (2) in the apportionment calculation formula:

[0042] r i =min(b i -x i , e.g., F i ) (2);

[0043] Among them, b i is the receivable amount of the i-th charging item, x i is the amount collected for the ith charging item, e is the target charging amount, g is the cumulative amount, and F i The amount allocated to the i-th charging item is the current target charging amount.

[0044] Afterwards, the initially set g value is updated according to the formula g=g+r in the apportionment calculation formula. The calculation process of apportioning the target fee amount according to the above-mentioned decoction fee, Poria cocos and roasted licorice is the same.

[0045] Furthermore, the uncalculated amount is verified according to the verification formula in the fee allocation rule, wherein the calculation process of the uncalculated amount is shown in formula (3):

[0046] h=e-∑F i (3);

[0047] h is the uncalculated amount, and e is the target charge amount. Specifically, the verification formula can be set as a regular expression that determines the numerical value of the uncalculated amount. For example, the verification formula can be set to determine whether h is not less than zero. If the verification result shows that h is not less than zero, the apportionment result verification is normal; if the verification result shows that h is less than zero, the apportionment result verification is abnormal.

[0048] If the allocation result verification is normal, it is further determined whether the uncalculated amount is zero; if the allocation result verification is abnormal, an alarm prompt message of calculation abnormality is generated to remind the administrator. If the uncalculated amount h is not zero, the allocation result corresponding to the target fee amount is corrected according to the error correction calculation formula in the fee allocation rule to update the allocation result, that is, to obtain a new allocation result.

[0049] Specifically, the error correction calculation formula can be expressed as the following calculation process. First, the new apportionment amount F is calculated. i =min(f i +h,b i -x i ); and then perform error correction calculation on the accumulated amount: g = gf i +F iAfter completing the error correction calculation for each charging item, a new allocation result can be obtained. Then, the process returns to the step of verifying whether the new allocation result is abnormal by using the verification formula, that is, recalculating the uncalculated amount corresponding to the new allocation result according to the above formula (3) and repeating the above verification process.

[0050] If the uncalculated amount is zero and the fee payment information contains a fee amount that has not been allocated, the next fee amount in the fee payment information is obtained and determined as the target fee amount, and the above steps of allocation calculation are performed again. If the uncalculated amount is zero and all the fee amounts in the fee payment information have been allocated, a fee allocation detail table is generated based on the allocation results currently corresponding to each fee amount.

[0051] For example, the final cost sharing details are shown in Table 2.

[0052] Table 2

[0053]

[0054] S130: If a refund request is received from the client, refund information corresponding to the refund request is obtained according to the expense sharing details table.

[0055] If a refund request is received from the client, refund information corresponding to the refund request is obtained according to the expense sharing details table. Further, the settlement processing terminal may also receive a refund request from the client, and if a refund is required, the client may send a refund request to the settlement processing terminal for refund processing. If a refund request is received, refund information corresponding to the refund request is obtained according to the expense sharing details table, and corresponding refund settlement processing is performed according to the refund information.

[0056] In a specific embodiment, step S130 includes sub-steps: obtaining the refund item that matches the refund request in the expense sharing details table; obtaining the refund channel and amount corresponding to the refund item from the expense sharing details table; and combining the refund channel and amount of each refund item to obtain corresponding refund information.

[0057] Specifically, the refund items in the expense sharing details table that match the refund request may be obtained. For example, the refund request may be a request for refunding a certain fee item, or a request for refunding multiple fee items at the same time, or a request for refunding one or more fee amounts.

[0058] Specifically, the refund items that match the refund request can be obtained. If the refund request refunds one or more charging items at the same time, the charging items that need to be refunded in the refund request are directly determined as the matching refund items. If the refund request refunds one or more charging amounts, the refund items are determined to be all charging items in the cost sharing details table.

[0059] Further, the refund channel and amount corresponding to each refund item are determined, such as WeChat, Alipay, cash, etc. The amount is the specific amount corresponding to the refund item in the fee amount. The refund channel and amount of the refund item are combined to obtain the actual refund amount corresponding to each refund channel as the corresponding refund information, that is, the refund information includes one or more refund channels corresponding to the refund item, and each refund channel corresponds to an actual refund amount.

[0060] S140: Perform refund settlement on the expense sharing details table according to the preset refund policy and the refund information to obtain corresponding balance flow information.

[0061] The refund settlement is performed on the expense sharing detail table according to the preset refund policy and the refund information to obtain the corresponding balance flow information. Further, the refund settlement is performed on the expense sharing detail table according to the refund policy and the refund items, thereby achieving balance settlement and obtaining the corresponding balance flow information.

[0062] In a specific embodiment, step S140 includes the sub-steps of: sorting the refund amounts in the refund information; excluding the smallest refund amount from the sorted refund amounts according to the refund policy, and taking the remaining refund amounts as target calculation amounts; performing refund allocation calculation on each charging item in the expense allocation details table according to the target calculation amount to obtain corresponding initial refund calculation information; performing a difference operation between the initial refund calculation information and the expense allocation details table, and superimposing the difference with the smallest refund amount to perform refund settlement and obtain corresponding balance flow information.

[0063] First, sort the refund amounts in the refund information according to the numerical values. The refund amount is the actual refund amount corresponding to each refund channel in the refund information. The number of refund amount items is equal to the number of refund channels in the refund information.

[0064] According to the refund strategy, the smallest refund amount is excluded, and the remaining refund amounts can be used as the target calculation amount. The target calculation amount can include one or more refund amounts.

[0065] For example, if the refund request is to refund the entire order amount, the refund information contains three refund amounts, namely 0.3 yuan for WeChat, 6 yuan for Alipay, and 20 yuan for cash. After sorting the refund amounts, it can be determined that the target calculation amount is 6 yuan for Alipay and 20 yuan for cash.

[0066] Further, the refund allocation calculation is performed on each charging item in the fee allocation details table according to each refund amount included in the target calculation amount. The specific process of performing refund allocation calculation on a refund amount is the same as the process of performing allocation calculation on the target charging amount in the above step S120, and will not be repeated here. After performing the refund allocation calculation, the initial refund calculation information can be obtained.

[0067] For example, the refund allocation calculation is performed on the target calculation amount of 6 yuan in Alipay and 20 yuan in cash, and the initial refund calculation information is shown in Table 3.

[0068] Table 3

[0069]

[0070] The initial refund calculation information obtained by the current calculation is subtracted from the expense sharing detail table obtained in the above step, and the subtraction result is superimposed with the smallest refund amount, so as to realize the refund settlement and obtain the corresponding balance flow information. Specifically, the corresponding amount of the smallest refund amount in the expense sharing detail table is negated, and then the smallest refund amount is added with the first negated amount corresponding to the refund amount in the expense sharing detail table, so as to realize the superposition operation and obtain the balance flow information. For example, the balance flow information obtained is shown in Table 4.

[0071] Table 4

[0072]

[0073] In a specific embodiment, before step S140, the steps are also included: merging and calculating the expense sharing details table according to the refund information to obtain a corresponding refund flow summary table; verifying whether the refund flow summary table is qualified according to a preset refund verification rule to obtain a corresponding verification result; if the verification result is unqualified, executing the step of refunding and settling the expense sharing details table according to the preset refund strategy and the refund information.

[0074] Specifically, the expense allocation details table is combined and calculated according to the refund items, and the actual refund amount of each refund channel in the refund item is negative, and combined with the expense allocation details table. For example, if the actual refund amount of the WeChat refund channel is 0.3, then negative is taken as -0.3, and the refund flow summary table is obtained by combining and calculating.

[0075] According to the refund verification rules, the payment amount of each refund item is obtained from the refund flow summary table, and it is determined whether the payment amount of each refund item is negative. If the payment amount of any refund item is negative, the verification result is unqualified; if the payment amount of all refund items is not negative, the verification result is qualified.

[0076] For example, the payment amount corresponding to WeChat Payment-Decoction Fee in the Refund Flow Summary Table is -0.19 yuan, which means the payment amount is obviously negative and the verification result is unqualified.

[0077] If the verification result is unqualified, the above step S140 is executed; if the verification result is qualified, the corresponding balance flow information is directly obtained from the refund flow summary table and recorded.

[0078] In the fee intelligent settlement method disclosed in the above embodiment, the method includes: obtaining the target order corresponding to the fee payment information from the order information library and performing apportionment calculation on each fee amount in the fee payment information to obtain the fee apportionment detail list; if a refund request is received, the refund information corresponding to the refund request is obtained according to the fee apportionment detail list, and the fee apportionment detail list is refunded and settled according to the refund strategy and refund information to obtain the balance flow information. The above method can apportion and calculate the fee payment information according to the target order, and perform refund settlement on the fee apportionment detail list according to the refund request; compared with manual settlement and balance processing, the above technical method improves the accuracy of balance settlement processing and makes fee settlement processing more efficient.

[0079] The embodiment of the present invention also provides a fee intelligent settlement device, which can be configured in a settlement processing terminal, and is used to execute any embodiment of the fee intelligent settlement method described above. Figure 3 , Figure 3 A schematic block diagram of an intelligent fee settlement device provided in an embodiment of the present invention.

[0080] like Figure 3 As shown, the intelligent fee settlement device 100 includes a target order acquisition unit 110, an apportionment calculation unit 120, a refund information acquisition unit 130 and a balance flow information acquisition unit 140.

[0081] The target order acquisition unit 110 is used to acquire the target order corresponding to the fee payment information from a preset order information database upon receiving the fee payment information from the client.

[0082] The allocation calculation unit 120 is used to allocate and calculate each fee amount in the fee payment information according to the preset fee allocation rules and the target order to obtain a corresponding fee allocation detailed list.

[0083] In a specific embodiment, the simulation operation sequence generation unit 120 includes: a target charge amount determination unit, which is used to obtain the first charge amount in the fee payment information and determine it as the target charge amount; an apportionment result acquisition unit, which is used to apportion the target charge amount according to the apportionment calculation formula in the fee apportionment rule and the charging items included in the target order to obtain the corresponding apportionment result; an apportionment result verification unit, which is used to verify whether the apportionment result is abnormal according to the verification formula in the fee apportionment rule; an amount judgment unit, which is used to judge whether the uncalculated amount corresponding to the target charge amount is zero if the apportionment result verification is not abnormal; an alarm prompt information generation unit, which is used to generate an alarm prompt information of calculation abnormality if the apportionment result verification is abnormal; an error correction processing unit, which is used to verify whether the uncalculated amount corresponding to the target charge amount is zero if the apportionment result verification is abnormal The correction calculation formula is used to correct the allocation result corresponding to the target charge amount, obtain a new allocation result and return to execute the step of verifying whether the allocation result is abnormal according to the verification formula in the charge allocation rule; the charge amount acquisition unit is used to obtain the next charge amount in the charge payment information and determine it as the target charge amount if the uncalculated amount is zero and the charge payment information contains a charge amount that has not been completed for allocation calculation, and return to execute the step of allocating the target charge amount according to the allocation calculation formula in the charge allocation rule and the charge items included in the target order; the charge allocation detailed table generation unit is used to generate a charge allocation detailed table according to the allocation results currently corresponding to each charge amount if the uncalculated amount is zero and the charge amounts in the charge payment information have completed the allocation calculation.

[0084] The refund information acquisition unit 130 is used to, if receiving a refund request from the client, acquire refund information corresponding to the refund request according to the cost sharing details table.

[0085] In a specific embodiment, the refund information acquisition unit 130 includes: a refund item matching unit, used to obtain the refund item matching the refund request in the expense sharing detail table; an acquisition unit, used to obtain the refund channel and amount corresponding to the refund item from the expense sharing detail table; and a combination unit, used to combine the refund channel and amount of each refund item to obtain the corresponding refund information.

[0086] The balance transaction information acquisition unit 140 is used to perform refund settlement on the expense sharing detail table according to a preset refund policy and the refund information to obtain corresponding balance transaction information.

[0087] The intelligent fee settlement device provided in the embodiment of the present invention applies the above-mentioned intelligent fee settlement method, obtains the target order corresponding to the fee payment information from the order information database, and performs apportionment calculation on each fee amount in the fee payment information to obtain the fee apportionment detailed list; if a refund request is received, the refund information corresponding to the refund request is obtained according to the fee apportionment detailed list, and the fee apportionment detailed list is refunded and settled according to the refund policy and refund information to obtain the balance flow information. The above-mentioned method can apportion and calculate the fee payment information according to the target order, and perform refund settlement on the fee apportionment detailed list according to the refund request; compared with manual settlement and balance processing, the above-mentioned technical method improves the accuracy of balance settlement processing and makes fee settlement processing more efficient.

[0088] The above-mentioned fee intelligent settlement device can be implemented in the form of a computer program, which can be used in Figure 4 Runs on the computer device shown.

[0089] See also Figure 4 , Figure 4 The computer device provided in the embodiment of the present invention is a schematic block diagram. The computer device may be a settlement processing terminal for executing the fee intelligent settlement method to realize fee intelligent settlement processing.

[0090] See also Figure 4 The computer device 500 includes a processor 502 , a memory and a communication interface 505 connected via a communication bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .

[0091] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 may execute the fee intelligent settlement method, wherein the storage medium 503 may be a volatile storage medium or a non-volatile storage medium.

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

[0093] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the intelligent fee settlement method.

[0094] The communication interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will appreciate that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0095] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned intelligent fee settlement method.

[0096] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 4 The embodiments shown are consistent and will not be described again here.

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

[0098] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps included in the above-mentioned fee intelligent settlement method are implemented.

[0099] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0100] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0103] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.

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

Claims

1. A method for intelligent fee settlement, characterized in that: The method is applied to a settlement processing terminal, the settlement processing terminal is connected to a client for communication to achieve data information transmission, and the method includes: If fee payment information is received from the client, a target order corresponding to the fee payment information is obtained from a preset order information database; According to the preset fee allocation rules and the target order, each fee amount in the fee payment information is allocated and calculated to obtain a corresponding fee allocation detailed list; If a refund request is received from the client, obtaining refund information corresponding to the refund request according to the expense sharing details table; The refund settlement is performed on the expense sharing details table according to the preset refund policy and the refund information to obtain the corresponding balance flow information.

2. The intelligent fee settlement method according to claim 1, characterized in that: The charge amount in the fee payment information is apportioned and calculated according to the preset charge apportionment rule and the target order to obtain a corresponding charge apportionment detailed list, including: Obtaining the first charge amount in the fee payment information and determining it as the target charge amount; The target charge amount is apportioned and calculated according to the apportionment calculation formula in the charge apportionment rule and the charge items included in the target order to obtain a corresponding apportionment result; Verifying whether the allocation result is abnormal according to the verification formula in the fee allocation rule; If the apportionment result verification is normal, determine whether the uncalculated amount corresponding to the target charge amount is zero; If the apportionment result verification is abnormal, an alarm prompt message of calculation abnormality is generated; If the uncalculated amount is not zero, the allocation result corresponding to the target charge amount is corrected according to the error correction calculation formula in the charge allocation rule to obtain a new allocation result and return to execute the step of verifying whether the allocation result is abnormal according to the verification formula in the charge allocation rule; If the uncalculated amount is zero and the fee payment information contains a fee amount for which the apportionment calculation has not been completed, then the next fee amount in the fee payment information is obtained and determined as the target fee amount, and the step of apportioning the target fee amount according to the apportionment calculation formula in the fee apportionment rule and the fee items included in the target order is returned to be executed; If the uncalculated amount is zero and the allocation calculation of each charge amount in the fee payment information has been completed, a fee allocation details table is generated based on the allocation results currently corresponding to each charge amount.

3. The intelligent fee settlement method according to claim 1, characterized in that: The obtaining, according to the expense sharing details table, refund information corresponding to the refund request includes: Obtaining the refund item in the expense sharing details table that matches the refund request; Obtain the refund channel and amount corresponding to the refund item from the expense sharing details table; Combine the refund channel and amount of each refund item to obtain the corresponding refund information.

4. The intelligent fee settlement method according to claim 1, characterized in that: The refund settlement is performed on the expense sharing details table according to the preset refund strategy and the refund information to obtain the corresponding balance flow information, including: sorting the refund amounts of each item in the refund information; According to the refund strategy, the smallest refund amount is excluded from the sorted refund amounts, and the remaining refund amounts are used as target calculation amounts; Perform refund allocation calculation on each charging item in the fee allocation detailed table according to the target calculation amount to obtain corresponding initial refund calculation information; The initial refund calculation information is subtracted from the expense sharing details table and then added to the smallest refund amount to perform refund settlement and obtain corresponding balance flow information.

5. The intelligent fee settlement method according to claim 1 or 4, characterized in that: The refund settlement is performed on the expense sharing details table according to the preset refund strategy to obtain the corresponding balance flow information, which also includes: The expense sharing details are combined and calculated according to the refund information to obtain a corresponding refund flow summary table; Verify whether the refund flow summary table is qualified according to the preset refund verification rules to obtain the corresponding verification result; If the verification result is unqualified, the step of performing a refund settlement on the expense sharing list according to the preset refund policy and the refund information is executed.

6. A smart fee settlement device, characterized in that: The device is configured in a settlement processing terminal, the settlement processing terminal is connected to a client for communication to achieve data information transmission, the fee intelligent settlement device is used to execute the fee intelligent settlement method according to any one of claims 1 to 5, and the device includes: A target order acquisition unit, configured to acquire a target order corresponding to the fee payment information from a preset order information database upon receiving fee payment information from the client; An allocation calculation unit is used to allocate and calculate each fee amount in the fee payment information according to a preset fee allocation rule and the target order to obtain a corresponding fee allocation detailed list; A refund information acquisition unit, configured to, if receiving a refund request from the client, acquire refund information corresponding to the refund request according to the expense sharing details table; The balance flow information acquisition unit is used to perform refund settlement on the expense sharing detail table according to a preset refund strategy and the refund information to obtain corresponding balance flow information.

7. The intelligent fee settlement device according to claim 6, characterized in that: The apportionment calculation unit comprises: a target charging amount determination unit, configured to obtain the first charging amount in the fee payment information and determine it as the target charging amount; An allocation result acquisition unit is used to allocate and calculate the target charge amount according to the allocation calculation formula in the charge allocation rule and the charge items included in the target order to obtain a corresponding allocation result; An allocation result verification unit, used to verify whether the allocation result is abnormal according to the verification formula in the fee allocation rule; An amount judgment unit, configured to judge whether the uncalculated amount corresponding to the target charge amount is zero if the apportionment result verification is normal; An alarm prompt information generating unit is used to generate an alarm prompt information of calculation abnormality if the apportionment result verification is abnormal; An error correction processing unit, used to correct the allocation result corresponding to the target charge amount according to the error correction calculation formula in the charge allocation rule, obtain a new allocation result and return to execute the step of verifying whether the allocation result is abnormal according to the verification formula in the charge allocation rule; A charge amount acquisition unit, configured to, if the uncalculated amount is zero and the charge payment information includes a charge amount for which the apportionment calculation has not been completed, acquire the next charge amount in the charge payment information and determine it as the target charge amount, and return to execute the step of apportioning the target charge amount according to the apportionment calculation formula in the charge apportionment rule and the charge items included in the target order; The cost sharing detail table generating unit is used to generate a cost sharing detail table according to the current corresponding sharing results of each charging amount if the uncalculated amount is zero and the sharing calculation of each charging amount in the cost payment information has been completed.

8. The intelligent fee settlement device according to claim 6, characterized in that: The refund information acquisition unit includes: A refund item matching unit, used to obtain a refund item in the expense sharing details table that matches the refund request; An acquisition unit, configured to acquire a refund channel and an amount corresponding to the refund item from the expense sharing detail table; The combination unit is used to combine the refund channel and amount of each refund item to obtain corresponding refund information.

9. A computer device, characterized in that: The device includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the fee intelligent settlement method described in any one of claims 1-5 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the fee intelligent settlement method as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Commodity object settlement processing method and device and electronic equipment

    CN113298604A

  • E-commerce commodity customs declaration method and system

    CN117709326A

  • Electronic cash register

    JP2001229465A

  • Commodity object settlement processing method and apparatus, and electronic device

    WO2022116954A1