CN107463576A - Data processing method and equipment - Google Patents
Data processing method and equipment Download PDFInfo
- Publication number
- CN107463576A CN107463576A CN201610393039.3A CN201610393039A CN107463576A CN 107463576 A CN107463576 A CN 107463576A CN 201610393039 A CN201610393039 A CN 201610393039A CN 107463576 A CN107463576 A CN 107463576A
- Authority
- CN
- China
- Prior art keywords
- event
- order
- transaction business
- response
- equipment
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2358—Change logging, detection, and notification
Abstract
A kind of data processing method, including:Ask to initiate transaction business, the generation multiple orders associated with transaction business in response to user;Based on the execution of multiple orders, generation respectively distinguishes corresponding multiple events to form complete flow of event with multiple orders;Multiple events and the data associated with multiple events are write into the first database, and by data syn-chronization to the second database;And in response to data inquiry request, data are read from the second database.The disclosure also provides a kind of corresponding equipment.
Description
Technical field
This disclosure relates to data processing field, more particularly to based on event driven data processing method and equipment.
Background technology
As the things or business processing that are carried out by network are increasing, the reliability requirement of operation data is increasingly
Height, especially the concurrent reading and writing of data is handled, while the demand that audit and log query are provided system also be present.However,
Business processing logic generally defined in system at present, the read-write operation of core data is mixed, by each business processing
Logic provides audit log according to their needs.This data processing method is due to the complicated business logic for specific operation
Mix together, reduce system maintainability and autgmentability;Meanwhile such system is unpredictable in internet user access amount
In the case of, the dynamic level extension of performance can not be accomplished;In addition, system can not also provide complete business operation daily record, lack
Weary strict review mechanism and effective rollback mechanism.
The content of the invention
Suggested above in order to solve the problems, such as, embodiment of the disclosure provides one kind and is based on event driven transaction business
Processing method and system, by the read and write abruption of core business data, and realize system itself and audit function is provided and operated back
Trace back.
According to the first aspect of the disclosure, there is provided a kind of data processing method, including:Ask to initiate transaction in response to user
Business, the generation multiple orders associated with transaction business;Based on the execution of multiple orders, generation respectively is distinguished with multiple orders
Corresponding multiple events are to form complete flow of event;By multiple events and the data associated with multiple events write-in first
Database, and by data syn-chronization to the second database;And in response to data inquiry request, number is read from the second database
According to.
In accordance with an embodiment of the present disclosure, plurality of order, which comprises at least, creates transaction business order, and method also includes:Ring
In the execution for creating transaction business order, the example of with transaction business associated polymerization should be created.
In accordance with an embodiment of the present disclosure, wherein the execution based on multiple orders, generation and multiple orders are corresponding respectively respectively
Multiple events included with forming complete flow of event:Perform and create transaction business order, and generate transaction business and create event;
And the process according to transaction business, other orders in multiple orders are performed, and generate corresponding more with other order difference
Other individual events.
In accordance with an embodiment of the present disclosure, in addition to:Receive and asked on the replay of transaction business, at least wrapped in replay request
Include the identifier of example;Determine to whether there is the complete flow of event associated with identifier in the first database;And response
In complete flow of event be present, flow of event is replayed.
In accordance with an embodiment of the present disclosure, plurality of order includes being related to the processing that third party handles transaction business
Order, method also include:In response to the execution of processing order, initiate to third-party processing request;And completed in third party
During processing request, the event corresponding with processing order is generated.
In accordance with an embodiment of the present disclosure, in addition to:Multiple events are committed to event queue;And in response to scheduled event
Arrival event queue, trigger notice module is to notify the implementing result of scheduled event.
In accordance with an embodiment of the present disclosure, in addition to:In response to scheduled event arrival event queue, Audit Module is triggered to remember
Record the transaction data of transaction business.
In accordance with an embodiment of the present disclosure, in addition to:In response to scheduled event arrival event queue, triggering statistical module is with more
The new statistical information for being directed to transaction business.
In accordance with an embodiment of the present disclosure, in addition to:When module can not meet currently processed needs, addition is more and module
The module of identical function.
According to the second aspect of the disclosure, there is provided a kind of data processing equipment, including:At least one processor;And bag
At least one memory containing computer program code, at least one memory and computer program code are configured to using extremely
Lack a processor and cause equipment at least to perform following operation:Ask to initiate transaction business, generation and transaction in response to user
The associated multiple orders of business;Based on the execution of multiple orders, multiple events corresponding with multiple order difference are generated respectively
To form complete flow of event;Multiple events and the data associated with multiple events are write into the first database, and by number
According to being synchronized to the second database;And in response to data inquiry request, data are read from the second database.
The disclosure is based on event driven system architecture by structure, and the operation of core business data is written and read point
From at utmost lifting system performance and extended capability, and realize effective Audit Mechanism and event rollback mechanism.
Brief description of the drawings
With reference to accompanying drawing and with reference to described further below, feature, advantage and other aspects of the presently disclosed embodiments will become
Must be more obvious, some embodiments of the disclosure now will be only shown and nonrestrictive mode by example, in the accompanying drawings:
Fig. 1 shows the processing system application environment schematic diagram according to one embodiment of the disclosure;
Fig. 2 shows the flow chart of the method for one embodiment according to the disclosure;
Fig. 3 shows the schematic diagram of the specific implementation flow according to one embodiment of the disclosure;
Fig. 4 is shown according to the embodiment of the present disclosure based on event driven Implement of Function Module schematic diagram;
Fig. 5 shows the event replay according to one embodiment of the disclosure;
Fig. 6 shows the signal interacted according to the processing system of one embodiment of the disclosure with tripartite's plateform system
Figure;And
Fig. 7 shows the schematic block diagram of data processing equipment in accordance with an embodiment of the present disclosure.
Embodiment
Each exemplary embodiment of the disclosure is described in detail below with reference to accompanying drawing.Flow chart and block diagram in accompanying drawing are shown
According to architectural framework in the cards, function and the operation of the method and system of the various embodiments of the disclosure.It should be noted that
Each square frame in flow chart or block diagram can represent a part for a module, program segment or code, the module, program
The a part of of section or code can include one or more being used to realize holding for the logic function of defined in each embodiment
Row instruction.It should also be noted that in some realizations alternately, the function of being marked in square frame can also be according to different from attached
The order marked in figure occurs.For example, two square frames succeedingly represented can essentially perform substantially in parallel, or it
Can also perform in a reverse order sometimes, this depends on involved function.It should also be noted that flow chart
And/or the combination of each square frame and flow chart in block diagram and/or the square frame in block diagram, work(as defined in performing can be used
Can or the special hardware based system of operation realize, or the combination of specialized hardware and computer instruction can be used
Realize.
Term as used herein " comprising ", "comprising" and similar terms are understood to the term of opening, i.e.,
" including/including but not limited to ", expression can also include other guide.Term "based" is " being based at least partially on ".Term
" one embodiment " expression " at least one embodiment ";Term " another embodiment " expression " at least one further embodiment ".
As it was previously stated, the disclosure is intended to respectively be handled the read operation during transaction and write operation, pass through
Based on event driven handling process, complete flow of event replay and effective rollback mechanism are realized.In addition, spirit can also be realized
Function Extension living, this is particularly useful to the transaction things in internet environment or business so that can be according to user's visit capacity
The dynamic process performance adjustment for carrying out system.
It is appreciated that these exemplary embodiments are described below merely to enabling those skilled in the art more preferable geographical
Solve and realize embodiment of the disclosure, and not limit the scope of the present disclosure in any way.
Fig. 1 shows the schematic diagram of processing system application environment 100 according to one embodiment of the disclosure.It is noted that
The processing system solution that the disclosure proposes does not limit specific application scenarios, it will be understood by those skilled in the art that
Need to handle the read-write operation of mass data respectively and need provide daily record control environment in, embodiment of the disclosure
It is applied.
It is now only illustrative to Fig. 1 as transaction business processing using one embodiment of the disclosure.Figure 1 illustrates
The block diagram of transaction business processing system 102 (hereinafter referred to as processing system).It will be appreciated, however, that illustrated and under
The processing system of described in the text only illustrates the computer processor unit that can have benefited from embodiments of the invention, therefore should not be by
Think to limit the scope of the present invention.Although processing system 102 will for exemplary purposes be illustrated and be described below, its institute
Including part or parts group be only illustrative signal.
In at least one example embodiment, processing system 102 includes processor 104 and memory 106.Processor 104
Can be any kind of processor, controller, embedded controller, processor core etc..In at least one example embodiment,
Processor 104 is acted using computer program code with promoting processing system to perform one or more.Memory 106 can include
Volatile memory and/or other memories, volatile memory such as include the buffer zone of the temporary transient storage for data
Volatile random access memory (RAM), other memories for example can be it is Embedded and/or can be removed it is non-easily
The property lost memory.Nonvolatile memory can include EEPROM, flash memories etc..Memory 106 can store a large amount of letters
Any information and data in breath and data.Information and data can be used by processing system 102 to realize processing system 102
One or more functions, all functions as described in this article.In at least one example embodiment, memory 106 includes meter
Calculation machine program code so that memory and computer program code are configured to work together with processor to promote processing system
102 perform one or more actions described herein.
Processing system 102 can include being used to provide output and/or receive the I/O equipment 108 of input.Output equipment can be with
Display, printer etc., input equipment can include optical sensor, proximity transducer etc..In application environment 100, processing
System 102 interacts with wireless client 114 and/or web client 116.Wireless client 114 can be Mobile portable formula
Digital assistants (PDA), mobile computer, mobile phone or any other similar wireless device.Web client 116 is to be based on
The web client device such as computer.Processing system 102 can also interact with third-party server 118, such as carry
For the mailing system of third party's service, message system, payment system etc..
In one embodiment, web client 116 is initiated for example to pay and asked by network to processing system 102, or
Wireless client 114 is initiated for example to pay and asked using near-field communication technology by the I/O equipment 108 of processing system 102, processing
System 102 is handled payment request.As will be described in detail, processing system 102 will ask for the payment
The information such as caused sequence of events, state, data is stored in storage device in processing procedure, shown here storage device
It is illustrated as the first database 110 and the second database 112.For example, by all data manipulations asked for the payment store to
In first database 110, also i.e. by Action Events stream persistence, and as unique trusted source of data change;And it is directed to
The data of payment request will be synchronized to the second database 112 by the first database 110, the second database 112 be mainly used into
The read-only inquiry operation of row.It may be noted that second database 112 is schematically show only in Fig. 1, and according to actual need
Will, with mass data and when inquiring about concurrent, there may be multiple second databases in processing system 102 more.Using ring
Third-party server 118 can also be included in border 100, such as in this embodiment, it can be connected by channel of disbursement
Financial institution or payment mechanism etc..Pay after request is disposed, processing system 102 can to wireless client 114 and/or
The feedback information of web client 116.
The technical scheme of the disclosure is described in detail below in conjunction with specific embodiment.Fig. 2 is shown according to this public affairs
The flow chart of the method 200 of the one embodiment opened.
In step 202, ask to initiate transaction business, the generation multiple orders associated with transaction business in response to user.
In this step, the transaction business request that processing system receives web client 116 or wireless client 114 is initiated, such as prop up
Pay request, place an order request etc., the processing system generation multiple orders associated with the transaction business.In one embodiment,
Processing system generates multiple orders associated with pay invoice, for example, the order of establishment pay invoice, the order of execution pay invoice,
Update pay invoice order, cancel pay invoice order etc..In another embodiment, processing system generation is related to placing an order
Multiple orders of connection, such as create the order that places an order, perform the list that places an order, confirm the order etc. that places an order.
In step 204, based on the execution of multiple orders, generation multiple events corresponding with multiple order difference are with shape respectively
Into complete flow of event.In this step, the execution of each order in the multiple orders generated in step 202,
One or more orders corresponding to generation respectively.For example, for creating pay invoice order, this is performed in processing system 102
After order, generate corresponding pay invoice and create event.In some cases, according to one order execution, can generate with
Multiple events corresponding to the order.
In step 206, multiple events and the data associated with multiple events are write into the first database, and by data
It is synchronized to the second database.In this step, the write operation to business datum and the separation of read operation are realized.In the first data
Relevant all historical events are stored in storehouse, and are based on event by data syn-chronization to the second database.
In step 208, in response to data inquiry request, data are read from the second database.All behaviour based on inquiry
Make, processing system 102 is responded with the operation to the second database.
From above procedure, it can be seen that, all operations being related to the first database 110 are all by specifically ordering
Order triggering corresponding event is completed to operate, and this process is asynchronous, and all change behaviors being related to transaction business
It is included in specific event, binding events are traced to the source pattern, can record all events, rather than conventional certain point
Data message, these information can return as the operation note or daily record of processing system 102 to transaction business
Move back or replay.The process is discussed in detail below.
Fig. 3 shows the schematic diagram of the specific implementation flow 300 of one embodiment of the disclosure.In a reality of the disclosure
Apply in example, (Event Sourcing) mechanism is traced to the source to handle transaction industry based on order inquiry responsibility degree (CQRS) and event
Business.In the present embodiment, user initiates to pay request by wireless client 114 or web client 116, and processing system 102 connects
Receive the payment and ask included information, such as each parameter of pay invoice, such as information of order both parties, order are compiled
Number, the order amount of money, order list of articles etc., the structure of processing system 102 multiple orders associated with payment request, such as create
Build pay invoice order 302 and perform pay invoice order 304, and system polymerize to pay invoice, creates payment and orders
The example of single polyase 13 06.Each polymerization or polymerization example is identified by unique identifier respectively.Polyase 13 06 is typically based on
Domain model and build, it polymerize has each object and its object value of cohesion relation with pay invoice.In the present embodiment, order
It is single inherently to polymerize example.Then, polyase 13 06, which receives, creates pay invoice order 302, performs order 302 and generates branch
Pay order creation event 308.Pay invoice, which creates event 308, will be written into (namely the first database of event storage repository 314
110), by the persistence of event 308.
Polyase 13 06 performs pay invoice order 304 in response to receiving, and will pay request and transfers to Third-party payment channel
310 processing, pay invoice polyase 13 06 generates pay invoice and performs event 312 after third party is disposed.Here, it is all with ordering
The related operation of order is all realized by event, thus can be remembered by record event to record the history run of processing system 102
Record, and can easily roll back to a certain historic state.These events such as pay invoice creates event 308, pay invoice
Execution event 312 or other events will be all stored in event storage repository 314, and can be deposited in the form of flow of event 316
.Such as some order likely corresponds to multiple events, so as to produce flow of event;And on paying all events asked by shape
Into complete flow of event.
Event is also published in event queue 318 simultaneously, to update inquiry client database i.e. data warehouse by event
320 (i.e. the second databases 112).Event queue 318 can be based on Ringbuffer structures, and the queue of such data structure provides
Reliable message transmission characteristic.In addition, event queue 318 is responsible for each event passing to different consumers or event subscription
Person, to realize the various functions such as the statistics of system, audit.
Fig. 4 shows the schematic diagram based on event driven Implement of Function Module 400 according to the embodiment of the present disclosure.Fig. 4
In show three functional module examples:Notification module 408, Audit Module 410 and statistical module 412.It is appreciated that these work(
Energy module is only the example according to specific embodiment, can have multiple different functions according to the difference of application scenarios in system
Module.Each functional module can subscribe to the event queue being each concerned about.
In the present embodiment, for example, pay invoice, which performs event 116, is distributed to event queue 318.Event queue 318
Can be based on Ringbuffer data structures as described above, be inserted by event and be managed with poller module 402.Three
Functional module have subscribed pay invoice and performs event 116 respectively, and the event is the event object of amount of money involved transaction.When each function
When module receives the event, notification module 404 is responsible for the implementing result of pay invoice returning to trade company;Audit Module 406
Record the execution data of order, there is provided core data is audited;The order of the record of statistical module 408 and statistical processing system 102 is whole
Body state.As can be seen from Fig. 4, can not only be made between each functional module mutually solely based on event driven function module design
Stand, do not interfere with each other, and the horizontal extension of performance can be accomplished well, i.e., when a certain functional module can not meet current business
Amount access can be by adding more identical function processing module examples come answering pressure when needing.It is in addition, raw in event-driven
Asynchronism be also solve systematic function bottleneck effective help.
As it was previously stated, embodiment of the disclosure can provide the replay to transaction business event, this is for improving and safeguarding
The robustness of payment system is especially helpful.The reversibility of event and replay are that event of the embodiment of the disclosure based on CQRS is driven
One of dynamic benefit of system architecture, it is solved well, and production problem can not be reappeared under legacy system framework and mistake is asked
Topic is difficult the problem of investigation.As is described in connection with fig. 3, any operation based on pay invoice can all produce corresponding event simultaneously
It is stored to flow of event warehouse, and processing system 102 can completely construct pair from scratch from a complete flow of event
The polymerization answered, this suffers from huge side to the basic reason (either code logic or service logic) for finding Problem-Error
Help.
Fig. 5 shows the event replay 500 according to one embodiment of the disclosure.For example, in the present embodiment, when
When needing to replay pay invoice, 502, replay request is received, replay request includes it is expected that the pay invoice of replay corresponds to
Polymerization and/or polymerize example identifier.In response to receiving replay request, 504, based on the identifier of polymerization example,
Identify that pay invoice polymerize, judge that complete flow of event whether there is, if it does not exist, then determining not replaying simultaneously 510
Exit execution.If flow of event is present, each event in replay pay invoice polymerization 502, respectively in 512,514 and 516 weights
Broadcast the order event of creating, replay execution of order event, replay order status event, and 518, obtain order end-state, it is complete
Into replay.
The advantages of in order to further describe the embodiment of the present disclosure, Fig. 6 show the place of one embodiment according to the disclosure
The schematic diagram 600 that reason system 102 interacts with third party system.In order to simplify description, being previously alluded in Fig. 6
Each part or module are not repeated to describe herein, while pay invoice processing module 602 for example can correspond to described in Fig. 3
Pay invoice processing procedure.As shown in fig. 6, processing system 102 includes tripartite's branch with the interactive examples of third party system
Pay channel processing system 604, Outside Mail server 616, outside short message (SMS) server 618, archives economy 620 and pipe
Manage banner system 622.Pay invoice processing module 602 is interacted to complete payment processes with tripartite's channel of disbursement processing system 604
Request;The notification module 610 of processing system 102 can notify trade company by modes such as mail or SMS using third party system
Order implementing result;The Audit Module 612 of processing system 102 can be by performing the export of associative operation record or transmission by order
To archives economy 620;Associated statistical information can be supplied to management banner system 622 by statistical module 614.As can be seen from Fig. 6,
Needed when being handled except pay invoice and tripartite's payment system close coupling, other interactions for being related to three method, systems are all based on event
Tupe, such system can not only completely cut off the close dependence to other three method, systems, can also dynamic add it is new
Tripartite's interaction removes unnecessary tripartite's dependence, realizes the loose coupling of system to greatest extent.
Embodiment of the disclosure also provides a kind of data processing equipment, including:At least one processor;And include calculating
At least one memory of machine program code, at least one memory and computer program code are configured to using at least one
Processor and cause equipment at least perform following operation:Ask to initiate transaction business, generation and transaction business phase in response to user
Multiple orders of association;Based on the execution of multiple orders, generation respectively distinguishes corresponding multiple events to be formed with multiple orders
Complete flow of event;Multiple events and the data associated with multiple events are write into the first database, and by data syn-chronization
To the second database;And in response to data inquiry request, data are read from the second database.
Fig. 7 shows a schematic block diagram that can be used for implementing the data processing equipment 700 of embodiment of the disclosure.
As illustrated, equipment 700 includes CPU (CPU) 701, it can be according to being stored in read-only storage (ROM) 702
Computer program instructions or the computer program that is loaded into from memory cell 708 in random access storage device (RAM) 703 refer to
Order, to perform various appropriate actions and processing.In RAM 703, can also storage device 500 operate required various programs and
Data.CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 also connects
It is connected to bus 704.
Multiple parts in equipment 700 are connected to I/O interfaces 705, including:Input block 706, such as keyboard, mouse etc.;
Output unit 707, such as various types of displays, loudspeaker etc.;Memory cell 708, such as disk, CD etc.;It is and logical
Believe unit 709, such as network interface card, modem, wireless communication transceiver etc..Communication unit 709 allows equipment 700 by such as
The computer network of internet and/or various communication networks exchange information/data with other equipment.
Each process as described above and processing, such as method 200, process 300 and process 500, can be single by processing
Member 701 performs.For example, in certain embodiments, method 200, process 300 and process 500 can be implemented as computer software
Program, it is tangibly embodied in machine readable media, such as memory cell 708.In certain embodiments, computer program
It is some or all of to be loaded into and/or be installed in equipment 700 via ROM 702 and/or communication unit 709.Work as meter
When calculation machine program is loaded into RAM 703 and performed by CPU 701, can perform method as described above 200, process 300 with
And the one or more steps of process 500.
By the teaching gone out given in above description and relevant drawings, many modifications of the disclosure described herein
It will be recognized with other embodiment by disclosure those skilled in the relevant art.Therefore, it is understood that the disclosure
Embodiment is not limited to disclosed embodiment, and modification and other embodiment are intended to be included in this
Within scope of disclosure.In addition, although above description and relevant drawings are in some example combination forms of part and/or function
Example embodiment is described under background, it will be appreciated that, part can be provided by alternate embodiment
And/or the different combinations of function are without departing from the scope of the present disclosure.On this point, for example, with it is explicitly described above
Different part and/or other combining forms of function be also expected within the scope of the present disclosure.Although here
Concrete term is employed, but they are only used with general and descriptive implication and are not intended to and are limited.
Claims (18)
1. a kind of data processing method, including:
Ask to initiate transaction business, the generation multiple orders associated with the transaction business in response to user;
Based on the execution of the multiple order, generation respectively distinguishes corresponding multiple events to be formed completely with the multiple order
Flow of event;
The multiple event and the data associated with the multiple event are write into the first database, and the data are same
Walk to the second database;And
In response to data inquiry request, data are read from second database.
2. according to the method for claim 1, wherein the multiple order comprises at least and creates transaction business order, the side
Method also includes:
In response to the execution of the establishment transaction business order, the example of the establishment polymerization associated with the transaction business.
3. according to the method for claim 2, wherein the execution based on the multiple order, is generated and the multiple life respectively
Multiple events corresponding to distinguishing are made to include to form complete flow of event:
The establishment transaction business order is performed, and generates transaction business and creates event;And
According to the process of the transaction business, other orders in the multiple order are performed, and are generated and other described orders
Other multiple events corresponding to respectively.
4. the method according to claim 11, in addition to:
Receive and asked on the replay of the transaction business, the identifier of the example is comprised at least in the replay request;
Determine to whether there is the complete flow of event associated with the identifier in first database;And
In response to the complete flow of event be present, the flow of event is replayed.
5. according to the method for claim 1, wherein the multiple order is entered including being related to third party to the transaction business
The processing order of row processing, methods described also include:
In response to the execution of the processing order, initiate to the third-party processing request;And
When the third party completes the processing request, the event corresponding with the processing order is generated.
6. the method according to claim 11, in addition to:
The multiple event is committed to event queue;And
The event queue is reached in response to scheduled event, and trigger notice module is to notify the implementing result of the scheduled event.
7. the method according to claim 11, in addition to:
The event queue is reached in response to scheduled event, triggers Audit Module to record the transaction data of the transaction business.
8. the method according to claim 11, in addition to:
The event queue is reached in response to scheduled event, triggering statistical module is directed to the statistics letter of the transaction business to update
Breath.
9. according to the method any one of claim 6-8, in addition to:
When the module can not meet currently processed needs, the more module with the module identical function is added.
10. a kind of data processing equipment, including:
At least one processor;And
At least one memory comprising computer program code, at least one memory and the computer program code
It is configured to using at least one processor and so that the equipment at least performs following operation:
Ask to initiate transaction business, the generation multiple orders associated with the transaction business in response to user;
Based on the execution of the multiple order, generation respectively distinguishes corresponding multiple events to be formed completely with the multiple order
Flow of event;
The multiple event and the data associated with the multiple event are write into the first database, and the data are same
Walk to the second database;And
In response to data inquiry request, data are read from second database.
11. equipment according to claim 10, wherein the multiple order, which comprises at least, creates transaction business order, it is described
At least one memory and the computer program code are further configured to cause described using at least one processor
Equipment at least performs following operation:
In response to the execution of the establishment transaction business order, the example of the establishment polymerization associated with the transaction business.
12. equipment according to claim 11, at least one memory and the computer program code also by with
It is set to using at least one processor and so that the equipment at least performs following operation:
The establishment transaction business order is performed, and generates transaction business and creates event;And
According to the process of the transaction business, other orders in the multiple order are performed, and are generated and other described orders
Other multiple events corresponding to respectively.
13. equipment according to claim 11, at least one memory and the computer program code also by with
It is set to using at least one processor and so that the equipment at least performs following operation:
Receive and asked on the replay of the transaction business, the identifier of the example is comprised at least in the replay request;
Determine to whether there is the complete flow of event associated with the identifier in first database;And
In response to the complete flow of event be present, the flow of event is replayed.
14. equipment according to claim 10, wherein the multiple order includes being related to third party to the transaction business
The processing order handled, at least one memory and the computer program code are further configured to described in extremely
Lack a processor and cause the equipment at least to perform following operation:
In response to the execution of the processing order, initiate to the third-party processing request;And
When the third party completes the processing request, the event corresponding with the processing order is generated.
15. equipment according to claim 10, at least one memory and the computer program code also by with
It is set to using at least one processor and so that the equipment at least performs following operation:
The multiple event is committed to event queue;And
The event queue is reached in response to scheduled event, and trigger notice module is to notify the implementing result of the scheduled event.
16. equipment according to claim 10, at least one memory and the computer program code also by with
It is set to using at least one processor and so that the equipment at least performs following operation:
The event queue is reached in response to scheduled event, triggers Audit Module to record the transaction data of the transaction business.
17. equipment according to claim 10, at least one memory and the computer program code also by with
It is set to using at least one processor and so that the equipment at least performs following operation:
The event queue is reached in response to scheduled event, triggering statistical module is directed to the statistics letter of the transaction business to update
Breath.
18. according to the equipment any one of claim 15-17, at least one memory and the computer program
Code is further configured to using at least one processor and so that the equipment at least performs following operation:
When the module can not meet currently processed needs, the more module with the module identical function is added.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610393039.3A CN107463576A (en) | 2016-06-03 | 2016-06-03 | Data processing method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610393039.3A CN107463576A (en) | 2016-06-03 | 2016-06-03 | Data processing method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107463576A true CN107463576A (en) | 2017-12-12 |
Family
ID=60545181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610393039.3A Pending CN107463576A (en) | 2016-06-03 | 2016-06-03 | Data processing method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107463576A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597057A (en) * | 2020-04-08 | 2020-08-28 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981823A (en) * | 2012-10-25 | 2013-03-20 | 四川农业大学 | Domain driven development plug-in system |
CN103279840A (en) * | 2013-06-08 | 2013-09-04 | 北京首钢自动化信息技术有限公司 | Workflow engine implement method based on dynamic language and event processing mechanism |
CN104636333A (en) * | 2013-11-06 | 2015-05-20 | 宁夏新航信息科技有限公司 | Domain-driven development plug-in system |
-
2016
- 2016-06-03 CN CN201610393039.3A patent/CN107463576A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981823A (en) * | 2012-10-25 | 2013-03-20 | 四川农业大学 | Domain driven development plug-in system |
CN103279840A (en) * | 2013-06-08 | 2013-09-04 | 北京首钢自动化信息技术有限公司 | Workflow engine implement method based on dynamic language and event processing mechanism |
CN104636333A (en) * | 2013-11-06 | 2015-05-20 | 宁夏新航信息科技有限公司 | Domain-driven development plug-in system |
Non-Patent Citations (2)
Title |
---|
本书编委会: "《管理信息系统设计教程》", 31 August 2007 * |
李新平,杨红云: "《物联网教育工程概论》", 31 May 2016 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597057A (en) * | 2020-04-08 | 2020-08-28 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
CN111597057B (en) * | 2020-04-08 | 2023-05-02 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sadiq et al. | Data flow and validation in workflow modelling | |
AU2023241398A1 (en) | Continuous data sensing of functional states of networked computing devices to determine efficiency metrics for servicing electronic messages asynchronously | |
US9128768B2 (en) | Cloud based master data management | |
US10832217B2 (en) | Blockchain-based workflow system | |
CN110390596A (en) | A kind of financial futures trading system | |
US20120029969A1 (en) | Risk management of business processes | |
US10664498B2 (en) | Interconnected graph structured database for identifying and remediating conflicts in resource deployment | |
CN105556552A (en) | Fraud detection and analysis | |
CN106294521A (en) | Date storage method and data warehouse | |
CN107103448A (en) | Data integrated system based on workflow | |
US9311144B1 (en) | Processing virtual transactions of a workflow in atomic manner in a workflow management computer system | |
US20110066601A1 (en) | Information lifecycle cross-system reconciliation | |
CA3102144A1 (en) | Blockchain timeclock system | |
CN105577808A (en) | Supervision reporting method and system | |
CN108460598A (en) | A kind of real-time automation supervision reporting system based on double-strand framework block chain | |
US20120005519A1 (en) | System and method for providing collaborative master data processes | |
CN114036159A (en) | Bank business information updating method and system | |
US20120078967A1 (en) | Integration of a Framework Application and a Task Database | |
CN107463576A (en) | Data processing method and equipment | |
US10839387B2 (en) | Blockchain based action and billing | |
CN110083596A (en) | A kind of method of data history tracking and the tracking of data change histories | |
CN114491662A (en) | Block chain-based data asset auditing method, system and equipment | |
CN112633825A (en) | Enterprise sales promotion cost control system | |
US9286112B2 (en) | Determining and dispatching processing agent for transaction processing | |
US11716290B1 (en) | Electronic system for dynamic linking of resource data structures across distributed networks |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1246418 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171212 |
|
RJ01 | Rejection of invention patent application after publication |