Account information processing method and device
By providing a accounting information processing method and device in a distributed financial transaction system, the problem of differences in transaction dates and accounting dates is solved, and the reliability and customer experience of accounting processing are improved.
Patent Information
- Application Number
- CN202110480106.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-30
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-04-30
AI Technical Summary
In a distributed financial trading system, there may be differences in the transaction date and bookkeeping date caused by heterogeneity, which affects the reliability of accounting processing.
It provides a accounting information processing method and device, by receiving accounting information processing requests, determines the date and checking object according to the verification mark and preset transaction type and object relationship table, and determines the accounting date based on the transaction date and day-cut time to ensure the accuracy of accounting processing.
It improves the accuracy of the accounting date, thereby improving the reliability of accounting processing, improving the customer's experience in handling business, and avoiding financial accounting imbalances and increased labor costs caused by inconsistent accounting dates.
Smart Images

Figure CN113159913B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an accounting information processing method and device. Background Art
[0002] With the promotion and application of distributed technology in the banking industry, the current financial transaction system is gradually transforming from a centralized host to a distributed platform. However, due to the heterogeneity of distributed systems, the time of different platform servers (equipped with product applications, accounts, accounting and other applications) is not completely consistent. Therefore, during the business processing, there may be differences between the transaction date and the accounting date, making it difficult to ensure the reliability of accounting processing. Summary of the invention
[0003] In response to the problems in the prior art, the present application proposes an accounting information processing method and device, which can improve the accuracy of accounting dates, thereby improving the reliability of accounting processing and improving the customer experience of handling business.
[0004] In order to solve the above technical problems, this application provides the following technical solutions:
[0005] In a first aspect, the present application provides an accounting information processing method, comprising:
[0006] Receiving an account information processing request sent by a platform server in a platform server cluster, the account information processing request including: a transaction date, a transaction type, and a verification identifier of a target transaction;
[0007] Determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server;
[0008] If the date checking object is a calling terminal, the accounting date of the target transaction is determined according to the transaction date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0009] Furthermore, the accounting information processing method further includes:
[0010] If the date check object is the called terminal, the local system date is obtained;
[0011] The accounting date of the target transaction is determined according to the system date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0012] Further, determining the accounting date of the target transaction according to the transaction date and the local day-cut time includes:
[0013] According to the local day cut time and the transaction date, determine whether the time in the transaction date is less than or equal to the local day cut time, and if so, change the date in the transaction date to the previous day, and change the time in the transaction date to the preset end time;
[0014] The changed transaction date is used as the accounting date corresponding to the target transaction.
[0015] Furthermore, the accounting information processing method further includes:
[0016] If the preset transaction type and object relationship table are changed, the distributed collaborative server is used to send the change information to each platform server, so that each platform server updates its own checking rules according to the change information.
[0017] Furthermore, after completing the accounting operation of the target transaction according to the accounting date, the method further includes:
[0018] Output the accounting results.
[0019] In a second aspect, the present application provides an accounting information processing device, comprising:
[0020] A receiving module, used to receive an account information processing request sent by a platform server in the platform server cluster, the account information processing request including: a transaction date, a transaction type and a verification mark of a target transaction;
[0021] A verification module, used to determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server;
[0022] The first determination module is used to determine the accounting date of the target transaction according to the transaction date and the local day-cut time if the date verification object is a calling terminal, so as to complete the accounting operation of the target transaction according to the accounting date.
[0023] Furthermore, the accounting information processing device further includes:
[0024] An acquisition module, used for acquiring the local system date if the date checking object is a called terminal;
[0025] The second determination module is used to determine the accounting date of the target transaction according to the system date and the local day cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0026] Furthermore, the first determining module includes:
[0027] a determination unit, configured to determine, based on the local day cut time and the transaction date, whether the time in the transaction date is less than or equal to the local day cut time, and if so, change the date in the transaction date to the previous day, and change the time in the transaction date to a preset end time;
[0028] The verification unit is used to use the changed transaction date as the accounting date corresponding to the target transaction.
[0029] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the accounting information processing method when executing the program.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon, which implement the accounting information processing method when the instructions are executed.
[0031] It can be seen from the above technical solution that the present application provides an accounting information processing method and device. The method includes: receiving an accounting information processing request sent by a platform server in a platform server cluster, the accounting information processing request including: the transaction date, transaction type and verification mark of the target transaction; determining whether to verify the accounting date of the target transaction according to the verification mark, and if so, determining the date verification object according to the transaction type and the preset transaction type and object relationship table, the preset transaction type and object relationship table is generated by the application distributed collaborative server and sent to each platform server; if the date verification object is a calling terminal, determining the accounting date of the target transaction according to the transaction date. and the local day-cut time to determine the accounting date of the target transaction, so as to complete the accounting operation of the target transaction according to the accounting date, which can improve the accuracy of the accounting date, and then improve the reliability of accounting processing, and improve the customer experience of handling business; specifically, it can avoid financial accounting imbalances caused by the heterogeneity of distributed systems, save labor costs, and by achieving consistent accounting dates, it can reduce the adverse effects of unbalanced accounting, the adverse effects on customers caused by inconsistent accounting times, and the errors in repayment business caused by inconsistent interest calculation dates, and can achieve significant results in production. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 It is a flowchart of the method for processing accounting information in an embodiment of the present application;
[0034] Figure 2 is a flowchart of an accounting information processing method in another embodiment of the present application;
[0035] Figure 3 It is a structural diagram of an accounting information processing device in an embodiment of the present application;
[0036] Figure 4 It is a structural diagram of the accounting information processing system in the application example of this application;
[0037] Figure 5 A schematic block diagram of the system structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] In the prior art, the following problems are likely to occur:
[0040] When the transferor date is different from the transferee date, the deduction time is different from the actual arrival time, and the date recorded in the receipt, text message, voucher and reconciliation details is different from the actual accounting date, it is easy to cause misunderstanding to customers and affect the customer experience. From a business perspective, it is necessary to explain the cause of the problem to the customer, which increases the workload of business personnel.
[0041] In the banking system based on the distributed platform, there are great changes in the daily cutting mode, account system and accounting mode. The series of operations that were originally performed with the host as the core now adopt the distributed deployment mode of the host + platform. There are great differences in data distribution, information interaction, transaction processing mode and other aspects; at the same time, this change has caused the problem of inconsistent daily cutting between the platform servers of financial institutions. At the accounting processing level, the original unified daily cutting mode of the host has been changed to a mode where the host and the platform are separated by daily cutting, which leads to inconsistent daily cutting time between applications, making it impossible to ensure the consistency of the system date of each platform. For example, if a transaction exists across platforms, the entry date crosses days, which is easy to cause a series of problems such as pending accounts, uneven total points, poor customer experience and incorrect external information. Therefore, in order to solve the problem of inconsistent dates between the borrower and the lender on the basis of ensuring the normal execution of business processing, the present application provides an account information processing method and device, which considers product application, account application and accounting application from multiple aspects to solve the problems of account accounting imbalance caused by system heterogeneity.
[0042] Based on this, in order to improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer's experience in handling business, the embodiment of the present application provides an accounting information processing device, which can be a server or a client device, and the client device can include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, and a smart wearable device, etc. Among them, the smart wearable device can include smart glasses, smart watches, and smart bracelets, etc.
[0043] In practical applications, the accounting part can be executed on the server side as described above, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.
[0044] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.
[0045] The server and the client device may communicate using any suitable network protocol, including network protocols that have not yet been developed on the date of filing this application. The network protocol may include, for example, TCP / IP protocol, UDP / IP protocol, HTTP protocol, HTTPS protocol, etc. Of course, the network protocol may also include, for example, RPC protocol (Remote Procedure Call Protocol) and REST protocol (Representational State Transfer) used on top of the above protocols.
[0046] It should be noted that the accounting information processing method and device disclosed in the present application can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application field of the accounting information processing method and device disclosed in the present application is not limited.
[0047] The details are described through the following embodiments.
[0048] In order to improve the accuracy of accounting dates, thereby improving the reliability of accounting processing and improving the customer experience in handling business, this embodiment provides an accounting information processing method in which the execution subject is an accounting information processing device, and the accounting information processing device includes but is not limited to a server, such as Figure 1 As shown, the method specifically includes the following contents:
[0049] Step 100: receiving an account information processing request sent by a platform server in a platform server cluster, the account information processing request including: a transaction date, a transaction type and a verification identifier of a target transaction.
[0050] Specifically, the platform server cluster may be a distributed platform server cluster, the account information processing device may be one of the platform servers, and different platform servers may be equipped with product applications, accounts, accounting and other applications; the transaction date includes date and time; the transaction type may include: account change, transfer and payment, etc.; when the platform server receives a transaction request sent by a front-end device, the system date of the platform server may be used as the transaction date. Each platform server may store a transaction type and verification mark relationship table, which includes the correspondence between the transaction type and the verification mark, and may be set according to actual needs, and this application does not impose any restrictions on this; the verification mark FLAG6 may be "0" or "1"; FLAG6 = "0", indicating verification of the accounting date, and if FLAG6 is "1", indicating non-verification of the accounting date. A distributed collaborative server may be used to generate a transaction type and verification mark relationship table and send it to each platform server.
[0051] Step 200: Determine whether to verify the accounting date of the target transaction based on the verification identifier. If so, determine the date verification object based on the transaction type and a preset transaction type and object relationship table. The preset transaction type and object relationship table is generated by a distributed collaborative server and sent to each platform server.
[0052] Specifically, the preset transaction type and object relationship table can be stored in the database of each platform server, including the correspondence between the transaction type and the date verification object. The application distributed collaborative server can be a ZooKeeper server; the date verification object includes: a calling terminal and a called terminal. The called terminal can refer to the platform server that issues an accounting information processing request, and the calling terminal can refer to the platform server that receives the accounting information processing request. In the transaction type and object relationship table, "0" can represent the calling terminal and "1" can represent the called terminal.
[0053] Step 300: If the date check object is a calling terminal, the accounting date of the target transaction is determined according to the transaction date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0054] In order to further improve the accounting efficiency, before step 200, it can also include: judging whether the date in the transaction date is the same as the date in the system date of the accounting information processing device; if so, determining the accounting date of the target transaction according to the transaction date and the local day cut time; otherwise, executing step 200.
[0055] Specifically, the local day-cut time can be set according to actual needs, and this application does not impose any restrictions on this; for example, if the transaction date is 00:00:01 on T day, and the local day-cut time is 00:00:05, then the accounting date of the target transaction is determined to be 23:59:59 on T-1 day.
[0056] From the above description, it can be seen that the accounting information processing method provided in this embodiment can improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer experience of handling business; further, it can also ensure the consistency of the verification rules in each platform server.
[0057] In terms of accounting processing, the original unified daily cutting mode of the host has been transformed into a separate daily cutting mode for each platform. The daily cutting between platforms may be inconsistent. Therefore, in order to ensure the consistency of the system date of each platform server and further improve the reliability of the accounting date, a distributed collaborative server can also be used to send the daily cutting instructions to each platform server at the same time, so that each platform server can complete the daily cutting and ensure the consistency of the daily cutting time of each platform server.
[0058] Specifically, the main solution to the problem of strong consistency of bank date cutting across platforms is actually the accounting problem. For example, there is an accounting transaction between two applications (such as transfer and remittance, etc.), one side corresponds to the debit side and the other side corresponds to the credit side. Both parties record their own processing process and compare the results of the two records. If they match, the account is balanced, otherwise the account is incorrect.
[0059] To further improve the reliability of accounting dates, see Figure 2 In one embodiment of the present application, after step 200, the method further includes:
[0060] Step 400: If the date checking object is a called terminal, the local system date is obtained.
[0061] Specifically, the local system date is the system date of the accounting information processing device. In this embodiment, the called terminal is the accounting information processing device.
[0062] Step 500: Determine the accounting date of the target transaction according to the system date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0063] For example, if the system date is 00:00:01 on T day and the day cut time is 00:00:05, the accounting date of the target transaction is determined to be 23:59:59 on T-1 day.
[0064] In order to further improve the reliability of the accounting date, in one embodiment of the present application, the step of determining the accounting date of the target transaction according to the transaction date and the local day-cut time in step 300 includes:
[0065] Step 301: Based on the local day cut time and the transaction date, determine whether the time in the transaction date is less than or equal to the local day cut time. If so, change the date in the transaction date to the previous day, and change the time in the transaction date to the preset end time.
[0066] Specifically, the preset end time can be set according to actual needs, and this application does not impose any restrictions on this. For example, the preset end time is set to 23:59:59.
[0067] Step 302: Use the changed transaction date as the accounting date corresponding to the target transaction.
[0068] In order to improve the efficiency of transmission and change of verification rules, in one embodiment of the present application, the accounting information processing method further includes:
[0069] If the preset transaction type and object relationship table are changed, the distributed collaborative server is used to send the change information to each platform server, so that each platform server updates its own checking rules according to the change information.
[0070] Specifically, the change may refer to addition or modification; the change information includes: the correspondence between the newly added or modified transaction type and the verification identifier.
[0071] In order to further improve the visualization of the accounting results and the accuracy of outputting the accounting results, after completing the accounting operation of the target transaction according to the accounting date, it also includes: outputting and displaying the accounting results.
[0072] Specifically, the accounting result may include: accounting date, transaction type and transaction amount, etc. The accounting result may be sent to the customer's terminal device, such as a mobile phone or computer, in the form of a text message or email.
[0073] From the software level, in order to improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer's experience in handling business, this application provides an embodiment of an accounting information processing device for implementing all or part of the contents of the accounting information processing method, see Figure 3 , the accounting information processing device specifically includes the following contents:
[0074] The receiving module 10 is used to receive an account information processing request sent by a platform server in the platform server cluster, and the account information processing request includes: a transaction date, a transaction type and a verification mark of a target transaction.
[0075] The verification module 20 is used to determine whether to verify the accounting date of the target transaction based on the verification identifier. If so, the date verification object is determined based on the transaction type and the preset transaction type and object relationship table. The preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server.
[0076] The first determination module 30 is used to determine the accounting date of the target transaction according to the transaction date and the local day-cut time if the date checking object is a calling terminal, so as to complete the accounting operation of the target transaction according to the accounting date.
[0077] In one embodiment of the present application, the accounting information processing device further includes:
[0078] The acquisition module is used to acquire the local system date if the date checking object is a called terminal.
[0079] The second determination module is used to determine the accounting date of the target transaction according to the system date and the local day cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0080] In one embodiment of the present application, the first determining module includes:
[0081] A determination unit is used to determine whether the time in the transaction date is less than or equal to the local day cut time based on the local day cut time and the transaction date. If so, the date in the transaction date is changed to the previous day, and the time in the transaction date is changed to a preset end time.
[0082] The verification unit is used to use the changed transaction date as the accounting date corresponding to the target transaction.
[0083] The embodiment of the accounting information processing device provided in this specification can be specifically used to execute the processing flow of the embodiment of the above-mentioned accounting information processing method. Its functions are not described in detail here, and reference can be made to the detailed description of the embodiment of the above-mentioned accounting information processing method.
[0084] To further illustrate this solution, this application provides an application example of an accounting system, see Figure 4 The system comprises:
[0085] Platform server cluster, front-end device and distributed collaborative server; the platform server cluster includes: multiple platform servers, and each platform server is connected to at least one other platform server; the distributed collaborative server is connected to each platform server; the front-end device is connected to the platform server. The front-end device can be a mobile phone or a POS machine. The platform server can deploy product applications, account applications, accounting applications, etc.
[0086] Product applications have the ability to solve specific business processing, ensuring that each business can be processed smoothly and closed-loop. In response to the different situations of various system differences, a complete optimization compensation mechanism can be provided to ensure the integrity and correctness of the business. At the same time, according to the characteristics of transaction business, clear requirements are put forward for the consistency of account debit and credit dates.
[0087] Account applications, combined with their own actual conditions, provide support for transaction dates and account dates, provide differentiated accounting processing capabilities, ensure the integrity of business rules and the correctness of accounting processing. And according to product application needs, support T-1 journals.
[0088] Accounting applications complete the accounting processing of business and ensure the balance of debits and credits for each business. Unbalanced debit and credit records in the accounts due to cross-date accounting and environmental factors are uniformly recorded in a dedicated hanging account and can be automatically cancelled.
[0089] Specifically, the calling terminal and the called terminal are connected in communication; the called terminal and the calling terminal can be platform servers in the above-mentioned platform server cluster; the calling terminal can refer to the platform server that sends the accounting information processing request. If the date sent by the calling terminal is inconsistent with the date sent by the called terminal, the following two modes can be used for date correction: the first mode, if the verification mark FLAG6 sent by the calling terminal is "1", the date of the called terminal shall prevail, and the date of the called terminal shall be used as the accounting date; the second mode, if FLAG6 is "0", the date of the calling terminal shall prevail, and the date of the calling terminal shall be used as the accounting date. Determine whether the accounting date T differs from the day-cut date by one day. If so, determine whether the accounting date exceeds the local day-cut time. If not, adjust the accounting date to T-1; after completing the accounting, return the accounting date to the calling terminal.
[0090] To further illustrate the present solution, the present application provides an application example of an accounting information processing method, including:
[0091] Step 1: Receive an account information processing request from a calling terminal.
[0092] Step 2: If the FLAG6 field in the accounting information processing request is "1", then the accounting date registration has no effect on the subsequent reconciliation operation. If the FLAG6 field sent is "0", then the accounting dates of the debit and credit parties must be kept strictly consistent.
[0093] Step 3: Determine whether to use the system time of the calling terminal or the system time of the called terminal as the unified time record.
[0094] Step 4: Complete the accounting operation corresponding to the accounting information processing request according to the unified time record.
[0095] The service component corresponding to the account information processing request in the called terminal may be applied to execute the account information processing method, and the service component corresponding to the account information processing request may be determined according to the transaction type in the account information processing request.
[0096] 1. For the TCC mode, if the TRY stage has been successful, in order to avoid failure in the CONFIRM stage, if the transaction requires strong consistency of the accounting date, the T-1 journal is supported in the CONFIRM stage of accounting processing. Since the accounting legality check has been carried out in the TRY stage, no relevant check is required in the CONFIRM stage. The on-site information on the T-1 day only needs to meet the correct accounting processing.
[0097] 2. For other modes, in order to reduce the suspended accounts caused by cross-dates or transaction errors caused by cross-dates, the accounting system should support T-1 day accounting as much as possible. Since the current platform daily cut interval is very short, the main reason for inconsistent accounting dates is accounting delay, so support for T+1 day accounting is not considered for the time being. If you want to support T-1 journals, in addition to balance information, you also need to retain information that satisfies the debit and credit T-1 journals; this mode only needs to retain the credit T-1 journal information.
[0098] In addition to achieving mandatory consistency in transaction dates, it is also possible to ensure that T-1 journal entries are kept to achieve account balance. The process of achieving T-1 journal entries specifically includes:
[0099] Set the T-1 day switch: Each account application controls this switch by itself, and it is turned on synchronously when the day is switched on every day, and turned off before the log parsing batch starts. When recording accounts, you need to determine the switch first. Only when the switch is on can the T-1 day account be recorded. Keep the T-1 day scene: When the account application processes the first transaction every day, the scene of the previous day's transaction is retained. Currently, each account application saves the previous day's balance information, and the scene information required for other T-1 day accounts needs to be determined. Support reverse interest processing: For T-1 journals, support one day's interest for customers, which is achieved by adjusting the interest field.
[0100] Furthermore, the accounting information processing method provided by this application example also includes:
[0101] 1) For the original transaction details or rollback details of the rollback process, whether it is a rollback on the same day or the next day, they are marked. On the one hand, when generating the reverse transaction and reversal transaction details, these two businesses will not be reflected in the business report to avoid affecting the business. If the accounting information processing method is based on the TCC mode, if the date check in the TRY stage has passed, but the accounting date exceeds the local day cut time, if the accounting request requires a date check, the accounting processing should support the processing of the T-1 day account to avoid the TRY success but actual accounting failure; for other modes, if the day cut time is exceeded when the rollback occurs, in order to avoid rollback failure, the FLAG6 field in the public communication area should be ignored in the rollback process. As long as the information of the positive transaction processing can be found, the rollback should be allowed to succeed.
[0102] 2) Currently, the SMS message is sent immediately after the account is recorded. This mode is fine when the host is processing, but under the distributed platform, the SMS sending mechanism needs to be optimized. The SMS can only be sent after ensuring that the funds are actually successfully credited.
[0103] 3) Accounting and customer service are processed using different dates. Accounting is based on the day-cut date, and customer service is based on the natural date. Customer service includes: interest calculation, repayment, loan repayment, bill processing, SMS processing and other services.
[0104] 4) When recording accounts, if the day-cut date is inconsistent with the natural date, record all accounting dates as 23:59:59 (delayed day-cut) or 00:00:01 (early day-cut). For example, if the day-cut time is 00:00:05, then the business that occurs after 0:00 and before the day-cut time will be recorded as 23:59:59 on the T day, and the time tag will still be recorded according to the natural date.
[0105] From the above description, it can be seen that the accounting information processing method and device provided by the present application can improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer's business experience; specifically, it can avoid financial accounting imbalances caused by the heterogeneity of distributed systems, save labor costs, and by achieving consistent accounting dates, it can reduce the adverse effects of unbalanced accounting, such as pending accounts, inconsistent accounting times, and errors in repayment business due to inconsistent interest calculation dates, and can achieve significant results in production.
[0106] From the hardware level, in order to improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer's experience in handling business, the present application provides an embodiment of an electronic device for implementing all or part of the contents of the accounting information processing method. The electronic device specifically includes the following contents:
[0107] A processor, a memory, a communications interface and a bus; wherein the processor, the memory and the communications interface communicate with each other through the bus; the communications interface is used to realize information transmission between the accounting information processing device and related devices such as user terminals; the electronic device can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the electronic device can be implemented with reference to the embodiments for realizing the accounting information processing method and the embodiments for realizing the accounting information processing device, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0108] Figure 5FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Figure 5 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Figure 5 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0109] In one or more embodiments of the present application, the accounting function may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
[0110] Step 100: receiving an account information processing request sent by a platform server in a platform server cluster, the account information processing request including: a transaction date, a transaction type and a verification identifier of a target transaction;
[0111] Step 200: Determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server;
[0112] Step 300: If the date check object is a calling terminal, the accounting date of the target transaction is determined according to the transaction date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0113] From the above description, it can be seen that the electronic device provided by the embodiment of the present application can improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer experience in handling business.
[0114] In another embodiment, the accounting information processing device may be configured separately from the central processing unit 9100. For example, the accounting information processing device may be configured as a chip connected to the central processing unit 9100, and the accounting function is implemented under the control of the central processing unit.
[0115] like Figure 5 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Figure 5 In addition, the electronic device 9600 may also include Figure 5 For components not shown, reference may be made to the prior art.
[0116] like Figure 5 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.
[0117] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0118] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0119] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0120] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0121] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0122] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0123] It can be seen from the above description that the electronic device provided by the embodiments of the present application can improve the accuracy of accounting dates, thereby improving the reliability of accounting processing and improving the customer experience in handling business.
[0124] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the accounting information processing method in the above embodiments. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps in the accounting information processing method in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0125] Step 100: receiving an account information processing request sent by a platform server in a platform server cluster, the account information processing request including: a transaction date, a transaction type and a verification identifier of a target transaction;
[0126] Step 200: Determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server;
[0127] Step 300: If the date check object is a calling terminal, the accounting date of the target transaction is determined according to the transaction date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
[0128] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application can improve the accuracy of the accounting date, thereby improving the reliability of accounting processing and improving the customer experience in handling business.
[0129] In this application, each embodiment of the above method is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For relevant parts, refer to the partial description of the method embodiment.
[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] Specific embodiments are used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core idea of this application. At the same time, for those skilled in the art, according to the idea of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.
Claims
1. A method for processing accounting information, characterized in that: include: Receiving an account information processing request sent by a platform server in a platform server cluster, the account information processing request including: a transaction date, a transaction type, and a verification identifier of a target transaction; Determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server; If the date check object is a calling terminal, the accounting date of the target transaction is determined according to the transaction date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date; The accounting information processing method further includes: The distributed collaborative server is used to send the daily switching instruction to each platform server at the same time, so that each platform server can complete the daily switching.
2. The accounting information processing method according to claim 1, characterized in that: Also includes: If the date check object is the called terminal, the local system date is obtained; The accounting date of the target transaction is determined according to the system date and the local day-cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
3. The accounting information processing method according to claim 1, characterized in that: Determining the accounting date of the target transaction according to the transaction date and the local day-cut time includes: According to the local day cut time and the transaction date, determine whether the time in the transaction date is less than or equal to the local day cut time, and if so, change the date in the transaction date to the previous day, and change the time in the transaction date to the preset end time; The changed transaction date is used as the accounting date corresponding to the target transaction.
4. The accounting information processing method according to claim 1, characterized in that: Also includes: If the preset transaction type and object relationship table are changed, the distributed collaborative server is used to send the change information to each platform server, so that each platform server updates its own checking rules according to the change information.
5. The accounting information processing method according to claim 1, characterized in that: After completing the accounting operation of the target transaction according to the accounting date, the method further includes: Output the accounting results.
6. An accounting information processing device, characterized in that: include: A receiving module, used to receive an account information processing request sent by a platform server in the platform server cluster, the account information processing request including: a transaction date, a transaction type and a verification mark of a target transaction; A verification module, used to determine whether to verify the accounting date of the target transaction according to the verification identifier, and if so, determine the date verification object according to the transaction type and a preset transaction type and object relationship table, wherein the preset transaction type and object relationship table is generated by the distributed collaborative server and sent to each platform server; A first determination module, for determining the accounting date of the target transaction according to the transaction date and the local day-cut time if the date check object is a calling terminal, so as to complete the accounting operation of the target transaction according to the accounting date; The account information processing device is also used for: The distributed collaborative server is used to send the daily switching instruction to each platform server at the same time, so that each platform server can complete the daily switching.
7. The accounting information processing device according to claim 6, characterized in that: Also includes: An acquisition module, used for acquiring the local system date if the date checking object is a called terminal; The second determination module is used to determine the accounting date of the target transaction according to the system date and the local day cut time, so as to complete the accounting operation of the target transaction according to the accounting date.
8. The accounting information processing device according to claim 6, characterized in that: The first determining module includes: a determination unit, configured to determine, based on the local day cut time and the transaction date, whether the time in the transaction date is less than or equal to the local day cut time, and if so, change the date in the transaction date to the previous day, and change the time in the transaction date to a preset end time; The verification unit is used to use the changed transaction date as the accounting date corresponding to the target transaction.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the accounting information processing method according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed, the accounting information processing method described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Distributive system daily switching cooperative processing method and system
CN111369333A