CN106528307A - Method for realizing extensible message routing - Google Patents
Method for realizing extensible message routing Download PDFInfo
- Publication number
- CN106528307A CN106528307A CN201611000128.3A CN201611000128A CN106528307A CN 106528307 A CN106528307 A CN 106528307A CN 201611000128 A CN201611000128 A CN 201611000128A CN 106528307 A CN106528307 A CN 106528307A
- Authority
- CN
- China
- Prior art keywords
- message
- dimension
- channel
- routing
- message channel
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for realizing extensible message routing. The method comprises the following steps: firstly, providing an extensible message dimension, and sending messages according to a routing relationship by configuring the routing relationship between the message dimension and a message passage. On this basis, the specific implementation process is as follows: firstly, creating the message dimension; then creating the message passage; configuring a routing rule between the message dimension and the message dimension; performing validity verification on the routing rule between the message dimension and the message dimension; and finally sending messages according to the routing rule. Compared with the prior art, the method for realizing the extensible message routing disclosed by the invention has the advantages that a message producer can perform concurrent transmission according to the message passages corresponding to multiple groups of dimensions according to the routing rule between the message dimension and the message dimension, thereby greatly improving the message transmission efficiency; and moreover, the method is simple to realize, relatively high in universality, high in practicability, wide in application range and high in promotion and application values.
Description
Technical field
The present invention relates to computer message queue technology field, specifically a kind of extendible message route implementing side
Method.
Background technology
In computer application field of information system, in order to reduce the degree of coupling between application system or between functional module, carry
The framework flexibility of high information system, most of information systems are realized between application system using message queue technology or function mould
Communication between block.But existing message transmission technology, the transmission of information of the same race mostly realize message by a message channel
Send, this message mode, transmitting efficiency are relatively low, and can not fully using the resource of Message Queuing Services.
Based on this, a kind of extendible message route implementation method is now provided, according between message dimension and message channel
Routing relation realize data is activation, parallel transmission is carried out according to different message channels by the message of different dimensions, lifted
The transmitting efficiency of message.
The content of the invention
The technical assignment of the present invention is for above weak point, there is provided a kind of extendible message route implementation method.
A kind of extendible message route implementation method, provides extendible message dimension first, by configuring message dimension
Degree and the routing relation of message channel, realize the transmission of message is carried out according to routing relation, and based on this, which implements process
For:
The establishment of message dimension is carried out first;
Then carry out the establishment of message channel;
The routing rule of configuration message dimension and message channel;
Carry out the validation verification of message dimension and the routing rule of message channel;
Finally message is transmitted according to routing rule.
During message dimension is created, each message dimension includes one or more dimension types.
During the establishment of message channel, the title of each message channel be it is unique, wherein, message channel refers to energy
Enough bearer messages, by reminding the passage that message is delivered to the opposing party from a side under certain trigger condition.
The message dimension is referred to the routing rule configuration of message channel:One group of message dimension example one message of correspondence
Passage, and a message channel corresponds to one or more message dimension;Message channel to not setting routing relation, according to
Default, i.e. default relationships are performed.
In the routing rule validation verification step of described message dimension and message channel, its checking content includes:
1)Message channel whether there is;
2)Message dimension whether there is;
3)Whether only one of which message channel is corresponding for one message dimension.
It is described to carry out message transmission according to routing rule, refer to according to the routing rule of message dimension and message channel come really
Determine message channel, and message is sent by the message channel.
Compared to the prior art a kind of extendible message route implementation method of the present invention, has the advantages that:
A kind of extendible message route implementation method of the present invention, with expansible, message transmitting efficiency height of message dimension etc.
Advantage, by message dimension and the routing rule of message channel, enables the message producer according to the corresponding message of multigroup dimension
Passage carries out transmitted in parallel, the efficiency of the message transmission for greatly promoting;And the method realizes that simply versatility is stronger, practical
Property it is strong, it is applied widely, with good application value.
Description of the drawings
Flowchart of the accompanying drawing 1 for the present invention.
Accompanying drawing 2 is specific embodiment schematic diagram in the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, the invention provides a kind of extendible message route implementation method, the present invention can by offer
The message dimension of extension, and by configuring the routing relation of message dimension and message channel, realize according to routing relation, disappeared
The transmission of breath.
The present invention specifically includes following steps:
S10:The establishment of message dimension;
S11:The establishment of message channel;
S12:Message dimension is configured with the routing rule of message channel;
S13:The validation verification of the routing rule of message dimension and message channel;
S14:Message is transmitted according to routing rule.
The establishment of message dimension described in step slo, each message dimension can include one or more dimension types,
Support the multiple dimension types of extension.
The establishment of described message channel in step s 11, the title of each message channel are required uniquely;So-called message
Passage, refers to bearer messages, under certain trigger condition, message is delivered to the opposing party from a side by certain alerting pattern
Passage.
Message dimension described in step s 12 is configured with the routing rule of message channel, one group of message dimension example energy
And a message channel can only be corresponded to, and a message channel can correspond to one or more message dimension;To not setting route
The message channel of relation, performs according to Default (i.e. default) relation.
The validation verification of the routing rule of message dimension described in step s 13 and message channel, its checking content
Including as follows:
(1)Message channel there must be;
(2)Message dimension there must be;
(3)One message dimension has and can only have a message channel corresponding.
Message transmission is carried out according to routing rule described in step S14, according to message dimension and the road of message channel
Message channel is determined by rule, and message is sent by the message channel.
Example explanation:Certain group financial company, to realize providing financial statement, needs to be remembered financial affairs receipt in real time
Account;As the accounting unit of group is more, and portfolio is huge, is to lift book keeping operation efficiency, using Message routing mechanism, realize with
Communication between card and account book.
Overall flow figure referring to the drawings 1.
1st step, creates message dimension, and as shown in Figure 2, including two message dimensions, respectively type of credentials, accounting is single
Position.
2nd step, creates message channel, as shown in Figure 2, including four message channels, respectively Queue1, Queue2,
Queue3、Queue4。
3rd step, configures the routing rule between message dimension and message channel, list content as shown in Figure 2.
4th step, verifies routing rule, and message dimension, message channel can not have and only one of which for sky, one group of message dimension
Message channel.
5th, the message channel determined according to routing rule is transmitted message;Unit 01001,01002 can pass through which
Corresponding message channel carries out transmitted in parallel message.
By specific embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to above-mentioned specific embodiment.On the basis of disclosed embodiment, the technical field
Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.
Claims (6)
1. a kind of extendible message route implementation method, it is characterised in that provide extendible message dimension first, by matching somebody with somebody
The routing relation of message dimension and message channel is put, realization carries out the transmission of message, based on this, its concrete reality according to routing relation
Now process is:
The establishment of message dimension is carried out first;
Then carry out the establishment of message channel;
The routing rule of configuration message dimension and message channel;
Carry out the validation verification of message dimension and the routing rule of message channel;
Finally message is transmitted according to routing rule.
2. a kind of extendible message route implementation method according to claim 1, it is characterised in that creating message dimension
During degree, each message dimension includes one or more dimension types.
3. a kind of extendible message route implementation method according to claim 1, it is characterised in that in message channel
During establishment, the title of each message channel be it is unique, wherein, message channel is to refer to bearer messages, is necessarily being touched
By reminding the passage that message is delivered to the opposing party from a side under the conditions of sending out.
4. a kind of extendible message route implementation method according to claim 1, it is characterised in that the message dimension
Routing rule configuration with message channel is referred to:One group of message dimension example one message channel of correspondence, and a message channel
Corresponding one or more message dimension;Message channel to not setting routing relation, holds according to Default, i.e. default relationships
OK.
5. a kind of extendible message route implementation method according to claim 1, it is characterised in that described message dimension
In the routing rule validation verification step of degree and message channel, its checking content includes:
1)Message channel whether there is;
2)Message dimension whether there is;
3)Whether only one of which message channel is corresponding for one message dimension.
6. a kind of extendible message route implementation method according to claim 1, it is characterised in that described according to route
Rule carries out message transmission, refers to according to the routing rule of message dimension and message channel determine message channel, and by should
Message channel sends message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611000128.3A CN106528307B (en) | 2016-11-14 | 2016-11-14 | A kind of expansible message route implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611000128.3A CN106528307B (en) | 2016-11-14 | 2016-11-14 | A kind of expansible message route implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528307A true CN106528307A (en) | 2017-03-22 |
CN106528307B CN106528307B (en) | 2019-08-02 |
Family
ID=58351674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611000128.3A Active CN106528307B (en) | 2016-11-14 | 2016-11-14 | A kind of expansible message route implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528307B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594695A (en) * | 2012-03-08 | 2012-07-18 | 北京神州数码思特奇信息技术股份有限公司 | Message routing method and system of enterprise service bus (ESB) |
CN105656959A (en) * | 2014-11-13 | 2016-06-08 | 中国科学院沈阳计算技术研究所有限公司 | Multi-terminal PUB/SUB (Publish/Subscribe) message synchronization method based on routing mechanism |
CN105681462A (en) * | 2016-03-14 | 2016-06-15 | 南京邮电大学 | Cluster system based on message router, and data communication transfer method |
CN105744471A (en) * | 2016-04-07 | 2016-07-06 | 北京资信物联科技有限公司 | Voice communication method and system for intelligent hardware and terminal |
CN105847169A (en) * | 2015-01-13 | 2016-08-10 | 阿里巴巴集团控股有限公司 | Method and device for traffic control |
-
2016
- 2016-11-14 CN CN201611000128.3A patent/CN106528307B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594695A (en) * | 2012-03-08 | 2012-07-18 | 北京神州数码思特奇信息技术股份有限公司 | Message routing method and system of enterprise service bus (ESB) |
CN105656959A (en) * | 2014-11-13 | 2016-06-08 | 中国科学院沈阳计算技术研究所有限公司 | Multi-terminal PUB/SUB (Publish/Subscribe) message synchronization method based on routing mechanism |
CN105847169A (en) * | 2015-01-13 | 2016-08-10 | 阿里巴巴集团控股有限公司 | Method and device for traffic control |
CN105681462A (en) * | 2016-03-14 | 2016-06-15 | 南京邮电大学 | Cluster system based on message router, and data communication transfer method |
CN105744471A (en) * | 2016-04-07 | 2016-07-06 | 北京资信物联科技有限公司 | Voice communication method and system for intelligent hardware and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106528307B (en) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019072280A3 (en) | Executing multi-party transactions using smart contracts | |
TW200644540A (en) | System and method for performing local center authorization service in a network | |
CN105516441A (en) | Information processing method and device | |
CN103117960A (en) | System and method of broadband user speeding up access bandwidth in self-service mode | |
CN103995751B (en) | A kind of Overpassing Platform by Using system and method | |
CN102137069A (en) | Method and system for realizing application of internet of things | |
CN105162608A (en) | Physical address bypass authentication method and device based on software-defined network | |
CN104243281A (en) | Voice communication method based on mobile Internet | |
CN105355036A (en) | Vehicle scheduling management system | |
CN202617170U (en) | Vehicle-mounted terminal system | |
CN110868449B (en) | Method and system for realizing timing task based on asynchronous message | |
CN101123608A (en) | Full frequency band and full duplex transmission power adjustable wireless network adapter and its implementation method | |
CN106303989A (en) | A kind of intercommunication method based on mobile terminal and mobile terminal | |
WO2018149296A1 (en) | Data forwarding method utilized in flexe, and network apparatus | |
CN106528307A (en) | Method for realizing extensible message routing | |
CN112734573A (en) | Block chain-based alliance administration platform | |
CN103997796A (en) | Method for processing service data | |
CN106130695A (en) | A kind of data transmission method and system | |
WO2013000231A1 (en) | Batch service processing method and device | |
CN103973592B (en) | Cell processing method and processing device | |
CN101035089B (en) | Method and device for improving the performance of the distributed system | |
CN102378357A (en) | Wireless sensor network terminal registration method, terminals, gateway and service platform | |
CN102546840A (en) | Method, device and system for binding virtual serial port and physical serial port | |
CN102176773A (en) | Method, device and system for TSR (temporary speed restriction) processing | |
CN101510901B (en) | Communication method, communication apparatus and system between distributed equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190708 Address after: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong Applicant after: Langchao General Software Co., Ltd Address before: 250100 First Floor of R&D Building 2877 Kehang Road, Sun Village Town, Jinan High-tech Zone, Shandong Province Applicant before: Ji'nan wave high and New Technology Investment Development Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |