CN106155775A - Message treatment method, equipment and system - Google Patents
Message treatment method, equipment and system Download PDFInfo
- Publication number
- CN106155775A CN106155775A CN201510210561.9A CN201510210561A CN106155775A CN 106155775 A CN106155775 A CN 106155775A CN 201510210561 A CN201510210561 A CN 201510210561A CN 106155775 A CN106155775 A CN 106155775A
- Authority
- CN
- China
- Prior art keywords
- message
- identification information
- pending
- transaction operation
- messaging device
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a kind of message treatment method, equipment and system.This message treatment method and equipment, by when transaction operation, arrange identification information for message, and message and mark message thereof transmitted to messaging device from application apparatus.Performing described transaction operation simultaneously, preserve described identification information to corresponding identification information database, only when described transaction operation is performed complete, described identification information is present in described identification information database.So that it is guaranteed that the identification information of message be saved in data base the affairs corresponding with this message complete there is concordance, have only to whether the identification information database of inquiry application apparatus exists the identification information of correspondence, just obtain the processing mode of this affairs correspondence message.The message handling system of the application includes aforementioned applications equipment and messaging device, by increasing the concept of the identification information of a message, message and affairs is united, and ideally solves the problem that message sends final consistency.
Description
Technical field
The application relates to communication technical field, particularly relates to a kind of message treatment method, equipment and system.
Background technology
In large-scale distributed application, message-oriented middleware has become as whole as the scheme of asynchronous/decoupling
A ring indispensable in distributed system.But, in message processing procedure, inevitably need
Business operation to be considered and the concordance of transmission message: i.e. can not do business operation with regard to messaging;
Business operation can not be done but not have messaging;Can not only do a part, with regard to messaging by business operation.
The data change of application local data base is forgiven in ordinary business practice operation, and messaging is applied to message team
Telecommunication of row, both is completely self-contained.
Usually, during sending in message, by local data base affairs and message queue
Communication is considered as one, the problem that success is the most failed simultaneously, including following several schemes:
(1) data base, message queue etc. are abstracted into resource, and introduce task manager and manage
Resource, coordinates the affairs of multiple resource, with this in global transaction finally by two-phase commitment protocol
Accomplish the concordance that message sends.
(2) on message transmission consistency problem, real-time consistency is not emphasized, it is assumed that business is processing
During will go wrong at random, and temporarily tolerate that this problem is brought of short duration inconsistent, pass through
Compensate back the mode looked into, search the message that omission processes, and by calling the business that application system provides
Check interface, it is judged that the result of missing information, ensure the one of Message Processing and transaction operation with this
Cause property.
The first scheme above-mentioned introduces distributed transaction, can serve performance cost and increase system by band
Complexity;Operation system being invaded relatively big simultaneously, sending real-time one need not issued transaction with message
In the case of cause property, excessively complicated.First scheme returns, by message, the mechanism of looking into can reach final really
Concordance, but return look into comparatively laborious, it is desirable to application system writes the whether success of inspection business operation
Code.If the service node of application system messaging is the most, then need to write back the business looked into
Size of code will ramp.
Summary of the invention
Based on this, it is necessary to the conforming problem sent for above-mentioned message provides a kind of Message Processing
Method, equipment and system.
In view of this, the application provides the message treatment method of a kind of application apparatus, the method include as
Lower step:
According to transaction operation, generate corresponding message and the identification information of described message;
Described message and described identification information is sent to corresponding messaging device;
Perform described transaction operation, and described identification information preserved to corresponding identification information database,
Wherein, only when described transaction operation is performed complete, described identification information is present in described identification information
Data base.
Further, described message is in armed state.
Further, the method also includes:
When the described transaction operation that is finished, send at the message about described message to described messaging device
Reason instruction.
Further, described identification information is preserved the operation to described identification information database and described thing
Business operation belongs to same atomic operation.
Further, the described identification information database that described identification information preserves extremely correspondence includes:
When the described transaction operation that is finished, described identification information is preserved to corresponding ID information data
Storehouse.
Accordingly, the application also provides for the message treatment method of a kind of messaging device, wherein, the method bag
Include:
Receive message and the identification information of described message that corresponding application apparatus sends;
According to the pending massage set that described information updating is corresponding;
According to the identification information of pending message in described pending massage set at corresponding identification information number
Inquire about according to storehouse;
Described pending message is processed according to corresponding Query Result.
Further, the described pending massage set corresponding according to described information updating includes:
Described message is set to armed state, and described message is added to corresponding pending message
Set.
Further, the method also includes:
Receive the message processing instruction that described application apparatus sends;
According to described message processing instruction, corresponding message is processed;
According to pending massage set described in the described corresponding information updating after processing.
Further, described according to the identification information of pending message in described pending massage set right
The identification information database answered carries out inquiry and includes:
When in described pending massage set, the survival duration of pending message exceedes predetermined handling duration threshold
Value, inquires about at corresponding identification information database according to the identification information of described pending information.
Further, the method also includes:
Described process is determined according to pending message survival duration information in described pending massage set
Duration threshold value.
Further, the described described pending message of Query Result process according to correspondence includes:
If the Query Result non-NULL of correspondence, submit described pending message to;If described Query Result is empty,
Delete described pending message;
Described pending massage set is updated according to corresponding result.
The application also provides for a kind of application apparatus for Message Processing, and wherein, this equipment includes:
First device, for according to transaction operation, generating corresponding message and the identification information of described message;
3rd device, for sending described message and described identification information to corresponding messaging device;
5th device, is used for performing described transaction operation, and preserves described identification information to corresponding mark
Knowing information database, wherein, only when described transaction operation is performed complete, described identification information exists
In described identification information database.
Further, described message is in armed state.
Further, this equipment also includes:
7th device, for when being finished described transaction operation, sending about institute to described messaging device
State the message processing instruction of message.
Further, described identification information is preserved the operation to described identification information database and described thing
Business operation belongs to same atomic operation.
Further, the described identification information database that described identification information preserves extremely correspondence includes:
When the described transaction operation that is finished, described identification information is preserved to corresponding ID information data
Storehouse.
Accordingly, the application provides a kind of messaging device for Message Processing, and wherein, this equipment includes:
Second device, for receiving message and the identification information of described message that the application apparatus of correspondence sends;
4th device, for the pending massage set corresponding according to described information updating;
6th device, is used for according to the identification information of pending message in described pending massage set right
The identification information database answered is inquired about;
8th device, for processing described pending message according to corresponding Query Result.
Further, described 4th device, for being set to armed state, and by institute by described message
State message to add to corresponding pending massage set.
Further, this equipment also includes:
Tenth device, for receiving the message processing instruction that described application apparatus sends;
Tenth two devices, for processing corresponding message according to described message processing instruction;
14th device, for according to pending massage set described in the described corresponding information updating after processing.
Further, described 6th device, for when pending message in described pending massage set
Survival duration exceedes predetermined handling duration threshold value, according to the identification information of described pending information in correspondence
Identification information database inquire about.
Further, this equipment also includes:
16th device, for according to pending message survival duration in described pending massage set
Information determines described handling duration threshold value.
Further, described 8th device is used for:
If the Query Result non-NULL of correspondence, submit described pending message to;If described Query Result is empty,
Delete described pending message;
Described pending massage set is updated according to corresponding result.
The application also provides for a kind of message handling system, and this system includes aforesaid application apparatus and aforesaid
Messaging device.
Compared with prior art, message treatment method described herein and equipment, by grasping in affairs
When making, identification information is set for message, and message and mark message thereof are transmitted to disappearing from application apparatus
Breath equipment.Perform described transaction operation simultaneously, described identification information is preserved to corresponding identification information number
According to storehouse, wherein, only when described transaction operation is performed complete, described identification information is present in described mark
Know information database.Thus can show that the affairs only run succeeded just are deposited in the data base of its correspondence
At the identification information of message, when messaging device returns the disposition looking into the message that omission processes, it is only necessary to
Whether the identification information database of inquiry application apparatus exists the identification information of correspondence, i.e. can ensure that message
Send the concordance with issued transaction.The message handling system of the application includes aforementioned applications equipment and message
Equipment, by increasing the concept of the identification information of a message, unites message and affairs, the completeest
Solve the problem that message sends final consistency beauteously.
Accompanying drawing explanation
The detailed description that non-limiting example is made made with reference to the following drawings by reading, this Shen
Other features, objects and advantages please will become more apparent upon:
Fig. 1 is the application theory diagram for application apparatus one embodiment of Message Processing;
Fig. 2 is the application theory diagram for messaging device one embodiment of Message Processing;
Fig. 3 is the theory diagram of the application message handling system one embodiment;
Fig. 4 is the flow chart of the application application apparatus message treatment method one embodiment;
Fig. 5 is the flow chart of the application messaging device message treatment method one embodiment;
Fig. 6 is the flow chart of the application another embodiment of messaging device message treatment method;
Fig. 7 is the flow chart of the application message treatment method one embodiment;
Fig. 8 is the flow chart of the another embodiment of the application message treatment method.
In accompanying drawing, same or analogous reference represents same or analogous parts.
Detailed description of the invention
Below in conjunction with the accompanying drawings the application is described in further detail.
In one typical configuration of the application, terminal, the equipment of service network and trusted party all include
One or more processors (CPU), input/output interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash
RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-is permissible
Information storage is realized by any method or technology.Information can be computer-readable instruction, data knot
Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase
Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory
(DRAM), other kinds of random access memory (RAM), read only memory (ROM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), fast flash memory bank or other memory techniques, read-only
Compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage,
Magnetic cassette tape, magnetic disk storage or other magnetic storage apparatus or any other non-transmission medium,
Can be used for the information that storage can be accessed by a computing device.According to defining herein, computer-readable
Medium does not include non-temporary computer readable media (transitory media), as modulation data signal and
Carrier wave.
By further illustrating the technological means and the effect of acquirement that the application taked, below in conjunction with attached
Figure and preferred embodiment, the technical scheme to the application, carry out clear and complete description.
The message handling system 1 of the application, by application apparatus 2 by during transaction operation generate message and
The identification information of this message sends to messaging device 3, when application apparatus 2 transaction operation completes simultaneously, and mark
Knowledge information is just present in identification information database 4.Messaging device 3 receives disappearing of application apparatus 2 transmission
Breath and the identification information of this message, be placed in pending massage set, according to the mark of pending message
Information, whether the identification information database 4 of inquiry correspondence exists this identification information, according to Query Result pair
Pending message processes.
As it is shown in figure 1, the application provides a kind of application apparatus 2 for Message Processing, this equipment includes:
First device 21, for according to transaction operation, generating corresponding message and the identification information of message.
3rd device 22, for sending message and identification information to corresponding messaging device 3.
5th device 23, is used for performing transaction operation, and preserves identification information to corresponding identification information
Data base 4, and wherein, only when transaction operation is performed complete, identification information is present in identification information number
According to storehouse 4.
In this embodiment, application apparatus 2 generates the message corresponding with transaction operation by first device 21
And the identification information of message, the identification information of message is the most corresponding with message herein.Message and message identifier
The generation time can be that affairs are when starting, it is also possible to during for transactions requests, or other suitable time,
The concrete time does not limits.The genesis sequence of the identification information of message and message does not limits.3rd dress
Put 22 when corresponding messaging device 3 sends message and identification information, the identification information of message can be arranged
In the message entity of message, send together with message to messaging device 3, so guarantee that message is marked with it
Unique correspondence of knowledge information.Identification information is preserved to corresponding identification information database 4 by the 5th device 23
Operation, same atomic operation can be belonged to transaction operation, it is also possible to be to guarantee that transaction operation is complete
Independence operation in the case of one-tenth.As long as ensureing that identification information is present in mark when transaction operation success
Information database 4.It addition, identification information database 4 is used for storing identification information, it can set
Put in application apparatus 2, it is also possible to arrange outside application apparatus 2.This identification information database 4 can also
The table realization for storing identification information set up by application apparatus 2.
Wherein in an embodiment, message is in armed state.
In this embodiment, before transaction operation does not terminates, application apparatus 2 generates for this transaction operation
Message should be at armed state.This state can be realized by the action of application apparatus 2, it is possible to by disappearing
The action of breath equipment 3 realizes.The mode that application apparatus realizes generally comprises: disappear transmitting the message to
Before breath equipment 3, add the discernible message of messaging device 3 and be in the labelling of armed state, and will take
Message with this labelling sends to messaging device 3;After transmitting the message to messaging device 3, to message
Equipment 3 sends message and is in the instruction of armed state, and this message is set by messaging device 3 by this instruction
It is set to armed state.In the second implementation, application apparatus 2 can be by message, the mark of message
Information and message are in the instruction of the state of bringing out and are simultaneously sent to messaging device 3, the most also can separate
Send, but ensure that the ageing of transmission, for example, it is desired to guarantee before transaction operation does not terminates, should
The message that transaction operation is corresponding should be at the instruction of armed state and sends to messaging device 3.
Wherein in an embodiment, this equipment also includes: the 7th device 24, for when being finished thing
Business operation, sends the message processing instruction about message to messaging device 3.
In this embodiment, when transaction operation is complete, the 7th device 24 of application apparatus is according to these affairs
Operating result, sends the message processing instruction corresponding about this transaction operation to messaging device 3.If affairs
Operate successfully, send message to messaging device 3 and submit instruction to;If transaction operation failure, then set to message
Standby 3 send message deletes (rollback) instruction.Owing to messaging device 3 may process multiple affairs simultaneously
The message of operation, for guaranteeing that the message processing instruction corresponding to transaction operation result is sent by application apparatus 2
During to messaging device 3, it is possible to corresponding to the message of this transaction operation accurately, now, Message Processing refers to
Making the identification information of this message of portability, this identification information is not only the most corresponding with the message in transaction operation,
Also need to carry messaging device 3 discernible Transaction recognition information, i.e. messaging device 3 and receive affairs behaviour
When making the instruction of result, it is possible to according to the identification information in instruction, corresponding to certain thing in messaging device 3
Certain message of business, processes this message according to command content further.It addition, should in the application
The message instruction sent with equipment 2, the most exactly the realization side of corresponding message to messaging device 3
Method is not particularly limited, and messaging device 3 can have the Message management coordinating realization with application apparatus 2,
As long as being capable of above-mentioned correspondence.
Wherein in an embodiment, identification information is preserved the operation to identification information database 4 and thing
Business operation belongs to same atomic operation.
In this embodiment, atomic operation has inseparability, will not be any before being finished
Other affairs or tasks interrupt, and, during all successes of all operations in same atomic operation, should
Atomic operation just success;As long as operation therein has a failure, the also failure of this atomic operation.Will mark
Operation and the transaction operation that information preserves to identification information database 4 belongs to same atomic operation, so,
Just the successful concordance being present in identification information database 4 with identification information of transaction operation is achieved.Enter one
Step, can be by checking whether the identification information of message is present in identification information database 4, it is judged that this message
Whether corresponding transaction operation completes, it is not necessary to the transaction operation calling application apparatus 2 checks that interface is carried out
Inquire about one by one, just can realize the concordance that transaction operation sends with message, and simpler, convenient.
Wherein in an embodiment, identification information is preserved the most corresponding identification information database 4 and includes:
When the transaction operation that is finished, identification information is preserved to corresponding identification information database 4.
In this embodiment, identification information is preserved to corresponding identification information database 4, sets for application
Standby 2 self contained functions carried out after transaction operation completes.Specifically can be accomplished in that application sets
Standby 2 check transaction operation completes, and just preserves the identification information of this affairs correspondence message to identification information
In data base 4;After transaction operation completes, send, to application apparatus 2, the prompting that transaction operation completes, should
With equipment 2 according to this prompting, the identification information of this affairs correspondence message is preserved to identification information database
In 4.To realize by checking whether the identification information of message is present in identification information database 4, it is judged that should
Whether transaction operation corresponding to message completes.This programme need not call the transaction operation inspection of application apparatus 2
Look into interface to inquire about one by one, just can realize the concordance that transaction operation sends with message.
As in figure 2 it is shown, accordingly, the application provides a kind of messaging device 3 for Message Processing, should
Equipment includes:
Second device 31, for receiving message and the identification information of message that the application apparatus 2 of correspondence sends.
4th device 32, for the pending massage set corresponding according to information updating.
6th device 33, is used for the identification information according to message pending in pending massage set in correspondence
Identification information database 4 inquire about.
8th device 34, for processing pending message according to corresponding Query Result.
In this embodiment, the second device 31 receives message and the mark of message that corresponding application apparatus 2 sends
During knowledge information, if the identification information of message is not disposed in message entity, messaging device 3 should by message with
The identification information of message bundlees so that it is one_to_one corresponding, and with other message phase in messaging device 3
Difference;If the identification information of message is arranged in message entity, after messaging device 3 receives so that it is with it
Its message distinguishes.Such as, messaging device 3 can be by carrying out affairs separator by the message received
And message separator two-layer labelling in affairs, to realize the mutual differentiation of messaging device 3 inside story.
When 4th device 32 is according to the pending massage set that information updating is corresponding, need the supervisor according to oneself
System, puts into pending massage set by the above-mentioned message received, and massage set herein also is understood as
Message queue.6th device 33 is according to the identification information of message pending in pending massage set, right
When the identification information database 4 answered is inquired about, it is necessary first to judge pending message needs inquiry
Whether the identification information of message, secondly exist the message of these needs inquiry in inquiry identification information database 4
Identification information.In particular it is required that the message of inquiry, can be by messaging device 3 according to different affairs
Concrete condition is preset corresponding condition and is carried out judging to determine, or the administrative mechanism by messaging device 3 is sentenced
Disconnected decision.When 8th device 34 processes pending message according to corresponding Query Result, specifically, it is root
According to the identification information of the message whether inquiring needs inquiry in identification information database 4, the most right
This message carries out submitting to and delete processing.
Wherein in an embodiment, the 4th device 32 is used for being set to message armed state, and will
Message is added to corresponding pending massage set.
In this embodiment, the message that the second device 31 receives is set by the 4th device 32 of messaging device
The specific implementation being set to armed state does not limits, and can be realized by concrete marker character, it is possible to logical
Cross and be placed in different collection of queues realization.Such as, after messaging device 3 receives message, marked
It is designated as being in half state, namely is in pending (submitting to) state, do not receive at messaging device 3
Before the process instruction of this message, this message is constantly in half state.Or, by message being carried out point
Class, subregion placement etc. realize, and the message that the second device 31 is directly received by the 4th device 32 is placed
In pending message queue set, the message that acquiescence receives is pending message.Message is added extremely
In corresponding pending massage set, to wait subsequent treatment.
As in figure 2 it is shown, wherein in an embodiment, messaging device 3 also includes:
Tenth device 35, for receiving the message processing instruction that application apparatus 2 sends.
Tenth two devices 36, for processing corresponding message according to message processing instruction.
14th device 37, for according to the pending massage set of corresponding information updating after processing.
In this embodiment, after transaction operation, the tenth device 35 of messaging device receives application apparatus
The message processing instruction that 7th device 24 sends, this instruction needs to carry correspondence and waits to locate to messaging device 3
The relevant information of reason message, specifically, can be believed by the mark of the pending message of correspondence that this instruction is carried
Breath realizes.Because this identification information is not only the most corresponding with the message in transaction operation, also carry messaging device
When 3 discernible Transaction recognition information, i.e. messaging device 3 receive the instruction of transaction operation result, energy
Enough according to the identification information in instruction, corresponding to certain pending message of certain affairs in messaging device 3.
Those skilled in the art it should be realized that, wait to locate to messaging device 3 by corresponding for message processing instruction
Being achieved in that of reason message is not intended to, the satisfied requirement between application apparatus 2 and messaging device 3
Information interaction mechanism.After tenth device 35 receives message processing instruction, the tenth two devices 36 is just
The correspondence carried according to this instruction is to the relevant information of pending message in messaging device 3, pending to this
Message processes.Submit to if command content is message, then corresponding message is carried out by the tenth two devices 36
Submit to;If command content is message deletes (rollback), then corresponding message is carried out by the tenth two devices 36
Delete.Now the identification information in message is eliminated along with the submission/deletion of message.14th device 37
The massage set existing for message that will process is updated, after Message Processing, and its storage resource release,
Massage set is updated.
Wherein in an embodiment, the 6th device 33 is for when message pending in pending massage set
Survival duration exceed predetermined handling duration threshold value, according to the identification information of pending information corresponding
Identification information database 4 is inquired about.
In this embodiment, the administrative mechanism of messaging device 3, can according to the attribute feature of different affairs,
The message corresponding to this transaction operation, presets the time threshold being in armed state.6th device 33 exists
The precondition of corresponding identification information database 4 inquiry is: first, exists and meets the pending of condition
Message;Second, obtain the identification information of this pending message.What is called meets the pending message of condition,
Determine according to the duration that it is present in massage set with armed state, exceed preset time threshold,
Just object to be checked it is listed in.If the identification information of message binds together with message entity, directly read
Take its identification information just may be used;Otherwise, need to transfer its identification information according to message.Concrete search order
Not limiting, when can inquire about, pending message is in the duration of armed state and carries out, and such as, is in
The state for time of pending message is the longest, inquires about it at first;Also dependent on meeting bar to be checked
The pending message of part position in massage set processes, such as, according in massage set from upper
Under to/from left to right wait order carry out process etc..Those skilled in the art it should be realized that, if
The concrete mode putting above-mentioned processing sequence does not limit, it is achieved meet the message of condition to be checked by order
Process.
It addition, pending message also can be carried out sorting placement by messaging device 3, such as, work as messaging device
3 put in the first pending massage set, when disappearing in the first pending massage set when receiving message
When breath meets above-mentioned threshold condition, the most automatically it is transferred in the second pending massage set, now, the 6th
Device 33 only need to be according to the identification information of message in the second pending massage set, at corresponding identification information
Data base 4 inquires about.
Wherein in an embodiment, messaging device 3 also includes: the 16th device 38, for according to treating
Process message survival duration information in pending massage set and determine handling duration threshold value.
In this embodiment, the 16th device 38 of messaging device, disappear pending according to pending message
When survival duration information in breath set determines handling duration threshold value, specifically can be according to the attribute of different affairs
Feature, the message corresponding to this transaction operation, preset the time threshold being in armed state.Such as,
For the affairs that the operating time is long, bigger time threshold can be set;Comparatively short for the operating time
Affairs, less time threshold can be set.The size of threshold value determines as the case may be.Should not be too big,
Transaction operation is excessively lagged behind to avoid inquiry to start;Also should not be the least, to avoid inquiry to start too early thing
Business operation does not also terminate;The aforementioned transaction operation that the most easily produces finally differs with what message sent
Cause property.
Wherein in an embodiment, the 8th device 34 is according to the Query Result of the 6th device 33, to right
Message is answered to be handled as follows: if the Query Result non-NULL of correspondence, to submit pending message to;If inquiry knot
Fruit is empty, deletes pending message.Pending massage set is updated according to corresponding result.
In this embodiment, because of only when transaction operation completes identification information be just present in identification information number
According in storehouse 4, therefore when the 8th device 34 inquires and the mark of pending message in identification information database 4
During the same identification information of knowledge information, show that this transaction operation is complete, and now these affairs are corresponding
Message creates inconsistent also in armed state, transaction operation and message transmission in messaging device 3,
Now the 8th device 34 submits the message that this transaction operation is corresponding to, it is achieved that transaction operation sends with message
Final consistency.Similarly, because of only when transaction operation completes identification information be just present in identification information
In data base 4, therefore when the 8th device 34 does not inquires and pending message in identification information database 4
Identification information same identification information time, show this transaction operation failure, and now these affairs be corresponding
Message creates inconsistent also in armed state, transaction operation and message transmission in messaging device 3,
Now the 8th device 34 deletes the message that (rollback) this transaction operation is corresponding, it is achieved that transaction operation with disappear
The final consistency that breath sends.
It addition, in this embodiment, after Message Processing, its storage resource release, the 8th device 34 offsets
Breath set is updated.Concrete update mode, can be that left and right/upper and lower pending message carries out sequentially filling out
Mend, it is also possible to for the new message received is filled up etc..
As it is shown on figure 3, the application also provides for a kind of message handling system 1, this system include application apparatus 2,
Messaging device 3 and identification information database 4.Wherein, identification information database 4 may be provided at application and sets
For in 2 or messaging device 3, it is possible to be independently arranged.
In this embodiment, the message handling system 1 of the application, by application apparatus 2 by transaction operation
The identification information of the message of Shi Shengcheng and this message sends to messaging device 3, application apparatus 2 affairs simultaneously
When having operated, identification information is just present in identification information database 4.Messaging device 3 receives application
The message of equipment 2 transmission and the identification information of this message, be placed in pending massage set, according to treating
Processing the identification information of message, whether the identification information database 4 of inquiry correspondence exists this identification information,
According to Query Result, pending message is processed.
Compared with prior art, the message handling system 1 of the application, by when transaction operation, for disappearing
Breath arranges identification information, and message and mark message thereof is transmitted to messaging device 3 from application apparatus 2.
Perform transaction operation simultaneously, identification information is preserved to corresponding identification information database 4, wherein, only
When transaction operation is performed complete, identification information is present in identification information database 4.Thus can draw,
, just there is the identification information of message in the data base of its correspondence, set in message in the affairs only run succeeded
Standby look into the message that omission processes for 3 times disposition time, it is only necessary to the identification information of inquiry application apparatus 2
Whether data base 4 exists the identification information of correspondence, i.e. can ensure that message sends consistent with issued transaction
Property.The message handling system 1 of the application includes aforementioned applications equipment 2 and messaging device 3, by increasing
The concept of the identification information of one message, unites message and affairs, the most ideally solves message
The problem sending final consistency.The application is by the behaviour of identification information storage to identification information database simultaneously
Make, be defined as belonging to corresponding transaction operation same atomic operation, thus by the one of transaction operation
Cause property, it is ensured that the final consistency that transaction operation sends with message, more ideally solves affairs behaviour
Make the consistency problem sent with message.
As shown in Figure 4, the application also provides for the message treatment method of a kind of application apparatus, the method bag
Include following steps:
S21, according to transaction operation, generates corresponding message and the identification information of message.
S22, sends message and identification information to corresponding messaging device.
S23, performs transaction operation, and preserves identification information to corresponding identification information database, wherein,
Only when transaction operation is performed complete, identification information is present in identification information database.
In this embodiment, generate the message corresponding with transaction operation and the identification information of message, disappear herein
The identification information of breath is the most corresponding with message.The generation time of message and message identifier can be that affairs start
Time, it is also possible to during for transactions requests, or other suitable time, the concrete time does not limits.Message
And the genesis sequence of the identification information of message does not limits.Message and mark is sent to corresponding messaging device
During knowledge information, the identification information of message can be arranged in the message entity of message, send together with message
To messaging device, so guarantee the unique corresponding of message and its identification information.Identification information is preserved to right
The operation of the identification information database answered, can belong to same atomic operation with transaction operation, it is also possible to
It is to guarantee the operation of the independence in the case of transaction operation completes.As long as ensureing when transaction operation success,
Identification information is present in identification information database.It addition, identification information database is used for storing mark
Information, it can be arranged in application apparatus 2, it is also possible to is arranged on outside application apparatus 2.This mark is believed
The table realization for storing identification information that breath data base can also be set up by application apparatus 2.
Wherein in an embodiment, message is in armed state.
In this embodiment, before transaction operation does not terminates, application apparatus 2 generates for this transaction operation
Message should be at armed state.This state can be realized by the action of application apparatus 2, it is possible to by disappearing
The action of breath equipment realizes.The mode that application apparatus realizes generally comprises: transmitting the message to message
Before equipment, add the discernible message of messaging device and be in the labelling of armed state, and this mark will be carried
The message of note sends to messaging device;After transmitting the message to messaging device, send to messaging device and disappear
Breath is in the instruction of armed state, and this message is set to armed state by this instruction by messaging device.
In the second implementation, message, the identification information of message and message can be in by application apparatus 2
The instruction bringing out state is simultaneously sent to messaging device, the most also can separately send, but ensure that transmission
Ageing, for example, it is desired to guarantee before transaction operation does not terminates, by message corresponding for this transaction operation
The instruction that should be at armed state sends to messaging device.
Wherein in an embodiment, the message treatment method of application apparatus also includes: when the thing that is finished
Business operation, sends the message processing instruction about message to messaging device.
In this embodiment, when transaction operation is complete, application apparatus 2 according to the operating result of these affairs,
The message processing instruction corresponding about this transaction operation is sent to messaging device.If transaction operation success, to
Messaging device sends message and submits instruction to;If transaction operation failure, then send message to messaging device and delete
(rollback) instructs.Owing to messaging device may process the message of multiple transaction operation simultaneously, for guaranteeing
When message processing instruction corresponding to transaction operation result is sent to messaging device by application apparatus 2, it is possible to
Correspond to the message of this transaction operation, now, the mark of message processing instruction this message of portability accurately
Information, this identification information is not only the most corresponding with the message in transaction operation, in addition it is also necessary to carry messaging device
When discernible Transaction recognition information, i.e. messaging device receive the instruction of transaction operation result, it is possible to root
According to the identification information in instruction, corresponding to certain message of certain affairs, basis further in messaging device
This message is processed by command content.It addition, the message instruction that in the application, application apparatus 2 sends,
The implementation method of corresponding message to messaging device is not particularly limited the most exactly, and messaging device can
Have and coordinate the Message management realized with application apparatus 2, as long as being capable of above-mentioned correspondence.
Wherein in an embodiment, identification information is preserved the operation to identification information database and affairs
Operation belongs to same atomic operation.
In this embodiment, atomic operation has inseparability, will not be any before being finished
Other affairs or tasks interrupt, and, during all successes of all operations in same atomic operation, should
Atomic operation just success;As long as operation therein has a failure, the also failure of this atomic operation.Will mark
Operation and the transaction operation that information preserves to identification information database belongs to same atomic operation, so,
Just the successful concordance being present in identification information database with identification information of transaction operation is achieved.Further,
Can be by checking whether the identification information of message is present in identification information database, it is judged that this message is corresponding
Whether transaction operation completes, it is not necessary to the transaction operation calling application apparatus 2 checks that interface is looked into one by one
Ask, just can realize the concordance that transaction operation sends with message, and simpler, convenient.
Wherein in an embodiment, identification information is preserved the most corresponding identification information database and includes:
When the transaction operation that is finished, identification information is preserved to corresponding identification information database.
In this embodiment, identification information is preserved to corresponding identification information database, for application apparatus
2 self contained functions carried out after transaction operation completes.Specifically can be accomplished in that application apparatus 2
Check transaction operation to complete, just the identification information of this affairs correspondence message is preserved to ID information data
In storehouse;After transaction operation completes, send the prompting that transaction operation completes, application apparatus to application apparatus 2
The identification information of this affairs correspondence message, according to this prompting, is preserved to identification information database by 2.With
Realize by checking whether the identification information of message is present in identification information database, it is judged that this message is corresponding
Transaction operation whether complete.This programme need not call the transaction operation of application apparatus 2 and checks that interface enters
Row is inquired about one by one, just can realize the concordance that transaction operation sends with message.
As it is shown in figure 5, accordingly, the application also provides for the message treatment method of a kind of messaging device,
Wherein, the method includes:
S31, receives message and the identification information of message that corresponding application apparatus 2 sends.
S32, according to the pending massage set that information updating is corresponding.
S33, according to the identification information of message pending in pending massage set at corresponding identification information number
Inquire about according to storehouse.
S34, processes pending message according to corresponding Query Result.
In this embodiment, messaging device receives message and the mark of message that corresponding application apparatus 2 sends
During information, if the identification information of message is not disposed in message entity, messaging device should be by message and message
Identification information bundle so that it is one_to_one corresponding, and distinguishing with other message in messaging device;
If the identification information of message is arranged in message entity, after messaging device receives so that it is with other message phase
Difference.Such as, messaging device can be by carrying out affairs separator and affairs internal diabetes by the message received
Breath separator two-layer labelling, to realize the mutual differentiation of messaging device inside story.4th 32, device
During according to the pending massage set that information updating is corresponding, need the administrative mechanism according to oneself, connect above-mentioned
The message received puts into pending massage set, and massage set herein also is understood as message queue.Disappear
Breath equipment is according to the identification information of message pending in pending massage set, at corresponding identification information number
When inquiring about according to storehouse, it is necessary first to judge pending message needs the identification information of the message of inquiry,
Secondly whether inquiry identification information database exist the identification information of the message of these needs inquiry.Specifically,
Need the message of inquiry, corresponding condition can be preset by messaging device according to the concrete condition of different affairs
Carry out judging to determine, or the administrative mechanism by messaging device judges to determine.8th device 34 is according to right
When the Query Result answered processes pending message, specifically, be according in identification information database whether
Inquire the identification information of the message needing inquiry, further this message is submitted to and delete processing.
Wherein in an embodiment, include according to the pending massage set that information updating is corresponding: will disappear
Breath is set to armed state, and adds message to corresponding pending massage set.
In this embodiment, the message received is set to implementing of armed state by messaging device
Mode does not limits, and can be realized by concrete marker character, it is possible to by being placed in different collection of queues
Realize.Such as, after messaging device receives message, it is marked as being in half state, namely is in
Pending (submitting to) state, before messaging device does not receives the process instruction of this message, this message one
Directly it is in half state.Or, by carrying out message classifying, subregion placement etc. realize, message sets
For the message received is placed on pending message queue set, the message that acquiescence receives is to be waited to locate
Reason message.Message is added to corresponding pending massage set, to wait subsequent treatment.
As shown in Figure 6, wherein in an embodiment, the message treatment method of messaging device also includes:
S35, receives the message processing instruction that application apparatus 2 sends.
S36, processes corresponding message according to message processing instruction.
S37, according to the pending massage set of corresponding information updating after processing.
In this embodiment, after transaction operation, messaging device receives the message that application apparatus 2 sends
Processing instruction, this instruction needs to carry the corresponding relevant information to message pending in messaging device, specifically
Ground, can be realized by the identification information of the pending message of correspondence that this instruction is carried.Because of this identification information not
Only the most corresponding with the message in transaction operation, also carry messaging device discernible Transaction recognition information,
When i.e. messaging device receives the instruction of transaction operation result, it is possible to according to the identification information in instruction, right
Should be to certain of certain affairs pending message in messaging device.Those skilled in the art should recognize
Knowledge is arrived, and is not intended to message processing instruction corresponding to being achieved in that of the pending message of messaging device,
The information interaction mechanism of the satisfied requirement between application apparatus 2 and messaging device.Messaging device receives
After message processing instruction, the phase of the correspondence just carried according to this instruction to message pending in messaging device
Pass information, processes this pending message.Submit to if command content is message, then correspondence is disappeared
Breath is submitted to;If command content is message deletes (rollback), then corresponding message is deleted.
Now the identification information in message is eliminated along with the submission/deletion of message.The message processed is deposited
Massage set be updated, after Message Processing, its storage resource release, massage set is updated.
Wherein in an embodiment, exist according to the identification information of message pending in pending massage set
Corresponding identification information database carries out inquiry and includes:
When the survival duration of message pending in pending massage set exceedes predetermined handling duration threshold value,
Identification information according to pending information is inquired about at corresponding identification information database.
In this embodiment, the administrative mechanism of messaging device, can be right according to the attribute feature of different affairs
The message that this transaction operation is corresponding, presets the time threshold being in armed state.At corresponding mark letter
The precondition of breath data base querying is: first, there is the pending message meeting condition;Second, obtain
Take the identification information of this pending message.What is called meets the pending message of condition, according to it with pending
The duration that state is present in massage set determines, exceedes preset time threshold, is just listed in be checked
Object.If the identification information of message binds together with message entity, directly read its identification information just
Can;Otherwise, need to transfer its identification information according to message.Concrete search order is not limiting, permissible
During inquiry, pending message is in the duration of armed state and carries out, and such as, is in the shape of pending message
The state time is the longest, inquires about it at first;Also dependent on the pending message meeting condition to be checked
Position in massage set processes, such as, according in massage set from top to bottom/from left to right etc.
Order carry out process etc..Those skilled in the art it should be realized that, above-mentioned processing sequence is set
Concrete mode do not limit, it is achieved meet the message of condition to be checked by orderly process.
It addition, pending message also can be carried out sorting placement, such as, when messaging device connects by messaging device
Put in the first pending massage set when receiving message, when the message in the first pending massage set is full
During the above-mentioned threshold condition of foot, the most automatically it is transferred in the second pending massage set, now, the 6th device
33 need to be according to the identification information of message in the second pending massage set, at corresponding ID information data
Storehouse is inquired about.
Wherein in an embodiment, the message treatment method of messaging device also includes:
Handling duration threshold is determined according to pending message survival duration information in pending massage set
Value.
In this embodiment, messaging device according to the survival in pending massage set of the pending message
Duration information, when determining handling duration threshold value, specifically can be according to the attribute feature of different affairs, to this thing
The message that business operation is corresponding, presets the time threshold being in armed state.Such as, for the operating time
Long affairs, can arrange bigger time threshold;For the affairs that the operating time is comparatively short, can set
Put less time threshold.The size of threshold value determines as the case may be.Should not be too big, to avoid inquiry
Start and excessively lag behind transaction operation;Also should not be the least, to avoid inquiry to start too early transaction operation the most not
Terminate;The aforementioned final discordance the most easily producing transaction operation and message transmission.
Wherein in an embodiment, process pending message according to corresponding Query Result and include: if right
The Query Result non-NULL answered, submits pending message to;If Query Result is empty, delete pending message.
Pending massage set is updated according to corresponding result.
In this embodiment, because of only when transaction operation completes identification information be just present in identification information number
According in storehouse, therefore when inquire the mark as the identification information of pending message in identification information database
During knowledge information, show that this transaction operation is complete, and the message that now these affairs are corresponding is at messaging device
In also in armed state, transaction operation and message send and create inconsistent, now submit these affairs to
The message that operation is corresponding, it is achieved that the final consistency that transaction operation sends with message.Similarly, because of only
The identification information when transaction operation completes is had just to be present in identification information database, therefore when at identification information
When data base does not inquires the identification information as the identification information of pending message, show this affairs
Operation failure, and the message that now these affairs are corresponding in messaging device also in armed state, affairs
Operate to send with message and create inconsistent, that now deletion (rollback) this transaction operation is corresponding message,
Achieve the final consistency that transaction operation sends with message.
It addition, in this embodiment, after Message Processing, its storage resource release, massage set is carried out
Update.Concrete update mode, can be that left and right/upper and lower pending message carries out sequentially filling up, it is also possible to
For the new message received is filled up etc..
As it is shown in fig. 7, be the flow chart of a message treatment method wherein embodiment of the application.This message
Processing method comprises the steps:
S21, application apparatus 2, according to transaction operation, generates corresponding message and the identification information of message.
S22, application apparatus 2 sends message and identification information to corresponding messaging device.
S31, messaging device receives message and the identification information of message that corresponding application apparatus 2 sends.
S32, messaging device is according to pending massage set corresponding to information updating.
S23, application apparatus 2 performs transaction operation, and preserves identification information to corresponding identification information number
According to storehouse, wherein, only when transaction operation is performed complete, identification information is present in identification information database.
S33, messaging device according to the identification information of message pending in pending massage set at corresponding mark
Know information database to inquire about.
S34, messaging device processes pending message according to corresponding Query Result.
The detailed description of the concrete steps of message treatment method in this embodiment, refer to aforementioned corresponding label
The description of step.Do not repeat them here.
In this embodiment, after affairs complete, messaging device is completely dependent on, according to its pending message
The result that identification information database is inquired about by the identification information of the message in set, it is judged that affairs complete
State, and further pending message is processed.Messaging device meets inquiry bar in pending message
During part, corresponding identification information database can be inquired about at any time, to realize message transmission and affairs behaviour
The final consistency made.
It addition, the step in this embodiment is not required for completing according to above-mentioned sequential write, some of which walks
Rapid is not intended in passing, it might even be possible to synchronize, the sequencing of such as step S32 and step S23
Indefinite, it is possible to synchronize.
As shown in Figure 8, for the flow chart of the most another embodiment of message treatment method of the application.This disappears
Breath processing method comprises the steps:
S21, application apparatus, according to transaction operation, generates corresponding message and the identification information of message.
S22, application apparatus sends message and identification information to corresponding messaging device.
S31, messaging device receives message and the identification information of message that corresponding application apparatus sends.
S32, messaging device is according to pending massage set corresponding to information updating.
S23, application apparatus performs transaction operation, and preserves identification information to corresponding ID information data
Storehouse, wherein, only when transaction operation is performed complete, identification information is present in identification information database.
S24, when the transaction operation that is finished, sends the message processing instruction about message to messaging device.
S35, receives the message processing instruction that application apparatus sends.
S36, processes corresponding message according to message processing instruction.
S37, according to the pending massage set of corresponding information updating after processing.
S33, messaging device according to the identification information of message pending in pending massage set at corresponding mark
Know information database to inquire about.
S34, messaging device processes pending message according to corresponding Query Result.
The detailed description of the concrete steps of message treatment method in this embodiment, refer to aforementioned corresponding label
The description of step.Do not repeat them here.
In this embodiment, when affairs complete, it is corresponding that application apparatus sends these affairs to messaging device
Message processing instruction, messaging device receives this instruction, and processes corresponding message according to instruction.
After Message Processing, just release message storage resource, updates pending massage set.Messaging device checks it
Whether pending massage set has the pending message meeting inquiry, pending is disappeared according to check
The identification information of the message in breath set, inquires about corresponding identification information database, to judge to be somebody's turn to do
Whether transaction operation corresponding to message completes, and processes this pending message further.Message sets
Standby when pending message meets querying condition, corresponding identification information database can be inquired about at any time,
To realize the final consistency of message transmission and transaction operation.
It addition, the step in this embodiment is not required for completing according to above-mentioned sequential write, some of which walks
Rapid is not intended in passing, it might even be possible to synchronize, the sequencing of such as step S32 and step S23
Indefinite, it is possible to synchronize.
Prior art is compared, the message treatment method of the application, by when transaction operation, setting for message
Put identification information, and message and mark message thereof are transmitted to messaging device from application apparatus.Perform simultaneously
Transaction operation, preserves identification information to corresponding identification information database, wherein, only works as transaction operation
When being performed complete, identification information is present in identification information database.Thus can draw, only perform into
, just there is the identification information of message in the affairs of merit, returns at messaging device and look into omission in the data base of its correspondence
During the disposition of message processed, it is only necessary to whether the identification information database of inquiry application apparatus is deposited
At corresponding identification information, i.e. can ensure that message sends the concordance with issued transaction.The application will simultaneously
Identification information storage, to the operation of identification information database, is defined as belonging to same with corresponding transaction operation
Individual atomic operation, thus by the concordance of transaction operation, it is ensured that transaction operation sends with message
Whole concordance, more ideally solves the consistency problem that transaction operation sends with message.
It is obvious to a person skilled in the art that the application is not limited to the thin of above-mentioned one exemplary embodiment
Joint, and in the case of without departing substantially from spirit herein or basic feature, it is possible to concrete with other
Form realizes the application.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary
, and be nonrestrictive, scope of the present application is limited by claims rather than described above
It is fixed, it is intended that all changes fallen in the implication of equivalency and scope of claim are included
In the application.Any reference in claim should not be considered as limit involved right want
Ask.Furthermore, it is to be understood that " an including " word is not excluded for other unit or step, odd number is not excluded for plural number.
In device claim, multiple unit or the device of statement can also pass through soft by a unit or device
Part or hardware realize.The first, the second word such as grade is used for representing title, and is not offered as any spy
Fixed order.
Claims (23)
1. at a message treatment method for application apparatus, wherein, the method includes:
According to transaction operation, generate corresponding message and the identification information of described message;
Described message and described identification information is sent to corresponding messaging device;
Perform described transaction operation, and described identification information preserved to corresponding identification information database,
Wherein, only when described transaction operation is performed complete, described identification information is present in described identification information
Data base.
Method the most according to claim 1, wherein, described message is in armed state.
Method the most according to claim 1 and 2, wherein, the method also includes:
When the described transaction operation that is finished, send at the message about described message to described messaging device
Reason instruction.
The most according to the method in any one of claims 1 to 3, wherein, described identification information is protected
Operation and the described transaction operation deposited to described identification information database belong to same atomic operation.
Method the most according to any one of claim 1 to 4, wherein, described by described mark letter
Breath preserves the most corresponding identification information database and includes:
When the described transaction operation that is finished, described identification information is preserved to corresponding ID information data
Storehouse.
6. at a message treatment method for messaging device, wherein, the method includes:
Receive message and the identification information of described message that corresponding application apparatus sends;
According to the pending massage set that described information updating is corresponding;
According to the identification information of pending message in described pending massage set at corresponding identification information number
Inquire about according to storehouse;
Described pending message is processed according to corresponding Query Result.
Method the most according to claim 6, wherein, described according to corresponding the treating of described information updating
Process massage set includes:
Described message is set to armed state, and described message is added to corresponding pending message
Set.
8. according to the method described in claim 6 or 7, wherein, the method also includes:
Receive the message processing instruction that described application apparatus sends;
According to described message processing instruction, corresponding message is processed;
According to pending massage set described in the described corresponding information updating after processing.
9. according to the method according to any one of claim 6 to 8, wherein, wait to locate described in described basis
In reason massage set, the identification information of pending message carries out inquiry bag at corresponding identification information database
Include:
When in described pending massage set, the survival duration of pending message exceedes predetermined handling duration threshold
Value, inquires about at corresponding identification information database according to the identification information of described pending information.
Method the most according to claim 9, wherein, the method also includes:
Described process is determined according to pending message survival duration information in described pending massage set
Duration threshold value.
11. according to the method according to any one of claim 6 to 10, wherein, described according to corresponding
Query Result processes described pending message and includes:
If the Query Result non-NULL of correspondence, submit described pending message to;If described Query Result is empty,
Delete described pending message;
Described pending massage set is updated according to corresponding result.
12. 1 kinds of application apparatus for Message Processing, wherein, this equipment includes:
First device, for according to transaction operation, generating corresponding message and the identification information of described message;
3rd device, for sending described message and described identification information to corresponding messaging device;
5th device, is used for performing described transaction operation, and preserves described identification information to corresponding mark
Knowing information database, wherein, only when described transaction operation is performed complete, described identification information exists
In described identification information database.
13. application apparatus according to claim 12, wherein, described message is in armed state.
14. according to the application apparatus described in claim 12 or 13, and wherein, this equipment also includes:
7th device, for when being finished described transaction operation, sending about institute to described messaging device
State the message processing instruction of message.
15. according to the application apparatus according to any one of claim 12 to 14, wherein, by described mark
Knowledge information preserves the operation of extremely described identification information database and belongs to same atom behaviour with described transaction operation
Make.
16. according to the application apparatus according to any one of claim 12 to 15, wherein, described by institute
State identification information preservation to include to corresponding identification information database:
When the described transaction operation that is finished, described identification information is preserved to corresponding ID information data
Storehouse.
17. 1 kinds of messaging devices for Message Processing, wherein, this equipment includes:
Second device, for receiving message and the identification information of described message that the application apparatus of correspondence sends;
4th device, for the pending massage set corresponding according to described information updating;
6th device, is used for according to the identification information of pending message in described pending massage set right
The identification information database answered is inquired about;
8th device, for processing described pending message according to corresponding Query Result.
18. messaging devices according to claim 17, wherein, described 4th device, for by institute
State message and be set to armed state, and described message is added to corresponding pending massage set.
19. according to the messaging device described in claim 17 or 18, and wherein, this equipment also includes:
Tenth device, for receiving the message processing instruction that described application apparatus sends;
Tenth two devices, for processing corresponding message according to described message processing instruction;
14th device, for according to pending massage set described in the described corresponding information updating after processing.
20. according to the messaging device according to any one of claim 17 to 19, wherein, and the described 6th
Device, is used for when in described pending massage set, the survival duration of pending message exceedes predetermined process
Duration threshold value, looks at corresponding identification information database according to the identification information of described pending information
Ask.
21. messaging devices according to claim 20, wherein, this equipment also includes:
16th device, for according to pending message survival duration in described pending massage set
Information determines described handling duration threshold value.
22. according to the messaging device according to any one of claim 17 to 21, wherein, and the described 8th
Device is used for:
If the Query Result non-NULL of correspondence, submit described pending message to;If described Query Result is empty,
Delete described pending message;
Described pending massage set is updated according to corresponding result.
23. 1 kinds of message handling systems, wherein, including as according to any one of claim 12 to 16
Application apparatus and messaging device as according to any one of claim 17 to 22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510210561.9A CN106155775B (en) | 2015-04-28 | 2015-04-28 | Message processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510210561.9A CN106155775B (en) | 2015-04-28 | 2015-04-28 | Message processing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106155775A true CN106155775A (en) | 2016-11-23 |
CN106155775B CN106155775B (en) | 2020-02-21 |
Family
ID=57347926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510210561.9A Active CN106155775B (en) | 2015-04-28 | 2015-04-28 | Message processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155775B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108092918A (en) * | 2017-12-07 | 2018-05-29 | 长城计算机软件与系统有限公司 | A kind of method for message transmission and system |
CN108153598A (en) * | 2017-12-25 | 2018-06-12 | 东软集团股份有限公司 | Data consistency method and device based on micro services framework |
CN109491766A (en) * | 2018-10-10 | 2019-03-19 | 阿里巴巴集团控股有限公司 | A kind of delivering method of transaction message, device, system and message server |
CN109634978A (en) * | 2018-12-18 | 2019-04-16 | 钛马信息网络技术有限公司 | Reading data consistency system and method |
CN110874232A (en) * | 2018-09-04 | 2020-03-10 | 中兴通讯股份有限公司 | Virtual machine component upgrading method, equipment and computer readable storage medium |
CN110941622A (en) * | 2019-10-31 | 2020-03-31 | 京东数字科技控股有限公司 | Data processing method and device |
CN111045839A (en) * | 2019-12-04 | 2020-04-21 | 中国建设银行股份有限公司 | Sequence calling method and device based on two-phase transaction message in distributed environment |
CN111225012A (en) * | 2018-11-27 | 2020-06-02 | 阿里巴巴集团控股有限公司 | Transaction processing method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101089857A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Internal store data base transaction method and system |
CN102306197A (en) * | 2011-09-22 | 2012-01-04 | 用友软件股份有限公司 | Device and method for guaranteeing consistency of data-source-crossing operation results |
CN103209153A (en) * | 2012-01-16 | 2013-07-17 | 阿里巴巴集团控股有限公司 | Method, device and system for processing messages |
CN103475520A (en) * | 2013-09-10 | 2013-12-25 | 青岛海信传媒网络技术有限公司 | Service processing control method and device in distribution network |
CN105592117A (en) * | 2014-10-23 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Method and device for processing transaction message |
-
2015
- 2015-04-28 CN CN201510210561.9A patent/CN106155775B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101089857A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Internal store data base transaction method and system |
CN102306197A (en) * | 2011-09-22 | 2012-01-04 | 用友软件股份有限公司 | Device and method for guaranteeing consistency of data-source-crossing operation results |
CN103209153A (en) * | 2012-01-16 | 2013-07-17 | 阿里巴巴集团控股有限公司 | Method, device and system for processing messages |
CN103475520A (en) * | 2013-09-10 | 2013-12-25 | 青岛海信传媒网络技术有限公司 | Service processing control method and device in distribution network |
CN105592117A (en) * | 2014-10-23 | 2016-05-18 | 阿里巴巴集团控股有限公司 | Method and device for processing transaction message |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108092918A (en) * | 2017-12-07 | 2018-05-29 | 长城计算机软件与系统有限公司 | A kind of method for message transmission and system |
CN108153598A (en) * | 2017-12-25 | 2018-06-12 | 东软集团股份有限公司 | Data consistency method and device based on micro services framework |
CN108153598B (en) * | 2017-12-25 | 2021-06-25 | 东软集团股份有限公司 | Data consistency method and device based on micro-service architecture |
CN110874232A (en) * | 2018-09-04 | 2020-03-10 | 中兴通讯股份有限公司 | Virtual machine component upgrading method, equipment and computer readable storage medium |
CN110874232B (en) * | 2018-09-04 | 2023-12-29 | 中兴通讯股份有限公司 | Virtual machine component upgrading method, equipment and computer readable storage medium |
CN109491766A (en) * | 2018-10-10 | 2019-03-19 | 阿里巴巴集团控股有限公司 | A kind of delivering method of transaction message, device, system and message server |
CN111225012A (en) * | 2018-11-27 | 2020-06-02 | 阿里巴巴集团控股有限公司 | Transaction processing method, device and equipment |
CN109634978A (en) * | 2018-12-18 | 2019-04-16 | 钛马信息网络技术有限公司 | Reading data consistency system and method |
CN110941622A (en) * | 2019-10-31 | 2020-03-31 | 京东数字科技控股有限公司 | Data processing method and device |
CN111045839A (en) * | 2019-12-04 | 2020-04-21 | 中国建设银行股份有限公司 | Sequence calling method and device based on two-phase transaction message in distributed environment |
Also Published As
Publication number | Publication date |
---|---|
CN106155775B (en) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106155775A (en) | Message treatment method, equipment and system | |
CN101313495B (en) | Method, system and apparatus for data synchronization | |
CN110019112B (en) | Data transaction processing method and device and electronic equipment | |
US20040006589A1 (en) | System and method for managing distributed computer processes | |
CN107729553A (en) | System data account checking method and device, storage medium, electronic equipment | |
US10572449B2 (en) | Systems, devices, and methods for software discovery using application ID tags | |
CN106445951A (en) | File transmission method and apparatus | |
CN105516266B (en) | A kind of business monitoring method, system and relevant device | |
CN110188103A (en) | Data account checking method, device, equipment and storage medium | |
KR20220097956A (en) | Method and apparatus for managing IOT devices, and server and storage medium thereof | |
CN108959385A (en) | Database portion arranging method, device, computer equipment and storage medium | |
CN108846753A (en) | Method and apparatus for handling data | |
CN103473256A (en) | Defining content retention rules using a domain-specific language | |
CN109144785A (en) | Method and apparatus for Backup Data | |
CN108492005A (en) | Project data processing method, device, computer equipment and storage medium | |
US9342251B2 (en) | Data integrity protection in storage volumes | |
CN107315586A (en) | Using the methods, devices and systems of packing | |
CN106970958A (en) | A kind of inquiry of stream file and storage method and device | |
CN110019444A (en) | A kind of operation requests processing method, device, equipment and system | |
CN104866242B (en) | A kind of data deletion system, method and data delete center | |
CN107818113A (en) | File access method for determining position and device | |
CN109582487A (en) | Method and apparatus for sending information | |
CN110019456A (en) | Data lead-in method, device and system | |
CN109614442A (en) | Data synchronous data listing maintenance, device, storage medium and electronic equipment | |
CN107704557B (en) | Processing method and device for operating mutually exclusive data, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180507 Address after: Cayman Islands, Grand Cayman Island capital building, four level 847 box Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd. Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox Applicant before: ALIBABA GROUP HOLDING Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |