CN106528307B - A kind of expansible message route implementation method - Google Patents

A kind of expansible message route implementation method Download PDF

Info

Publication number
CN106528307B
CN106528307B CN201611000128.3A CN201611000128A CN106528307B CN 106528307 B CN106528307 B CN 106528307B CN 201611000128 A CN201611000128 A CN 201611000128A CN 106528307 B CN106528307 B CN 106528307B
Authority
CN
China
Prior art keywords
message
dimension
channel
routing rule
message channel
Prior art date
Application number
CN201611000128.3A
Other languages
Chinese (zh)
Other versions
CN106528307A (en
Inventor
郭志奇
Original Assignee
浪潮通用软件有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 浪潮通用软件有限公司 filed Critical 浪潮通用软件有限公司
Priority to CN201611000128.3A priority Critical patent/CN106528307B/en
Publication of CN106528307A publication Critical patent/CN106528307A/en
Application granted granted Critical
Publication of CN106528307B publication Critical patent/CN106528307B/en

Links

Abstract

The invention discloses a kind of expansible message route implementation methods, expansible message dimension is provided first, by the routing relation for configuring message dimension and message channel, realize the transmission that message is carried out according to routing relation, based on this, process is implemented are as follows: carry out the creation of message dimension first;Then the creation of message channel is carried out;Configure the routing rule of message dimension and message channel;Carry out the validation verification of the routing rule of message dimension and message channel;Finally transmission message is carried out according to routing rule.The expansible message route implementation method of one kind of the invention is compared with prior art, pass through the routing rule of message dimension and message channel, the message producer is set to carry out transmitted in parallel according to the corresponding message channel of multiple groups dimension, the efficiency of the message transmission greatly promoted;And this method realizes that simply versatility is stronger, practical, applied widely, has good application value.

Description

A kind of expansible message route implementation method

Technical field

The present invention relates to computer message queue technology field, specifically a kind of expansible message route implementing side Method.

Background technique

In computer application field of information system, in order to reduce the degree of coupling between application system or between functional module, mention The framework flexibility of high information system, most of information systems using message queue technology realize application system between or function mould Communication between block.But existing message transmission technology, the transmission of information of the same race mostly pass through a message channel and realize message It sends, this message mode, transmitting efficiency is lower, and cannot sufficiently use the resource of Message Queuing Services.

Based on this, a kind of expansible message route implementation method is now provided, according between message dimension and message channel Routing relation realize that data are sent, parallel transmission is carried out according to different message channels by the message of different dimensions, is promoted The transmitting efficiency of message.

Summary of the invention

Technical assignment of the invention is place against the above deficiency, provides a kind of expansible message route implementation method.

A kind of expansible message route implementation method, provides expansible message dimension first, by configuring message dimension The routing relation of degree and message channel realizes the transmission that message is carried out according to routing relation, is based on this, implements process Are as follows:

The creation of message dimension is carried out first;

Then the creation of message channel is carried out;

Configure the routing rule of message dimension and message channel;

Carry out the validation verification of the routing rule of message dimension and message channel;

Finally transmission message is carried out according to routing rule.

During creating message dimension, each message dimension includes one or more dimension types.

During the creation of message channel, the title of each message channel is unique, wherein message channel refers to energy Message, is transmitted to the channel of another party by enough bearer messages under certain trigger condition by reminding from a side.

The routing rule configuration of the message dimension and message channel refers to: the corresponding message of one group of message dimension example Channel, and a message channel corresponds to one or more message dimension;To the message channel for not setting routing relation, according to Default, i.e. default relationships are executed.

In the routing rule validation verification step of the message dimension and message channel, verifying content includes:

1) message channel whether there is;

2) message dimension whether there is;

3) whether only one message channel is corresponding for a 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 the expansible message route implementation method of one kind of the invention, has the advantages that

The expansible message route implementation method of one kind of the invention, expansible, the message transmitting efficiency with message dimension The advantages that high, keeps the message producer corresponding according to multiple groups dimension by the routing rule of message dimension and message channel Message channel carries out transmitted in parallel, the efficiency of the message transmission greatly promoted;And this method realizes that simply versatility is stronger, It is practical, it is applied widely, there is good application value.

Detailed description of the invention

Attached drawing 1 is implementation flow chart of the invention.

Attached drawing 2 is specific embodiment schematic diagram in the present invention.

Specific embodiment

With reference to the accompanying drawing and specific embodiment the invention will be further described.

As shown in Fig. 1, the present invention provides a kind of expansible message route implementation method, the present invention can by providing The message dimension of extension, and the routing relation by configuring message dimension and message channel are realized according to routing relation, disappear The transmission of breath.

The method specifically includes following steps:

S10: the creation of message dimension;

S11: the creation of message channel;

S12: the routing rule of message dimension and message channel configuration;

S13: the validation verification of the routing rule of message dimension and message channel;

S14: transmission message is carried out according to routing rule.

The creation of the message dimension in step slo, each message dimension may include one or more dimension types, It supports to extend multiple dimension types.

The creation of the message channel, the title of each message channel require uniquely in step s 11;So-called message Channel refers to bearer messages, and under certain trigger condition, message is transmitted to another party from a side by certain alerting pattern Channel.

The routing rule of the message dimension and message channel configures in step s 12, 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 routing The message channel of relationship is executed according to Default (i.e. default) relationship.

The validation verification of the routing rule of the message dimension and message channel in step s 13, verifies content Include the following:

(1) message channel there must be;

(2) message dimension there must be;

(3) message dimensions have and can only have a message channel corresponding.

Message transmission is carried out according to routing rule described in step S14, according to the road of message dimension and message channel Message channel is determined by rule, and message is sent by the message channel.

Example explanation: certain group financial company provides financial statement to realize, needs in real time to be remembered financial affairs receipt Account;Since the accounting unit of group is more, and portfolio is huge, to promote efficiency of keeping accounts, using Message routing mechanism, realize with Communication between card and account book.

Overall flow figure is referring to attached drawing 1.

Step 1 creates message dimension, and as shown in Fig. 2, including two message dimensions, respectively type of credentials, accounting are single Position.

Step 2 creates message channel, as shown in Fig. 2, including four message channels, respectively Queue1, Queue2, Queue3、Queue4。

Step 3 configures the routing rule between message dimension and message channel, list content as shown in Figure 2.

Step 4 verifies routing rule, and message dimension, message channel cannot be sky, and one group of message dimension has and only one Message channel.

5th, transmission message is carried out according to the message channel that routing rule determines;Unit 01001,01002 can pass through it Corresponding message channel carries out transmitted in parallel message.

The technical personnel in the technical field can readily realize the present invention with the above specific embodiments,.But it answers Work as understanding, the present invention is not limited to above-mentioned specific embodiments.On the basis of the disclosed embodiments, the technical field Technical staff can arbitrarily combine different technical features, to realize different technical solutions.

Except for the technical features described in the specification, it all is technically known to those skilled in the art.

Claims (1)

1. a kind of expansible message route implementation method, which is characterized in that expansible message dimension is provided first, by matching The routing relation of message dimension and message channel is set, realizes the transmission for carrying out message according to routing relation, is based on this, it is specific real Existing process are as follows:
The creation of message dimension is carried out first;
Then the creation of message channel is carried out;
Configure the routing rule of message dimension and message channel;
Carry out the validation verification of the routing rule of message dimension and message channel;
Finally transmission message is carried out according to routing rule;
During creating message dimension, each message dimension includes one or more dimension types;
During the creation of message channel, the title of each message channel is unique, wherein message channel is to refer to hold Message is carried, message is transmitted to the channel of another party under certain trigger condition by reminding from a side;
The routing rule configuration of the message dimension and message channel refers to: corresponding one message of one group of message dimension example is led to Road, and a message channel corresponds to one or more message dimension;To the message channel for not setting routing relation, according to Default, i.e. default relationships are executed;
In the routing rule validation verification step of the message dimension and message channel, verifying content includes:
1) message channel whether there is;
2) message dimension whether there is;
3) whether only one message channel is corresponding for a message dimension;
It is described to carry out message transmission according to routing rule, refer to and is disappeared according to the routing rule of message dimension and message channel to determine Channel is ceased, and message is sent by the message channel.
CN201611000128.3A 2016-11-14 2016-11-14 A kind of expansible message route implementation method CN106528307B (en)

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 CN106528307A (en) 2017-03-22
CN106528307B true CN106528307B (en) 2019-08-02

Family

ID=58351674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611000128.3A 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN106528307A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
WO2007005546A3 (en) Method and apparatus for browsing network resources using an asynchronous communications protocol
WO2005119563A3 (en) Generalized approach to structured medical reporting
GB0106477D0 (en) A method and system to provide and manage access to internal computer systems from an external client
WO2007070676A3 (en) Systems and methods for social mapping
US9300476B2 (en) Management of certificates for mobile devices
WO2005122481A3 (en) A method for providing efficient multipoint network services
WO2003021512A3 (en) Transitive trust network
CN102364919A (en) Grouping method of mobile terminal in automobile service system
CN104348777B (en) The access control method and system of a kind of mobile terminal to third-party server
US20120089677A1 (en) Method and system for providing network services
WO2005091599A3 (en) Method and system for agentless discovery of application infrastructure resources
US10110430B2 (en) Intelligent agent features for wearable personal communication nodes
US9742667B2 (en) Packet processing method, device and system
CN101072180B (en) Method and system for strengthening transport control layer control for next generation communication network
CN1529447A (en) Mobile communication network protocol signalling analysis system and method
EP2378721A1 (en) Bandwidth allocation method and routing apparatus
US9325699B2 (en) Method for apparatus for routing application programming interface (API) calls
CN104320163B (en) Communication method and device
US9801229B2 (en) Method for processing service connection in a communication network and device thereof
CN103561468B (en) Method and device for controlling uploading of locating information of terminals in clustering system
US20150256603A1 (en) System and method for aggregating and providing data from enterprise systems to mobile devices
US8615014B2 (en) System and method for multiple concurrent virtual networks
US9319852B2 (en) Interoperability and communications system dynamic media proxy based on capability negotiation
CN101494551A (en) Method, apparatus and system for business cutover
CN104462579A (en) Job task management method of large data management platform

Legal Events

Date Code Title Description
C06 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
GR01 Patent grant