CN109669807A - The method of calibration and device of business event, processor, storage medium - Google Patents
The method of calibration and device of business event, processor, storage medium Download PDFInfo
- Publication number
- CN109669807A CN109669807A CN201710953445.5A CN201710953445A CN109669807A CN 109669807 A CN109669807 A CN 109669807A CN 201710953445 A CN201710953445 A CN 201710953445A CN 109669807 A CN109669807 A CN 109669807A
- Authority
- CN
- China
- Prior art keywords
- business event
- event
- business
- incremental data
- verified
- 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
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012795 verification Methods 0.000 claims description 28
- 238000001514 detection method Methods 0.000 claims description 5
- 238000003672 processing method Methods 0.000 claims description 4
- 230000008901 benefit Effects 0.000 claims description 2
- 238000013524 data verification Methods 0.000 claims description 2
- 230000015654 memory Effects 0.000 description 23
- 238000012545 processing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1435—Saving, restoring, recovering or retrying at system level using file system or storage system metadata
Abstract
This application discloses a kind of method of calibration of business event and device, processor, storage mediums.Wherein, this method comprises: obtaining multiple business event to be verified;The multiple business event is traversed, and obtains the incremental data of the multiple business event;The incremental data of at least one business event pair in the multiple business event is verified, wherein there are preset association relationships between the business event of the business event centering.Present application addresses service databases existing for current business checkschema to bear larger technical problem.
Description
Technical field
This application involves business to verify field, method of calibration and device in particular to a kind of business event, processing
Device, storage medium.
Background technique
Currently, each system decouples, guarantees the performance or availability of primary link for business, it is usually present between each system
Various synchronous asynchronous calling, strong and weak dependence.Once network jitter, operation system bug or some subsystem occur different
Often, it is possible to it is inconsistent just to will appear business datum.
Business event refers to event related with business, such as transaction event, dealing event, fund event, payment events.
By taking transaction system and inventory system as an example, user has been played after list, if not updating quantity in stock, then it is likely used only to there is oversold
Phenomenon (i.e. the corresponding commodity amount of selling of order is more than actual inventory);User closes after order, does not cover inventory, then
It will lead to sell less.It is that data between transaction and inventory system are inconsistent above to lead to the problem of.
To solve the above problems, being provided in the related technology for the whether consistent verification side of the information between business event
Case, but it is larger to the dependence of service database, service database can be caused stress.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides the method for calibration and device, processor, storage medium of a kind of business event, at least
It solves service database existing for current business checkschema and bears larger technical problem.
According to the one aspect of the embodiment of the present application, a kind of method of calibration of business event is provided, comprising: obtain to school
The multiple business event tested;The multiple business event is traversed, and obtains the incremental data of the multiple business event;To described
The incremental data of at least one business event pair verifies in multiple business event, wherein the industry of the business event centering
There are preset association relationships between business event.
According to the another aspect of the embodiment of the present application, the method for calibration of another business event is additionally provided, comprising: receive
Logging request;When the logging request is verified, operation interface is shown to user;The operation for receiving the operation interface refers to
It enables, and under the triggering of the operational order, obtains multiple business event to be verified;The multiple business event is traversed, and
Obtain the incremental data of the multiple business event;To the incremental number of at least one business event pair in the multiple business event
According to being verified, wherein there are preset association relationships between the business event of the business event centering.
According to the another aspect of the embodiment of the present application, another storage medium is additionally provided, the storage medium includes depositing
The program of storage, wherein equipment where controlling the storage medium in described program operation executes above-described business event
Method of calibration.
According to the another aspect of the embodiment of the present application, another processor is additionally provided, the processor is for running journey
Sequence, wherein described program executes the method for calibration of above-described business event when running.
According to the another aspect of the embodiment of the present application, the calibration equipment of another business event is additionally provided, comprising: first
Module is obtained, for obtaining multiple business event to be verified;Second obtains module, for traversing the multiple business event,
And obtain the incremental data of the multiple business event;Correction verification module, for at least one industry in the multiple business event
The incremental data of business event pair verifies, wherein there is default association between the business event of the business event centering and closes
System.
According to the another aspect of the embodiment of the present application, a kind of data processing method is additionally provided, comprising: obtain to be verified
Business event, wherein the business event includes event id and event content;Obtain the incremental data of the business event;It is right
The incremental data is verified.
In the embodiment of the present application, using determination multiple business event to be verified and to business thing in multiple business event
The mode that the incremental data of part pair is verified, since relatively independent setting can be carried out with existing operation system, subtract
The light burden of service database, and then solve service database existing for current business checkschema and bear biggish skill
Art problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the schematic diagram according to a kind of optional check plot of the embodiment of the present application;
Fig. 2 is the schematic diagram according to the optional check plot of another kind of the embodiment of the present application;
Fig. 3 is the DAG schematic diagram according to a kind of optional flow of event of the embodiment of the present application;
Fig. 4 is a kind of optional algorithm flow schematic diagram according to the embodiment of the present application;
Fig. 5 is a kind of algorithm configuration diagram according to the embodiment of the present application;
Fig. 6 is the structural schematic diagram according to a kind of optional terminal of the embodiment of the present application;
Fig. 7 is the method for calibration flow chart according to a kind of business event of the embodiment of the present application;
Fig. 8 is the structural block diagram according to a kind of calibration equipment of business event of the embodiment of the present application;
Fig. 9 is the flow chart according to the method for calibration of another business event of the embodiment of the present application;
Figure 10 is the flow chart according to another data processing method of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Firstly, the part noun or term that occur during the embodiment of the present application is described are suitable for following solution
It releases:
Business event: event related with business, such as transaction event, dealing event, fund event, payment events,
In, above-mentioned " event " includes but is not limited to: the movement of operation or certain equipment or application execution to certain equipment or application,
For example, data interaction, the delivery operation executed by equipment etc. between pos machine and bank card.
Incremental data: relative to historical data, the data that newly increase.
Embodiment 1
In the related technology, for the verification of different business event (bizevent), there are following solution:
1, full dose verifies: being in logic exactly the knot of the order (select*fromtcbuyer.order) selected from buyer library
Fruit, and the result of the order (select*from tc.order) from the selection of seller library compare.(note: tcbuyer is buyer
Library, tc are seller library), wherein full dose is verified, since a large amount of data are consistent, scan efficiency is low;To line
On library will cause certain pressure (io, network interface card, slow SQL);Timeliness is poor, and check results, which will be delayed, just can know that.
2, pseudo- increment verification: the customer order data and seller's order data for only scanning previous hour creation every time do school
It tests.
3, single stream increment verification: operation system can would generally generate various incremental datas, daily record data, such as database day
Will, service message etc..After buyer library generates an order, correspondingly MySQL can generate a binlog, single to flow increment school
Check system can parse binlog content using this binlog as trigger condition, go to real-time anti-seller library of looking into either with or without right
It should record.
Wherein, pseudo- increment is verified, only scans the customer order data and seller's order of previous hour creation every time
Data verify.Disadvantage: inquiry pressure still is generated to database;If timeliness, the interval time verified every time is seen,
It is poorer every longer timeliness, it is spaced shorter and database can be caused frequently to inquire pressure.
Wherein, for single stream increment verification, huge inquiry pressure can be generated to another method, system (seller library), whenever buyer
There is an incremental update in library, it is necessary to go seller's library inquiry primary.
Application platform provided in this embodiment can access the log (binlog) in buyer library and seller library simultaneously, while right
Than the binlog on both sides, if the binlog data on both sides are inconsistent, then it is assumed that problematic.Due to being the incremental number for the business that pulls
According to will not go the anti-operation system for looking into both sides, will not be impacted to business on line.
Practice, however, it may be necessary to which multiple business event between multiple systems verify, for example, there are four business systems
Unite A, B, C, D.A system generates a1 and a2 event, and B system generates b event, and C system generates c1 and c2 event, and d system generates d thing
Part.It needs to verify a1, a2 now, a1, b is verified, c1, d are verified, a2, d are verified.For this
The real-time inspection demand of multithread (multiple events), application platform have been carried out, and it is all only to need a task to be just able to satisfy
These verification, also have similar verification task at present and run in application platform.
Examine graph model:
By taking transaction business scene as an example, it is assumed that trade link has 4 operation systems to need reconciliation, be respectively transaction, inventory,
Fund and payment, the event being directed to respectively correspond the lower single event of transaction, subtract inventory's event, using red packet fund event, branch
The event of paying.The demand of reconciliation is as follows:
Transaction event and inventory's event verify;
Transaction event and fund event verify;
Transaction event and payment events verify;
Fund event and payment events verify.
Once one of them in 4 verifications above goes wrong, it is regarded as operation system and there is exception, need in time
Alarm.It is apparent that this is a graph model.For example, then there is a line, connecting A and B point in A event and the verification of B event.With thing
For part as point (Node), the method for calibration between event constructs figure (Graph) model as side (Edge).According to above-mentioned
Scene, the graph model of construction is as shown in Figure 1:
For business side, it is only necessary to which in application platform, as soon as building " figure ", application platform can automatically time
" verification side " and " case point " all in figure is gone through, the verification of these events is completed.
According to the configuration of user, it is possible that graph model as shown in Figure 2:
As shown in Fig. 2, this is one " unconnected graph ".In fact, the institute in a connected component (connected subgraph) is busy
Part has a same key (such as order number order_id) by these event aggregations to one piece, to guarantee these event energy
Same local (thread) is routed to verify, such as tetra- events of ABCD, they have a same order number
(order_id), these clusters of events are verified together;However, there are also other several events, such as E and F, they are used
Different type identification (such as key, such as item_id), such E and F form one individual " connected component ".
Connected component (subgraph) of identical key meeting " being gathered into ", all connected components can form a big, industry
It is engaged in customized check plot.For this kind of complicated check plot, application platform can be calculated according to the input (point set and Bian Ji) of user
All connected components of a figure out, then successively verify each connected component.
As shown in figure 3, the alternative embodiment of the application provides a kind of DAG figure, i.e. directed acyclic graph.It is responsible for
EventSource-- > Filter-- > BizEvent mapping.Wherein, EventSource, can be Binlog data source,
Notify data source, MetaQ data source or TT data source.Filter is filter, or is event transformer, and being responsible for will
RawEvent (binlog, Notify message etc.) in EventSource is converted to the business event that reconciliation is used
(BizEvent).Each event source can be divided into different business event BizEvent by different Filter;Certainly,
Multiple EventSource can also be converted to same class BizEvent by Filter.In this way, in EventSource and
In the mapping of BizEvent, by Filter as intermediary, realize one-to-many, more between EventSource and BizEvent
To one or the relationship of multi-to-multi, operational various demands are flexibly met.
As shown in figure 4, there are 5 business to produce various incremental messages, by four filter be converted to corresponding A,
B, tetra- kinds of business event of C, D are temporarily stored in inside Event Container, when time-out time arrives, start to construct artwork
Type, the point being associated with to each edge in figure (verification side) (business event to) verify, then will be different once verification notes abnormalities
Normal result is stored in system, and alerts to business side.
As shown in figure 5, MySQL, HBase etc. of bottom, for keeping in business event, business side can be according to incremental message
Pressure select different storage systems.
Upper one layer of Event Holder has done one layer to the access of event and has been abstracted;Position Record is for recording
The position of current delta information consumption;Meta Data is used for the metadata in storage service system event source.
The Container on the right indicates that whole system is operated under a distributed environment, this Container
Distributed operation frame, such as Storm, Spark etc. can be arbitrary.
The Core module of core covers Pipeline model and graph model described above.It business side can be according to SDK
Develop customized Filter, BizEvent and Checker, the module can dynamically load business side during operation generation
Code;On the other hand, BizEvent and Checker just constitutes point and the side in graph model again, and the module is when verification
All Checker can be traversed, to verify BizEvent.
Top layer present embodiments provides the api interface and SDK of web interface, opening, facilitate business side quickly access and
It uses.
The leftmost side indicates the functions such as the miscellaneous function of platform, including alarm, statistics, monitoring deep bid, daily unified query.
Embodiment 2
According to the embodiment of the present application, a kind of embodiment of the method for the method of calibration of business event is additionally provided, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune
It calculates and is executed in device.Fig. 6 shows a kind of terminal (or mobile device) of method of calibration for realizing business event
Hardware block diagram.As shown in fig. 6, terminal 60 (or mobile device 60) may include one or more (adopts in figure
With 602a, 602b ... ..., 602n is shown) processor 602 (processor 602 can include but is not limited to Micro-processor MCV or
The processing unit of programmable logic device FPGA etc.), memory 604 for storing data and the biography for communication function
Defeated module 606.It in addition to this, can also include: display, input/output interface (I/O interface), universal serial bus (USB)
Port (a port that can be used as in the port of I/O interface is included), network interface, power supply and/or camera.This field is general
Logical technical staff is appreciated that structure shown in fig. 6 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.
For example, terminal 60 may also include the more perhaps less component than shown in Fig. 6 or have different from shown in Fig. 6
Configuration.
It is to be noted that said one or multiple processors 602 and/or other data processing circuits lead to herein
Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware
Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter
In any one in other elements in calculation machine terminal 60 (or mobile device).As involved in the embodiment of the present application,
The data processing circuit controls (such as the selection for the variable resistance end path connecting with interface) as a kind of processor.
Memory 604 can be used for storing the software program and module of application software, such as () side in the embodiment of the present application
Corresponding program instruction/the data storage device of method, processor 602 by the software program that is stored in memory 604 of operation with
And module realizes the leak detection method of above-mentioned application program thereby executing various function application and data processing.It deposits
Reservoir 604 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills
It sets, flash memory or other non-volatile solid state memories.In some instances, memory 604 can further comprise relative to place
The remotely located memory of device 602 is managed, these remote memories can pass through network connection to terminal 60.Above-mentioned network
Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 606 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 60 provide.In an example, transmitting device 606 includes that a network is suitable
Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to
Internet is communicated.In an example, transmitting device 606 can be radio frequency (Radio Frequency, RF) module,
For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with
The user interface of terminal 60 (or mobile device) interacts.
Under above-mentioned running environment, this application provides the methods of calibration of business event as shown in Figure 7.As shown in fig. 7,
This method comprises:
Step S702 obtains multiple business event to be verified;
Step S704 traverses above-mentioned multiple business event, and obtains the incremental data of above-mentioned multiple business event;
Step S706 verifies the incremental data of at least one business event pair in above-mentioned multiple business event,
In, there are preset association relationships between the business event of above-mentioned business event centering.
Optionally, determine between the business event of above-mentioned business event centering that there is default association closes in a case where
System:
It determines between the business event of above-mentioned business event centering with the presence or absence of default verification mode, is determining that there are above-mentioned
When default verification mode, it is determined that there are above-mentioned preset association relationships between the business event of above-mentioned business event centering.
Optionally, before traversing above-mentioned multiple business event, the above method further include: using above-mentioned multiple business event as
The node of object identifier figure, using the verification mode between each business event pair as the side of above-mentioned object identifier figure, in building
State object identifier figure;
When traversing above-mentioned multiple business event, the above method further include: traverse the side in above-mentioned object identifier figure.
Optionally, before constructing above-mentioned object identifier figure, the above method further include:
Whether detection current time reaches preset time;When reaching preset time, triggering constructs above-mentioned object identifier figure.
Optionally, multiple business event to be verified are obtained, comprising:
Obtain business event corresponding with same type mark, wherein the above-mentioned type is identified for reflecting above-mentioned multiple industry
Type of service belonging to business event;
Corresponding business event is identified as above-mentioned multiple business event to be verified using with same type.
Optionally, business event corresponding with same type mark is obtained further include: obtain from multiple data sources original
Data;Above-mentioned initial data is converted into original service event, and according to the corresponding type identification of above-mentioned primitive event determine with
Above-mentioned same type identifies corresponding business event.
Optionally, the incremental data of above-mentioned multiple business event is obtained, comprising: from the corresponding log note of above-mentioned business event
Above-mentioned incremental data is obtained in record.
Optionally, the incremental data of at least one business event pair in above-mentioned multiple business event is verified, comprising:
The corresponding incremental data of more above-mentioned two business event of at least one business event centering, wherein refer in comparison result
It is determined when showing consistent through verification, is determined when comparison result instruction is inconsistent unverified.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, the technical solution of the application is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the application.
Embodiment 3
According to the embodiment of the present application, additionally provide it is a kind of for implementing the device of the above method, as shown in figure 8, the device
Include:
First obtains module 80, for obtaining multiple business event to be verified;
Second obtains module 82, for traversing the multiple business event, and obtains the increment of the multiple business event
Data;
Correction verification module 84 carries out school for the incremental data at least one business event pair in the multiple business event
It tests, wherein there are preset association relationships between the business event of the business event centering.
Herein it should be noted that above-mentioned modules correspond to embodiment 1 in each step, two modules with it is corresponding
The step of the example realized it is identical with application scenarios, but be not limited to the above embodiments a disclosure of that.It needs to illustrate
It is that above-mentioned module is may operate in as a part of device in the terminal 60 of the offer of embodiment 2.
It should be noted that the preferred embodiment of the present embodiment may refer to the associated description in embodiment 1 or 2, this
Place repeats no more.
Embodiment 4
The present embodiment also provides the method for calibration of another business event, as shown in figure 9, this method comprises:
Step S902 receives logging request;
Step S904 shows operation interface to user when above-mentioned logging request is verified;
Step S906 receives the operational order at aforesaid operations interface, and under the triggering of aforesaid operations instruction, obtains to school
The multiple business event tested;
Step S908 traverses above-mentioned multiple business event, and obtains the incremental data of above-mentioned multiple business event;
Step S910 verifies the incremental data of at least one business event pair in above-mentioned multiple business event,
In, there are preset association relationships between the business event of above-mentioned business event centering.
It should be noted that the preferred embodiment of the present embodiment may refer to the associated description in embodiment 1 or 2, this
Place repeats no more.
Embodiment 5
Embodiments herein can provide a kind of terminal, which can be in terminal group
Any one computer terminal.Optionally, in the present embodiment, above-mentioned terminal also could alternatively be mobile whole
The terminal devices such as end.
Optionally, in the present embodiment, above-mentioned terminal can be located in multiple network equipments of computer network
At least one network equipment.
In the present embodiment, above-mentioned terminal can be with following in the method for calibration of the business event of executing application
The program code of step: multiple business event to be verified are obtained;The multiple business event is traversed, and obtains the multiple industry
The incremental data of business event;The incremental data of at least one business event pair in the multiple business event is verified,
In, there are preset association relationships between the business event of the business event centering.
Wherein, memory can be used for storing software program and module, such as the security breaches detection in the embodiment of the present application
Corresponding program instruction/the module of method and apparatus, the software program and module that processor is stored in memory by operation,
Thereby executing various function application and data processing, that is, realize the detection method of above-mentioned system vulnerability attack.Memory can
Can also include nonvolatile memory including high speed random access memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to terminal A.The example of above-mentioned network is including but not limited to mutual
Networking, intranet, local area network, mobile radio communication and combinations thereof.
Processor can call the information and application program of memory storage by transmitting device, to execute following step:
Obtain multiple business event to be verified;The multiple business event is traversed, and obtains the incremental number of the multiple business event
According to;The incremental data of at least one business event pair in the multiple business event is verified, wherein the business event
There are preset association relationships between the business event of centering.
Using the embodiment of the present application, solves service database existing for current business checkschema and bear biggish skill
Art problem.
It will appreciated by the skilled person that the structure of terminal described in the present embodiment is only to illustrate, meter
It is mutual that calculation machine terminal is also possible to smart phone (such as Android phone, iOS mobile phone), tablet computer, applause computer and movement
The terminal devices such as networked devices (Mobile Internet Devices, MID), PAD.The present embodiment does not fill above-mentioned electronics
The structure set causes to limit.For example, terminal may also include more than above-mentioned terminal or less component (such as
Network interface, display device etc.), or with the configuration different from above-mentioned terminal.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium
In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 6
Embodiments herein additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can
With program code performed by the method for calibration for saving business event provided by above-described embodiment 2.
Optionally, in the present embodiment, above-mentioned storage medium can be located in computer network in computer terminal group
In any one terminal, or in any one mobile terminal in mobile terminal group.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: obtaining
Take multiple business event to be verified;The multiple business event is traversed, and obtains the incremental data of the multiple business event;
The incremental data of at least one business event pair in the multiple business event is verified, wherein the business event pair
In business event between there are preset association relationships.
Embodiment 7
According to the another aspect of the embodiment of the present application, a kind of data processing method, as shown in Figure 10, the party are additionally provided
Method, comprising:
Step S1002 obtains business event to be verified, wherein business event includes event id and event content;
Optionally, business event to be verified includes that same type identifies corresponding multiple business event, wherein type mark
Know for reflecting type of service belonging to business event.
Step S1004 obtains the incremental data of business event;Optionally, which can be realized by following procedure, but
It is without being limited thereto: to obtain incremental data from the corresponding log recording of business event.
As the alternative embodiment of the application, show as obtaining the incremental data of business event pair in step S1002
When, step S1004 can also be realized by following procedure:.Construct object identifier figure, wherein using multiple business event as mesh
The node for marking check plot, using the verification mode between each business event pair as the side of object identifier figure;Traverse object identifier
Side in figure, to obtain the incremental data of business event.
Step S1006, verifies incremental data.Verification includes: consistency verification of data.
It should be noted that the preferred embodiment of the present embodiment may refer to the associated description in embodiment 1 or 2, this
Place repeats no more.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the application whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (17)
1. a kind of method of calibration of business event characterized by comprising
Obtain multiple business event to be verified;
The multiple business event is traversed, and obtains the incremental data of the multiple business event;
The incremental data of at least one business event pair in the multiple business event is verified, wherein the business thing
There are preset association relationships between the business event of part centering.
2. the method according to claim 1, wherein determining the industry of the business event centering in a case where
There are preset association relationships between business event:
It determines between the business event of the business event centering with the presence or absence of default verification mode, is determining that there are described default
When verification mode, it is determined that there are the preset association relationships between the business event of the business event centering.
3. the method according to claim 1, wherein
Before traversing the multiple business event, the method also includes: using the multiple business event as object identifier figure
Node construct the object identifier using the verification mode between each business event pair as the side of the object identifier figure
Figure;
When traversing the multiple business event, the method also includes: traverse the side in the object identifier figure.
4. according to the method described in claim 3, it is characterized in that, the method is also wrapped before constructing the object identifier figure
It includes:
Whether detection current time reaches preset time;When reaching preset time, triggering constructs the object identifier figure.
5. the method according to claim 1, wherein obtaining multiple business event to be verified, comprising:
Obtain business event corresponding with same type mark, wherein the type identification is for reflecting the multiple business thing
Type of service belonging to part;
Corresponding business event is identified as multiple business event to be verified using with same type.
6. according to the method described in claim 5, it is characterized in that, obtaining business event packet corresponding with same type mark
It includes:
Initial data is obtained from multiple data sources;
The initial data is converted into original service event, and according to the corresponding type identification determination of the primitive event and institute
It states same type and identifies corresponding business event.
7. method as claimed in any of claims 1 to 6, which is characterized in that obtain the multiple business event
Incremental data, comprising: obtain the incremental data from the corresponding log recording of the business event.
8. method as claimed in any of claims 1 to 6, which is characterized in that in the multiple business event extremely
The incremental data of a few business event pair verifies, comprising: relatively two business of at least one described business event centering
The corresponding incremental data of event, wherein determined when comparison result instruction is consistent through verification, indicated not in comparison result
It is determined when consistent unverified.
9. a kind of method of calibration of business event characterized by comprising
Receive logging request;
When the logging request is verified, operation interface is shown to user;
The operational order of the operation interface is received, and under the triggering of the operational order, obtains multiple business to be verified
Event;The multiple business event is traversed, and obtains the incremental data of the multiple business event;To the multiple business event
In the incremental data of at least one business event pair verify, wherein deposited between the business event of the business event centering
In preset association relationship.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 7 described in business event method of calibration.
11. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 7 described in business event method of calibration.
12. a kind of data processing method characterized by comprising
Obtain business event to be verified, wherein the business event includes event id and event content;
Obtain the incremental data of the business event;
The incremental data is verified.
13. according to the method for claim 12, wherein the business event to be verified includes that same type mark corresponds to
Multiple business event, wherein the type identification is for reflecting type of service belonging to business event.
14. according to the method for claim 12, wherein the incremental data for obtaining the business event includes: from the industry
The incremental data is obtained in the corresponding log recording of business event.
15. according to the method for claim 12, wherein the verification includes: consistency verification of data.
16. according to the method for claim 12, wherein the incremental data for obtaining the business event includes:
Obtain the incremental data of business event pair.
17. according to the method for claim 16, wherein obtain business event pair incremental data include:
Construct object identifier figure, wherein using multiple business event as the node of object identifier figure, with each business event
Side of the verification mode as the object identifier figure between;
The side in the object identifier figure is traversed, to obtain the incremental data of the business event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710953445.5A CN109669807A (en) | 2017-10-13 | 2017-10-13 | The method of calibration and device of business event, processor, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710953445.5A CN109669807A (en) | 2017-10-13 | 2017-10-13 | The method of calibration and device of business event, processor, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109669807A true CN109669807A (en) | 2019-04-23 |
Family
ID=66140083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710953445.5A Pending CN109669807A (en) | 2017-10-13 | 2017-10-13 | The method of calibration and device of business event, processor, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669807A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175916A (en) * | 2019-04-26 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Cash flow checking method and device |
CN111522881A (en) * | 2020-04-26 | 2020-08-11 | 北京三快在线科技有限公司 | Service data processing method, device, server and storage medium |
CN112364109A (en) * | 2020-11-13 | 2021-02-12 | 卫宁健康科技集团股份有限公司 | Event service association method, system, device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004258943A (en) * | 2003-02-26 | 2004-09-16 | Hitachi Ltd | Method for checking consistency between municipal system and resident registry system in resident registry network |
JP2006343790A (en) * | 2005-06-07 | 2006-12-21 | Nippon Telegr & Teleph Corp <Ntt> | Event hash generation method, event history accumulation method, event information verification method and event information processing system |
US7774320B1 (en) * | 2005-04-01 | 2010-08-10 | Apple Inc. | Verifying integrity of file system data structures |
CN105786911A (en) * | 2014-12-25 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Application data checking method and device |
CN106407189A (en) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | Business data incidence relation verification method and device |
-
2017
- 2017-10-13 CN CN201710953445.5A patent/CN109669807A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004258943A (en) * | 2003-02-26 | 2004-09-16 | Hitachi Ltd | Method for checking consistency between municipal system and resident registry system in resident registry network |
US7774320B1 (en) * | 2005-04-01 | 2010-08-10 | Apple Inc. | Verifying integrity of file system data structures |
JP2006343790A (en) * | 2005-06-07 | 2006-12-21 | Nippon Telegr & Teleph Corp <Ntt> | Event hash generation method, event history accumulation method, event information verification method and event information processing system |
CN105786911A (en) * | 2014-12-25 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Application data checking method and device |
CN106407189A (en) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | Business data incidence relation verification method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175916A (en) * | 2019-04-26 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Cash flow checking method and device |
CN111522881A (en) * | 2020-04-26 | 2020-08-11 | 北京三快在线科技有限公司 | Service data processing method, device, server and storage medium |
CN111522881B (en) * | 2020-04-26 | 2023-04-28 | 北京三快在线科技有限公司 | Service data processing method, device, server and storage medium |
CN112364109A (en) * | 2020-11-13 | 2021-02-12 | 卫宁健康科技集团股份有限公司 | Event service association method, system, device, electronic equipment and storage medium |
CN112364109B (en) * | 2020-11-13 | 2024-02-27 | 卫宁健康科技集团股份有限公司 | Event business association method, system, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10846706B2 (en) | Method and apparatus for autonomous services composition | |
CN107395665A (en) | A kind of block chain service handling and business common recognition method and device | |
CN109146381A (en) | Logistics data monitoring method, device, electronic equipment and computer storage medium | |
CN108984388A (en) | A kind of method and terminal device generating automatic test cases | |
CN109272381A (en) | Business recommended method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN109905293A (en) | A kind of terminal device recognition methods, system and storage medium | |
CN109669807A (en) | The method of calibration and device of business event, processor, storage medium | |
CN109886683A (en) | Monitor the method, apparatus and storage medium of block chain data | |
CN108829588B (en) | Processing method, deployment system and device for testing application program | |
CN108388512A (en) | Data processing method and server | |
US8856155B2 (en) | Management of configuration data structures in multi-layer data models | |
US11423499B2 (en) | Logistics sensors for smart contract arbitration | |
CN110275992A (en) | Emergency processing method, device, server and computer readable storage medium | |
CN106021003B (en) | Restorative procedure, intelligent terminal and the server of intelligent terminal | |
CN105302556B (en) | Realize the method and system and server unit calculated | |
CN110196780A (en) | Determine method, apparatus, storage medium and the electronic device of server state | |
CN113778878A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN109146128A (en) | Business data processing method, device and server | |
CN109299195A (en) | Data processing method, device and storage medium | |
CN114598680B (en) | Domain name management method, device and storage medium | |
CN110008034A (en) | Task automated execution method, apparatus, electronic equipment and storage medium | |
CN110022323A (en) | A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux | |
CN109656964A (en) | The method, apparatus and storage medium of comparing | |
CN110019456A (en) | Data lead-in method, device and system | |
CN110417978A (en) | Menu configuration method, device, equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |