XML (extensible markup language) message processing method and XML message processing device
A message processing and message technology, applied in the field of information processing, can solve the problems of difficult maintenance, increase in the amount of parsing program code, expandability of the parsing program, and low generality, etc., to achieve strong scalability and easy maintenance. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0070] see figure 1 , which is a flow chart of the first embodiment of the XML message processing method provided by the embodiment of the present invention, including:
[0071] S101. Receive an XML message, and acquire an interface identifier according to the XML message, where the interface identifier is a unique identifier of the interface.
[0072] The method provided by the embodiment of the present invention can be applied to a service processing system for parsing an XML message or an XML document, and can also be applied independently. Usually, an interface protocol is agreed between the XML message sender and the XML message receiver or the service caller and the service provider, which is used to define the fields (nodes), data structure, format and other information contained in the interface. The two parties exchange data through the agreed interface information. In the embodiment of the present invention, a unique identifier is provided for each interface, which...
no. 2 example
[0079] see figure 2 , which is a flow chart of the second embodiment of the XML message processing method provided by the embodiment of the present invention, including:
[0080] S201. Receive an XML message, and acquire an interface identifier according to the XML message, where the interface identifier is a unique identifier of the interface.
[0081] S202. Obtain node configuration information corresponding to the interface identifier according to the pre-stored correspondence between the interface identifier and node configuration information.
[0082]In the embodiment of the present invention, the node configuration information of the interface is stored in advance. The node configuration information of the interface can be saved in the form of a configuration file or in a database. Since the interface protocol is agreed upon by the service caller and the service provider, it is generally not easily modified. In order to improve the processing performance of the system...
no. 3 example
[0121] see image 3 , which is a flow chart of the third embodiment of the XML message processing method provided by the embodiment of the present invention, including:
[0122] S301. Receive an XML message, and acquire an interface identifier according to the XML message, where the interface identifier is a unique identifier of the interface.
[0123] S302. Obtain node configuration information corresponding to the interface identifier according to the prestored correspondence between the interface identifier and node configuration information.
[0124] In this step, after the interface identifier of the message is obtained, the node configuration information corresponding to the interface identifier is taken out. Specific to the example in Table 1, 9 pieces of configuration information whose interface ID is 01 are taken out.
[0125] S303. Obtain a root node according to the node configuration information, and use the root node as a current node.
[0126] In the third emb...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



