Order and performance synchronization method, electronic equipment, storage medium and program product

By introducing a synchronization method between orders and performance in the trading system, responding to bill payment and transaction content changes, calculating the amount change value and updating the performance amount, the problem of calculating performance in the existing system is solved, and the automation and synchronization of performance calculations are achieved.

CN119648345APending Publication Date: 2025-03-18KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411874222.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

When the order amount changes, it is difficult to trace the amount change process to calculate performance, which usually requires manual verification, and the performance calculation method cannot synchronize the order amount changes.

Method used

Through a synchronous method of order and performance, in response to the order's bill payment and transaction content changes, trigger a change event, calculate the accumulated sum of the amount change value, and calculate the new performance amount based on the total amount change value and the initial performance amount.

Benefits of technology

It realizes automatic traceability and performance calculation of the order amount change process, reduces the need for manual verification, and improves the automation and accuracy of the trading system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648345A_ABST
    Figure CN119648345A_ABST
Patent Text Reader

Abstract

The invention provides an order and performance synchronization method, electronic equipment, a readable storage medium and a computer program product. The order and performance synchronization method comprises the steps of determining a first payment amount and a first performance amount in response to that a first bill of an order is paid; in response to the change of the transaction content of the order with the first bill paid, obtaining a second bill of the order with the first bill paid, and triggering a change event which is used for making the second bill paid; in response to the fact that the second bill is paid, determining a second paid amount, and calculating a difference value between the second paid amount and the first paid amount to obtain a paid amount difference value; calculating an accumulated sum of the amount change values corresponding to the change events to obtain a total amount change value; and in response to the fact that the total amount change value is equal to the payment amount difference value, obtaining a second performance amount based on the total amount change value and the first performance amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more particularly to an order and performance synchronization method, electronic device, storage medium and program product. Background Art

[0002] In some trading systems, after a certain amount of money is paid for an order, the performance will be calculated for the service provider based on the amount paid. However, if certain operations (such as payment, price change, cancellation, etc.) occur on an order for which performance has been calculated, causing the amount to change, the system can only calculate the new performance based on the total payment amount after the order changes, and cannot trace back the process of the amount change to calculate the performance. It is often necessary to manually trace back the process of the amount change to verify the new performance. Summary of the invention

[0003] The present disclosure provides a method for synchronizing orders and performance, an electronic device, a storage medium, and a program product.

[0004] According to one aspect of the present disclosure, a method for synchronizing orders and performance is provided, comprising: In response to a first bill for the order being paid, determining a first paid-off amount and a first performance amount; In response to a change in the transaction content of the order for which the first bill has been paid, obtaining a second bill for the order for which the first bill has been paid, and triggering a change event, wherein the change event is used to cause the second bill to be paid; In response to the second bill being paid, determining a second paid amount, and calculating a difference between the second paid amount and the first paid amount to obtain a paid amount difference; Calculate the cumulative sum of the amount change values ​​corresponding to each of the change events to obtain a total amount change value; In response to the total amount change value being equal to the paid-off amount difference, a second performance amount is obtained based on the total amount change value and the first performance amount.

[0005] According to the order and performance synchronization method of at least one embodiment of the present disclosure, the change event includes at least one of a payment event, an amount transfer event or a refund event; the payment event represents an increase in the paid amount of a commodity; the amount transfer event represents that the paid amount of one commodity is transferred to the paid amount of another commodity, and the sum of the paid amounts of the two commodities in an amount transfer event remains unchanged before and after the amount transfer event; the refund event represents a decrease in the paid amount of a commodity.

[0006] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance, in response to a change in the transaction content of the order whose first bill is paid, obtains a second bill of the order whose first bill is paid, and triggers a change event, including: determining the total amount paid and the total amount of merchandise for the order for which the first bill is paid; Obtaining the second bill based on the total amount of the goods; Based on the total amount paid and the total amount of the goods, at least one of the payment event, the amount transfer event or the refund event is triggered accordingly.

[0007] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance, in response to a change in the transaction content of the order in which the first bill is paid, determines the total amount paid and the total amount of goods, including: Obtaining the total amount of the goods based on the amount of each product in the order after the transaction content changes; Querying the serial number of the order after the transaction content has changed, and determining the supplementary payment amount based on the payment information in the serial number; The paid total amount is obtained based on the first pay-off amount and the supplementary payment amount.

[0008] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance, based on the size of the total amount paid and the total amount of the goods, triggers at least one of the payment event, the amount transfer event, or the refund event, including: In response to the total amount paid being less than the total amount of the goods, triggering the payment event; or in response to the total amount paid being equal to the total amount of the goods, triggering the amount transfer event; Or in response to the total amount paid being greater than the total amount of the goods, the refund event is triggered.

[0009] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance, in response to a change in the transaction content of the order whose first bill is paid, obtains a second bill of the order whose first bill is paid, and triggers a change event, further comprising: In response to the change event being triggered, recording the triggered change event in an event log; In response to a query of the paid amount, taking the paid amount added in the payment event in the event log as the amount change value of the payment event, and outputting each of the payment events and the amount change value corresponding to each of the payment events; Or in response to a query of the transferred amount, the paid amount transferred between the two commodities in the amount transfer event in the event log is used as the amount change value of the payment event, and each of the amount transfer events and the amount change value corresponding to each of the amount transfer events is output; Or in response to a query on the refunded amount, the reduced paid amount in the refund event in the event log is used as the amount change value of the refund event, and each refund event and the amount change value corresponding to each refund event are output.

[0010] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance, in response to the total amount change value being equal to the difference in the paid amount, obtaining a second performance amount based on the total amount change value and the first performance amount, includes: Determine individual amount change values ​​corresponding to the total amount change value; Obtaining the event weight corresponding to each of the amount change values, each of the event weights corresponding to one of the change events; Based on each of the amount change values ​​and the corresponding event weights, multiple event-weighted performance amounts are obtained; The second performance amount is obtained based on the cumulative sum of the weighted performance amounts of the multiple events and the sum of the first performance amount.

[0011] According to at least one embodiment of the present disclosure, the method for synchronizing orders and performance is characterized in that the goods in the order include multiple categories; in response to the total amount change value being equal to the difference between the paid amount, obtaining a second performance amount based on the total amount change value and the first performance amount, including: Get the commodity weight of each category of commodities; Obtain the commodity-weighted performance amount of each category of commodities based on the total change value of the amount of each category of commodities and the commodity weight; The second performance amount is obtained based on the cumulative sum of the weighted performance amounts of each category of goods and the sum of the first performance amount.

[0012] According to another aspect of the present disclosure, an electronic device is provided, comprising: a memory storing execution instructions; and a processor executing the execution instructions stored in the memory, so that the processor executes the order and performance synchronization method of any embodiment of the present disclosure.

[0013] According to another aspect of the present disclosure, a readable storage medium is provided, in which execution instructions are stored. When the execution instructions are executed by a processor, they are used to implement the method for synchronizing orders and performance in any embodiment of the present disclosure.

[0014] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the method for synchronizing orders and performance of any embodiment of the present disclosure when the computer program is executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.

[0016] Figure 1 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0017] Figure 2 It is a schematic diagram of an application scenario of a method for synchronizing orders and performance according to an embodiment of the present invention.

[0018] Figure 3 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0019] Figure 4 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0020] Figure 5 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0021] Figure 6 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0022] Figure 7 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0023] Figure 8 It is a flowchart of a method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0024] Fig. 9 It is a schematic block diagram of the structure of an order and performance synchronization device according to an embodiment of the present invention.

[0025] Fig.10 It is a schematic block diagram of the structure of an electronic device equipped with an order and performance synchronization device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The present disclosure is further described in detail below in conjunction with the accompanying drawings and examples. It is understood that the specific examples described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.

[0027] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] In the field of home furnishing, service providers such as designers and salesmen often create an order in an online mall based on the needs of a customer to purchase goods in the online mall. After the order is paid, the service provider's performance is calculated based on the amount paid. In the field of home furnishing, there are problems caused by factors such as long service cycle and large order amount. On the one hand, in the field of home furnishing, the process from purchasing home furnishing products to completing home furnishing is long, which makes the service cycle of the service relationship between the service provider and the customer relatively long. During this period, orders may have many factors such as placing orders for new products, returning orders for ordered products, and modifying product prices, which may cause the amount to be paid for the order to change, and there may be situations where the customer needs to make additional payments or refunds need to be made to the customer. The performance calculation method currently configured in the online mall makes it difficult to trace the changes in various amounts to calculate performance, and often requires manual calculation and entry into the online mall system. On the other hand, the order amount in the field of home furnishing is relatively large, and customers may pay the amount in installments, or pay the amount of some of the goods first and then pay the amount of other goods. The amount actually paid by the user may not be consistent with the total amount of the order. The existing performance calculation method can only calculate a performance based on the actual amount paid by the user each time, and then obtain the actual performance of the service provider through manual calculation. In summary, when faced with application scenarios where the amount of the order changes, the existing performance calculation method is difficult to trace the change process of the order amount to calculate the performance, and often cannot synchronize the change of the order amount to obtain the corresponding performance, and requires manual assistance to calculate the performance, which is very immutable.

[0029] The embodiment of the present disclosure provides a method for synchronizing orders and performance, which can be implemented on a server. For example, the server is configured with an online mall and an order and performance synchronization system, and the order and performance synchronization system is a software program for executing the order and performance synchronization method, which can synchronize the performance corresponding to the changed order when the transaction content of the order of the online mall changes.

[0030] Figure 1 FIG. 1 is a schematic diagram showing the overall process of a method M100 for synchronizing orders and performance according to an embodiment of the present disclosure. Figure 1The method shown includes steps S110 to S150, wherein the method may be executed by a server device.

[0031] Specifically, Figure 1 The methods shown include: S110 . In response to the first bill of the order being paid, determine a first payment amount and a first performance amount.

[0032] The order includes parameters such as the type, quantity and price of the goods. The bill is the total price of all the goods in the order. For example, if the order contains two goods with a unit price of 100 yuan, the bill of the order is 200 yuan.

[0033] The embodiments of the present disclosure can be applied to calculate performance in scenarios where the transaction content of an order changes. In this scenario, the first bill refers to the bill before the transaction content of the order changes, and accordingly, the bill after the transaction content of the order changes is recorded as the second bill. For example, the first bill is 200 yuan, and the service provider adds a 30 yuan item to the order, which changes the transaction content of the order, and the second bill obtained is 230 yuan.

[0034] The first bill is paid, which means that the amount of the first bill is fully paid. The first paid amount is the amount equal to the amount of the first bill when the amount of the first bill is fully paid. For example, if the first bill is 200 yuan, 150 yuan is paid in the first payment, and 50 yuan is paid in the second payment, then the first bill is paid in the second payment, and the first paid amount can be determined to be 200 yuan.

[0035] The performance amount is the amount included in the performance calculation in the specified order. For example, if the performance calculation strategy is to include the full amount of the paid amount in the performance calculation, then when the paid amount is 200 yuan, the performance amount is 200 yuan. For another example, if the performance calculation strategy is to include 50% of the paid amount in the performance calculation, then when the paid amount is 200 yuan, the performance amount is 100 yuan. The first performance amount refers to the amount included in the performance calculation in the order before the transaction content of the order changes. In an example, the first performance amount = the first paid amount * performance conversion coefficient, and the performance conversion coefficient is a custom constant.

[0036] The embodiment of the present disclosure uses the state of the bill being paid as a performance settlement node, rather than using a payment as a performance settlement node, because the operations involving the change of the order amount are not limited to payment operations, but may also include amount transfer operations and refund operations, etc. When a payment is completed, the operations involving the change of the order amount may not be completely completed. If a payment is used as a performance settlement node, the amount involved in the amount transfer or refund operation may not be included in the performance calculation, resulting in omission or duplication of the performance amount. When the bill is paid, it indicates that the amount of the bill will no longer increase or decrease. Based on this, using the state of the bill being paid as a performance settlement node can ensure that the performance amount is not missed or double-counted.

[0037] S120. In response to a change in the transaction content of the order for which the first bill has been paid, a second bill for the order for which the first bill has been paid is obtained, and a change event is triggered.

[0038] Among them, the transaction content of an order mainly refers to parameters such as the weight, quantity and price of the goods. Changes in the transaction content of an order may be caused by one of the following reasons: adding a new category of goods to the order, modifying the quantity or price of goods in the order, removing a category of goods from the order, etc. In one example, when the transaction content of an order changes, the online mall issues an order change notification to inform the specific changes in the transaction content of the order. When the performance synchronization system obtains the order change notification, it is deemed that the performance synchronization system responds to the change in the transaction content of the order.

[0039] The second bill is the total amount to be paid for the order after the transaction content of the order changes. A change event is an event that causes the paid amount of the order to change, and is used to make the second bill pay. For example, if the second bill is 230 yuan, and the paid amount before the transaction content of the order changes is 200 yuan, an additional payment of 30 yuan is required to pay it off. In this case, a payment event can be triggered to make an additional payment of 30 yuan, increasing the paid amount to 230 yuan. This additional payment of 30 yuan is a change event.

[0040] S130: In response to the second bill being paid, determine a second paid amount, and calculate the difference between the second paid amount and the first paid amount to obtain a paid amount difference.

[0041] By calculating the difference between the paid amount before and after the two payments, we can get the part of the paid amount that increases or decreases after the transaction content of the order changes. In this way, if the paid amount increases after the transaction content of the order changes, the performance amount that should be increased can be calculated corresponding to the increased paid amount; if the paid amount decreases after the transaction content of the order changes, the performance amount that should be decreased can be calculated corresponding to the decreased paid amount. In this way, the calculation of the performance amount can be synchronized with the change of the transaction content of the order.

[0042] S140. Calculate the cumulative sum of the amount change values ​​corresponding to each change event to obtain the total amount change value.

[0043] In order to pay off the second bill, one or more change events may be triggered, so that the amount already paid changes to meet the payment requirement of the second bill. The value of the change in the amount already paid caused by each change event is recorded as the amount change value corresponding to the change event. If the change event causes the amount already paid to increase, the amount change value corresponding to the change event is a positive number; conversely, if the change event causes the amount already paid to decrease, the amount change value corresponding to the change event is a negative number.

[0044] The cumulative sum of the amount change values ​​corresponding to each change event is recorded as the total amount change value. The total amount change value can reflect the changes in the paid amount of the order involved between the first bill being paid and the second bill being paid before and after the transaction content of the order changes, and can obtain the paid amount portion that increases or decreases after the transaction content of the order changes. If the total amount change value is a positive number, it means that the paid amount that makes the second bill paid has increased relative to the paid amount that makes the first bill paid, and the performance amount that should be increased can be calculated corresponding to the positive total amount change value; if the total amount change value is a negative number, it means that the paid amount that makes the second bill paid has decreased relative to the paid amount that makes the first bill paid, and the performance amount that should be reduced can be calculated corresponding to the negative total amount change value. In this way, the calculation of the performance amount can change synchronously with the change of the transaction content of the order.

[0045] S150. In response to the total amount change value being equal to the difference in the paid amount, a second performance amount is obtained based on the total amount change value and the first performance amount.

[0046] The total amount change value can indicate the change in the paid amount before and after the transaction content of the order changes. If the total amount change value is a positive number, it means that the amount included in the performance calculation has increased relative to the first performance amount after the transaction content of the order changes, and the increased value is the total amount change value. If the total amount change value is a negative number, it means that the amount included in the performance calculation has decreased relative to the first performance amount after the transaction content of the order changes, and the decreased value is the total amount change value. Therefore, based on the first performance amount and the total amount change value, the amount included in the performance calculation after the transaction content of the order changes can be obtained, which is the second performance amount.

[0047] The total amount change value indicates the amount of money paid that is increased or decreased in the second bill after the transaction content of the order changes relative to the first bill before the transaction content of the order changes. The difference in the paid amount indicates the amount of money paid that is increased or decreased in the second bill after the transaction content of the order changes relative to the first bill before the transaction content of the order changes. If the total amount change value is equal to the difference in the paid amount, it means that the increased paid amount is consistent with the increased paid amount, or that the decreased paid amount is consistent with the decreased paid amount. In this way, the data accuracy of the total amount change value can be verified.

[0048] See also Figure 2 , Figure 2 This is an application scenario of the method for synchronizing orders and performance according to an embodiment of the present disclosure.

[0049] In some embodiments of the present disclosure, the change event includes at least one of a payment event, an amount transfer event, or a refund event. Among them, a payment event represents an increase in the paid amount of a commodity. An amount transfer event represents that the paid amount of a commodity is transferred to the paid amount of another commodity, and the sum of the paid amounts of the two commodities in an amount transfer event remains unchanged before and after the amount transfer event. A refund event represents a decrease in the paid amount of a commodity.

[0050] exist Figure 2 In the example, suppose the transaction content of an order includes a home product "SKU1" with a price of 50 yuan and a home appliance product "SKU2" with a price of 100 yuan. At this time, the total payment for the order is 150 yuan, and the first bill is 150 yuan. The customer paid a total of 50 yuan for home product SKU1 through one payment channel, and paid a total of 100 yuan for a home appliance product SKU2 through another payment channel. At this time, the total paid amount of the order is 150 yuan, the first bill is paid, and the first paid amount is 150 yuan.

[0051] Assume that the transaction content of the order changes, and one home appliance SKU1 and one home appliance SKU2 are added. At this time, the total payment for the order is 300 yuan, and the second bill is 300 yuan. In order to pay the second bill, two payment events are triggered, which are recorded as payment event Z1 and payment event Z2. Among them, payment event Z1 causes the customer to pay an additional 30 yuan for home appliance SKU1 through one payment channel, and payment event Z2 causes the customer to pay an additional 50 yuan for home appliance SKU2 through another payment channel. At this time, a total of 80 yuan has been paid for home appliance SKU1, with 20 yuan remaining unpaid, and a total of 150 yuan has been paid for home appliance SKU2, with 50 yuan remaining unpaid.

[0052] Subsequently, the transaction content in the order changes again, and the home appliance product SKU2 in the order is reduced by one. At this time, the total payment for the order is 200 yuan. Since the second bill obtained after the last transaction content change has not been paid, the bill of the order at this time is still the second bill, and the second bill becomes 200 yuan. In order to pay the second bill, it is necessary to satisfy that each item in the second bill is paid. Currently, the home appliance product SKU2 pays 100 yuan and actually pays 150 yuan, so the home appliance product SKU2 is a paid product. At the same time, the home appliance product SKU1 pays 100 yuan and actually pays 80 yuan, which is an unpaid product. In order to pay the second bill, an amount transfer event Y1 and a refund event T1 are triggered. Among them, the amount transfer event Y1 transfers 20 yuan of the 150 yuan actually paid by the home appliance product SKU2 to the payment of product SKU1. The refund event T1 refunds 30 yuan of the 150 yuan actually paid by the home appliance product SKU2 to the customer. Assume that the refund event T1 is triggered first. After the refund event T1 is triggered, the home appliance product SKU2 uses 30 yuan of the paid amount for refund, and the remaining paid amount is 120 yuan. At the same time, the paid amount of the home appliance product SKU1 is 80 yuan at this time, and the total paid amount of the home appliance product SKU1 and the home appliance product SKU2 is 200 yuan. Then the amount transfer event Y1 is triggered. After the amount transfer event Y1 is triggered, the home appliance product SKU2 transfers 20 yuan of the paid amount to the paid amount of the home appliance product SKU1, making the paid amount of the home appliance product SKU2 become 100 yuan. At the same time, the paid amount of the home appliance product SKU1 becomes 100 yuan. The total paid amount of the home appliance product SKU1 and the home appliance product SKU2 is still 200 yuan, that is, it remains unchanged before and after the amount transfer event.

[0053] In summary, after triggering payment event Z1, payment event Z2, amount transfer event Y1 and refund event T1, the second bill is paid. Among them, the amount change value corresponding to payment event Z1 includes +30 yuan, which increases the paid amount of home appliance product SKU1. The amount change value corresponding to payment event Z2 includes +50 yuan, which increases the paid amount of home appliance product SKU2. The amount change value corresponding to amount transfer event Y1 includes +20 yuan, which increases the paid amount of home appliance product SKU1, and -20 yuan, which decreases the paid amount of home appliance product SKU2. The amount change value corresponding to refund event T1 includes -30 yuan, which decreases the paid amount of home appliance product SKU2.

[0054] In the above example, for home furnishing product SKU1, the cumulative sum of the amount change values ​​corresponding to each change event related to home furnishing product SKU1 is set to Σ1, Σ1=+30+20=+50 (yuan). For home appliance product SKU2, the cumulative sum of the amount change values ​​corresponding to each change event related to home appliance product SKU2 is set to Σ2, Σ2=+50+(-20)+(-30)=0 (yuan). Assume that the sum of the cumulative sums of the amount change values ​​of each item in the order is set to Σa, Σ2=+50+0=+50 (yuan). It can be concluded that the amount paid increased by 50 yuan before and after the transaction content of the order changed. Therefore, on the basis of the first performance amount, the increased 50 yuan can be included in the performance amount to obtain the second performance amount.

[0055] Furthermore, the paid amount corresponding to each category of goods can represent the performance amount contributed by the goods of this category. The cumulative sum of the amount change values ​​corresponding to each category of goods can represent the change in the performance amount contributed by the goods of this category. In this way, the synchronization of orders and performance can be achieved on the basis of customizing different performance calculation methods for different categories of goods.

[0056] For example, the performance calculation method for home furnishing product SKU1 is configured as follows: 100% of the paid amount of home furnishing product SKU1 is included in the performance amount. The performance calculation method for home appliance product SKU2 is configured as follows: 50% of the paid amount of home appliance product SKU2 is included in the performance amount. In the above example, when the first bill is paid, the paid amount of home furnishing product SKU1 is 50 yuan, and the contributed performance amount is 50*100%=50 (yuan); the paid amount of home appliance product SKU2 is 100 yuan, and the contributed performance amount is 100*50%=50 (yuan), and the total first performance amount is 50+50=100 (yuan).

[0057] After triggering payment event Z1, payment event Z2, amount transfer event Y1 and refund event T1, when the second bill is paid, the paid amount of home furnishing product SKU1 is 100 yuan, and the contributed performance amount is 100*100%=100 (yuan); the paid amount of home appliance product SKU2 is 100 yuan, and the contributed performance amount is 100*50%=50 (yuan), and the total second performance amount is 100+50=100 (yuan). In this way, the order and performance synchronization method of the disclosed embodiment can synchronize the transaction content changes of the order according to the dimension of the commodity type to obtain the changed performance amount, and can trace the specific changes in the paid amount and the contributed performance amount of each type of commodity before and after the transaction content of the order changes, and has good traceability.

[0058] Regarding step S120, in some embodiments of the present disclosure, it may include the following steps: Figure 3 Steps S1210 to S1230 are shown.

[0059] S1210: Determine the total amount paid and the total amount of goods in the order for which the first bill has been paid.

[0060] The total amount paid refers to the total amount that the customer has paid for the order, including the first payment amount paid when the first bill is paid, and the payment amount generated after the transaction content of the order is changed, which is the actual total payment amount of the order after the transaction content is changed. The total amount of goods refers to the total price of each item included in the order.

[0061] S1220. Obtain a second bill based on the total amount of the goods.

[0062] The second bill is the total amount of payables in the order after the transaction content changes, which is equal to the total price of each commodity included in the order after the transaction content changes. That is, the value of the second bill is equal to the total amount of each commodity in the order after the transaction content changes.

[0063] S1230. Based on the total amount paid and the total amount of the goods, trigger at least one of a payment event, an amount transfer event, or a refund event.

[0064] For orders after the transaction content has changed, the corresponding total amount paid represents the actual total payment amount of the order, and the corresponding total amount of goods represents the total amount payable for the order. Based on this, the comparison between the total amount paid and the total amount of goods is equivalent to the comparison between the actual total payment amount and the total amount payable. When the actual total payment amount is not equal to the total amount payable, the paid amount can be supplemented or returned by triggering a payment event or a refund event so that the actual total payment amount can be equal to the total amount payable, thereby paying off the second bill. When the actual total payment amount is equal to the total amount payable, it is possible that some goods in the order are not paid for and some are overpaid. For example, Figure 2 In the example of home furnishing product SKU1 being unpaid and home appliance product SKU2 being overpaid, in this case, the overpaid amount can be transferred to the unpaid goods by triggering an amount transfer event, so that all the goods in the order after the transaction content changes are paid, thereby paying off the second bill.

[0065] Regarding step S1210, in some embodiments of the present disclosure, it may include: Figure 4 Steps S1211 to S1213 are shown.

[0066] S1211. Obtain the total amount of the goods based on the amount of each product in the order after the transaction content changes.

[0067] Changes in transaction content may include: an increase or decrease in the types of goods in an order, an increase or decrease in the number of a category of goods in an order, a change in the price of a category of goods in an order, etc. Therefore, after the transaction content changes, it is necessary to recalculate the amounts of each commodity to obtain the total amount of the goods to ensure that the total amount of the goods is accurate.

[0068] S1212. Query the order serial number of the order after the transaction content is changed, and determine the supplementary payment amount based on the payment information in the order serial number.

[0069] The serial number is the payment voucher for each payment for an order. The payment information of the payment can be obtained according to the serial number of the order, including the time of payment, the goods paid, the amount paid, etc. The serial number generated after the transaction content of the order changes is mainly used to pay for the newly added goods in the order. Therefore, the amount paid in the payment information recorded by the serial number is recorded as the supplementary payment amount, indicating the amount paid after the transaction content of the order changes. In this way, the paid amount has better traceability.

[0070] S1213. Obtain the total amount paid based on the first payment amount and the supplementary payment amount.

[0071] The first payment amount is the amount paid before the transaction content of the order changes. After the transaction content of the order changes, the amount paid for the order is increased by the supplementary payment amount on the basis of the first payment amount. In this way, the sum of the first payment amount and the supplementary payment amount is the total amount paid.

[0072] Regarding step S1230, in some embodiments of the present disclosure, it may include: Figure 5 Any one of steps S1231 to S1233 shown.

[0073] S1231. In response to the total amount paid being less than the total amount of the goods, a payment event is triggered.

[0074] If the total amount paid is less than the total amount of the goods, it means that the actual payment amount of the second bill is less than the amount payable on the second bill. In this case, the paid amount of the second bill can be supplemented by triggering a payment event.

[0075] In one example, after a payment event is triggered, the order and performance synchronization system monitors the newly added serial number. If the newly added serial number is found, it means that the triggered payment event has been paid. At this time, the newly added supplementary payment amount of this payment event can be determined based on the payment information in the serial number, and the newly added supplementary payment amount of this payment event is used as the amount change value corresponding to this payment event, and the newly added supplementary payment amount of this payment event is added to the statistics of the total amount paid to obtain the latest total amount paid. After the latest total amount paid changes, the size of the changed total amount paid and the total amount of the goods is judged again to trigger the corresponding change event based on the size of the two.

[0076] S1232: In response to the total amount paid being equal to the total amount of the goods, triggering an amount transfer event.

[0077] If the total amount paid is equal to the total amount of the goods, it means that the actual payment amount of the second bill is equal to the payable amount of the second bill. In this case, the payment condition that the payable amount is equal to the actual payment amount has been met at the level of the total amount of the order payable, but the payable amount of each item in the order may not be equal to the actual payment amount, that is, at the level of each item, the payable amount of each item may not be paid, and further judgment is needed.

[0078] In one example, when the total amount paid is equal to the total amount of the goods, it is further determined whether all the goods in the order have been paid. If all the goods have been paid, it is not necessary to trigger the change event, and it can be determined that the second bill has been paid. If there are goods that have not been paid, since the total amount paid is equal to the total amount of the goods, in this case, the total amount of the excess amount of each overpaid good that exceeds its payable amount is equal to the total amount of the shortfall of the goods that have not been paid. In this way, the excess amount can be used to pay the shortfall by triggering the amount transfer event, so that all the goods in the order are paid.

[0079] For example, an order includes product 1, product 2, product 3, and product 4. Among them, product 1 is due for 50 yuan, but actually paid for 80 yuan, with an excess of 30 yuan; product 2 is due for 50 yuan, but actually paid for 100 yuan, with an excess of 50 yuan; product 3 is due for 50 yuan, but actually paid for 30 yuan, with a shortage of 20 yuan; product 4 is due for 100 yuan, but actually paid for 40 yuan, with a shortage of 60 yuan. At this time, the total paid amount of the order is 80+100+30+40=250 yuan, and the total amount of the products is 50+50+50+100=250 yuan. When the total paid amount is equal to the total amount of the products, and there are unpaid products 3 and 4 in the order, the total amount of the excess amount is 30+50=80 yuan, and the total amount of the shortage amount is 20+60=80 yuan. Therefore, by triggering the amount transfer event, the shortage amount can be paid with the excess amount to ensure that products 1 and 2 are paid, so that products 3 and 4 are paid on the basis of ensuring that products 1 and 2 are paid. Specifically, an amount transfer event Y1 can be triggered first, and 20 yuan of the 30 yuan excess of commodity 1 can be transferred to payment commodity 3, and 10 yuan of the 30 yuan excess of commodity 1 can be transferred to payment commodity 4. After the amount transfer event Y1, commodity 3 is paid for, and the shortfall of commodity 4 is 50 yuan. Then an amount transfer event Y2 is triggered, and the 50 yuan excess of commodity 1 is transferred to payment commodity 4, so that commodity 4 is paid for.

[0080] In one example, each time an amount transfer event is triggered, a corresponding change order number is generated. The change order number is used to record relevant information about the amount transfer, such as which product's actual payment amount is transferred to which product by the amount transfer event, and to record the value of the transferred amount. For example, when the amount transfer event Y1 above is triggered, a corresponding change order number is generated: "666888". By querying the change order number "666888", it can be determined that 20 yuan of the actual payment for product 1 is transferred to payment product 3, and 10 yuan of the actual payment for product 1 is transferred to payment product 4. In this way, each amount involved in the amount transfer process has better traceability.

[0081] S1233: In response to the total amount paid being greater than the total amount of the goods, a refund event is triggered.

[0082] If the total amount paid is greater than the total amount of the goods, it means that the actual payment amount of the second bill is greater than the amount payable on the second bill. In this case, the portion of the total amount paid that exceeds the total amount of the goods can be refunded by triggering a refund event.

[0083] Please combine Figure 2 , for example, in Figure 2 In the illustrated scenario, when the quantity of home appliance product SKU2 in the order summary changes from two to one, the payable amount of home appliance product SKU1 is 100 yuan, the actual amount paid is 80 yuan, and home appliance product SKU1 has not been paid; the payable amount of home appliance product SKU2 is 100 yuan, the actual amount paid is 150 yuan, and home appliance product SKU2 has been paid. At this time, the total paid amount of the order is 80+150=230 yuan, and the total amount of the goods is 100+100=200 yuan. The total paid amount is greater than the total amount of the goods, triggering the refund event T1. The difference between the total paid amount and the total amount of the goods is 30 yuan, so the refund event T1 returns 30 yuan of the 50 yuan overpaid for home appliance product SKU2 to the customer. After the refund event T1 is triggered, the total paid amount is equal to the total amount of the goods, but the home appliance product SKU1 is still not paid, so the amount transfer event Y1 is triggered. After the refund event T1 is triggered, 30 yuan of the 50 yuan overpayment for home appliance product SKU2 has been refunded, leaving 20 yuan of overpayment. The amount transfer event Y1 transfers the 20 yuan overpayment for home appliance product SKU2 to pay for home appliance product SKU1, so that home appliance product SKU1 is paid off and the second bill is paid off.

[0084] Regarding step S120, in some embodiments of the present disclosure, it may include the following steps: Figure 6 Steps S1240 to S1270 are shown.

[0085] S1240: In response to a change event being triggered, record the triggered change event in an event log.

[0086] The event log is used to record various triggered change events, including the triggering time of the payment event, amount transfer event, and refund event described above, the corresponding commodity items, the increased, transferred, or decreased paid amount involved, and other information. By recording each change event in the event log, when calculating the cumulative sum of the amount change value of the change event in the subsequent steps, the increased, transferred, or decreased paid amount involved in the relevant change event in the time log can be queried as the amount change value of the change event to calculate the total amount change value.

[0087] Furthermore, the change events recorded in the event log provide data traceability, so that when the second performance amount is calculated, the source of each increase or decrease in the second performance amount relative to the first performance amount can be traced back to the specific change event recorded in the event log. On the one hand, it is convenient for retrospective review, and on the other hand, it also provides data support for the proofreading calculation of the second performance amount.

[0088] S1250. In response to the query of the paid amount, the paid amount added to the payment event in the event log is used as the amount change value of the payment event, and each payment event and the amount change value corresponding to each payment event are output.

[0089] The change events recorded in the event log include payment events. Payment events are events that indicate an increase in the paid amount of a product. Therefore, the amount change value of a payment event should indicate the increased paid amount. Based on this, the increased paid amount in a payment event is the amount change value of the payment event.

[0090] On the one hand, when calculating the total amount change value of the change event, the amount change value of the payment event can be obtained by querying the payment event in the event log record. On the other hand, the second performance amount is usually calculated in the background by the order and performance synchronization system, and the service provider can usually only get the final calculated second performance amount, but can query the paid amount to obtain each payment event and the amount change value corresponding to each payment event, so that the service provider can trace and calculate whether each amount change value of each payment event is correct, thereby verifying whether the second performance amount is calculated correctly.

[0091] S1260. In response to the query of the transferred amount, the paid amount transferred between the two commodities in the amount transfer event in the event log is used as the amount change value of the payment event, and each amount transfer event and the amount change value corresponding to each amount transfer event are output.

[0092] The query of the transferred amount is similar to the query of the paid amount described above, so it will not be repeated here. It should be noted that the paid amount of an amount transfer event in the event log includes a paid amount that is reduced for one product and an amount that is increased for another product. The reduced paid amount and increased paid amount in an amount transfer event need to be recorded separately for the corresponding products.

[0093] S1270. In response to the query of the refunded amount, the reduced paid amount in the refund event in the event log is used as the amount change value of the refund event, and each refund event and the amount change value corresponding to each refund event are output.

[0094] The query of the refunded amount is similar to the query of the paid amount described above, and will not be repeated here.

[0095] Regarding step S150, in some embodiments of the present disclosure, the performance amount may be calculated based on the type of change event triggered. For example, the amount added when a payment event is triggered is included in the calculation of the performance amount at a higher ratio when calculating the performance, and the amount returned when a refund event is triggered is deducted from the performance amount at a lower ratio.

[0096] Specifically, in some embodiments of the present disclosure, the solution implemented in step S150 when calculating the performance amount based on the type of the triggered change event is recorded as step S150A. Step S150A may include the following: Figure 7 Steps S1501A to S1504A are shown.

[0097] S1501A. Determine each amount change value corresponding to the total amount change value.

[0098] Please combine Figure 2 ,exist Figure 2 In the example, the total amount change is +50 yuan, of which the amount change corresponding to payment event Z1 is +30 yuan, and the amount change corresponding to payment event Z2 is +30 yuan, which can be obtained by querying the serial number of payment event Z1 and payment event Z2. The amount change value of amount transfer event Y1 includes +20 yuan, which increases the paid amount of home product SKU1, and -20 yuan, which decreases the paid amount of home appliance product SKU2. It can be obtained by querying the change order number of amount transfer event Y1. The amount change value corresponding to refund event T1 is -30 yuan, which can be obtained by querying the refund record. In this way, each amount change value corresponding to the total amount change value is traceable data.

[0099] S1502A. Obtain the event weight corresponding to each amount change value, where each event weight corresponds to a change event.

[0100] The event weight is the weight corresponding to the change event when calculating performance. For example, the weight configured for the payment event is recorded as S1, S1=1.2; the weight configured for the amount transfer event is recorded as S2, S2=1.0; the weight configured for the refund event is recorded as S3, S3=0.8.

[0101] S1503A. Based on each amount change value and its corresponding event weight, multiple event-weighted performance amounts are obtained.

[0102] The event-weighted performance amount is the product of the amount change value and the event weight. For example, the event-weighted performance amount is set to S(x), and the amount change value is set to J(x), where x represents the specific change event. For example, the weighted performance amount of payment event Z1 is S(Z1) = S1*J(Z1) = 1.2*(+30) = +36 (yuan). In other words, the share of the performance amount of payment event Z1 is +36 yuan.

[0103] S1504A. Obtain a second performance amount based on the cumulative sum of the weighted performance amounts of multiple events and the sum of the first performance amount.

[0104] Combining the above examples, the weighted performance amount S(Z2) of payment event Z2 = S1*J(Z2) = 1.2*(+50) = +60 (yuan). The weighted performance amount S(Y1) of amount transfer event Y1 = 1.0*(+20) + 1.0*(-20) = 0 yuan. The weighted performance amount S(T1) of refund event T1 = S1*J(T1) = 0.8*(-30) = -24 (yuan). Assuming the first performance amount is J1 and the second performance amount is J2, then J2 = J1+36+60+0-24=J1+72 (yuan).

[0105] In this example, the value of the weight S1 of the payment event is greater than 1, and the purpose is to encourage the service provider to place more additional orders and enable users to purchase more goods. The value of the weight S2 of the amount transfer event is equal to 1, because the amount involved in the amount transfer event has nothing to do with the service provider's labor. The value of the weight S3 of the refund event is less than 1, and the purpose is to avoid refunds due to personal reasons of customers causing losses to the performance calculation of the service provider. In other examples, the weights S1 of the payment event, the weight S2 of the amount transfer event, and the weight S3 of the refund event can be set according to specific business needs. For example, the value of the weight S3 of the refund event can be configured to be greater than 1, indicating that if a refund occurs, the performance amount will be deducted at a higher ratio, which can encourage the service provider to avoid refunds as much as possible.

[0106] It should be noted that the performance amount represents the amount included in the performance calculation, not necessarily the final performance value. For example, the performance value can be configured as the product of the performance amount and the performance conversion coefficient. Assuming the performance conversion coefficient is 0.1, the performance value calculated based on the second performance amount in the above example is 0.1*(J1+72) (yuan).

[0107] Regarding step S150, in some embodiments of the present disclosure, the performance amount can be calculated based on specific product categories. For example, the amount contributed by household products is included in the performance amount calculation at a higher ratio when calculating the performance, and the amount contributed by home appliances is deducted from the performance amount at a lower ratio.

[0108] Specifically, in some embodiments of the present disclosure, Figure 8 As shown, the solution implemented in step S150 when calculating the performance amount by commodity category is recorded as step S150B, and step S150B may include the following: Figure 7 Steps S1501B to S1503B are shown.

[0109] S1501B. Obtain the commodity weight of each category of commodities.

[0110] Among them, the commodity weight is the weight corresponding to a category of commodities when calculating performance. For example, the weight of household commodities is recorded as Q1, Q1=1.2; the weight of household appliances is recorded as Q2, Q2=0.9.

[0111] S1502B. Obtain the weighted performance amount of each category of goods based on the total change in the amount of each category of goods and the weight of the goods.

[0112] The weighted performance amount of a commodity is the product of the paid amount of a category of commodities and the commodity weight. For example, the weighted performance amount of a commodity is set to Q(y), the paid amount of a commodity is set to R(y), and y represents a specific commodity. Figure 2 For example, when the second bill is paid, the paid amount of home furnishing product SKU1 R(SKU1) = 100 yuan, and the weighted performance amount of home furnishing product SKU1 Q(SKU1) = Q1*R(SKU1) = 1.2*100 = 120 (yuan). The paid amount of home appliance product SKU2 R(SKU2) = 100 yuan, and the weighted performance amount of home appliance product SKU2 Q(SKU2) = Q2*R(SKU2) = 0.9*100 = 90 (yuan).

[0113] S1503B. Obtain a second performance amount based on the cumulative sum of the weighted performance amounts of each category of goods and the sum of the first performance amount.

[0114] Assuming that the first performance amount is J1 and the second performance amount is J2, then J2=J1+Q(SKU1)+Q(SKU2)=J1+120+90=J1+210 yuan.

[0115] In this way, different commodity weights can be configured for different types of commodities, so that the paid amounts of different commodities have different contributions when included in the performance amount calculation, so as to support a performance amount calculation method with richer dimensions.

[0116] Based on any of the above-mentioned implementation modes, the present disclosure also provides a device for synchronizing orders and performance.

[0117] like Fig. 9 As shown, the order and performance synchronization device includes: The bill payment monitoring module 110 is configured to determine a first payment amount and a first performance amount in response to a first bill of an order being paid.

[0118] The order change monitoring module 120 is used to obtain the second bill of the order in response to the change of the transaction content of the order, and trigger a change event, and the change event is used to make the second bill paid.

[0119] The bill payment monitoring module 110 is further configured to determine a second payment amount in response to the second bill being paid, and calculate a difference between the second payment amount and the first payment amount to obtain a payment amount difference.

[0120] The amount change statistics module 130 is used to calculate the cumulative sum of the amount change values ​​corresponding to each change event to obtain the total amount change value.

[0121] The performance synchronization module 140, in response to the total amount change value being equal to the difference in the paid amount, obtains a second performance amount based on the total amount change value and the first performance amount.

[0122] Each module in the above device may be software or an application program. The implementation process of the functions and effects of each module is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0123] The execution subject of the method for synchronizing orders and performance in the specific implementation of the present disclosure may be an electronic device such as a server device.

[0124] Therefore, based on any of the above-mentioned embodiments, the present disclosure also provides an electronic device, which can execute the order and performance synchronization method of any of the embodiments described above in the present disclosure, and the order and performance synchronization device of any of the embodiments described above can be configured on the electronic device.

[0125] Fig.10 It is a schematic block diagram of the structure of an electronic device 1000 equipped with an order and performance synchronization device according to an embodiment of the present disclosure.

[0126] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300 and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0127] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.

[0128] The present disclosure also provides a readable storage medium, in which a computer program is stored, and the computer program is used to implement the above method when executed by a processor. "Readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use in an instruction execution system, device or equipment or in combination with these instruction execution systems, devices or equipment. More specific examples of readable storage media include the following: an electrical connection portion (electronic device) with one or more wirings, a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM), etc.

[0129] The present disclosure also provides a computer program product. The method of the present disclosure 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 programs or instructions. When the computer program or instruction is loaded and executed, the process or function of the present disclosure is executed in whole or in part.

[0130] A computer program or instruction may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, a computer program or instruction may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The readable storage medium may be any available medium that can be accessed or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid state drive. The computer readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0131] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0132] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable order and performance synchronization device to produce a machine, so that the instructions executed by the processor of the computer or other programmable order and performance synchronization device generate instructions for implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0133] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable order and performance synchronization device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0134] These computer program instructions may also be loaded onto a computer or other programmable order and performance synchronization device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0135] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments / methods or examples described in this specification and features of different embodiments / methods or examples, unless they are contradictory.

[0136] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0137] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

Claims

1. A method for synchronizing orders and performance, characterized in that: include: In response to a first bill for the order being paid, determining a first paid-off amount and a first performance amount; In response to a change in the transaction content of the order for which the first bill has been paid, obtaining a second bill for the order for which the first bill has been paid, and triggering a change event, wherein the change event is used to cause the second bill to be paid; In response to the second bill being paid, determining a second paid amount, and calculating a difference between the second paid amount and the first paid amount to obtain a paid amount difference; Calculate the cumulative sum of the amount change values ​​corresponding to each of the change events to obtain a total amount change value; as well as In response to the total amount change value being equal to the paid-off amount difference, a second performance amount is obtained based on the total amount change value and the first performance amount.

2. The method for synchronizing orders and performance according to claim 1, characterized in that: The change event includes at least one of a payment event, an amount transfer event or a refund event; The payment event represents an increase in the paid amount of a commodity; The amount transfer event indicates that the paid amount of one commodity is transferred to the paid amount of another commodity, and the sum of the paid amounts of the two commodities in one amount transfer event remains unchanged before and after the amount transfer event; The refund event represents a reduction in the paid amount of a product.

3. The method for synchronizing orders and performance according to claim 2, characterized in that: In response to a change in the transaction content of the order for which the first bill is paid, obtaining a second bill for the order for which the first bill is paid, and triggering a change event, including: determining the total amount paid and the total amount of merchandise for the order for which the first bill is paid; Obtaining the second bill based on the total amount of the goods; and Based on the total amount paid and the total amount of the goods, at least one of the payment event, the amount transfer event or the refund event is triggered accordingly.

4. The method for synchronizing orders and performance according to claim 3, characterized in that: In response to the transaction content of the order being changed and the first bill being paid, determining the total amount paid and the total amount of the goods, including: Obtaining the total amount of the goods based on the amount of each product in the order after the transaction content changes; Querying the order serial number of the order after the transaction content has changed, and determining the supplementary payment amount based on the payment information in the order serial number; and The paid total amount is obtained based on the first pay-off amount and the supplementary payment amount.

5. The method for synchronizing orders and performance according to claim 3, characterized in that: Based on the size of the total amount paid and the total amount of the goods, at least one of the payment event, the amount transfer event or the refund event is triggered accordingly, including: In response to the total amount paid being less than the total amount of the goods, triggering the payment event; or In response to the total amount paid being equal to the total amount of the goods, triggering the amount transfer event; or In response to the total amount paid being greater than the total amount of the goods, the refund event is triggered.

6. The method for synchronizing orders and performance according to claim 5, characterized in that: In response to a change in the transaction content of the order for which the first bill is paid, obtaining a second bill for the order for which the first bill is paid, and triggering a change event, further comprising: In response to the change event being triggered, recording the triggered change event in an event log; In response to a query of the paid amount, taking the paid amount added in the payment event in the event log as the amount change value of the payment event, and outputting each of the payment events and the amount change value corresponding to each of the payment events; or In response to a query of the transferred amount, taking the paid amount transferred between the two commodities in the amount transfer event in the event log as the amount change value of the payment event, and outputting each of the amount transfer events and the amount change value corresponding to each of the amount transfer events; or In response to the query of the refunded amount, the reduced paid amount in the refund event in the event log is used as the amount change value of the refund event, and each refund event and the amount change value corresponding to each refund event are output.

7. The method for synchronizing orders and performance according to claim 1, characterized in that: In response to the total amount change value being equal to the difference in the paid amount, obtaining a second performance amount based on the total amount change value and the first performance amount, including: Determine individual amount change values ​​corresponding to the total amount change value; Obtaining the event weight corresponding to each of the amount change values, each of the event weights corresponding to one of the change events; Obtaining multiple event-weighted performance amounts based on each of the amount change values ​​and the corresponding event weights; and Obtaining the second performance amount based on the cumulative sum of the weighted performance amounts of the multiple events and the sum of the first performance amount; Optionally, the goods in the order include multiple categories; in response to the total amount change value being equal to the difference in the paid amount, obtaining a second performance amount based on the total amount change value and the first performance amount includes: Get the commodity weight of each category of commodities; Obtaining the commodity-weighted performance amount of each category of commodities based on the total change value of the amount of each category of commodities and the commodity weight; and The second performance amount is obtained based on the cumulative sum of the weighted performance amounts of each category of goods and the sum of the first performance amount.

8. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instructions stored in the memory, so that the processor executes the method for synchronizing orders and performance according to any one of claims 1 to 7.

9. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, which, when executed by a processor, are used to implement the order and performance synchronization method described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the order and performance synchronization method described in any one of claims 1 to 7 is implemented.