CN107133302A - Realize method, system, terminal and the computer-readable recording medium of data consistency - Google Patents
Realize method, system, terminal and the computer-readable recording medium of data consistency Download PDFInfo
- Publication number
- CN107133302A CN107133302A CN201710290915.4A CN201710290915A CN107133302A CN 107133302 A CN107133302 A CN 107133302A CN 201710290915 A CN201710290915 A CN 201710290915A CN 107133302 A CN107133302 A CN 107133302A
- Authority
- CN
- China
- Prior art keywords
- operation flow
- queue
- failure
- message
- relative recording
- 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
- G06F16/273—Asynchronous replication or reconciliation
-
- 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/25—Integrating or interfacing systems involving database management systems
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention discloses a kind of method for realizing data consistency, system, terminal and computer-readable recording medium, belongs to data processing field.Wherein, this method includes:Message-oriented middleware is disposed, the message-oriented middleware is provided with major queue and failure queue;Before each operation flow is performed, a record information is first sent into the major queue, to record the operation flow that will be performed;After each operation flow is performed, the relative recording information that the major queue will perform the operation flow of failure is transferred to the failure queue;When handling the failure queue, restart to perform corresponding operation flow according to the relative recording information.Present invention can ensure that each operation flow finally runs succeeded, and then cause flow data finally being consistent property.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of method, system, terminal for realizing data consistency
And computer-readable recording medium.
Background technology
It is known that message-oriented middleware is applicable to the distributed environment of reliable data transmission.In the middle of message
In the system of part mechanism, the event of other side is activated between different objects by transmitting message, corresponding operation is completed.Send
Person transmits the message to message server, and message server in some queues, will disappear message deposit suitable when again
Breath is transmitted to recipient.Message-oriented middleware can communicate between different platform, and it is often used to mask various platforms and agreement
Between characteristic, realize the collaboration between application program, the advantage is that can be provided between client and server it is synchronous and
Asynchronous connection, and message can be transmitted or be stored at any time forwarding, this is also that it compares remote process
The reason for calling further.
In General System, all there is such a scene, a certain data should be preserved into database, preserve again to
In caching.General situation is exactly otherwise first write into Databasce that in rear write-in caching, or first write-in is buffered in write into Databasce
In.Now, if wherein having a step unsuccessful or going wrong, the data that may result in caching and database differ
Cause, this is unacceptable.
The content of the invention
It is a primary object of the present invention to propose that a kind of method for realizing data consistency, system, terminal and computer can
Storage medium is read, it can ensure that each operation flow finally runs succeeded, and then cause flow data finally being consistent property.
To achieve the above object, a kind of method for realizing data consistency that the present invention is provided, methods described includes following
Step:Message-oriented middleware is disposed, the message-oriented middleware is provided with major queue and failure queue;Before each operation flow is performed,
A record information is first sent into the major queue, to record the operation flow that will be performed;After each operation flow is performed,
The relative recording information that the major queue will perform the operation flow of failure is transferred to the failure queue;The processing failure team
During row, corresponding operation flow is re-executed according to the relative recording information.
Preferably, " after each operation flow is performed, the major queue will perform the phase of the operation flow of failure to the step
Close record information and be transferred to the failure queue " specifically include:When each execution step of the operation flow is performed both by success
When, the major queue deletes relative recording information, or in relative recording information mark the operation flow processed into.
Preferably, " after each operation flow is performed, the major queue will perform the phase of the operation flow of failure to the step
Close record information and be transferred to the failure queue " specifically also include:When any execution step of the operation flow performs failure
When, relative recording information is sent to after the failure queue by the major queue, then carries out relative recording information deletion.
Preferably, the step " when handling the failure queue, restarts to perform phase according to the relative recording information
The operation flow answered " is specifically included:When handling the failure queue, the corresponding operation flow of relative recording information is first deleted
The step of may having performed, then restart to perform corresponding operation flow, or it is direct according to the relative recording information
Restart to perform corresponding operation flow, to carry out data cover write-in.
In addition, to achieve the above object, the present invention also proposes a kind of system for realizing data consistency, the system bag
Include:Message-oriented middleware deployment module, the deployment for carrying out message-oriented middleware, the message-oriented middleware is provided with major queue and mistake
Lose queue;Operation flow pretreatment module, before being performed for each operation flow, a record letter is sent into the major queue
Breath, to record the operation flow that will be performed;Operation flow performing module, step is performed for performing each of the operation flow
Suddenly, and after each operation flow is performed, the relative recording information of operation flow of failure will be performed from the major queue
It is transferred to the failure queue;Failure queue processing module, for handling the failure queue, to be believed according to the relative recording
Breath restarts to perform corresponding operation flow.
Preferably, the operation flow performing module includes the recording unit that runs succeeded, for when the operation flow
When each execution step is performed both by successfully, relative recording information is deleted on the major queue, or in the correlation of the major queue
Mark the operation flow processed in record information into.
Preferably, the operation flow performing module includes performing failure record unit, for when the operation flow
Any execution step performs failure, and relative recording information is transferred into the failure queue from the major queue, and in the master
Relative recording information is deleted in queue.
Preferably, when the failure queue processing resume module handles the failure queue, the relative recording is first deleted
The execution step that the corresponding operation flow of information may have been performed, then restart to perform corresponding operation flow, or root
Directly restart to perform corresponding operation flow according to the relative recording information, to carry out data cover write-in.
In addition, to achieve the above object, the present invention also proposes a kind of terminal, the terminal include memory, processor and
The program that can be run on the memory and on the processor is stored in, is realized when described program is by the computing device
The step of method as described in claim 1-4 is any.
In addition, to achieve the above object, the present invention also proposes a kind of computer-readable recording medium, described computer-readable
Storage medium is stored with one or more program, and one or more of programs can be held by one or more processor
OK, to realize the method such as preceding claim the step of.
A kind of method for realizing data consistency proposed by the present invention, system, terminal and computer-readable recording medium, its
Relative recording, and the Business Stream that will perform failure are carried out to the execution of each operation flow by the major queue of message-oriented middleware
The relative recording information of journey is transferred to the failure queue of message-oriented middleware, so as to subsequently to the correlation of the unsuccessfully record information of queue
Operation flow is re-executed, and then " performing the operation flow of failure can re-execute formation one kind, until the operation flow
It is final run succeeded untill " mechanism, consequently, it is possible to just can ensure that each operation flow finally runs succeeded, and then cause stream
Number of passes is according to final being consistent property.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention.
Fig. 2 is the communications network system Organization Chart that mobile terminal as shown in Figure 1 is based on.
Fig. 3 is the FB(flow block) for the method that first embodiment of the invention realizes data consistency.
Fig. 4 is the structured flowchart for the system that second embodiment of the invention realizes data consistency.;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
As shown in figure 1, first embodiment of the invention proposes a kind of method for realizing data consistency, comprise the following steps:
Step S1:Message-oriented middleware is disposed, message-oriented middleware is provided with major queue and failure queue.
Specifically, message-oriented middleware is applicable to the distributed environment of reliable data transmission.Using message-oriented middleware
In the system of mechanism, the event of other side is activated between different objects by transmitting message, corresponding operation is completed.Sender
Transmit the message to message server, message server by message deposit in some queues, again by message suitable when
It is transmitted to recipient.Message-oriented middleware can communicate between different platform, it be often used to mask various platforms and agreement it
Between characteristic, realize the collaboration between application program, the advantage is that can provide synchronous and different between client and server
The connection of step, and message can be transmitted or be stored at any time forwarding, this is also that it is adjusted than remote process
With further the reason for.
Message-oriented middleware carries out platform-independent data exchange using the message passing mechanism of high efficient and reliable, and based on data
Communicate with carrying out the integrated of distributed system, by providing message transmission and message queueing model, it can be in distributed environment
Communication between lower extension process.
Thus, before operation flow execution, for ease of carrying out relative recording mark to the operation flow, it can first dispose one
Individual message-oriented middleware, the message-oriented middleware can be that (Redis is that the use increased income an ANSI C language is write, supported to Redis
Network, can based on internal memory also can persistence log type, Key-Value databases, and the API of multilingual is provided) or
(Kafka is that a kind of distributed post of high-throughput subscribes to message system to Kafka, and it can handle the website of consumer's scale
In everything flow data) or other support acknowledgement messagings cancel functions message-oriented middleware.Message-oriented middleware is provided with
Major queue and failure queue, wherein, major queue is for depositing normal record information, and it is different that failure queue execution occurs for storage
Normal record information.
Step S2:Before each operation flow is performed, a record information is first sent into the major queue of message-oriented middleware, with
Record the operation flow that will be performed.
Specifically, whole operation flow generally comprises multiple execution steps, such as preserves database, preserves caching, Huo Zheqi
His business operation etc., and ensure that each execution step of each operation flow finally runs succeeded, to cause flow data
Final being consistent property, can first send a record letter before the execution of each operation flow into the major queue of message-oriented middleware
Breath, to record the operation flow that will be performed, the record information specifically can record " what stream is the operation flow that will be performed be
Journey" " which the operation flow includes and perform step" etc. information.
Step S3:After each operation flow is performed, the major queue of message-oriented middleware will perform the phase of the operation flow of failure
Close the failure queue that record information is transferred to message-oriented middleware.
Specifically, when sending a record information in its major queue to message-oriented middleware, to record the industry that will be performed
After flow of being engaged in, each execution step of the operation flow, during this, the major queue of message-oriented middleware just can be performed successively
Relative recording information can record " whether each execution step runs succeeded simultaneously" etc. information.Each when the operation flow holds
When row step is performed both by successfully, the major queue of message-oriented middleware deletes relative recording information, or in the relative recording information subscript
Remember that the operation flow is processed into waiting after each execution step of the operation flow is carried out successfully, send response
Information deletes corresponding record information into the major queue of message-oriented middleware by the major queue of message-oriented middleware, or in the phase
Mark the operation flow processed in corresponding record information into.And when any execution step of the operation flow performs failure
When, relative recording information is sent to after the failure queue of message-oriented middleware by the major queue of message-oriented middleware, then carries out related note
Information deletion is recorded, if there is the failure of any one step in that is, whole operation flow implementation procedure, message-oriented middleware
Major queue first writes the relative recording information of the operation flow failure queue of message-oriented middleware, then response message middleware
Major queue, deletes the relative recording information in the major queue of message-oriented middleware.
Step S4:When handling the failure queue of message-oriented middleware, according to the relative recording of the failure queue of message-oriented middleware
Information restarts to perform corresponding operation flow.
Specifically, program can be set an extra thread and be handled specifically designed for the failure queue of message-oriented middleware.
When handling the failure queue of message-oriented middleware, the relative recording information that can first delete the failure queue of message-oriented middleware is corresponding
The step of operation flow may have been performed, then restart to perform corresponding operation flow, due to the relative recording information
Relative recording can be carried out to the execution of each execution step of the operation flow, according to these relative recordings, it is to be understood that the business
Which the step of flow may have been performed have, now, and the operation that first can be performed these steps is all deleted, so as to weight
It is new to start to perform the operation flow;Also it can directly be restarted to perform corresponding operation flow according to record information, to enter line number
According to covering write-in, that is, the operation flow had performed any step before ignoring, and directly restarted to perform the once business
Flow, to carry out covering write-in to data before.So, just can forming one kind, " performing the operation flow of failure can weigh
The mechanism of new execution, untill the operation flow finally runs succeeded ", consequently, it is possible to just can ensure that each operation flow most
Run succeeded eventually, and then cause flow data finally being consistent property.
As shown in figure 4, second embodiment of the invention proposes a kind of system 300 for realizing data consistency, the system 300 is wrapped
Include message-oriented middleware deployment module 310, operation flow pretreatment module 320, operation flow performing module 330 and failure queue
Processing module 340.
Wherein, message-oriented middleware deployment module 310 is mainly used in carrying out the deployment of message-oriented middleware, and the message-oriented middleware is set
It is equipped with major queue and failure queue.
Specifically, message-oriented middleware is applicable to the distributed environment of reliable data transmission.Using message-oriented middleware
In the system of mechanism, the event of other side is activated between different objects by transmitting message, corresponding operation is completed.Sender
Transmit the message to message server, message server by message deposit in some queues, again by message suitable when
It is transmitted to recipient.Message-oriented middleware can communicate between different platform, it be often used to mask various platforms and agreement it
Between characteristic, realize the collaboration between application program, the advantage is that can provide synchronous and different between client and server
The connection of step, and message can be transmitted or be stored at any time forwarding, this is also that it is adjusted than remote process
With further the reason for.
Message-oriented middleware carries out platform-independent data exchange using the message passing mechanism of high efficient and reliable, and based on data
Communicate with carrying out the integrated of distributed system, by providing message transmission and message queueing model, it can be in distributed environment
Communication between lower extension process.
Thus,, can be by message for ease of carrying out relative recording mark to the operation flow before operation flow execution
Between part deployment module 310 what a message-oriented middleware first disposed, the message-oriented middleware can be that (Redis is one and increased income Redis
Use ANSI C languages write, support network, can based on internal memory also can persistence log type, Key-Value databases, and
There is provided multilingual API) or Kafka (Kafka be a kind of high-throughput distributed post subscribe to message system, it can
The everything flow data in website to handle consumer's scale) or other support acknowledgement messagings cancel functions message in
Between part.Message-oriented middleware is provided with major queue and failure queue, wherein, major queue is used to deposit normal record information, failure
Queue, which is used to deposit, to be occurred performing abnormal record information.
Operation flow pretreatment module 320 is mainly used in before each operation flow execution, to the major queue of message-oriented middleware
One record information of middle transmission, to record the operation flow that will be performed.
Specifically, whole operation flow generally comprises multiple execution steps, such as preserves database, preserves caching, Huo Zheqi
His business operation etc., and ensure that each execution step of each operation flow finally runs succeeded, to cause flow data
Final being consistent property, can be before the execution of each operation flow, by operation flow pretreatment module 320 first to message-oriented middleware
Major queue in send a record information, to record the operation flow that will perform, the record information specifically can record " will
The operation flow of execution is any flow" " which the operation flow includes and perform step" etc. information.
Operation flow performing module 330 is mainly used in performing each execution step of operation flow, and in each Business Stream
After Cheng Zhihang, the relative recording information that will perform the operation flow of failure is transferred to the failure queue from major queue.The business
Flow executing modules include run succeeded recording unit 331 and execution failure record unit 332.
Specifically, when operation flow pretreatment module 320 sends a record information into the major queue of message-oriented middleware,
To record after the operation flow that will be performed, operation flow performing module 330 just can perform each of the operation flow successively and hold
Row step, during this, the relative recording information of the major queue of message-oriented middleware can record " each whether to perform step simultaneously
Run succeeded" etc. information.When each execution step of the operation flow is performed both by successfully, the unit 331 that runs succeeded is in host team
Row delete relative recording information, or in relative recording information mark the operation flow processed into waiting the Business Stream
After each execution step of journey is carried out successfully, the unit 331 that runs succeeded can send response message to the master of message-oriented middleware
In queue, and in the message between part major queue on delete corresponding record information, or in the message between part major queue on
Corresponding record information on mark the operation flow processed into.And when any execution step of the operation flow is performed
During failure, performing failure record unit 332 can be transferred to relative recording information in the middle of message from the major queue of message-oriented middleware
The failure queue of part, and in the message between part major queue on delete relative recording information.If i.e. whole operation flow is performed
During when there is the failure of any one step, then performing failure record unit 332 can be first by the relative recording of the operation flow
Information by message-oriented middleware major queue write message-oriented middleware failure queue, then response message middleware major queue, delete
Except the relative recording information in the major queue of message-oriented middleware.
Failure queue processing module 340 mainly for the treatment of message-oriented middleware failure queue, with according to message-oriented middleware
The relative recording information of failure queue restart to perform corresponding operation flow.
Specifically, handled by failure queue processing module 340 specifically designed for the failure queue of message-oriented middleware.When
When failure queue processing module 340 handles the failure queue of message-oriented middleware, the failure queue of message-oriented middleware can be first deleted
The step of corresponding operation flow of relative recording information may have been performed, then restart to perform corresponding operation flow,
It is related according to these because the relative recording information can carry out relative recording to the execution of each execution step of the operation flow
Record, it is to be understood which the step of operation flow may have been performed have, now, the behaviour that first can be performed these steps
All delete, to restart to perform the operation flow;Also it can directly be restarted to perform accordingly according to record information
Operation flow, to carry out data cover write-in, that is, the operation flow had performed any step before ignoring, and directly opened again
Begin to perform the once operation flow, to carry out covering write-in to data before.So, it just can form one kind and " perform mistake
The operation flow lost can be re-executed, untill the operation flow finally runs succeeded " mechanism, consequently, it is possible to just can be true
Protect each operation flow finally to run succeeded, and then cause flow data finally being consistent property.
Third embodiment of the invention also proposes a kind of terminal, and the terminal includes memory, processor and is stored in the storage
On device and the program that can run on the processor, the program is realized following as shown in Figure 3 specific during the computing device
Step:
Step S1:Message-oriented middleware is disposed, message-oriented middleware is provided with major queue and failure queue.
Specifically, message-oriented middleware is applicable to the distributed environment of reliable data transmission.Using message-oriented middleware
In the system of mechanism, the event of other side is activated between different objects by transmitting message, corresponding operation is completed.Sender
Transmit the message to message server, message server by message deposit in some queues, again by message suitable when
It is transmitted to recipient.Message-oriented middleware can communicate between different platform, it be often used to mask various platforms and agreement it
Between characteristic, realize the collaboration between application program, the advantage is that can provide synchronous and different between client and server
The connection of step, and message can be transmitted or be stored at any time forwarding, this is also that it is adjusted than remote process
With further the reason for.
Message-oriented middleware carries out platform-independent data exchange using the message passing mechanism of high efficient and reliable, and based on data
Communicate with carrying out the integrated of distributed system, by providing message transmission and message queueing model, it can be in distributed environment
Communication between lower extension process.
Thus, before operation flow execution, for ease of carrying out relative recording mark to the operation flow, it can first dispose one
Individual message-oriented middleware, the message-oriented middleware can be that (Redis is that the use increased income an ANSI C language is write, supported to Redis
Network, can based on internal memory also can persistence log type, Key-Value databases, and the API of multilingual is provided) or
(Kafka is that a kind of distributed post of high-throughput subscribes to message system to Kafka, and it can handle the website of consumer's scale
In everything flow data) or other support acknowledgement messagings cancel functions message-oriented middleware.Message-oriented middleware is provided with
Major queue and failure queue, wherein, major queue is for depositing normal record information, and it is different that failure queue execution occurs for storage
Normal record information.
Step S2:Before each operation flow is performed, a record information is first sent into the major queue of message-oriented middleware, with
Record the operation flow that will be performed.
Specifically, whole operation flow generally comprises multiple execution steps, such as preserves database, preserves caching, Huo Zheqi
His business operation etc., and ensure that each execution step of each operation flow finally runs succeeded, to cause flow data
Final being consistent property, can first send a record letter before the execution of each operation flow into the major queue of message-oriented middleware
Breath, to record the operation flow that will be performed, the record information specifically can record " what stream is the operation flow that will be performed be
Journey" " which the operation flow includes and perform step" etc. information.
Step S3:After each operation flow is performed, the major queue of message-oriented middleware will perform the phase of the operation flow of failure
Close the failure queue that record information is transferred to message-oriented middleware.
Specifically, when sending a record information in its major queue to message-oriented middleware, to record the industry that will be performed
After flow of being engaged in, each execution step of the operation flow, during this, the major queue of message-oriented middleware just can be performed successively
Relative recording information can record " whether each execution step runs succeeded simultaneously" etc. information.Each when the operation flow holds
When row step is performed both by successfully, the major queue of message-oriented middleware deletes relative recording information, or in the relative recording information subscript
Remember that the operation flow is processed into waiting after each execution step of the operation flow is carried out successfully, send response
Information deletes corresponding record information into the major queue of message-oriented middleware by the major queue of message-oriented middleware, or in the phase
Mark the operation flow processed in corresponding record information into.And when any execution step of the operation flow performs failure
When, relative recording information is sent to after the failure queue of message-oriented middleware by the major queue of message-oriented middleware, then carries out related note
Information deletion is recorded, if there is the failure of any one step in that is, whole operation flow implementation procedure, message-oriented middleware
Major queue first writes the relative recording information of the operation flow failure queue of message-oriented middleware, then response message middleware
Major queue, deletes the relative recording information in the major queue of message-oriented middleware.
Step S4:When handling the failure queue of message-oriented middleware, according to the relative recording of the failure queue of message-oriented middleware
Information restarts to perform corresponding operation flow.
Specifically, program can be set an extra thread and be handled specifically designed for the failure queue of message-oriented middleware.
When handling the failure queue of message-oriented middleware, the relative recording information that can first delete the failure queue of message-oriented middleware is corresponding
The step of operation flow may have been performed, then restart to perform corresponding operation flow, due to the relative recording information
Relative recording can be carried out to the execution of each execution step of the operation flow, according to these relative recordings, it is to be understood that the business
Which the step of flow may have been performed have, now, and the operation that first can be performed these steps is all deleted, so as to weight
It is new to start to perform the operation flow;Also it can directly be restarted to perform corresponding operation flow according to record information, to enter line number
According to covering write-in, that is, the operation flow had performed any step before ignoring, and directly restarted to perform the once business
Flow, to carry out covering write-in to data before.So, just can forming one kind, " performing the operation flow of failure can weigh
The mechanism of new execution, untill the operation flow finally runs succeeded ", consequently, it is possible to just can ensure that each operation flow most
Run succeeded eventually, and then cause flow data finally being consistent property.
Fourth embodiment of the invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium storage
Have one or more program, one or more program can by one or more computing device, with realize it is following such as
Specific steps shown in Fig. 3:
Step S1:Message-oriented middleware is disposed, message-oriented middleware is provided with major queue and failure queue.
Specifically, message-oriented middleware is applicable to the distributed environment of reliable data transmission.Using message-oriented middleware
In the system of mechanism, the event of other side is activated between different objects by transmitting message, corresponding operation is completed.Sender
Transmit the message to message server, message server by message deposit in some queues, again by message suitable when
It is transmitted to recipient.Message-oriented middleware can communicate between different platform, it be often used to mask various platforms and agreement it
Between characteristic, realize the collaboration between application program, the advantage is that can provide synchronous and different between client and server
The connection of step, and message can be transmitted or be stored at any time forwarding, this is also that it is adjusted than remote process
With further the reason for.
Message-oriented middleware carries out platform-independent data exchange using the message passing mechanism of high efficient and reliable, and based on data
Communicate with carrying out the integrated of distributed system, by providing message transmission and message queueing model, it can be in distributed environment
Communication between lower extension process.
Thus, before operation flow execution, for ease of carrying out relative recording mark to the operation flow, it can first dispose one
Individual message-oriented middleware, the message-oriented middleware can be that (Redis is that the use increased income an ANSI C language is write, supported to Redis
Network, can based on internal memory also can persistence log type, Key-Value databases, and the API of multilingual is provided) or
(Kafka is that a kind of distributed post of high-throughput subscribes to message system to Kafka, and it can handle the website of consumer's scale
In everything flow data) or other support acknowledgement messagings cancel functions message-oriented middleware.Message-oriented middleware is provided with
Major queue and failure queue, wherein, major queue is for depositing normal record information, and it is different that failure queue execution occurs for storage
Normal record information.
Step S2:Before each operation flow is performed, a record information is first sent into the major queue of message-oriented middleware, with
Record the operation flow that will be performed.
Specifically, whole operation flow generally comprises multiple execution steps, such as preserves database, preserves caching, Huo Zheqi
His business operation etc., and ensure that each execution step of each operation flow finally runs succeeded, to cause flow data
Final being consistent property, can first send a record letter before the execution of each operation flow into the major queue of message-oriented middleware
Breath, to record the operation flow that will be performed, the record information specifically can record " what stream is the operation flow that will be performed be
Journey" " which the operation flow includes and perform step" etc. information.
Step S3:After each operation flow is performed, the major queue of message-oriented middleware will perform the phase of the operation flow of failure
Close the failure queue that record information is transferred to message-oriented middleware.
Specifically, when sending a record information in its major queue to message-oriented middleware, to record the industry that will be performed
After flow of being engaged in, each execution step of the operation flow, during this, the major queue of message-oriented middleware just can be performed successively
Relative recording information can record " whether each execution step runs succeeded simultaneously" etc. information.Each when the operation flow holds
When row step is performed both by successfully, the major queue of message-oriented middleware deletes relative recording information, or in the relative recording information subscript
Remember that the operation flow is processed into waiting after each execution step of the operation flow is carried out successfully, send response
Information deletes corresponding record information into the major queue of message-oriented middleware by the major queue of message-oriented middleware, or in the phase
Mark the operation flow processed in corresponding record information into.And when any execution step of the operation flow performs failure
When, relative recording information is sent to after the failure queue of message-oriented middleware by the major queue of message-oriented middleware, then carries out related note
Information deletion is recorded, if there is the failure of any one step in that is, whole operation flow implementation procedure, message-oriented middleware
Major queue first writes the relative recording information of the operation flow failure queue of message-oriented middleware, then response message middleware
Major queue, deletes the relative recording information in the major queue of message-oriented middleware.
Step S4:When handling the failure queue of message-oriented middleware, according to the relative recording of the failure queue of message-oriented middleware
Information restarts to perform corresponding operation flow.
Specifically, program can be set an extra thread and be handled specifically designed for the failure queue of message-oriented middleware.
When handling the failure queue of message-oriented middleware, the relative recording information that can first delete the failure queue of message-oriented middleware is corresponding
The step of operation flow may have been performed, then restart to perform corresponding operation flow, due to the relative recording information
Relative recording can be carried out to the execution of each execution step of the operation flow, according to these relative recordings, it is to be understood that the business
Which the step of flow may have been performed have, now, and the operation that first can be performed these steps is all deleted, so as to weight
It is new to start to perform the operation flow;Also it can directly be restarted to perform corresponding operation flow according to record information, to enter line number
According to covering write-in, that is, the operation flow had performed any step before ignoring, and directly restarted to perform the once business
Flow, to carry out covering write-in to data before.So, just can forming one kind, " performing the operation flow of failure can weigh
The mechanism of new execution, untill the operation flow finally runs succeeded ", consequently, it is possible to just can ensure that each operation flow most
Run succeeded eventually, and then cause flow data finally being consistent property.
A kind of method and system for realizing data consistency proposed by the present invention, computer-readable recording medium, it passes through
The major queue of message-oriented middleware carrys out the execution to each operation flow and carries out relative recording, and will perform the operation flow failed
Relative recording information is transferred to the failure queue of message-oriented middleware, so as to subsequently to the related service of the unsuccessfully record information of queue
Flow is re-executed, and then " performing the operation flow of failure can re-execute formation one kind, until the operation flow is final
Untill running succeeded " mechanism, consequently, it is possible to just can ensure that each operation flow finally runs succeeded, and then cause flow number
According to final being consistent property.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of method for realizing data consistency, it is characterised in that the described method comprises the following steps:
Message-oriented middleware is disposed, the message-oriented middleware is provided with major queue and failure queue;
Before each operation flow is performed, a record information is first sent into the major queue, to record the business that will be performed
Flow;
After each operation flow is performed, the relative recording information that the major queue will perform the operation flow failed is transferred to described
Failure queue;
When handling the failure queue, restart to perform corresponding operation flow according to the relative recording information.
2. according to the method described in claim 1, it is characterised in that and the step " after each operation flow is performed, the host team
The relative recording information for arranging the operation flow by failure is performed is transferred to the failure queue " specifically include:When the Business Stream
When each execution step of journey is performed both by successfully, the major queue deletes relative recording information, or in relative recording information subscript
Remember the operation flow it is processed into.
3. method according to claim 2, it is characterised in that and the step " after each operation flow is performed, the host team
The relative recording information for arranging the operation flow by failure is performed is transferred to the failure queue " specifically also include:When the business
When any execution step of flow performs failure, relative recording information is sent to after the failure queue by the major queue, then
Carry out relative recording information deletion.
4. according to the method described in claim 1, it is characterised in that the step is " when handling the failure queue, according to described
Relative recording information restarts to perform corresponding operation flow " specifically include:When handling the failure queue, first delete described
The step of corresponding operation flow of relative recording information may have been performed, then restart to perform corresponding operation flow,
Or directly restart to perform corresponding operation flow according to the relative recording information, to carry out data cover write-in.
5. a kind of system for realizing data consistency, it is characterised in that the system includes:
Message-oriented middleware deployment module, the deployment for carrying out message-oriented middleware, the message-oriented middleware be provided with major queue and
Failure queue;
Operation flow pretreatment module, before being performed for each operation flow, a record information is sent into the major queue,
To record the operation flow that will be performed;
Operation flow performing module, each execution step for performing the operation flow, and in each operation flow
After execution, the relative recording information that will perform the operation flow of failure is transferred to the failure queue from the major queue;
Failure queue processing module, for handling the failure queue, to be restarted to perform according to the relative recording information
Corresponding operation flow.
6. system according to claim 5, it is characterised in that the operation flow performing module includes the record that runs succeeded
Unit, for when each execution step of the operation flow is performed both by successfully, relative recording to be deleted on the major queue
Information, or in the relative recording information of the major queue mark the operation flow processed into.
7. system according to claim 5, it is characterised in that the operation flow performing module includes performing failure record
Unit, for when any execution step of the operation flow performs failure, relative recording information to be turned from the major queue
Move to the failure queue, and the deletion relative recording information on the major queue.
8. system according to claim 5, it is characterised in that the failure queue processing resume module handles the failure
During queue, the execution step that the corresponding operation flow of relative recording information may have been performed first is deleted, then open again
Begin to perform corresponding operation flow, or directly restart to perform corresponding operation flow according to the relative recording information, with
Carry out data cover write-in.
9. a kind of terminal, it is characterised in that the terminal includes memory, processor and is stored on the memory and can be
The program run on the processor, described program is realized as described in claim 1-4 is any during the computing device
The step of method.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing device, to realize that claim 1-4 such as appoints
The step of method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710290915.4A CN107133302A (en) | 2017-04-28 | 2017-04-28 | Realize method, system, terminal and the computer-readable recording medium of data consistency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710290915.4A CN107133302A (en) | 2017-04-28 | 2017-04-28 | Realize method, system, terminal and the computer-readable recording medium of data consistency |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107133302A true CN107133302A (en) | 2017-09-05 |
Family
ID=59715620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710290915.4A Pending CN107133302A (en) | 2017-04-28 | 2017-04-28 | Realize method, system, terminal and the computer-readable recording medium of data consistency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133302A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009257A (en) * | 2017-12-08 | 2018-05-08 | 武汉虹信技术服务有限责任公司 | A kind of wireless RF data screening plant and method based on streaming computing |
CN109508251A (en) * | 2018-11-21 | 2019-03-22 | 北京锐安科技有限公司 | Date storage method, system, equipment and medium |
CN110532066A (en) * | 2018-05-23 | 2019-12-03 | 中国移动通信集团浙江有限公司 | A kind of realization method and system of transaction consistency |
CN110968431A (en) * | 2018-09-28 | 2020-04-07 | 阿里巴巴集团控股有限公司 | Message processing method, device and equipment |
CN112202781A (en) * | 2020-09-30 | 2021-01-08 | 广东巴金斯科技有限公司 | E-commerce large data volume receipt message processing method, device and system |
CN113191767A (en) * | 2021-05-10 | 2021-07-30 | 京东数字科技控股股份有限公司 | Data processing method of distributed system and related equipment |
CN113392119A (en) * | 2021-06-30 | 2021-09-14 | 上海万物新生环保科技集团有限公司 | Data consistency processing method and equipment |
CN114007111A (en) * | 2021-10-28 | 2022-02-01 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007133453A (en) * | 2005-11-08 | 2007-05-31 | Hitachi Software Eng Co Ltd | Message queuing server and method of monitoring the same |
CN101102360A (en) * | 2007-08-07 | 2008-01-09 | 中兴通讯股份有限公司 | A method for automatic form return |
CN102111419A (en) * | 2011-03-07 | 2011-06-29 | 浙江大学 | Message middleware-based client automatic reconnection method |
CN102377685A (en) * | 2010-08-06 | 2012-03-14 | 阿里巴巴集团控股有限公司 | Subscription message sending system and subscription message sending method |
CN102970353A (en) * | 2012-11-08 | 2013-03-13 | 大唐软件技术股份有限公司 | Method and system for business data processing |
CN104731912A (en) * | 2015-03-24 | 2015-06-24 | 浪潮集团有限公司 | Message transmission method and device for message middleware MQ |
CN105096174A (en) * | 2014-04-16 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Transaction matching method and transaction matching system |
CN106130751A (en) * | 2016-05-27 | 2016-11-16 | 努比亚技术有限公司 | A kind of upgrade status data administrator, system and method |
-
2017
- 2017-04-28 CN CN201710290915.4A patent/CN107133302A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007133453A (en) * | 2005-11-08 | 2007-05-31 | Hitachi Software Eng Co Ltd | Message queuing server and method of monitoring the same |
CN101102360A (en) * | 2007-08-07 | 2008-01-09 | 中兴通讯股份有限公司 | A method for automatic form return |
CN102377685A (en) * | 2010-08-06 | 2012-03-14 | 阿里巴巴集团控股有限公司 | Subscription message sending system and subscription message sending method |
CN102111419A (en) * | 2011-03-07 | 2011-06-29 | 浙江大学 | Message middleware-based client automatic reconnection method |
CN102970353A (en) * | 2012-11-08 | 2013-03-13 | 大唐软件技术股份有限公司 | Method and system for business data processing |
CN105096174A (en) * | 2014-04-16 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Transaction matching method and transaction matching system |
CN104731912A (en) * | 2015-03-24 | 2015-06-24 | 浪潮集团有限公司 | Message transmission method and device for message middleware MQ |
CN106130751A (en) * | 2016-05-27 | 2016-11-16 | 努比亚技术有限公司 | A kind of upgrade status data administrator, system and method |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009257A (en) * | 2017-12-08 | 2018-05-08 | 武汉虹信技术服务有限责任公司 | A kind of wireless RF data screening plant and method based on streaming computing |
CN108009257B (en) * | 2017-12-08 | 2020-09-11 | 武汉虹信技术服务有限责任公司 | Wireless radio frequency data screening device and method based on stream computing |
CN110532066A (en) * | 2018-05-23 | 2019-12-03 | 中国移动通信集团浙江有限公司 | A kind of realization method and system of transaction consistency |
CN110968431A (en) * | 2018-09-28 | 2020-04-07 | 阿里巴巴集团控股有限公司 | Message processing method, device and equipment |
CN110968431B (en) * | 2018-09-28 | 2023-06-20 | 阿里巴巴集团控股有限公司 | Message processing method, device and equipment |
CN109508251A (en) * | 2018-11-21 | 2019-03-22 | 北京锐安科技有限公司 | Date storage method, system, equipment and medium |
CN112202781A (en) * | 2020-09-30 | 2021-01-08 | 广东巴金斯科技有限公司 | E-commerce large data volume receipt message processing method, device and system |
CN112202781B (en) * | 2020-09-30 | 2023-04-28 | 广东巴金斯科技有限公司 | E-commerce large data volume receipt message processing method, device and system |
CN113191767A (en) * | 2021-05-10 | 2021-07-30 | 京东数字科技控股股份有限公司 | Data processing method of distributed system and related equipment |
CN113392119A (en) * | 2021-06-30 | 2021-09-14 | 上海万物新生环保科技集团有限公司 | Data consistency processing method and equipment |
CN114007111A (en) * | 2021-10-28 | 2022-02-01 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
CN114007111B (en) * | 2021-10-28 | 2024-05-10 | 北京达佳互联信息技术有限公司 | Resource distribution method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133302A (en) | Realize method, system, terminal and the computer-readable recording medium of data consistency | |
CN107688607A (en) | The method and mobile terminal of a kind of database access, computer-readable recording medium | |
CN107133092A (en) | Multi-thread synchronization processing method, terminal and computer-readable recording medium | |
CN107197017A (en) | A kind of consuming method, terminal and computer-readable recording medium based on consumption queue | |
CN107357704A (en) | A kind of application program detection method, terminal and computer-readable recording medium | |
CN107508892A (en) | A kind of page access method, server and computer-readable recording medium | |
CN107145385A (en) | A kind of multitask interface display methods, mobile terminal and computer-readable storage medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
CN107749919A (en) | A kind of application program page display method and equipment | |
CN107844230A (en) | A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN107172605A (en) | A kind of Emmergency call method, mobile terminal and computer-readable recording medium | |
CN107247606A (en) | Application management method, device and computer-readable recording medium | |
CN107483804A (en) | A kind of image pickup method, mobile terminal and computer-readable recording medium | |
CN107124466A (en) | One kind prevents caching penetrating method and device, computer-readable recording medium | |
CN107818022A (en) | Application programming interfaces merging method, mobile terminal and computer-readable recording medium | |
CN107659726A (en) | A kind of method, equipment and computer-readable recording medium for recovering end message | |
CN107480003A (en) | A kind of method, equipment and the computer-readable recording medium of backup radio frequency parameter | |
CN107613206A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107105058A (en) | Folder transmission method and mobile terminal | |
CN107465829A (en) | A kind of document sending method, mobile terminal and computer-readable recording medium | |
CN107133108A (en) | Implementation method, terminal, server and the computer-readable recording medium of distributed complex lock | |
CN107657022A (en) | A kind of document retrieval method, mobile terminal and computer-readable recording medium | |
CN107241394A (en) | A kind of log transmission method, device and computer-readable recording medium | |
CN106951300A (en) | Replacement method, device and the base computer-readable recording medium of preset application |
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 |
Application publication date: 20170905 |
|
RJ01 | Rejection of invention patent application after publication |