Data processing method and device, equipment and storage medium
By configuring a separate ledger configuration table in the financial accounting system, the problem of database and message structure modifications caused by interface specification updates was solved, and efficient ledger registration processing was achieved.
Patent Information
- Application Number
- CN202211116641.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-14
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2042-09-14
AI Technical Summary
In existing technologies, financial accounting systems require extensive modifications to database table structures and transaction message structures when updating interface specifications, resulting in a large workload for program modifications and a high risk of failure.
By configuring a separate log entry configuration table, log entry rules are matched based on transaction data and type information to perform ledger registration, avoiding direct modification of the database table structure and message structure.
It significantly reduced the workload of program modification, lowered operation and maintenance and development costs, and improved processing efficiency.
Smart Images

Figure CN115471333B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data analysis technology, and in particular to a data processing method, apparatus, device, and storage medium. Background Technology
[0002] In financial accounting systems, each successful transaction must be recorded in a ledger. During the ledger recording, information such as business type, fund balance classification, and securities balance classification must be recorded. Different settlement venues have different definitions and codes for business types. In addition, after the trading venue interface is updated, the relevant business types and classification rules may also be changed.
[0003] In existing technologies, in order to cope with the updates and changes in interface specifications, the common practice is to modify the relevant fields of the data tables in the financial accounting system after the interface specifications required by the settlement venue or other entities change. This not only requires changing the database table structure, but also the transaction message structure transmitted between the front end and the back end. As a result, the workload of program modification is large, the process is very cumbersome, and it involves the initialization of historical data, which may also lead to bugs and production problems. Summary of the Invention
[0004] This application provides a data processing method, apparatus, device, and storage medium to address the problem that financial accounting systems require extensive modifications when interface specifications are updated in the prior art.
[0005] In a first aspect, embodiments of this application provide a data processing method, which includes:
[0006] In response to the received transaction message, determine the corresponding transaction data and transaction type information, including business type, transaction venue information, and transaction status;
[0007] Match the transaction data and transaction type information with the pre-configured posting configuration table to determine the posting rules corresponding to the transaction data;
[0008] Based on the posting rules and transaction status, the transaction data is posted.
[0009] Optionally, the posting configuration table includes rule information on posting type, posting balance classification, and lending direction corresponding to the transaction type information; matching the transaction data and transaction type information with the pre-configured posting configuration table to determine the posting rules corresponding to the transaction data, including: determining the posting type, posting balance classification, and lending direction rule information corresponding to the transaction data when posting, based on the transaction data, transaction type information, and the pre-configured posting configuration table.
[0010] Optionally, based on the posting rules, the transaction data is posted, including: based on the transaction status corresponding to the transaction information, posting is performed in the data table corresponding to the posting type rule information according to the posting balance classification and the lending direction rule information.
[0011] Optionally, before receiving the transaction message, the method further includes: obtaining the posting configuration rules corresponding to each different ledger type; and establishing data tables corresponding to different ledger types based on the posting configuration rules.
[0012] Optionally, the ledger types include fund ledgers and securities ledgers. Based on the ledger configuration rules, data tables corresponding to different ledger types are established, including: based on the ledger configuration rules corresponding to fund ledgers, fund account ledger tables, fund account balance information tables, fund account balance change information tables, fund ledger adjustment tables, and fund ledger ledger registration configuration tables are established; based on the ledger configuration rules corresponding to securities ledgers, securities account ledger tables, securities account balance information tables, securities account balance change information tables, securities ledger adjustment tables, and securities ledger registration configuration tables are established.
[0013] Optionally, it also includes: in response to a modification operation in the settings configuration menu, obtaining the modified content of the posting configuration table; and synchronizing the modified content to the posting configuration table.
[0014] Optionally, the modified content can be synchronized to the posting configuration table, including: obtaining the review comments on the modified content; if the review comments are approved, the modified content can be synchronized to the posting configuration table.
[0015] Secondly, embodiments of this application provide a data processing apparatus, which includes:
[0016] The receiving module is used to respond to the received transaction message and determine the corresponding transaction data and transaction type information, including business type, transaction venue information, and transaction status.
[0017] The matching module is used to match transaction data and transaction type information with a pre-configured posting configuration table to determine the posting rules corresponding to the transaction data.
[0018] The entry module is used to process transaction data for entry based on entry rules and transaction status.
[0019] Optionally, the matching module is specifically used to: include the rule information of the posting configuration table corresponding to the transaction type information, posting balance classification, and lending direction; and determine the rule information of the posting type, posting balance classification, and lending direction corresponding to the transaction data when posting, based on the transaction data, transaction type information, and pre-configured posting configuration table.
[0020] Optionally, the posting module is specifically used to perform posting processing based on the transaction status corresponding to the transaction information, in the data table corresponding to the posting type rule information, according to the posting balance classification and lending direction rule information.
[0021] Optionally, the receiving module is also used to obtain the entry configuration rules corresponding to different ledger types before receiving the transaction message; and to establish data tables corresponding to different ledger types based on the entry configuration rules.
[0022] Optionally, the receiving module is specifically used to, when the ledger type includes a fund ledger and a securities ledger, establish a fund account ledger table, a fund account balance information table, a fund account balance change information table, a fund ledger adjustment table, and a fund ledger registration configuration table corresponding to the fund ledger, based on the ledger configuration rules corresponding to the fund ledger; and establish a securities account ledger table, a securities account balance information table, a securities account balance change information table, a securities ledger adjustment table, and a securities ledger registration configuration table corresponding to the securities ledger, based on the ledger configuration rules corresponding to the securities ledger.
[0023] Optionally, the receiving module is also used to, in response to a modification operation in the setting configuration menu, obtain the modified content of the posting configuration table; and synchronize the modified content to the posting configuration table.
[0024] Optionally, the receiving module is specifically used to obtain the review comments on the modified content; if the review comments are approved, the modified content is synchronized to the posting configuration table.
[0025] Thirdly, embodiments of this application also provide a control device, which includes:
[0026] At least one processor;
[0027] and memory that is communicatively connected to at least one processor;
[0028] The memory stores instructions that can be executed by at least one processor, which, when executed by at least one processor, cause the control device to perform a data processing method corresponding to any embodiment of the first aspect of the present application.
[0029] Fourthly, embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement any of the data processing methods described in the first aspect of embodiments of this application.
[0030] Fifthly, embodiments of this application also provide a computer program product, which includes computer execution instructions that, when executed by a processor, are used to implement any of the data processing methods described in the first aspect of embodiments of this application.
[0031] The data processing method, apparatus, device, and storage medium provided in this application determine the corresponding transaction data and transaction type information based on the received transaction message, then match the transaction data and transaction type information with a pre-configured posting configuration table to determine the posting rules corresponding to the transaction data; and then perform posting processing on the transaction data based on the posting rules and transaction status. Therefore, by using a separately set posting configuration table to determine and record the real-time posting rules of each trading venue, when the interface specifications of a trading venue change, only the posting configuration table needs to be modified to quickly adapt to the new interface specifications, without needing to change the backend database table structure and message structure. This significantly reduces development workload and lowers the operation and maintenance costs and development costs of the financial accounting system. Attached Figure Description
[0032] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0033] Figure 1 An application scenario diagram of the data processing method provided in the embodiments of this application;
[0034] Figure 2 A flowchart illustrating a data processing method provided in one embodiment of this application;
[0035] Figure 3a A flowchart illustrating a data processing method provided in yet another embodiment of this application;
[0036] Figure 3b for Figure 3a A schematic diagram illustrating the relationship between indoor humidity and the second control strategy in the illustrated embodiment;
[0037] Figure 4 This is a schematic diagram of the structure of a data processing apparatus provided in yet another embodiment of this application;
[0038] Figure 5 This is a schematic diagram of the structure of a control device provided in yet another embodiment of this application.
[0039] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0040] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0041] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0042] In existing financial accounting systems, when processing transaction-related ledger registration, transaction data stored in database tables is directly uploaded to the interface of the settlement venue for ledger registration. Because different settlement venues may have different interface specifications—for example, different definitions for different business types—one settlement venue might name another's "locked amount" as "frozen amount." This forces the financial accounting system to adjust the relevant fields and structures of its database tables according to each settlement venue's interface specifications. If the settlement venue's interface specifications change or are updated, the database table structure needs to be modified synchronously, and sometimes the transaction message structure transmitted between the front-end and back-end also needs to be changed. This results in a large workload for program modification, a cumbersome process, and a high risk of program failure.
[0043] To address this issue, this disclosure provides a data processing method in which an additionally configured accounting configuration table is matched with transaction data and transaction type information to obtain the interface specifications or accounting rules required by the corresponding settlement venue. The accounting is then performed based on the corresponding accounting rules, thereby ensuring the relative independence of the database tables and significantly reducing the workload of developing interface specifications.
[0044] The application scenarios of the embodiments of this disclosure are explained below:
[0045] Figure 1 This diagram illustrates an application scenario of the data processing method provided in this embodiment of the disclosure. Figure 1 As shown, when the financial accounting system 100 performs the accounting work, it receives transaction data and saves it in the database table 110. Then, it matches the transaction type information corresponding to the transaction data with the accounting configuration table 120 to determine the accounting rules. Based on the accounting rules, it performs the accounting processing to the settlement venue 130.
[0046] It should be noted that, Figure 1 In the scenario shown, only one of the financial accounting system, database table, ledger configuration table, and settlement location is used as an example for illustration. However, the embodiments of this application are not limited to this. That is to say, the number of financial accounting systems, database tables, ledger configuration tables, and settlement locations can be arbitrary.
[0047] The data processing method provided in this application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0048] Figure 2 This is a flowchart illustrating a data processing method provided in one embodiment of this disclosure. Figure 2 As shown, the data processing method provided in this embodiment includes the following steps:
[0049] Step S201: In response to the received transaction message, determine the corresponding transaction data and transaction type information.
[0050] The transaction type information includes the business type, transaction venue information, and transaction status.
[0051] Specifically, transaction information varies depending on the transaction status, and may correspond to different stages such as contract signing, transaction success, and transaction failure. The same data information may correspond to different transaction statuses (the data information for the same transaction may be exactly the same at the time of contract signing and at the time of transaction success, such as transactions completed on the same day). The data information consists of the specific data that needs to be transmitted during the accounting process, mainly including transaction data, such as the code corresponding to the transaction (e.g., fund account, securities account, securities code, securities name, specific asset portfolio corresponding to the transaction, etc.), date (including business processing date, settlement date, etc.), account name, specific amount, and other information.
[0052] The transaction status in the transaction type information mainly indicates the stage the exchange is in; the business type varies depending on the specific business of the transaction, such as securities purchase, buyout, redemption, etc.; the transaction venue information includes the settlement venue and the trading venue. The settlement venue is the settlement center, such as the institution where the various branches and subsidiaries of an enterprise conduct fund settlement. The trading venue is the financial trading venue, which can generally include different securities exchanges.
[0053] Since different settlement venues and trading venues usually have their own independent systems and their external interface specifications are usually different, when a financial accounting system transmits transaction data to different settlement venues or trading venues, it needs to adjust the message format of the transaction data or the field settings of the corresponding data form in order to transmit it in accordance with the corresponding interface specifications.
[0054] Step S202: Match the transaction data and transaction type information with the pre-configured posting configuration table to determine the posting rules corresponding to the transaction data.
[0055] Specifically, the transaction data and transaction type information received from the database table will be saved to the built-in database. The forms in the built-in database can directly use fixed names, without having to change according to the corresponding interface specifications when corresponding to different transaction venue information or when the transaction venue information changes, as in the existing technology.
[0056] By configuring a separate accounting configuration table in the database, the interface specifications corresponding to each settlement venue can be recorded, such as the accounting type corresponding to various business types and transaction statuses (i.e., the fields of the accounting interface corresponding to the settlement venue), the ledger balance classification (corresponding fields), and the lending direction, etc.
[0057] After determining the transaction type information, you can query the posting configuration table to determine fields such as posting type, ledger balance category, and lending direction. This allows you to package the transaction data with the corresponding fields and send transaction messages.
[0058] Step S203: Based on the posting rules and transaction status, perform posting processing on the transaction data.
[0059] Specifically, after determining the transaction status and posting rules, a posting message corresponding to the transaction data is sent to the corresponding settlement venue based on the corresponding fields in the posting rules. This eliminates the need for separate modification and adjustment of fields in the database table, improving sending efficiency.
[0060] By configuring a separate ledger configuration table, the ledger registration rules can be configured relatively independently. When the interface specifications of the target settlement location change, they can be modified separately in the ledger configuration table without having to change other data forms in the database table, which greatly reduces the workload of program modification and facilitates operation.
[0061] The data processing method provided in this disclosure determines the corresponding transaction data and transaction type information based on the received transaction message, then matches the transaction data and transaction type information with a pre-configured posting configuration table to determine the posting rules corresponding to the transaction data; and then performs posting processing on the transaction data based on the posting rules and transaction status. Therefore, by using a separately set posting configuration table to determine and record the real-time posting rules of each trading venue, changes to the trading venue's interface specifications can be quickly adapted to the new interface specifications simply by modifying the posting configuration table, eliminating the need to change the backend database table structure and message structure. This significantly reduces development workload and lowers the operation and maintenance costs and development costs of the financial accounting system.
[0062] Figure 3a This is a flowchart illustrating a data processing method provided in one embodiment of this disclosure. Figure 3a As shown, the data processing method provided in this embodiment includes the following steps:
[0063] Step S301: Obtain the entry configuration rules corresponding to different ledger types.
[0064] Specifically, before establishing a posting configuration table based on the existing financial accounting system, it is first necessary to obtain the posting configuration rules.
[0065] The main types of ledgers include fund ledgers and securities ledgers. Different settlement venues have different interface specification requirements (i.e., ledger configuration rules) for different ledger types, such as different field names. Therefore, before creating a ledger configuration table, it is necessary to obtain the ledger configuration rules corresponding to different settlement venues and different ledger types.
[0066] Step S302: Based on the ledger configuration rules, establish data tables corresponding to different ledger types.
[0067] Specifically, after obtaining the log entry configuration rules, various data tables required by the ledger module are created in the database.
[0068] Depending on the type of ledger and the purpose of the data table, data tables specifically include the following two categories:
[0069] Based on the ledger configuration rules corresponding to the fund ledger, establish the fund account ledger table, fund account balance information table, fund account balance change information table, fund ledger adjustment table, and fund ledger posting configuration table.
[0070] Among them, the Funds Account Ledger Table is used to record the flow information of the funds ledger, the Funds Account Balance Information Table is used to record various balance information of the funds account, the Funds Balance Change Information Table is used to record the historical balance information of the funds account, the Funds Ledger Adjustment Table is used to record the manual adjustment information of the funds account, and the Funds Ledger Posting Configuration Table is used to record the posting configuration rules corresponding to the acquired funds ledger.
[0071] Based on the ledger configuration rules corresponding to the securities ledger, establish the securities account ledger table, securities account balance information table, securities account balance change information table, securities ledger adjustment table, and securities ledger posting configuration table.
[0072] Among them, the securities account ledger table is used to record the transaction information of the securities ledger, the securities account balance information table is used to record various balance information of the securities account, the securities balance change information table is used to record the historical balance information of the securities account, the securities ledger adjustment table is used to record the manual adjustment information of the securities account, and the securities ledger posting configuration table is used to record the posting configuration rules corresponding to the obtained securities ledger.
[0073] Step S303: In response to the modification operation in the setting configuration menu, obtain the modified content of the accounting configuration table.
[0074] Specifically, in addition to obtaining the posting configuration rules when creating the posting configuration table, in actual use, there may be situations where the settlement venue or trading venue updates its interface specifications, causing changes to the posting configuration rules. In this case, you can either automatically obtain the posting configuration rules of the corresponding settlement venue and modify the posting configuration table accordingly (which is more efficient), or you can manually modify the posting configuration table after confirming the changes in the posting configuration rules (which is more secure).
[0075] like Figure 3b The diagram shows the modification menu for the accounting entry configuration table. Specifically, modifications to the accounting entry configuration table can be made through a pre-defined custom configuration menu, allowing users to add, modify, and delete rules within the table.
[0076] Step S304: Synchronize the modified content to the accounting configuration table.
[0077] Specifically, to ensure the reliability of changes to the accounting configuration rules, whether the accounting configuration table is modified automatically or manually, it should be manually reviewed by auditors after the modification (whether it is a new addition or a modification) to ensure the reliability of the changes.
[0078] In some embodiments, review is also required, which may include:
[0079] Step 1 (not shown): Obtain review comments on the modified content.
[0080] Specifically, the review comments can be "approved" or "disapproved," and can also include specific reasons for disapproval, such as "the revised content does not conform to the notice, please confirm again," etc.
[0081] Step 2 (not shown): If the review opinion is "approved", the modified content will be synchronized to the accounting configuration table.
[0082] Specifically, after the review is approved, the financial accounting system will automatically synchronize the modified content to the accounting configuration table for subsequent use.
[0083] Step S305: In response to the received transaction message, determine the corresponding transaction data and transaction type information.
[0084] Specifically, this step is related to Figure 2 The steps of S201 in the illustrated embodiment are the same and will not be repeated here.
[0085] Step S306: Based on the transaction data, transaction type information, and pre-configured posting configuration table, determine the posting type, posting balance classification, and lending / borrowing direction rule information corresponding to the transaction data when posting.
[0086] The posting configuration table includes posting types, posting balance categories, and lending / borrowing rules corresponding to transaction type information.
[0087] Specifically, in actual use, the system will match the corresponding posting type, posting balance category, and lending direction rule information based on the business type, transaction market, and transaction status in the transaction type information.
[0088] For example, the format of the accounting configuration table can be found in Table 1:
[0089] Table 1. Securities Ledger Registration Configuration Table
[0090]
[0091] This shows that different trading markets may have the same or different fields for record-keeping type, record-keeping balance classification, and lending direction. By determining the business type, trading market, and transaction status, the corresponding record-keeping type, record-keeping balance classification, lending direction, and other related field information can be determined, and record-keeping processing can then be performed accordingly.
[0092] Step S307: Based on the transaction status corresponding to the transaction information, perform the posting process in the data table corresponding to the posting type rule information according to the posting balance classification and the lending direction rule information.
[0093] Specifically, based on the transaction status, the transaction data can be processed according to the corresponding posting configuration rules.
[0094] For example, a company's asset portfolio is financed through a buy-back agreement (the first phase of the buy-back agreement involves selling bonds for financing, and the bonds will be bought back at an agreed price upon maturity). After the agreement is signed, the bonds to be traded are locked in the securities account, and the first ledger registration is performed (the registration type is lock registration). After the first transaction is successful, a certain bond with a face value of 100,000 yuan is sold, and 100,000 yuan is received in the cash account. At this time, the second ledger registration is performed (the registration type is business registration).
[0095] The initial ledger entry includes posting entries to the available balance in the credit securities account and to the locked balance in the debit securities account. (Referring to Table 1, if both debit and credit entries are involved, then entries need to be posted in both the debit and credit accounts simultaneously.)
[0096] The second ledger registration includes: posting the transaction to the locked balance in the credit securities account and posting the income of 100,000 yuan in the debit funds ledger.
[0097] The data processing method provided in this disclosure obtains the entry configuration rules corresponding to different ledger types, and establishes data tables corresponding to different ledger types based on the entry configuration rules. Simultaneously, upon receiving a modification operation in the configuration settings menu, the method obtains the modified content of the entry configuration table and synchronizes the modified content to the entry configuration table. Then, upon receiving transaction information, the method completes the entry based on the entry configuration table. Therefore, the entry configuration table can be adjusted independently based on changes in the entry configuration rules of the transaction venue, without requiring modifications to other forms in the financial accounting system. This significantly improves the efficiency of entry processing, reduces the workload of modifying and maintaining database forms, and increases processing efficiency.
[0098] Figure 4 This is a schematic diagram of the structure of a data processing apparatus provided in one embodiment of this disclosure. Figure 4 As shown, the data processing device 400 is applied to a processor, and the data processing device 400 includes: a receiving module 410, a matching module 420, and an entry module 430. Wherein:
[0099] The receiving module 410 is used to respond to the received transaction message and determine the corresponding transaction data and transaction type information, including business type, transaction venue information, and transaction status.
[0100] The matching module 420 is used to match transaction data and transaction type information with a pre-configured posting configuration table to determine the posting rules corresponding to the transaction data.
[0101] The entry module 430 is used to process transaction data for entry based on entry rules and transaction status.
[0102] Optionally, the matching module 420 is specifically used to: include the rule information of the posting configuration table corresponding to the transaction type information, posting balance classification, and lending direction; and determine the rule information of the posting type, posting balance classification, and lending direction corresponding to the transaction data when posting, based on the transaction data, transaction type information, and the pre-configured posting configuration table.
[0103] Optionally, the posting module 430 is specifically used to perform posting processing in the data table corresponding to the posting type rule information, based on the transaction status corresponding to the transaction information, according to the rule information of posting balance classification and lending direction.
[0104] Optionally, the receiving module 410 is further configured to, before receiving the transaction message, obtain the entry configuration rules corresponding to each different ledger type; and establish data tables corresponding to different ledger types based on the entry configuration rules.
[0105] Optionally, the receiving module 410 is specifically used to, when the ledger type includes a fund ledger and a securities ledger, establish a fund account ledger table, a fund account balance information table, a fund account balance change information table, a fund ledger adjustment table, and a fund ledger registration configuration table corresponding to the fund ledger, based on the ledger configuration rules corresponding to the fund ledger; and establish a securities account ledger table, a securities account balance information table, a securities account balance change information table, a securities ledger adjustment table, and a securities ledger registration configuration table corresponding to the securities ledger, based on the ledger configuration rules corresponding to the securities ledger.
[0106] Optionally, the receiving module 410 is further configured to, in response to a modification operation in the setting configuration menu, obtain the modified content of the posting configuration table; and synchronize the modified content to the posting configuration table.
[0107] Optionally, the receiving module 410 is specifically used to obtain the review comments on the modified content; if the review comments are approved, the modified content is synchronized to the posting configuration table.
[0108] In this embodiment, the data processing device, through the combination of various modules, can determine and record the real-time accounting rules of each trading venue through a separately set accounting configuration table. After the interface specifications of the trading venue change, it is only necessary to change the accounting configuration table to quickly adapt to the new interface specifications, without having to change the backend database table structure and message structure. This significantly reduces the development workload and lowers the operation and maintenance costs and development costs of the financial accounting system.
[0109] Figure 5 This is a schematic diagram of the structure of a control device provided in one embodiment of the present disclosure, as shown below. Figure 5 As shown, the control device 500 includes a memory 510 and a processor 520.
[0110] The memory 510 stores a computer program that can be executed by at least one processor 520. This computer program is executed by at least one processor 520 to enable the control device to implement the data processing method provided in any of the above embodiments.
[0111] The memory 510 and the processor 520 can be connected via a bus 530.
[0112] The relevant explanations can be understood by referring to the corresponding descriptions and effects in the method embodiments, and will not be repeated here.
[0113] One embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the data processing method provided in any of the above method embodiments.
[0114] The computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0115] One embodiment of this disclosure provides a computer program product comprising computer-executable instructions that, when executed by a processor, are used to implement the data processing method provided in any of the above embodiments.
[0116] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0117] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope of this application is indicated by the claims.
[0118] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A data processing method, characterized by, The data processing method comprises: In response to the received transaction message, determine the corresponding transaction data and transaction type information, the transaction type information comprises business type, transaction site information, transaction state; wherein, the business type is used to represent the purchase, buyout, or redemption of securities; the transaction site information comprises a settlement site; Based on the transaction data transaction type information and the pre-configured account configuration table, determine the corresponding account type, account balance classification, and borrowing direction rule information of the transaction data when accounting; wherein, the account configuration table is used to record the interface specification corresponding to each settlement site, including the account type, account balance classification, and borrowing direction rule information corresponding to the transaction type information; Based on the transaction information corresponding to the transaction state, in the data table corresponding to the account type rule information, the account processing is performed according to the account balance classification and the borrowing direction rule information; The account processing according to the account balance classification and the borrowing direction rule information comprises: The transaction data is packaged in the field corresponding to the account balance classification and the borrowing direction rule information to obtain the account message corresponding to the transaction data, and the account message is sent to the settlement site.
2. The data processing method according to claim 1, characterized in that, Before the received transaction message, the method further comprises: Obtain the account configuration rules corresponding to each different account type; Based on the account configuration rules, establish the data table corresponding to the different account types.
3. The data processing method according to claim 2, characterized in that, The account type comprises a fund account and a security account, The establishment of the data table corresponding to the different account types based on the account configuration rules comprises: Based on the account configuration rules corresponding to the fund account, establish the fund account corresponding to the fund account, the fund account balance information table, the fund account balance change information table, the fund account adjustment table, and the fund account accounting configuration table; Based on the account configuration rules corresponding to the security account, establish the security account corresponding to the security account, the security account balance information table, the security account balance change information table, the security account adjustment table, and the security account accounting configuration table.
4. The data processing method of claim 1, wherein, Further comprising: In response to the modification operation in the setting configuration menu, obtain the modification content of the account configuration table; Synchronize the modification content into the account configuration table.
5. The data processing method according to claim 4, characterized in that, The synchronization of the modification content into the account configuration table comprises: Obtain the audit opinion of the modification content; If the audit opinion is approved, synchronize the modification content into the account configuration table.
6. A data processing apparatus, characterized by The data processing device comprises: A receiving module is configured to determine the corresponding transaction data and transaction type information in response to the received transaction message, the transaction type information comprises business type, transaction site information, and transaction state; wherein, the business type is used to represent the purchase, buyout, or redemption of securities; the transaction site information comprises a settlement site; The matching module is configured to determine, based on the transaction data transaction type information and a preconfigured account configuration table, rule information of an account type, an account balance classification, and a lending direction corresponding to the transaction data when the transaction data is accounted; the account configuration table is configured to record interface specifications corresponding to each settlement place, including rule information of the account type, the account balance classification, and the lending direction corresponding to the transaction type information; The accounting module is configured to perform accounting processing in a data table corresponding to the rule information of the account type according to the rule information of the account balance classification and the lending direction based on the transaction state corresponding to the transaction information; When the accounting module is configured to perform the accounting processing according to the rule information of the account balance classification and the lending direction, the accounting module is specifically configured to: pack the transaction data in fields corresponding to the rule information of the account balance classification and the lending direction to obtain an account message corresponding to the transaction data, and send the account message to the settlement place.
7. A control device characterized by comprising: The control device comprises: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the control device to perform the data processing method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by the processor to implement the data processing method according to any one of claims 1 to 5.
9. A computer program product, characterised in that, The computer program product contains computer-executable instructions, and the computer-executable instructions are executed by the processor to implement the data processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Batch money deduction method and device
CN112927066A