Data processing method, device, electronic device and storage medium

By caching the modification or deletion of original transactions during accounting processing, and processing them in order after the end of the period, the problem of difficulty in supporting 7*24-hour transactions during cross-sectional data processing is solved, and business real-time and data integrity are achieved. balance.

CN113947490BActive Publication Date: 2025-01-21CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111262183.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2025-01-21
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

The prior art is difficult to support 7*24-hour transactions during cross-sectional data processing, especially when there are multiple zippered application scenarios for pre-registered tasks, contracts or accounts.

Method used

By pre-existing in the pre-registration task buffer table during the accounting processing period, the business that modifies or deletes the original transaction is cached, and is processed in the order in which the business is added after the accounting processing period.

Benefits of technology

It is possible to continue receiving business during cross-section data processing without affecting cross-section data processing, and supports 7*24 hours of transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113947490B_ABST
    Figure CN113947490B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data analysis technology, and discloses a data processing method, device, electronic device and storage medium, which support 7*24 hours trading during cross-sectional data processing. In the embodiment of the present application, the type of business corresponding to the received user operation is first determined; if the type of business is a type of modification of the original transaction or a type of deletion of the original transaction, the type of the current business processing period is determined; if the type of the current business processing period is an accounting processing period, the business is pre-stored in a pre-registration task buffer table; after the accounting processing period ends, the business in the pre-registration task buffer table is processed according to the order in which the business is added in the pre-registration task buffer table. 7*24 hours trading is achieved by this method.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the industry, related technologies use a combination of main tables and snapshot tables to achieve 7x24-hour trading point cross-sectional data processing. Other methods use a method of prohibiting transactions during cross-sectional data processing to achieve cross-sectional data processing; however, the combination of main tables and snapshot tables mainly provides a cross-sectional mechanism for a single balance of a contract or account itself, and does not support pre-registration tasks, contracts or accounts with multiple zipper-like application scenarios. Prohibiting transactions during cross-sectional data processing does not enable 7*24-hour trading. Summary of the invention

[0003] The purpose of this application is to provide a data processing method, device, electronic device and storage medium for supporting 7*24 hours trading during cross-sectional data processing.

[0004] In a first aspect, an embodiment of the present application provides a method for data processing, including:

[0005] Determine the type of service corresponding to the received user operation;

[0006] If the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction, then determining the type of the current business processing period;

[0007] If the type of the current business processing period is an accounting processing period, pre-storing the business in a pre-registered task buffer table;

[0008] After the accounting processing period ends, the businesses in the pre-registered task buffer table are processed according to the order in which the businesses are added to the pre-registered task buffer table.

[0009] In an embodiment of the present application, by caching the business of modifying or deleting the original transaction that occurs during the accounting processing, the processing of the cross-sectional data will not be affected. At the same time, the business can continue to be received during the cross-sectional data processing, thereby realizing data cross-sectional processing that supports 7*24 hours of transactions.

[0010] In some possible embodiments, after determining the type of the received service, the method further includes:

[0011] If the type of the business is a new transaction type, or the type of the current business processing period is a non-accounting processing period, the business is stored in a pre-registered task table; and the business in the pre-registered task table is processed.

[0012] In the embodiment of the present application, since the newly added transaction will not affect the original transaction, when the business type is a new transaction, it is directly stored in the pre-registration task table and processed, ensuring the real-time processing of the business.

[0013] In some possible embodiments, processing the services in the pre-registered task buffer table according to the order in which the services are added in the pre-registered task buffer table includes:

[0014] According to the order in which the services in the pre-registration task buffer table are added, the services in the pre-registration task buffer table are added to the pre-registration task table in sequence;

[0015] Process the services in the pre-registered task list.

[0016] In the embodiment of the present application, all business generated during the non-accounting processing period is stored in the pre-registered task table and processed, ensuring the real-time nature of the business.

[0017] In some possible embodiments, processing the services in the pre-registered task table includes:

[0018] Perform accounting processing on the business and generate accounting results corresponding to the business.

[0019] In the embodiment of the present application, for each business, an accounting result is generated after the processing is completed so that users and technicians can view it.

[0020] In some possible embodiments, after generating the accounting result corresponding to the business, the method further includes:

[0021] Based on the accounting results, an accounting result table is generated; the accounting result table stores the accounting results of all businesses occurring during the accounting process.

[0022] In the embodiment of the present application, by summarizing all the business operations occurring during the accounting process in an accounting result table, it is convenient for technical personnel to check and make corrections in a timely manner.

[0023] In a second aspect, the present application further provides a data processing device, the device comprising:

[0024] A receiving module, used to determine the type of service corresponding to the received user operation;

[0025] A business processing period determination module, used to determine the type of the current business processing period if the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction;

[0026] A registration module, configured to pre-store the business in a pre-registration task buffer table if the type of the current business processing period is an accounting processing period;

[0027] The business processing module is used to process the business in the pre-registered task buffer table according to the order in which the business is added to the pre-registered task buffer table after the accounting processing period ends.

[0028] In some possible embodiments, after determining the type of the received service, the receiving module is further configured to:

[0029] If the type of the business is a new transaction type, or the type of the current business processing period is a non-accounting processing period, the business is stored in a pre-registered task table; and the business in the pre-registered task table is processed.

[0030] In some possible embodiments, when the service processing module processes the services in the pre-registered task buffer table according to the order in which the services are added in the pre-registered task buffer table, it is configured as follows:

[0031] According to the order in which the services in the pre-registration task buffer table are added, the services in the pre-registration task buffer table are added to the pre-registration task table in sequence;

[0032] Process the services in the pre-registered task list.

[0033] In some possible embodiments, when the service processing module executes the service in the pre-registered task table, it is configured to:

[0034] Perform accounting processing on the business and generate accounting results corresponding to the business.

[0035] In some possible embodiments, after the business processing module generates an accounting result corresponding to the business, it is further configured to:

[0036] Based on the accounting results, an accounting result table is generated; the accounting result table stores the accounting results of all businesses occurring during the accounting process.

[0037] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to 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 so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.

[0038] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.

[0039] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced 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 creative work.

[0041] Figure 1 An application scenario diagram of a data processing method provided in an embodiment of the present application;

[0042] Figure 2A An overall flow chart of a data processing method provided in an embodiment of the present application;

[0043] Figure 2B A pre-registered task buffer representation diagram of a data processing method provided in an embodiment of the present application;

[0044] Figure 3A A flowchart of a business process of a data processing method provided in an embodiment of the present application;

[0045] Figure 3B An overall flow chart of a data processing method provided in an embodiment of the present application;

[0046] Figure 3C A pre-registration task representation diagram of a data processing method provided in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of an electronic device for a data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0051] For ease of understanding, the terms used in this application are first explained:

[0052] 7x24 trading: refers to transactions occurring continuously and uninterruptedly.

[0053] Cross-sectional balance at a certain point in time: refers to the cross-sectional data of a contract or account at a certain point in time. Cross-sectional data: data of different entities at the same point in time;

[0054] Contract master table: refers to the main file data of contracts or accounts.

[0055] Contract master table snapshot: refers to the snapshot data of the contract or account master file.

[0056] Pre-registration: For matters that need to be processed, they are registered first and then processed centrally.

[0057] Business Day: refers to the day that a bank counts the transactions after they occur.

[0058] Business day switch: refers to the switch from the current business day to the next business day.

[0059] Accounting date: refers to the accounting date used by the bank to calculate transactions after they occur.

[0060] Accounting date switching: refers to the switch from the current accounting date to the next accounting date.

[0061] The inventors have found that in the industry, the relevant technologies use a combination of main tables and snapshot tables to achieve 7x24-hour trading point cross-sectional data processing, and some other methods use the method of prohibiting transactions during cross-sectional data processing to achieve cross-sectional data processing; however, the combination of main tables and snapshot tables mainly provides a cross-sectional mechanism for a single balance of a contract or account itself, and cannot well support pre-registered tasks, contracts or accounts with multiple zipper-like application scenarios. Prohibiting transactions during cross-sectional data processing cannot achieve 7*24-hour trading;

[0062] In view of this, the present application proposes a data processing method, device, electronic device and storage medium for solving the above problems. The inventive concept of the present application can be summarized as follows: for the modification or deletion of the original transaction generated during the accounting processing period, it is first stored in the pre-registration task buffer table and then processed after the accounting processing period ends.

[0063] In order to facilitate understanding of the data processing method proposed in the embodiment of the present application, the data processing method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings:

[0064] like Figure 1 , which is an application scenario diagram of the data processing method in the embodiment of the present application. The diagram includes: a network 10, a server 20, a storage 30, and a terminal device 40;

[0065] The server 20 determines the service type corresponding to the user operation triggered by the user in the terminal device 40. If the service is a type of modifying or deleting the original transaction and it is the accounting processing period, the service is pre-stored in the pre-registration task buffer table. After the accounting processing period ends, the service in the pre-registration task buffer table is processed. The pre-registration task buffer table is stored in the memory 30.

[0066] The description in this application only details a single server or terminal device, but those skilled in the art should understand that the terminal device 40, server 20 and memory 30 shown are intended to represent the operations of the terminal device, server and memory involved in the technical solution of this application. The detailed description of a single server and memory is at least for the convenience of explanation, and does not imply any limitation on the number, type or location of terminal devices and servers. It should be noted that adding additional modules to the illustrated environment or removing individual modules from it does not change the underlying concepts of the example embodiments of this application. In addition, although for the convenience of explanation, Figure 1 A bidirectional arrow from the storage 30 to the server 20 is shown in the figure, but those skilled in the art can understand that the sending and receiving of the above data also needs to be implemented through the network 10.

[0067] It should be noted that the memory in the embodiment of the present application may be, for example, a cache system, a hard disk storage, a memory storage, etc. In addition, the data processing method proposed in the present application is not only applicable to Figure 1 The application scenario shown is also applicable to any device with data processing requirements.

[0068] The overall process of the data processing method provided in the embodiment of the present application is described in detail below. Figure 2A As shown:

[0069] In step 201: determining the type of service corresponding to the received user operation;

[0070] In step 202: if the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction, then the type of the current business processing period is determined;

[0071] In step 203: if the type of the current business processing period is an accounting processing period, the business is pre-stored in the pre-registered task buffer table;

[0072] In step 204: after the accounting processing period ends, the businesses in the pre-registered task buffer table are processed according to the order in which the businesses were added to the pre-registered task buffer table.

[0073] In some embodiments, the user operation can be a transfer, remittance and other operations for the original transaction, or it can be an operation such as card opening. If the user operation is for the original transaction, it can be performed on the smart terminal; if the user operation is to open a card, that is, to add a new transaction, it is necessary to handle the new transaction in the business hall.

[0074] In the embodiment of the present application, the business types are divided into: adding new transactions, modifying existing transactions, and deleting. Among them: modifying existing transactions is divided into transfer, remittance, and collection according to user operations, that is, the amount of the original transaction is processed; for adding new transactions, it means that the user has no transaction information on the current business processing platform, and the user needs to open a card before performing other operations; for deleting transactions, it means that the user wants to delete the existing transaction, that is, the cancellation operation. After the user cancels the transaction on the current business processing platform, the transaction can no longer be operated.

[0075] In this application, in order to determine the cross-sectional data of the business of the current business processing platform, the business processing period is divided into an accounting processing period and a non-accounting processing period. The accounting processing period is the time period for generating cross-sectional data for the business accounting processing. New transactions during this period will not affect the cross-sectional data. Therefore, if the received business type is the type of new transaction, the business can be stored in the pre-registration task table and then processed. Of course, the business generated during the non-accounting processing period can be directly added to the pre-registration task table and then processed.

[0076] For example: Figure 2BAs shown, the user transferred an existing transaction at 23:00 on September 8, but the accounting processing period of the system is from 22:00 to 24:00. If the user's transfer application is processed at this time, it will affect the cross-sectional data on September 8. Therefore, in this application, the user's transfer application needs to be saved in the pre-registration task cache table first, and then the user's transfer application is processed after 24:00. If multiple transfer transactions occur between 22:00 and 24:00, the transactions are stored in the pre-registration task cache table in order according to the time when these transactions occurred.

[0077] In the embodiment of the present application, since the business accounting processing can only occur based on the pre-registration task table, in the present application, in order to facilitate the processing of the business in the pre-registration task buffer table, when processing the data in the pre-registration task buffer table, first add the business in the pre-registration task buffer table to the pre-registration task table, and then process it in the same way as the business in the pre-registration task table.

[0078] The following is a detailed description of the business in the pre-registration task table. Figure 3A As shown:

[0079] In step 301: switch the business day to the current date;

[0080] In the embodiment of the present application, in order to clearly determine the date on which the business occurred, it is necessary to switch the business day to the current date before performing accounting processing on the tasks in the pre-registered task table. For example: before starting to process the business on September 18, first check whether the current business day is September 18. If the current business day is September 17, then the business day needs to be switched to September 18.

[0081] In step 302: accounting processing is performed on the tasks in the pre-registered task table;

[0082] In step 303: generating corresponding accounting results;

[0083] In step 304: generating an accounting result table according to the accounting result;

[0084] In the embodiment of the present application, in order to facilitate the technical personnel to summarize and search for the business of the day, an accounting result table is generated according to the accounting results of each business.

[0085] After the business processing of the day is completed, the business that occurs again belongs to the business of the next day. In order to accurately determine the accounting date of the business, it is necessary to switch the current accounting date to the next accounting date in step 305. For example, if the business on September 18 has been processed, the accounting date is switched to September 19 to accurately record the time of the business processing on the next day.

[0086] For ease of understanding, a data processing method proposed in an embodiment of the present application is described in detail below. Figure 3B As shown:

[0087] In step 311: switch the business day to the current date;

[0088] In step 312: determine whether the type of the business corresponding to the received user operation is a new transaction, if it is a new transaction, proceed to step 313, otherwise proceed to step 314;

[0089] In step 313: adding the service to the pre-registration task list;

[0090] In step 314: add the service to the pre-registration task buffer table:

[0091] In step 315: performing accounting processing on the tasks in the pre-registered task table and generating corresponding accounting results;

[0092] In step 316: generating an accounting result table according to the accounting result;

[0093] In step 317: switching the current accounting date to the next accounting date;

[0094] In step 318: determine whether the accounting processing period is ended, if it is ended, proceed to step 313.

[0095] The above-mentioned accounting date switching and business date switching are both performed once a day, that is, before starting business processing every day, the business day is switched to the current date. After completing the tasks in the pre-registration task table, the accounting date is switched to the next accounting date.

[0096] In some possible embodiments, the switching time of the business day is 8 o'clock in the morning. When processing the business on September 8, the business day is first switched to September 8, and then the tasks in the pre-registration task table are processed. At this time, the pre-registration task table may record multiple tasks. For this situation, the processing status is determined according to the time and business day when each business is added to the pre-registration task table, such as Figure 3CAs shown, for example: Business A is the business that occurred at 23:00 on September 7, Business B is the business that occurred at 6:00 on September 8, and Business C is the business that occurred at 8:00 on September 8; if the business is processed only according to time at this time, Business B should be processed first, but Business A occurs earlier than Business B. Therefore, in this case, the business days of Business A and Business B should be determined first, and then the time for Business A and Business B to be added should be determined. This method can clearly determine the time for each business to be added to the pre-registration task list, so that technical personnel can perform accounting processing according to the time when each business is added.

[0097] like Figure 4 As shown, based on the same inventive concept, a data processing device 400 is proposed, comprising:

[0098] Receiving module 4001, used to determine the type of service corresponding to the received user operation;

[0099] The business processing period determination module 4002 is used to determine the type of the current business processing period if the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction;

[0100] A registration module 4003, configured to pre-store the business in a pre-registration task buffer table if the type of the current business processing period is an accounting processing period;

[0101] The business processing module 4004 is used to process the business in the pre-registered task buffer table according to the order in which the business is added to the pre-registered task buffer table after the accounting processing period ends.

[0102] In some possible embodiments, after determining the type of the received service, the receiving module is further configured to:

[0103] If the type of the business is a new transaction type, or the type of the current business processing period is a non-accounting processing period, the business is stored in a pre-registration task table; and the pre-registration task table is processed.

[0104] In some possible embodiments, when the service processing module processes the services in the pre-registered task buffer table according to the order in which the services are added in the pre-registered task buffer table, it is configured as follows:

[0105] According to the order in which the services in the pre-registration task buffer table are added, the services in the pre-registration task buffer table are added to the pre-registration task table in sequence;

[0106] Process the services in the pre-registered task list.

[0107] In some possible embodiments, when the service processing module executes the service in the pre-registered task table, it is configured to:

[0108] Perform accounting processing on the business and generate accounting results corresponding to the business.

[0109] In some possible embodiments, after the business processing module generates an accounting result corresponding to the business, it is further configured to:

[0110] Based on the accounting results, an accounting result table is generated; the accounting result table stores the accounting results of all businesses occurring during the accounting process.

[0111] After introducing the data processing method and device according to the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.

[0112] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.

[0113] In some possible implementations, the electronic device according to the present application may include at least one processor and at least one memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the data processing method according to various exemplary implementations of the present application described above in this specification.

[0114] Refer to the following Figure 5 The electronic device 130 according to this embodiment of the present application is described. Figure 5 The electronic device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0115] like Figure 5 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).

[0116] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.

[0117] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .

[0118] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0119] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0120] In some possible implementations, various aspects of a data processing method provided by the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a data processing method according to various exemplary implementations of the present application described above in this specification.

[0121] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0122] The program product for data processing of the embodiment of the present application can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on an electronic device. However, the program product of the present application is not limited to this. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, an apparatus or a device or used in combination with it.

[0123] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein readable program code is carried. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0124] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user electronic device, partially on the user device, as an independent software package, partially on the user electronic device and partially on the remote electronic device, or entirely on the remote electronic device or server. In the case of a remote electronic device, the remote electronic device can be connected to the user electronic device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external electronic device (for example, using an Internet service provider to connect through the Internet).

[0125] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0126] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

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

[0128] 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 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 produce 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.

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

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

[0131] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data processing method, characterized in that: The method comprises: Determine the type of service corresponding to the received user operation; If the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction, then determining the type of the current business processing period; If the type of the current business processing period is an accounting processing period, the business is pre-stored in the pre-registered task buffer table; wherein the accounting processing period is the time period for generating cross-sectional data for accounting processing of the business; After the accounting processing period ends, the businesses in the pre-registration task buffer table are added to the pre-registration task table in sequence according to the order in which the businesses in the pre-registration task buffer table are added, and the businesses in the pre-registration task table are processed; After determining the type of the received service, the method further includes: If the type of the business is a newly added transaction type, or the type of the current business processing period is a non-accounting processing period, the business is stored in the pre-registered task table; Process the business in the pre-registered task table.

2. The method according to claim 1, characterized in that Processing the business in the pre-registration task table includes: Perform accounting processing on the business and generate accounting results corresponding to the business.

3. The method according to claim 2, characterized in that After generating the accounting result corresponding to the business, the method further includes: Based on the accounting results, an accounting result table is generated; the accounting result table stores the accounting results of all businesses occurring during the accounting process.

4. A data processing device, characterized in that: The device comprises: A receiving module, used to determine the type of service corresponding to the received user operation; A business processing period determination module, used to determine the type of the current business processing period if the type of the business is a type of modifying an existing transaction or a type of deleting an existing transaction; A registration module, for pre-storing the business in a pre-registered task buffer table if the type of the current business processing period is an accounting processing period; wherein the accounting processing period is a time period for generating cross-sectional data for accounting processing of the business; A business processing module, for, after the end of the accounting processing period, sequentially adding the businesses in the pre-registration task buffer table to the pre-registration task table according to the order in which the businesses in the pre-registration task buffer table are added, and processing the businesses in the pre-registration task table; After the receiving module determines the type of the received service, it is further configured to: If the type of the business is a new transaction type, or the type of the current business processing period is a non-accounting processing period, the business is stored in a pre-registered task table; and the business in the pre-registered task table is processed.

5. The device according to claim 4, characterized in that When the business processing module executes and processes the business in the pre-registered task table, it is configured to: Perform accounting processing on the business and generate accounting results corresponding to the business.

6. The device according to claim 5, characterized in that After the business processing module generates an accounting result corresponding to the business, it is further configured to: Based on the accounting results, an accounting result table is generated; the accounting result table stores the accounting results of all businesses occurring during the accounting process.

7. An electronic device, characterized in that: It includes at least one processor; and a memory communicatively connected to 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 so that the at least one processor can execute the method described in any one of claims 1-3.

8. A computer storage medium, characterized in that The computer storage medium stores a computer program, and the computer program is used to enable a computer to execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Buffer bookkeeping method and device

    CN101620703A

  • Data processing method and system

    CN110610414A