CN113947490A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113947490A
CN113947490A CN202111262183.0A CN202111262183A CN113947490A CN 113947490 A CN113947490 A CN 113947490A CN 202111262183 A CN202111262183 A CN 202111262183A CN 113947490 A CN113947490 A CN 113947490A
Authority
CN
China
Prior art keywords
service
processing
type
accounting
registered task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111262183.0A
Other languages
Chinese (zh)
Inventor
杨志勇
黄莉淇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111262183.0A priority Critical patent/CN113947490A/en
Publication of CN113947490A publication Critical patent/CN113947490A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to the technical field of data analysis, and discloses a data processing method, a data processing device, electronic equipment and a storage medium, wherein 7 × 24 hours of transaction is supported during cross-section data processing. In the embodiment of the application, firstly, the type of the service corresponding to the received user operation is determined; if the type of the service is a type for modifying the original transaction or a type for deleting the original transaction, determining the type of the current service processing period; if the type of the current service processing period is the accounting processing period, the service is pre-stored in a pre-registered task buffer table; and after the accounting processing period is finished, processing the services in the pre-registered task buffer table according to the adding sequence of the services in the pre-registered task buffer table. 7x24 hours of transactions were achieved by this method.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data analysis technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
In the industry, in the related art, a main table and a snapshot table are combined to realize the processing of 7 × 24-hour transaction time section data, and in other methods, the transaction is prohibited during the processing of the section data to realize the processing of the section data; however, the mode of combining the main table and the snapshot table is mainly a section mechanism provided for a single balance of a contract or an account, and cannot be well supported by a plurality of zipper-type application scenes existing for a pre-registration task, the contract or the account. Disabling transactions during cross-sectional data processing does not allow for 7x24 hour transactions.
Disclosure of Invention
An object of the present application is to provide a data processing method, apparatus, electronic device and storage medium for supporting 7 × 24 hours of transactions during cross-sectional data processing.
In a first aspect, an embodiment of the present application provides a data processing method, including:
determining the type of a service corresponding to the received user operation;
if the type of the service is a type for modifying the original transaction or a type for deleting the original transaction, determining the type of the current service processing period;
if the type of the current service processing period is an accounting processing period, pre-storing the service in a pre-registered task buffer table;
and after the accounting processing period is finished, processing the services in the pre-registered task buffer table according to the sequence of service addition in the pre-registered task buffer table.
In the embodiment of the application, the service for modifying or deleting the original transaction occurring during the accounting processing period is cached, so that the processing of the section data is not influenced, and meanwhile, the service can be continuously received during the processing of the section data, and the data section processing supporting 7 × 24 hours of transaction is realized.
In some possible embodiments, after determining the type of the received traffic, the method further includes:
if the type of the service is the type of the newly added transaction or the type of the current service processing period is the non-accounting processing period, storing the service in a pre-registered task table; and processing the services in the pre-registered task list.
In the embodiment of the application, because the new transaction does not affect the original transaction, when the service type is the new transaction, the new transaction is directly stored in the pre-registered task table and processed, so that the real-time performance of service processing is ensured.
In some possible embodiments, the processing the services in the pre-registered task buffer table according to the order of adding the services in the pre-registered task buffer table includes:
adding the services in the pre-registered task buffer table to the pre-registered task table in sequence according to the order of adding the services in the pre-registered task buffer table;
and processing the service in the pre-registered task list.
In the embodiment of the application, the businesses generated during non-accounting processing are all stored in the pre-registered task table and processed, so that the real-time performance of the businesses is guaranteed.
In some possible embodiments, processing the traffic in the pre-registered task table includes:
and carrying out accounting processing on the business and generating an accounting result corresponding to the business.
In the embodiment of the application, for each service, after the processing is finished, an accounting result is generated to be conveniently viewed by a user and a technician.
In some possible embodiments, after generating the accounting result corresponding to the business, the method further includes:
generating an accounting result table based on the accounting result; the accounting result table stores accounting results of all transactions occurring during accounting processing.
In the embodiment of the application, all the business occurring during the accounting processing is gathered in the accounting result table, so that the technical personnel can conveniently check and correct in time.
Second aspect the present application also provides a data processing apparatus, comprising:
the receiving module is used for determining the type of the service corresponding to the received user operation;
the service processing period determining module is used for determining the type of the current service processing period if the type of the service is the type of modifying the original transaction or the type of deleting the original transaction;
the registration module is used for pre-storing the service in a pre-registration task buffer table if the type of the current service processing period is an accounting processing period;
and the service processing module is used for processing the services in the pre-registered task buffer table according to the adding sequence of the services in the pre-registered task buffer table after the accounting processing period is finished.
In some possible embodiments, after determining the type of the received service, the receiving module is further configured to:
if the type of the service is the type of the newly added transaction or the type of the current service processing period is the non-accounting processing period, storing the service in a pre-registered task table; and processing the services in the pre-registered task list.
In some possible embodiments, the service processing module, when executing processing the services in the pre-registered task buffer table according to the order of service addition in the pre-registered task buffer table, is configured to:
adding the services in the pre-registered task buffer table to the pre-registered task table in sequence according to the order of adding the services in the pre-registered task buffer table;
and processing the service in the pre-registered task list.
In some possible embodiments, the service processing module, when executing processing the service in the pre-registered task table, is configured to:
and carrying out accounting processing on the business and generating an accounting result corresponding to the business.
In some possible embodiments, after the business processing module performs generating the accounting result corresponding to the business, the business processing module is further configured to:
generating an accounting result table based on the accounting result; the accounting result table stores accounting results of all transactions occurring during accounting processing.
In a third aspect, another embodiment of the present application further provides an electronic device, including at least one processor; and a memory communicatively coupled 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 to enable the at least one processor to perform any one of the methods provided by the embodiments of the first aspect of the present application.
In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program is configured to cause a computer to execute any one of the methods provided in the first aspect of the present application.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an application scenario diagram of a data processing method according to an embodiment of the present application;
fig. 2A is an overall flowchart of a data processing method according to an embodiment of the present application;
fig. 2B is a schematic diagram of a pre-registered task buffer table of a data processing method according to an embodiment of the present application;
fig. 3A is a flowchart of service processing of a data processing method according to an embodiment of the present application;
fig. 3B is an overall flowchart of a data processing method according to an embodiment of the present application;
fig. 3C is a pre-registration task representation intention of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a data processing method according to an embodiment of the present application;
fig. 5 is a schematic view of an electronic device according to a data processing method provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It is noted that the terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences 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. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
For ease of understanding, the terms used in this application are first explained:
7x24 trade: meaning that the transaction occurs continuously.
Time point section balance: refers to cross-sectional data of a contract or account at a certain point in time. Section data: data of different subjects at the same point in time;
contract master table: contract or account master profile data.
Contract master table snapshot: refers to snapshot data of a contract or account master.
Pre-registration: for the items needing to be processed, the processes of registering first and then centralizing are adopted.
Business day: which day the business is counted after the business occurs inside the bank.
Switching business days: the switching from the current business day to the next business day.
Accounting date: which accounting date is included after the business occurs in the bank.
Switching accounting dates: from the current accounting date to the next accounting date.
The inventor researches and discovers that in the industry, in the related art, the main table and the snapshot table are combined to realize the processing of the cross-section data at the time point of 7x24 hours of transaction, and in other methods, the transaction is prohibited during the processing of the cross-section data to realize the processing of the cross-section data; however, the mode of combining the main table and the snapshot table is mainly a section mechanism provided for a single balance of a contract or an account, and cannot be well supported by a plurality of zipper-type application scenes existing for a pre-registration task, the contract or the account. Disabling transactions during cross-sectional data processing does not allow 7x24 hour transactions;
in view of the above, the present application provides a data processing method, an apparatus, an electronic device and a storage medium, which are used to solve the above problems. The inventive concept of the present application can be summarized as follows: the modification or deletion of the business generated during the accounting process and aiming at the original transaction is pre-stored in a pre-registered task buffer table and then processed after the accounting process is finished.
In order to facilitate understanding of the data processing method provided in the embodiment of the present application, the following detailed description is made with reference to the accompanying drawings:
fig. 1 is a diagram of an application scenario of the data processing method in the embodiment of the present application. The figure includes: network 10, server 20, storage 30, terminal device 40;
the server 20 determines the type of the service corresponding to the user operation triggered by the received user in the terminal device 40, and if the service is a type of modifying or deleting the original transaction and is in the accounting processing period, pre-stores the service in the pre-registered task buffer table, and processes the service in the pre-registered task buffer table after the accounting processing period is finished. Wherein the pre-registered task buffer table is stored in the memory 30.
Only a single server or terminal device is detailed in the description of the present application, but it will be understood by those skilled in the art that the terminal device 40, the server 20 and the memory 30 shown are intended to represent the operations of the terminal device, the server and the memory involved in the technical solutions of the present application. The individual servers and memories are described in detail for convenience of illustration only and are not meant to imply limitations on the number, type, or location of end devices and servers. It should be noted that the underlying concepts of the example embodiments of the present application may not be altered if additional modules are added or removed from the illustrated environments. In addition, although fig. 1 shows a bidirectional arrow from the memory 30 to the server 20 for convenience of explanation, it will be understood by those skilled in the art that the above-described data transmission and reception also need to be implemented through the network 10.
It should be noted that the storage in the embodiment of the present application may be, for example, a cache system, or may also be a hard disk storage, a memory storage, and the like. In addition, the data processing method provided by the application is not only suitable for the application scenario shown in fig. 1, but also suitable for any device with data processing requirements.
The following describes an overall flow of the data processing method provided in the embodiment of the present application in detail, as shown in fig. 2A:
in step 201: determining the type of a service corresponding to the received user operation;
in step 202: if the type of the service is a type for modifying the original transaction or a type for deleting the original transaction, determining the type of the current service processing period;
in step 203: if the type of the current service processing period is the accounting processing period, the service is pre-stored in a pre-registered task buffer table;
in step 204: and after the accounting processing period is finished, processing the services in the pre-registered task buffer table according to the adding sequence of the services in the pre-registered task buffer table.
In some embodiments, the user operation may be an operation such as transfer, remittance, or an operation such as opening a card, which is performed for the original transaction, and if the user operation is performed for the original transaction, the user operation may be performed at the intelligent terminal; if the user operates to open the card, namely, to add a new transaction, the new transaction needs to be transacted in the service hall.
In the embodiment of the present application, the service types are: adding new transaction, modifying and deleting the original transaction. Wherein: the original transaction is modified and divided into account transfer, remittance and collection according to the user operation, namely the original transaction is processed on the amount; aiming at the newly added transaction, namely that the user does not have transaction information on the current service processing platform, the user needs to open the card, and then other operations are carried out; and aiming at the deletion transaction, the user wants to delete the existing transaction, namely logout operation is performed, and the transaction can not be operated any more after the user logs out the transaction of the current service processing platform.
In order to determine the cross-section data of the service of the current service processing platform, the service processing period is divided into an accounting processing period and a non-accounting processing period, the accounting processing period is a time period for accounting processing of the service to generate the cross-section data, and a newly added transaction does not affect the cross-section data. Of course, the traffic generated during non-accounting processing may be added directly to the pre-registered task list and then processed.
For example: as shown in FIG. 2B, the user transfers the original transaction at 23 o ' clock 9.8, but the accounting period of the system is 22 o ' clock to 24 o ' clock, and if the user's transfer application is processed at this time, the section data of 9.8 is affected, so in the present application, the user's transfer application needs to be saved in the pre-registration task cache table, and then the user's transfer application needs to be processed after 24 o ' clock. If multiple transfer transactions occur between 22 and 24, the transactions are stored in the pre-registration task cache table in sequence according to the time when the transactions occur.
In the embodiment of the present application, since the accounting processing for the business account can only occur based on the pre-registered task table, in order to facilitate the processing of the business in the pre-registered task buffer table, when processing the data in the pre-registered task buffer table, the business in the pre-registered task buffer table is first added to the pre-registered task table, and then the processing is performed in a manner of processing the business in the pre-registered task table.
The following is a detailed description of the processing of the traffic in the pre-registration task table, as shown in FIG. 3A:
in step 301: switching the business day to the current date;
in the embodiment of the present application, in order to clearly determine the date of the occurrence of the business, the business day needs to be switched to the current date before the accounting process is performed on the tasks in the pre-registered task table. For example: before the business is processed by 9.18, firstly, whether the current business day is 9.18 is checked, and if the current business day is 9.17, the business day needs to be switched to 9.18.
In step 302: performing accounting processing on tasks in the pre-registered task list;
in step 303: generating a corresponding accounting result;
in step 304: generating an accounting result table according to the accounting result;
in the embodiment of the application, in order to facilitate technicians to summarize and search for services of the current day, an accounting result table is generated according to accounting results of each service.
After the business processing of the current day is finished, the regenerated business belongs to the next day business, and in order to accurately determine the accounting date of the business, the following steps are required in step 305: and switching the current accounting date to the next accounting date. For example: if the transaction number 9.18 is completed, the date counting is switched to 9.19, so as to accurately record the time of the next day of transaction processing.
For convenience of understanding, a data processing method proposed in the embodiment of the present application is described in detail below, as shown in fig. 3B:
in step 311: switching the business day to the current date;
in step 312: determining whether the type of the service corresponding to the received user operation is a new transaction, if so, entering a step 313, otherwise, entering a step 314;
in step 313: adding the service to a pre-registered task table;
in step 314: adding the service to a pre-registered task buffer table:
in step 315: performing accounting processing on the tasks in the pre-registered task table and generating corresponding accounting results;
in step 316: generating an accounting result table according to the accounting result;
in step 317: switching the current accounting date to the next accounting date;
in step 318: it is determined whether the accounting period is over, and if so, the process proceeds to step 313.
The switching of the accounting date and the switching of the business date are carried out once a day, namely, the business day is switched firstly before business processing is carried out every day, the business day is switched to the current date, and after the task processing in the pre-registered task table is finished, the counting date is switched to the next counting date.
In some possible embodiments, the switching time of business day is 8 am, when the business of 9.8 is processed, the business day is first switched to 9.8, then the processing of the tasks in the pre-registered task table is started, and in this case, a plurality of tasks may be recorded in the pre-registered task table, and for this case, the processing situation is determined according to the time and business day of each business added in the pre-registered task table, as shown in fig. 3C, for example: service a is a service occurring at point 23 No. 9.7, service B is a service occurring at point 6 No. 9.8, and service C is a service occurring at point 8 No. 9.8; if the business is processed according to the time, the business B should be processed firstly, but the occurrence time of the business A is earlier than that of the business B, so for the situation, the business days of the business A and the business B should be determined firstly, then the adding time of the business A and the business B should be determined, and the adding time of each business into the pre-registered task list can be definitely obtained through the method, so that a technician can perform accounting processing according to the adding time of each business.
As shown in fig. 4, based on the same inventive concept, a data processing apparatus 400 is proposed, which includes:
a receiving module 4001, configured to determine a type of a service corresponding to a received user operation;
a service processing period determining module 4002, configured to determine a type of a current service processing period if the type of the service is a type of modifying an original transaction or a type of deleting the original transaction;
a registration module 4003, configured to, if the type of the current service processing period is an accounting processing period, pre-store the service in a pre-registration task buffer table;
and a service processing module 4004, configured to process, after the accounting processing period is ended, services in the pre-registered task buffer table according to a sequence in which the services are added in the pre-registered task buffer table.
In some possible embodiments, after determining the type of the received service, the receiving module is further configured to:
if the type of the service is the type of the newly added transaction or the type of the current service processing period is the non-accounting processing period, storing the service in a pre-registered task table; and processing in the pre-registered task table.
In some possible embodiments, the service processing module, when executing processing the services in the pre-registered task buffer table according to the order of service addition in the pre-registered task buffer table, is configured to:
adding the services in the pre-registered task buffer table to the pre-registered task table in sequence according to the order of adding the services in the pre-registered task buffer table;
and processing the service in the pre-registered task list.
In some possible embodiments, the service processing module, when executing processing the service in the pre-registered task table, is configured to:
and carrying out accounting processing on the business and generating an accounting result corresponding to the business.
In some possible embodiments, after the business processing module performs generating the accounting result corresponding to the business, the business processing module is further configured to:
generating an accounting result table based on the accounting result; the accounting result table stores accounting results of all transactions occurring during accounting processing.
Having described the data processing method and apparatus of the exemplary embodiments of the present application, an electronic device according to another exemplary embodiment of the present application is next described.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the data processing method according to various exemplary embodiments of the present application described above in the present specification.
The electronic device 130 according to this embodiment of the present application is described below with reference to fig. 5. The electronic device 130 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 130 is represented 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 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any 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.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
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 thereof, may comprise an implementation of a network environment.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other electronic devices. Such communication may occur via input/output (I/O) interfaces 135. Also, the electronic device 130 may 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 the network adapter 136. As shown, network adapter 136 communicates with other modules for electronic device 130 over bus 133. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with 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, among others.
In some possible embodiments, various aspects of a data processing method provided by the present application may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of a data processing method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device.
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. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for data processing of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such 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 intended to include such modifications and variations as well.

Claims (12)

1. A method of data processing, the method comprising:
determining the type of a service corresponding to the received user operation;
if the type of the service is a type for modifying the original transaction or a type for deleting the original transaction, determining the type of the current service processing period;
if the type of the current service processing period is an accounting processing period, pre-storing the service in a pre-registered task buffer table;
and after the accounting processing period is finished, processing the services in the pre-registered task buffer table according to the sequence of service addition in the pre-registered task buffer table.
2. The method of claim 1, wherein after determining the type of the received traffic, the method further comprises:
if the type of the service is the type of the newly added transaction or the type of the current service processing period is the non-accounting processing period, storing the service in a pre-registered task table;
and processing the services in the pre-registered task list.
3. The method of claim 1, wherein the processing the services in the pre-registered task buffer table according to the order of service addition in the pre-registered task buffer table comprises:
adding the services in the pre-registered task buffer table to the pre-registered task table in sequence according to the order of adding the services in the pre-registered task buffer table;
and processing the service in the pre-registered task list.
4. A method according to any one of claims 1 to 3, wherein processing the traffic in the pre-registered task list comprises:
and carrying out accounting processing on the business and generating an accounting result corresponding to the business.
5. The method of claim 4, wherein after generating the accounting result corresponding to the transaction, the method further comprises:
generating an accounting result table based on the accounting result; the accounting result table stores accounting results of all transactions occurring during accounting processing.
6. A data processing apparatus, characterized in that the apparatus comprises:
the receiving module is used for determining the type of the service corresponding to the received user operation;
the service processing period determining module is used for determining the type of the current service processing period if the type of the service is the type of modifying the original transaction or the type of deleting the original transaction;
the registration module is used for pre-storing the service in a pre-registration task buffer table if the type of the current service processing period is an accounting processing period;
and the service processing module is used for processing the services in the pre-registered task buffer table according to the adding sequence of the services in the pre-registered task buffer table after the accounting processing period is finished.
7. The apparatus of claim 6, wherein the receiving module, after performing the determining the type of the received traffic, is further configured to:
if the type of the service is the type of the newly added transaction or the type of the current service processing period is the non-accounting processing period, storing the service in a pre-registered task table; and processing the services in the pre-registered task list.
8. The apparatus according to claim 6, wherein the service processing module, when executing processing the services in the pre-registered task buffer table according to the order of service addition in the pre-registered task buffer table, is configured to:
adding the services in the pre-registered task buffer table to the pre-registered task table in sequence according to the order of adding the services in the pre-registered task buffer table;
and processing the service in the pre-registered task list.
9. The apparatus according to any one of claims 6 to 8, wherein the service processing module, when executing processing the service in the pre-registered task table, is configured to:
and carrying out accounting processing on the business and generating an accounting result corresponding to the business.
10. The apparatus of claim 9, wherein the business processing module, after performing generating the accounting result corresponding to the business, is further configured to:
generating an accounting result table based on the accounting result; the accounting result table stores accounting results of all transactions occurring during accounting processing.
11. An electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A computer storage medium, characterized in that the computer storage medium stores a computer program for causing a computer to execute the method of any one of claims 1-5.
CN202111262183.0A 2021-10-28 2021-10-28 Data processing method and device, electronic equipment and storage medium Pending CN113947490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111262183.0A CN113947490A (en) 2021-10-28 2021-10-28 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111262183.0A CN113947490A (en) 2021-10-28 2021-10-28 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113947490A true CN113947490A (en) 2022-01-18

Family

ID=79336875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111262183.0A Pending CN113947490A (en) 2021-10-28 2021-10-28 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113947490A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553393A (en) * 2003-12-29 2004-12-08 兴业银行股份有限公司 Data processing method and system for realizing bank uninterrupted service
CN101620703A (en) * 2008-07-04 2010-01-06 阿里巴巴集团控股有限公司 Buffer bookkeeping method and device
CN110610414A (en) * 2019-09-19 2019-12-24 中国银行股份有限公司 Data processing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553393A (en) * 2003-12-29 2004-12-08 兴业银行股份有限公司 Data processing method and system for realizing bank uninterrupted service
CN101620703A (en) * 2008-07-04 2010-01-06 阿里巴巴集团控股有限公司 Buffer bookkeeping method and device
CN110610414A (en) * 2019-09-19 2019-12-24 中国银行股份有限公司 Data processing method and system

Similar Documents

Publication Publication Date Title
CN109766362B (en) Data processing method and device
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
CN108830715A (en) Batch file part disk returning processing method and system
CN111125106A (en) Batch running task execution method, device, server and storage medium
US9678793B2 (en) Resource-based job scheduling
CN111625532A (en) Data blood relationship processing method and device, computer equipment and storage medium
US20110171948A1 (en) Transaction in memory object store
CN111144694B (en) Operation flow management method and device based on contact analysis
CN111212112B (en) Information processing method and device
CN109739724B (en) Data monitoring method, system, electronic device and storage medium
CN112148712A (en) Data processing method, device, equipment and medium
US8406401B2 (en) Interactive voice response system to business application interface
CN113947490A (en) Data processing method and device, electronic equipment and storage medium
CN110827001A (en) Accounting event bookkeeping method, system, equipment and storage medium
CN113360558B (en) Data processing method, data processing device, electronic equipment and storage medium
CN116029731A (en) Method and device for processing quotation data and electronic equipment
CN114090514A (en) Log retrieval method and device for distributed system
US11200138B1 (en) Policy-based request tracing using a computer
US8554798B2 (en) Asynchronous state engine with plug-ins for flexible application development
CN114170006A (en) Information data acquisition method, device, equipment and medium based on state machine
CN113986097A (en) Task scheduling method and device and electronic equipment
CN114116908A (en) Data management method and device and electronic equipment
CN114185583A (en) Generation and processing method and device of approval process
CN111950770A (en) Method and device for managing resource return auxiliary strategy and electronic equipment
US9037815B2 (en) Analyzing and reducing dump data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination