Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message routing method and message routing device

A routing and message technology, applied in the communication field, can solve problems such as query condition restrictions, and achieve the effect of flexible configuration and flexible routing strategy

Inactive Publication Date: 2011-04-13
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the data query interface of the service registration center is usually based on certain standards, such as UDDI (Universal Description, Discovery, and Integration, UDDI, unified description, discovery and integration), these standards provide some predetermined characteristic values ​​​​according to the service registration data (such as service interface name, service data version number, etc.), there is a defect that the query conditions are limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message routing method and message routing device
  • Message routing method and message routing device
  • Message routing method and message routing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Such as figure 2 As shown, the embodiment of the present invention provides a message routing method, including:

[0028] Step 21, using the XML conversion language that contains the routing strategy to perform XML conversion on the content of the XML message to obtain the target message after the XML conversion, the routing strategy includes the operation rules for XML conversion of the content of the XML message, and the XML conversion After the corresponding target message, the XML transformation language includes Extensible Style Language XSL.

[0029] Step 22, according to the target message, route the XML message to the message receiving subject.

[0030] XML transformation languages ​​may include XSL.

[0031] It can be seen from the above that since the XML transformation language XSL can set various operations on the content of the XML message, the routing strategy can be flexibly configured to implement routing based on the content of the XML message.

[0...

Embodiment 2

[0040] Such as image 3 As shown, an embodiment of the present invention provides a message routing device, including:

[0041] The conversion unit 31 uses an XML conversion language that includes a routing policy to perform XML conversion on the content of the XML message to obtain an XML converted target message. The routing policy includes an operation rule for performing XML conversion on the content of the XML message, and XML For the target message after conversion, the XML conversion language includes Extensible Style Language XSL.

[0042] The routing unit 32 is configured to route the XML message to the message receiving body according to the target message.

[0043]It can be seen from the above that since the XML transformation language XSL can set various operations on the content of the XML message, the routing strategy can be flexibly configured to implement routing based on the content of the XML message.

[0044] Such as Figure 4 As shown, the message routin...

Embodiment 3

[0055] Such as Figure 5 As shown, taking the XML conversion language as XSL and the target message (RouteValue) after XML conversion as the routing address of the message receiving subject (Service Provider) as an example, the message routing method of the embodiment of the present invention is described in detail.

[0056] 501. Set the routing policy in the XSL according to the operation rule for performing XML transformation on the content of the XML message and the corresponding target message after the XML transformation.

[0057] A. Set a routing policy based on the content of the XML message.

[0058] For example, an XML message has the following format:

[0059]

[0060] Wherein, msgField is an element of the XML message, and 111 or 222 or aaa represent an element value.

[0061] The operation rules for XML conversion can be established based on the value ranges of the msgField1 and msgField2 element values ​​of the XML message, and the target message after XML co...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a message routing method and a message routing device. The message routing method comprises the following steps of: carrying out XML (Extensible Markup Language) conversion on the contents of an XML message by utilizing an XML conversion language containing a routing strategy to acquire a target message after the XML conversion, wherein the routing strategy comprises an algorithm rule for the XML conversion of the contents of the XML message and the corresponding target message after the XML conversion, and the XML conversion language contains an XSL (Extensible Stylesheet Language); and routing the XML message to a message receiving main body according to the target message. The message routing method and the message routing device of the embodiment of the invention can be used for flexibly configuring the routing strategy and routing based on the contents of the XML message because the XML conversion language can set various calculations to the contents of the XML message.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a message routing method and a message routing device. Background technique [0002] At present, the method of message routing is realized through cooperation of message middleware and service address registration. Such as figure 1 As shown, a Service Registry Center (Service Registry Center) has registered service address information of multiple message recipients (message recipients A, B, C), and the Service Registry Center provides the message middleware data query interface. After receiving the request message, the message middleware must query the service registration center for the service address of the message receiving subject, find the service address matching the request message, and then route the request message to the corresponding message receiving subject. [0003] In the course of realizing the present invention, the inventor finds that there are...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/58H04L12/56G06F17/22
CPCH04L45/308H04L29/08972H04L67/327H04L67/63
Inventor 陆多俊
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products