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
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.)
Active
Application number
CN201611000128.3A
Other languages
Chinese (zh)
Other versions
CN106528307A (en
Inventor
郭志奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

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 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 Active 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 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)

* 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
CN107360248B (en) Method and apparatus for configuring local consensus and computer-readable storage medium
WO2019072280A3 (en) Executing multi-party transactions using smart contracts
CN108462758A (en) Bank-corporate express communication means, device, equipment and computer readable storage medium
CN111027936B (en) Workflow realization method, device and medium based on intelligent contract in alliance network
US20070079128A1 (en) Electronic signature system and method
CN105227364B (en) A kind of method and device of ERP system resource-sharing
CN103995751B (en) A kind of Overpassing Platform by Using system and method
US20110216775A1 (en) System and Method for Multiple Concurrent Virtual Networks
CN105260837A (en) Teaching management system and teaching management method thereof
CN105787674A (en) Paperless mobile office system
WO2022047890A1 (en) Blockchain-based sd-wan service system, and implementation method for same
CN110868449B (en) Method and system for realizing timing task based on asynchronous message
CN105873218A (en) User scheduling and resource allocating method and device
CN110458250A (en) A kind of instant fabrication method of social security card
CN109246212B (en) Multi-bank data interaction implementation method based on long connection
CN102629345B (en) Chain type links up collaboration method, Apparatus and system
CN106528307B (en) A kind of expansible message route implementation method
CN106231235A (en) Under a kind of constrained environment, long-distance video meets with method and system
CN103546717A (en) Audio/video conference connection establishment method and device
CN110636127A (en) Communication processing method and system between information data
CN110086878A (en) A kind of 5G private network and construction method
CN102685227A (en) Message scheduling method and message scheduling system for cloud conference
Xu et al. A Survey on Time-Sensitive Networking Standards and Applications for Intelligent Driving
CN109981534A (en) A kind of authentication method, equipment and system
CN110545329B (en) Method for improving FTP file transmission speed

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
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.

GR01 Patent grant
GR01 Patent grant