Data processing method, electronic device, storage medium and program product

Through automated data processing methods, the problem of inefficient transaction data management with multiple sellers and dispersed locations in the decoration industry has been solved, and efficient online management of transaction data has been achieved.

CN118799072APending Publication Date: 2024-10-18KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410791359.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the decoration industry, existing technology relies on manually filling in paper bills and receipts for transaction data management, which is difficult to meet the transaction data management needs of multiple sellers and dispersed locations, and is inefficient.

Method used

Provide a data processing method, including responding to transaction requests, determining transaction types, and performing target operations based on the type, such as transaction responses, storing data, generating account operation records, updating private and public account data, and realizing automated transaction data management.

Benefits of technology

It improves the recording efficiency of transaction-related data, realizes online management, adapts to efficient data management under multiple sellers and dispersed locations, and conforms to the trend of digitalization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799072A_ABST
    Figure CN118799072A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method, electronic equipment, a storage medium and a program product. The data processing method comprises the steps of determining a transaction type in response to a received transaction request; executing a target operation according to the transaction type and the transaction request, wherein the target operation comprises multiple of transaction response, transaction request data storage, account operation record data generation, special account data updating and public account data updating; wherein the special account data comprises at least one special account and a corresponding account balance and a seller account thereof, different special accounts correspond to different seller accounts, the public account data comprises at least one public account and a corresponding account balance and a buyer account thereof, and the special account is used for transferring accounts to the seller account or the public account. The public account is used for transferring accounts to the special account or the buyer account.
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 in particular to a data processing method, an electronic device, a storage medium, and a program product. Background Art

[0002] In the field of home decoration technology, decoration companies can provide whole decoration business and retail business. Whole decoration business usually has design fees and whole decoration payment (deposit, down payment, start-up payment, final payment, etc.), and retail business usually has retail payment (home appliance payment, woodwork payment, other main material payment, etc.). The service providers (sellers) of different businesses may be different subsidiaries, stores or partners of the decoration company, and different service providers may be located in different cities. Decoration customers (buyers) need to pay corresponding fees and money to each service provider during the transaction.

[0003] In the relevant technology, transaction-related data management is based on manually filling out paper bills and receipts. This is not in line with the development trend of digitalization and onlineization, and it is difficult to meet the transaction-related data management needs when there are a large number of sellers and their locations are dispersed. There are problems such as low efficiency. Summary of the invention

[0004] The present disclosure provides a data processing method, an electronic device, a storage medium, and a program product.

[0005] A first aspect of the present disclosure provides a data processing method, comprising: determining a transaction type in response to receiving a transaction request; and performing a target operation according to the transaction type and the transaction request, the target operation comprising multiple of making a transaction response, storing transaction request data, generating account operation record data, updating special account data, and updating public account data; wherein the special account data comprises at least one special account and its corresponding account balance and a seller account, different special accounts correspond to different seller accounts, the public account data comprises at least one public account and its corresponding account balance and a buyer account, the special account is used to transfer money to the seller account or the public account, and the public account is used to transfer money to the special account or the buyer account.

[0006] In some embodiments, executing the target operation according to the transaction type and the transaction request includes: in response to the transaction type being payment, determining the payment transaction identifier, the payment amount, the first special account and the first seller account according to the transaction request; controlling the first special account to transfer the payment amount to the first seller account; storing the transaction type, the payment transaction identifier, the payment amount and the first seller account as first transaction request data; generating and storing first account operation record data according to the transaction type, the payment transaction identifier, the payment amount and the first special account; and updating the first balance according to the payment amount, the first balance being the account balance of the first special account in the special account data.

[0007] In some embodiments, executing the target operation according to the transaction type and the transaction request includes: in response to the transaction type being a refund, determining a refund transaction identifier, a refund amount, a second special account, and a second seller account according to the transaction request; receiving the refund amount transferred from the second seller account to the second special account; storing the transaction type, the refund transaction identifier, the refund amount, and the second seller account as second transaction request data; generating and storing second account operation record data according to the transaction type, the refund transaction identifier, the refund amount, and the second special account; and updating a second balance according to the refund amount, the second balance being the account balance of the second special account in the special account data.

[0008] In some embodiments, executing the target operation according to the transaction type and the transaction request includes: in response to the transaction type being a deduction, determining a deduction transaction identifier, a deduction amount, a third special account, a fourth special account and a first public account according to the transaction request, the third special account being the transferor of the deduction amount, and the fourth special account being the recipient of the deduction amount; controlling the third special account to transfer the deduction amount to the first public account; storing the transaction type, the deduction transaction identifier, the deduction amount and the first public account as third transaction request data; generating and storing third account operation record data according to the transaction type, the deduction transaction identifier, the deduction amount and the third special account; and The deduction amount updates the third balance and the fourth balance, the third balance being the account balance of the third special account in the special account data, and the fourth balance being the account balance of the first public account in the public account data; controlling the first public account to transfer the deduction amount to the fourth special account; storing the transaction type, the deduction transaction identifier, the deduction amount and the fourth special account as fourth transaction request data; generating and storing fourth account operation record data according to the transaction type, the deduction transaction identifier, the deduction amount and the first public account; and updating the fourth balance and the fifth balance according to the deduction amount, the fifth balance being the account balance of the fourth special account in the special account data.

[0009] In some embodiments, executing the target operation according to the transaction type and the transaction request includes: in response to the transaction type being a withdrawal, determining the withdrawal transaction identifier, the withdrawal amount, the submitting account and the first buyer account according to the transaction request, the submitting account including one or more of a second public account and a fifth special account; controlling the submitting account to transfer the withdrawal amount to the first buyer account; storing the transaction type, the withdrawal transaction identifier, the withdrawal amount and the first buyer account as fifth transaction request data; generating and storing fifth account operation record data according to the transaction type, the withdrawal transaction identifier, the withdrawal amount and the submitting account; and updating the sixth balance according to the withdrawal amount, the sixth balance being the account balance of the submitting account.

[0010] In some embodiments, before determining the transaction type in response to receiving a transaction request, the method further includes: determining the recharge amount and the buyer's account in response to receiving a buyer's recharge instruction; and generating the dedicated account data and the public account data based on the target quotation information, the recharge amount and the buyer's account.

[0011] In some embodiments, the target quotation information includes at least one seller account and its corresponding receivable amount, and the special account data and the public account data are generated according to the target quotation information, the recharge amount and the buyer account, including: creating at least one of the special accounts and at least one of the public accounts, and the special accounts correspond to the seller accounts one-to-one; determining the account balance of at least one of the special accounts and the account balance of at least one of the public accounts according to the receivable amount and the recharge amount corresponding to at least one of the seller accounts; generating the special account data according to at least one of the special accounts and its corresponding account balance and the seller account; and generating the public account data according to at least one of the public accounts and its corresponding account balance and the buyer account.

[0012] In some embodiments, the account balance of at least one of the special accounts is determined based on the receivable amount corresponding to at least one of the seller accounts and the recharge amount, including: determining the total receivable amount, which is the sum of the receivable amounts corresponding to at least one of the seller accounts; in response to the recharge amount being greater than or equal to the total receivable amount, taking the receivable amount corresponding to at least one of the seller accounts as the account balance of the corresponding special account; and in response to the recharge amount being less than the total receivable amount, determining the account balance of at least one of the special accounts based on the first allocation rule and the receivable amount corresponding to at least one of the seller accounts.

[0013] In some embodiments, the account balance of at least one of the public accounts is determined based on the receivable amount corresponding to at least one of the seller accounts and the recharge amount, including: in response to the recharge amount being less than or equal to the total receivable amount, determining that the account balance of at least one of the public accounts is zero; and in response to the recharge amount being greater than the total receivable amount, determining the account balance of at least one of the public accounts based on a second allocation rule and an excess amount, the excess amount being the difference between the recharge amount and the total receivable amount.

[0014] In some implementations, before determining the recharge amount and the buyer's account, the method further includes: obtaining at least one seller quotation information; and performing quotation integration processing on at least one seller quotation information to obtain the target quotation information.

[0015] A second aspect of the present disclosure provides an electronic device, comprising: a memory, the memory storing a computer program; a processor, the processor executing the computer program stored in the memory, so that the processor executes the data processing method described in any embodiment of the present disclosure.

[0016] A third aspect of the present disclosure provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the data processing method described in any embodiment of the present disclosure.

[0017] A fourth aspect of the present disclosure provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the data processing method described in any embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] 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.

[0019] Figure 1 It is a flowchart of a data processing method according to some embodiments of the present disclosure.

[0020] Figure 2 The following is a visualization example diagram of a financial activity scenario in some embodiments of the present disclosure.

[0021] Figure 3 is a schematic diagram of the architecture of a data processing system according to some embodiments of the present disclosure.

[0022] Figure 4 is a visualization example diagram of a dedicated account of some embodiments of the present disclosure.

[0023] Figure 5 It is a schematic diagram of a process of executing a target operation in some embodiments of the present disclosure.

[0024] Figure 6 is another process diagram of performing a target operation according to some embodiments of the present disclosure.

[0025] Figure 7 is another process diagram of executing a target operation in some embodiments of the present disclosure.

[0026] Figure 8 is yet another process diagram of executing a target operation in some embodiments of the present disclosure.

[0027] Fig. 9 is another flowchart of a data processing method according to some embodiments of the present disclosure.

[0028] Fig.10 It is another flowchart of the data processing method of some embodiments of the present disclosure.

[0029] Fig.11It is a schematic block diagram of the structure of a data processing device using a hardware implementation of a processor according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations 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.

[0031] 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.

[0032] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present disclosure.

[0033] The terms used herein are for the purpose of describing specific embodiments, and are not intended to be restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values ​​and / or the values ​​provided that will be recognized by those of ordinary skill in the art.

[0034] The data processing method of the present disclosure can be applied to the data processing device of the present disclosure, and the data processing device can be configured on an electronic device. The electronic device can be a server or a terminal device, and the terminal device can be a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, and other hardware devices with various operating systems.

[0035] Combined with the following Figures 1 to 11 The data processing method, data processing device, etc. disclosed in the present invention are described in detail.

[0036] Figure 1is a flowchart of a data processing method of some embodiments of the present disclosure. Figure 1 , the data processing method M100 provided in the present disclosure may include step S110 and step S120.

[0037] S110: In response to receiving the transaction request, determining a transaction type.

[0038] S120: Execute a target operation according to the transaction type and the transaction request, where the target operation includes multiple ones of responding to a transaction, storing transaction request data, generating account operation record data, updating dedicated account data, and updating public account data.

[0039] Among them, the special account data includes at least one special account and its corresponding account balance and seller account. Different special accounts correspond to different seller accounts. The public account data includes at least one public account and its corresponding account balance and buyer account. The special account is used to transfer money to the seller account or the public account, and the public account is used to transfer money to the special account or the buyer account.

[0040] The data processing method of the disclosed embodiment can, upon receiving a transaction request, automatically execute multiple of the following: transaction response, storage of transaction request data, generation of account operation record data, update of special account data, and update of public account data according to the transaction type and the transaction request, thereby being able to automatically and accurately record transaction-related data (such as transaction request data, account operation record data, special account data, and public account data), thereby improving the recording efficiency of transaction-related data and realizing online management of transaction-related data, conforming to the development trend of digitization and onlineization, and being able to efficiently manage transaction-related data even when there are many sellers and their locations are dispersed.

[0041] Optionally, the transaction request data may include a transaction type. After receiving the transaction request, the transaction type may be determined by parsing the transaction request. The transaction type may include recharge, refund, withdrawal, deduction or withdrawal of deduction. For different transaction types, the target operations performed may be partially the same or completely the same, which is not limited here.

[0042] For example, a seller account can be understood as an account of the seller at a third party, such as a bank account. A buyer account can be understood as an account of the buyer at a third party, such as a bank account. A dedicated account and a public account can be understood as an account of the buyer at our side, such as an account in our application.

[0043] For example, for different customers (buyers), customer identification and customer identification type can be stored in a customer identification table, and a partial table structure of the customer identification table is shown in Table 1. In this way, customer identification and customer identification type are used to distinguish different customers such as companies and individuals, so that customer management is clearer and more orderly. "--" in the table means not shown.

[0044] Table 1 Partial table structure of customer identity table

[0045]

[0046] Exemplarily, the special account data and the public account data can be stored in the account balance table, and the partial table structure of the account balance table is shown in Table 2. In this way, the account balance table covers a panoramic view from special accounts to public accounts. The account balance table can comprehensively reflect the account balances of each dimension of the customer and the corresponding payment subject of each account, thereby improving the transparency of financial operations. By introducing a multi-dimensional account balance management mechanism, with the same customer identity as the core, it flexibly supports the construction of full-scenario account balances from the payment dimension to different payment subjects, ensuring that each payment is properly attributed. The payment subject corresponding to the special account can be a public account or a seller account. The payment subject corresponding to the public account can be a special account or a buyer account.

[0047] Table 2 Partial table structure of account balance table

[0048]

[0049] For example, transaction request data can be stored in a transaction request table, and a partial table structure of the transaction request table is shown in Table 3. In this way, the transaction request table can display the customer's transaction request. Each transaction supports advanced configuration of multiple payment entities and transaction amounts, covering a full range of financial activities from recharge to refund (such as Figure 2 As shown), ensure accurate capture and tracking of transactions. By abstracting a variety of payment management scenarios, unified management of account balance operations, and supporting a series of dynamic activities, from recharge to withdrawal, from payment deduction to freezing and unfreezing, each fund activity is guaranteed to be carried out safely and efficiently. With customers at the center, it provides a comprehensive business transaction request processing solution, whether it is the account balance update after a successful payment or the approval confirmation during the withdrawal process, it can be accurately tracked and clearly recorded. When the transaction type is recharge, the recharge amount is the transaction amount; when the transaction type is refund, the refund amount is the transaction amount, and so on. The transaction activities of each account can be managed based on the preset state machine. The status of each step from recharge to refund is accurately controlled by the preset state machine, realizing efficient state management and ensuring the smoothness and compliance of the transaction process.

[0050] Table 3 Partial table structure of transaction request table

[0051]

[0052]

[0053] For example, the transaction sub-request data corresponding to a single transaction request and subdivided into the operation level within the account balance can be stored in the transaction sub-request table, and a partial table structure of the transaction sub-request table is shown in Table 4. In this way, various operations from fund freezing to approval can be effectively recorded, making the management of a single transaction request more detailed.

[0054] Table 4 Partial table structure of transaction sub-request table

[0055]

[0056] Exemplarily, the account operation record data can be stored in the account operation record table, and the partial table structure of the account operation record table is shown in Table 5. In this way, with the customer identity as the dimension, the details of each operation of a specific account balance are accurately recorded, including information such as the operation amount, operation type, operation status and operator, providing a solid foundation for financial transparency. It is understandable that the account operation record data will record more than the transaction request data, because the transaction request source is the business system of the operation scenario, and each transaction request will have a corresponding account operation, and there will also be a corresponding account operation record, but there are also some that are not initiated by the business, such as the successful synchronization of payment of other payment applications, there will only be account operation records, and there will be no transaction requests. When the transaction type is recharge, the recharge amount is the operation amount, and recharge is the operation type; when the transaction type is refund, the refund amount is the transaction amount, and refund is the operation type, and so on.

[0057] Table 5 Partial table structure of account operation record table

[0058]

[0059] Based on the above five data tables, efficient collaborative management of multi-service payment can be achieved. On the basis of clearly recording the account balances and transactions of each dimension under the customer identity, it flexibly supports cross-business field payment hedging and performance management, ensuring the accurate provision and real-time monitoring of payment flow and transaction information. The architecture diagram of the data processing system is shown in the figure below. Figure 3 It is understandable that after providing services, the service provider ensures that its services can be accurately attributed and recorded at the financial level, which is the basis for calculating performance.

[0060] In an example, the dedicated account includes a whole-house decoration account, a design account, and a retail account. The whole-house decoration account is used to pay the whole-house decoration fee, the design account is used to pay the design fee, and the retail account is used to pay the retail fee. The public account can realize the mutual circulation of account balances among the whole-house decoration account, the design account and the retail account.

[0061] In one example, a seller may have multiple seller accounts, and dedicated accounts may be divided based on one or more dimensions among the seller dimension, the business dimension, and the store dimension, such as Figure 4 shown.

[0062] In one example, through the introduction of public accounts, a flexible refund processing mechanism can be implemented in cross-service subject scenarios, thereby effectively responding to refunds caused by dynamic changes in buyer demand, meeting users' needs to reduce the number of payments and current business management rules, and easily realizing the free transfer and hedging of funds between different payment entities. Through the introduction of dedicated accounts, a refund processing mechanism can be implemented in scenarios that do not cross service entities. Cross-service entity can be understood as multiple service providers belonging to different companies; non-cross-service entity can be understood as multiple service providers belonging to the same company.

[0063] See also Figure 5 In some implementations, step S120 may include step S1201, step S1202, step S1203, step S1204, and step S1205.

[0064] S1201: In response to the transaction type being payment, determine a payment transaction identifier, a payment amount, a first dedicated account, and a first seller account according to a transaction request.

[0065] Exemplarily, when the transaction type is payment, the transaction request may include a payment transaction identifier, a payment amount, a first special account code and a first seller account code. The payment transaction identifier, the payment amount, the first special account and the first seller account can be determined by parsing the transaction request.

[0066] S1202: Control the first dedicated account to transfer the payment amount to the first seller account.

[0067] S1203: Store the transaction type, payment transaction identifier, payment amount and the first seller account as first transaction request data.

[0068] Exemplarily, the transaction type, payment transaction identifier, payment amount and first seller account code may be used as the content of a transaction request data, and the transaction request data may be stored.

[0069] S1204: Generate and store first account operation record data according to the transaction type, payment transaction identifier, payment amount and the first dedicated account.

[0070] Exemplarily, the transaction type, payment transaction identifier, payment amount and first dedicated account code may be used as the content of a piece of account operation record data, and the piece of account operation record data may be stored.

[0071] S1205: Update a first balance according to the payment amount, where the first balance is the account balance of the first special account in the special account data.

[0072] Exemplarily, the difference obtained by subtracting the payment amount from the first balance is used as the updated first balance.

[0073] The data processing method of the above implementation mode, when the transaction type is payment, automatically responds to the transaction, stores the transaction request data, generates account operation record data, and updates the dedicated account data according to the transaction request, so as to facilitate the subsequent accurate tracking of transaction-related data.

[0074] See also Figure 6 In some implementations, step S120 may include step S1206, step S1207, step S1208, step S1209, and step S1210.

[0075] S1206: In response to the transaction type being a refund, determine a refund transaction identifier, a refund amount, a second dedicated account, and a second seller account according to the transaction request.

[0076] Exemplarily, when the transaction type is refund, the transaction request may include a refund transaction identifier, a refund amount, a second special account code, and a second seller account code. The refund transaction identifier, refund amount, second special account, and second seller account can be determined by parsing the transaction request.

[0077] In some embodiments, the transaction request may include refund ratio information and previous transaction amount information. The refund ratio and the previous transaction amount are obtained by parsing the transaction request, and then the product of the previous transaction amount and the refund ratio is used as the refund amount.

[0078] S1207: Receive the refund amount transferred from the second seller account to the second dedicated account.

[0079] S1208: Store the transaction type, refund transaction identifier, refund amount, and second seller account as second transaction request data.

[0080] Exemplarily, the transaction type, refund transaction identifier, refund amount and second seller account code may be used as the content of a transaction request data, and the transaction request data may be stored.

[0081] S1209: Generate and store second account operation record data according to the transaction type, refund transaction identifier, refund amount and the second dedicated account.

[0082] Exemplarily, the transaction type, refund transaction identifier, refund amount and second dedicated account code may be used as the content of a piece of account operation record data, and the piece of account operation record data may be stored.

[0083] S1210: Update the second balance according to the refund amount, where the second balance is the account balance of the second special account in the special account data.

[0084] Exemplarily, the sum of the second balance and the refund amount is used as the updated second balance.

[0085] The data processing method of the above implementation mode, when the transaction type is a refund, automatically performs a transaction response, stores transaction request data, generates account operation record data, and updates dedicated account data according to the transaction request, so as to facilitate subsequent accurate tracking of transaction-related data.

[0086] See also Figure 7 In some embodiments, step S120 may include step S1211, step S1212, step S1213, step S1214, step S1215, step S1216, step S1217, step S1218, and step S1219.

[0087] S1211: In response to the transaction type being a deduction, the deduction transaction identifier, the deduction amount, the third special account, the fourth special account and the first public account are determined according to the transaction request, the third special account is the transferor of the deduction amount, and the fourth special account is the recipient of the deduction amount.

[0088] Exemplarily, when the transaction type is deduction, the transaction request may include the deduction transaction identifier, the deduction amount, the third special account code, the fourth special account code and the first public account code. The deduction transaction identifier, the deduction amount, the third special account, the fourth special account and the first public account can be determined by parsing the transaction request.

[0089] S1212: Control the third special account to transfer the deduction amount to the first public account.

[0090] S1213: Store the transaction type, the deduction transaction identifier, the deduction amount, and the first public account as third transaction request data.

[0091] Exemplarily, the transaction type, the deduction transaction identifier, the deduction amount and the first public account code may be used as the content of a transaction request data, and the transaction request data may be stored.

[0092] S1214: Generate and store third account operation record data according to the transaction type, deduction transaction identifier, deduction amount and the third special account.

[0093] Exemplarily, the transaction type, deduction transaction identifier, deduction amount and third dedicated account code may be used as the content of a piece of account operation record data, and the piece of account operation record data may be stored.

[0094] S1215: Update the third balance and the fourth balance according to the deduction amount, the third balance is the account balance of the third special account in the special account data, and the fourth balance is the account balance of the first public account in the public account data.

[0095] Exemplarily, the difference obtained by subtracting the deduction amount from the third balance is used as the updated third balance, and the sum of the fourth balance and the deduction amount is used as the updated fourth balance.

[0096] S1216: Control the first public account to transfer the deduction amount to the fourth special account.

[0097] S1217: Store the transaction type, the deduction transaction identifier, the deduction amount and the fourth special account as fourth transaction request data.

[0098] Exemplarily, the transaction type, deduction transaction identifier, deduction amount and fourth special account code may be used as the content of a transaction request data, and the transaction request data may be stored.

[0099] S1218: Generate and store fourth account operation record data according to the transaction type, the deduction transaction identifier, the deduction amount, and the first public account.

[0100] Exemplarily, the transaction type, the deduction transaction identifier, the deduction amount and the first public account code may be used as the content of a piece of account operation record data, and the piece of account operation record data may be stored.

[0101] S1219: Update the fourth balance and the fifth balance according to the deduction amount, and the fifth balance is the account balance of the fourth special account in the special account data.

[0102] Exemplarily, the difference obtained by subtracting the deduction amount from the fourth balance updated in step S1215 is used as the new fourth balance, and the sum of the fifth balance and the deduction amount is used as the updated fifth balance.

[0103] In one example, the third special account is a whole-package account, and the fourth special account is a retail account. If there is 10,000 yuan in the whole-package account that is no longer used, and the user hopes to use the 10,000 yuan to purchase retail goods, the 10,000 yuan can be refunded to the first public account by way of deduction, and the first public account will transfer the 10,000 yuan to the retail account, and then use it to purchase retail goods.

[0104] The data processing method of the above implementation mode, when the transaction type is payment, responds to the transaction according to the transaction request, stores the transaction request data, generates the account operation record data, updates the special account data and updates the public account data, so that when the buyer's needs change, the payment deduction between service items can be flexibly realized instead of relying on the inefficient offline approval process. At the same time, it is convenient to accurately track the transaction-related data later.

[0105] See also Figure 8 In some implementations, step S120 may include step S1220, step S1221, step S1222, step S1223, and step S1224.

[0106] S1220: In response to the transaction type being withdrawal, determine the withdrawal transaction identifier, the withdrawal amount, the withdrawing account and the first buyer account according to the transaction request, where the withdrawing account includes one or more of the second public account and the fifth special account.

[0107] Exemplarily, when the transaction type is withdrawal, the transaction request may include the withdrawal transaction identifier, withdrawal amount, withdrawing account code and first buyer account code. The withdrawal transaction identifier, withdrawal amount, withdrawing account and first buyer account can be determined by parsing the transaction request.

[0108] S1221: Control the withdrawing account to transfer the withdrawal amount to the first buyer's account.

[0109] S1222: Store the transaction type, the withdrawal transaction identifier, the withdrawal amount, and the first buyer account as fifth transaction request data.

[0110] Exemplarily, the transaction type, the withdrawal transaction identifier, the withdrawal amount and the first buyer account code may be used as the content of a transaction request data, and the transaction request data may be stored.

[0111] S1223: Generate and store fifth account operation record data according to the transaction type, withdrawal transaction identifier, withdrawal amount and withdrawal account.

[0112] Exemplarily, the transaction type, withdrawal transaction identifier, withdrawal amount and withdrawal account code may be included as the content of an account operation record data, and the account operation record data may be stored.

[0113] S1224: Update the sixth balance according to the withdrawal amount, the sixth balance being the account balance of the withdrawing account.

[0114] Exemplarily, the difference obtained by subtracting the withdrawal amount from the sixth balance is used as the updated sixth balance.

[0115] In one example, the withdrawing account is a hardware installation account, which is a special account. The buyer originally recharged 100,000 yuan into the hardware installation account, but later only 90,000 yuan was needed due to a change in the plan. When the withdrawal request triggered by the buyer is received, the remaining 10,000 yuan in the hardware installation account can be directly withdrawn to the buyer's account, such as the buyer's bank card.

[0116] The data processing method of the above implementation mode, when the transaction type is withdrawal, responds to the transaction according to the transaction request, stores the transaction request data, generates the account operation record data, and updates the dedicated account data or the public account data at the same time, so as to facilitate the subsequent accurate tracking of the transaction-related data.

[0117] See also Fig. 9 In some implementations, before step S110, step S130 and step S140 are also included.

[0118] S130: In response to receiving the buyer's recharge instruction, determine the recharge amount and the buyer's account.

[0119] Exemplarily, the buyer's recharge instruction may carry recharge amount information and buyer's account information. By parsing the received buyer's recharge instruction, the recharge amount and the buyer's account may be determined.

[0120] S140: Generate dedicated account data and public account data according to the target quotation information, the recharge amount and the buyer's account.

[0121] Exemplarily, the target quotation information may be pre-generated.

[0122] In some implementations, the target quotation information includes at least one seller account and its corresponding receivable amount. Accordingly, step S140 may include step S1401, step S1402, step S1403, and step S1404.

[0123] S1401: Create at least one dedicated account and at least one public account, where the dedicated accounts correspond to the seller accounts one by one.

[0124] Exemplarily, the number of public accounts is one, and the number of dedicated accounts is the same as the number of seller accounts.

[0125] S1402: Determine the account balance of at least one dedicated account and the account balance of at least one public account according to the receivable amount and the recharge amount corresponding to at least one seller account.

[0126] In some embodiments, the account balance of at least one special account is determined based on the receivable amount and the recharge amount corresponding to at least one seller account, including: determining the total receivable amount, which is the sum of the receivable amounts corresponding to at least one seller account; in response to the recharge amount being greater than or equal to the total receivable amount, taking the receivable amount corresponding to at least one seller account as the account balance of the corresponding special account; in response to the recharge amount being less than the total receivable amount, determining the account balance of at least one special account based on the first allocation rule and the receivable amount corresponding to at least one seller account.

[0127] Exemplarily, the first allocation rule includes one or more of allocation priority information and allocation ratio information.

[0128] In one example, the allocation priority information includes the priority of at least one special account. When determining the account balance of at least one special account based on the allocation priority information and the receivable amount corresponding to at least one seller account, the recharge amount is preferentially allocated to the special account with a high priority, thereby preferentially ensuring that the account balance of the special account with a high priority reaches the corresponding receivable amount. After the recharge amount is allocated, the account balance of the special account that has not been allocated the recharge amount is set to zero.

[0129] In one example, the allocation ratio information includes the allocation ratio of at least one special account. When determining the account balance of at least one special account based on the allocation ratio information and the receivable amount corresponding to at least one seller account, for each special account, the product value of the allocation ratio of the special account and the receivable amount of the corresponding seller account is used as the account balance of the special account.

[0130] In one example, a home decor designer needs to charge a design fee of 10,000 yuan, and also collect an additional 2,000 yuan deposit for home appliances. After the user recharges 12,000 yuan, the recharge amount is determined to be 12,000 yuan, and then 10,000 yuan is used as the account balance of the home decor account, and 2,000 yuan is used as the account balance of the retail account. The 10,000 yuan in the home decor account is then used to pay the design fee, and the 2,000 yuan in the retail account is temporarily frozen as a down payment, which will be used to offset the cost of the home appliances after the purchase of the appliances is determined.

[0131] In some embodiments, the account balance of at least one public account is determined based on the receivable amount and the recharge amount corresponding to at least one seller account, including: in response to the recharge amount being less than or equal to the total receivable amount, determining the account balance of at least one public account to be zero; in response to the recharge amount being greater than the total receivable amount, determining the account balance of at least one public account based on a second allocation rule and an excess amount, the excess amount being the difference between the recharge amount and the total receivable amount.

[0132] In one example, the number of public accounts is one, and the second allocation rule is full allocation. When the recharge amount is greater than the receivable amount, the excess amount is directly used as the account balance of the public account.

[0133] S1403: Generate special account data according to at least one special account and its corresponding account balance and the seller account.

[0134] For each of the at least one special account, a special account and its corresponding account balance and seller account may be taken as content of a piece of special account data.

[0135] S1404: Generate public account data according to at least one public account and its corresponding account balance and the buyer account.

[0136] For each public account in the at least one public account, a public account and its corresponding account balance and buyer account may be used as content of a piece of public account data.

[0137] The data processing method of the above-mentioned implementation mode, after receiving the buyer's recharge instruction, can automatically allocate the recharge amount to the special account and the public account based on the target quotation information, and generate special account data and public account data, thereby realizing the convenience of unified collection and facilitating the subsequent payment and deduction of different amounts based on the special account data and the public account data, thereby improving the convenience and flexibility of transaction-related data management, and effectively responding to the diversification of service areas and the complexity of the payment entities of the services.

[0138] See also Fig.10 In some implementations, before step S130, step S150 and step S160 are also included.

[0139] S150: Obtain at least one seller quotation information.

[0140] For example, the seller quotation information can be obtained by parsing the electronic contract uploaded by the seller. A seller quotation information may include the seller's account and its corresponding receivable amount and service items. Each seller can complete the quotation independently in its field.

[0141] S160: Perform quotation integration processing on at least one seller quotation information to obtain target quotation information.

[0142] In one example, step S160 includes: filling at least one seller quotation information into a corresponding position of the same quotation template, and the quotation template after filling is the target quotation information.

[0143] In another example, step S160 includes: merging at least one seller quotation information based on the target merging rule, and filling the merged seller quotation information into a corresponding position of the same quotation template, and the filled quotation template is the target quotation information.

[0144] In another example, step S160 includes: based on the decision of the management or the personalized needs of the buyer, integrating the quotation information of at least one seller to obtain target quotation information.

[0145] Exemplarily, the target quotation information may include at least one seller account and its corresponding receivable amount and service item, which is conducive to the subsequent automatic allocation of the buyer's recharge amount to the corresponding seller account according to the receivable amount corresponding to the service item, thereby ensuring financial accuracy and rationality.

[0146] The data processing method of the above embodiment obtains at least one seller quotation information, and obtains target quotation information by automatically performing quotation integration processing on at least one seller quotation information, which is conducive to ensuring the execution of subsequent data processing steps.

[0147] It is understandable that buyers have a demand for payment convenience, that is, buyers seek simplification and convenience in the decoration payment process and hope to reduce the frequency of payment. By integrating at least one seller's quotation information, comprehensive quotation and one-stop payment can be achieved.

[0148] In some implementations, after step S160, the method further includes: prompting the buyer to make a quotation based on the target quotation information.

[0149] In this way, it is convenient for the buyer to understand the quotation information of at least one seller at a time, and the efficiency of obtaining quotation information is improved. It is understandable that in the related art, since each seller is professionally independent and cannot provide cross-substitution services to the buyer, they can only provide quotation reminders to the buyer, which leads to low efficiency in obtaining quotation information.

[0150] It should be noted that the specific numerical values ​​mentioned above are only used as examples to illustrate the implementation of the present disclosure in detail, and should not be understood as limiting the present disclosure. In other examples or implementations or embodiments, other numerical values ​​can be selected according to the present disclosure, and are not specifically limited here.

[0151] Fig.11 It is a schematic block diagram of the structure of a data processing device using a hardware implementation of a processor according to an embodiment of the present disclosure.

[0152] The data processing device may include corresponding modules for executing each or several steps in the above flowchart. Therefore, each step or several steps in the above flowchart may be executed by the corresponding module, and the device may include one or more modules in these modules. The module may be one or more hardware modules specially configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.

[0153] The hardware structure of the data processing device of the present disclosure can be implemented using a bus architecture. The bus architecture may 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 may also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0154] 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.

[0155] Any process or method description in the flowchart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the present disclosure. The processor performs the various methods and processes described above. For example, the method implementation in the present disclosure can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).

[0156] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions on an instruction execution system, apparatus, or device), or in combination with such instruction execution systems, apparatuses, or devices.

[0157] For the purposes of this specification, a "readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a memory.

[0158] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0159] A person skilled in the art may understand that all or part of the steps of implementing the above-mentioned implementation method may be completed by instructing related hardware through a program, and the program may be stored in a readable storage medium, which, when executed, includes one or a combination of the steps of the implementation method.

[0160] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.

[0161] refer to Fig.11 According to one embodiment of the present disclosure, the data processing device 1000 of the present disclosure includes a determination module 1002 and an execution module 1004 .

[0162] The determination module 1002 is used to determine the transaction type in response to receiving the transaction request. The execution module 1004 is used to perform a target operation according to the transaction type and the transaction request, and the target operation includes multiple of performing a transaction response, storing transaction request data, generating account operation record data, updating special account data, and updating public account data.

[0163] Among them, the special account data includes at least one special account and its corresponding account balance and seller account. Different special accounts correspond to different seller accounts. The public account data includes at least one public account and its corresponding account balance and buyer account. The special account is used to transfer money to the seller account or the public account, and the public account is used to transfer money to the special account or the buyer account.

[0164] The present disclosure also provides an electronic device, including: a memory, the memory storing a computer program; and a processor or other hardware module, the processor or other hardware module executing the computer program stored in the memory, so that the processor or other hardware module executes the above method.

[0165] The present disclosure also provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the above method.

[0166] The present disclosure also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above method is implemented.

[0167] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0168] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0169] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0170] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0171] At the same time, it can be understood that the data involved in the technical solution of the present disclosure (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of relevant laws, regulations and relevant provisions.

[0172] 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, materials 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 are not necessarily the same embodiment / method or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments / methods or examples. In addition, those skilled in the art may combine and combine the different embodiments / methods or examples described in this specification and the features of the different embodiments / methods or examples, unless they are contradictory.

[0173] 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.

[0174] 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 data processing method, characterized in that: include: In response to receiving the transaction request, determining a transaction type; as well as Execute a target operation according to the transaction type and the transaction request, wherein the target operation includes multiple of performing a transaction response, storing transaction request data, generating account operation record data, updating dedicated account data, and updating public account data; Among them, the special account data includes at least one special account and its corresponding account balance and seller account, different special accounts correspond to different seller accounts, and the public account data includes at least one public account and its corresponding account balance and buyer account. The special account is used to transfer money to the seller account or the public account, and the public account is used to transfer money to the special account or the buyer account.

2. The data processing method according to claim 1, characterized in that: The performing a target operation according to the transaction type and the transaction request includes: In response to the transaction type being payment, determining a payment transaction identifier, a payment amount, a first dedicated account, and a first seller account according to the transaction request; Controlling the first dedicated account to transfer the payment amount to the first seller account; storing the transaction type, the payment transaction identifier, the payment amount, and the first seller account as first transaction request data; Generate and store first account operation record data according to the transaction type, the payment transaction identifier, the payment amount and the first special account; and A first balance is updated according to the payment amount, where the first balance is the account balance of the first special account in the special account data.

3. The data processing method according to claim 1, characterized in that: The performing a target operation according to the transaction type and the transaction request includes: In response to the transaction type being a refund, determining a refund transaction identifier, a refund amount, a second dedicated account, and a second seller account according to the transaction request; receiving the refund amount transferred from the second seller account to the second special account; storing the transaction type, the refund transaction identifier, the refund amount, and the second seller account as second transaction request data; Generate and store second account operation record data according to the transaction type, the refund transaction identifier, the refund amount and the second special account; and A second balance is updated according to the refund amount, where the second balance is the account balance of the second special account in the special account data.

4. The data processing method according to claim 1, characterized in that: The performing a target operation according to the transaction type and the transaction request includes: In response to the transaction type being a deduction, determining a deduction transaction identifier, a deduction amount, a third special account, a fourth special account, and a first public account according to the transaction request, the third special account being a transferor of the deduction amount, and the fourth special account being a recipient of the deduction amount; Controlling the third special account to transfer the deduction amount to the first public account; storing the transaction type, the deduction transaction identifier, the deduction amount, and the first public account as third transaction request data; Generate and store third account operation record data according to the transaction type, the deduction transaction identifier, the deduction amount and the third special account; updating a third balance and a fourth balance according to the deduction amount, wherein the third balance is the account balance of the third special account in the special account data, and the fourth balance is the account balance of the first public account in the public account data; Controlling the first public account to transfer the deduction amount to the fourth special account; storing the transaction type, the deduction transaction identifier, the deduction amount and the fourth special account as fourth transaction request data; Generate and store fourth account operation record data according to the transaction type, the deduction transaction identifier, the deduction amount and the first public account; and The fourth balance and the fifth balance are updated according to the deduction amount, and the fifth balance is the account balance of the fourth special account in the special account data.

5. The data processing method according to claim 1, characterized in that: The performing a target operation according to the transaction type and the transaction request includes: In response to the transaction type being a withdrawal, determining a withdrawal transaction identifier, a withdrawal amount, a withdrawal account, and a first buyer account according to the transaction request, wherein the withdrawal account includes one or more of a second public account and a fifth dedicated account; Controlling the withdrawing account to transfer the withdrawal amount to the first buyer account; storing the transaction type, the withdrawal transaction identifier, the withdrawal amount, and the first buyer account as fifth transaction request data; Generate and store fifth account operation record data according to the transaction type, the withdrawal transaction identifier, the withdrawal amount and the withdrawal account; and A sixth balance is updated according to the withdrawal amount, wherein the sixth balance is the account balance of the withdrawing account.

6. The data processing method according to any one of claims 1 to 5, characterized in that: Before determining the transaction type in response to receiving the transaction request, the method further includes: In response to receiving a buyer recharge instruction, determining a recharge amount and the buyer account; and The dedicated account data and the public account data are generated according to the target quotation information, the recharge amount and the buyer account.

7. The data processing method according to claim 6, characterized in that: The target quotation information includes at least one seller account and its corresponding receivable amount, and the dedicated account data and the public account data are generated according to the target quotation information, the recharge amount and the buyer account, including: Creating at least one of the dedicated accounts and at least one of the public accounts, wherein the dedicated accounts correspond to the seller accounts one by one; Determine the account balance of at least one of the dedicated accounts and the account balance of at least one of the public accounts according to the receivable amount corresponding to at least one of the seller accounts and the recharge amount; generating the dedicated account data based on at least one of the dedicated accounts and its corresponding account balance and the seller account; and The public account data is generated based on at least one of the public accounts and its corresponding account balance and the buyer account.

8. The data processing method according to claim 7, characterized in that: Determining the account balance of at least one of the special accounts according to the receivable amount corresponding to at least one of the seller accounts and the recharge amount includes: Determine a total amount receivable, where the total amount receivable is the sum of the amounts receivable corresponding to at least one of the seller accounts; In response to the recharge amount being greater than or equal to the total receivable amount, taking the receivable amount corresponding to at least one of the seller accounts as the account balance of the corresponding special account; and In response to the recharge amount being less than the total amount receivable, the account balance of at least one of the dedicated accounts is determined according to a first allocation rule and the amount receivable corresponding to at least one of the seller accounts.

9. The data processing method according to claim 8, characterized in that: Determining the account balance of at least one of the public accounts according to the receivable amount corresponding to at least one of the seller accounts and the recharge amount includes: In response to the recharge amount being less than or equal to the total amount to be receivable, determining that the account balance of at least one of the public accounts is zero; and In response to the recharge amount being greater than the total receivable amount, the account balance of at least one of the public accounts is determined according to a second allocation rule and an excess amount, wherein the excess amount is a difference between the recharge amount and the total receivable amount.

10. An electronic device, characterized in that: include: a memory storing a computer program; as well as A processor, wherein the processor executes the computer program stored in the memory so that the processor executes the data processing method according to any one of claims 1 to 9.

11. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the data processing method according to any one of claims 1 to 9.

12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 9 is implemented.