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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com