CN106528307A - Method for realizing extensible message routing - Google Patents

Method for realizing extensible message routing Download PDF

Info

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
Application number
CN201611000128.3A
Other languages
Chinese (zh)
Other versions
CN106528307B (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

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

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

A kind of extendible message route implementation method

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.
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 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 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
CN106528307B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US7769027B2 (en) Method and device for managing priority during the transmission of a message
EP1835411B1 (en) System on chip with semi-distributed control
US20150222624A1 (en) Method and apparatus for providing enhanced service authorization
WO2005096542A1 (en) Deploying and provisioning wireless handheld devices
WO2006081150A3 (en) System and method for performing concatenation of diversely routed channels
CN102364919A (en) Grouping method of mobile terminal in automobile service system
CN103281241B (en) The method and apparatus that information is provided to the access network unit in communications network system
CN103514739B (en) Taxi calling and sharing method and system
US20070135165A1 (en) Establishment of a transcoder-free operation connection
US7852788B2 (en) Method of organizing nodes of a network into groupings of nodes, computer program for implementing such a method and communication device forming a node of a network of nodes
CN102469021B (en) Method of transmitting business flow and member equipment in intelligent resilience frame system
CN105898848A (en) Electronic device, communication method, and user equipment
CN103514738B (en) A kind of taxi taking share-car matching process and system thereof by the way
CN103198400B (en) A kind of blue teeth wireless POS terminal financial payment systems and method of payment thereof
CN103152399B (en) Login method, system and cloud server
EP3123777A2 (en) Method and apparatus for processing rlc/ pdcp entities at a user equipment in a dual connectivity system
CN105900357B (en) System and method for multiple-input and multiple-output MIMO full duplex precoding structures
CN102946356B (en) CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN105792201A (en) Method and system for issuing CSR certificate for vehicle-to-anything communication
WO2009086716A1 (en) A method, program and system for realizing control plane centralization and data plane distribution
CN103281729A (en) Method for transmitting and receiving data in near field communication
US20080091950A1 (en) System and method to send a message using multiple authentication mechanisms
CN102307223A (en) Method and system for realizing adaptation of application platforms
US20070079128A1 (en) Electronic signature system and method
US20110009124A1 (en) Unique radio bearer (rb) procedure

Legal Events

Date Code Title Description
PB01 Publication
C06 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