Business object and xml message mutual conversion method and system
A business object and mutual conversion technology, applied in semi-structured data mapping/conversion, special data processing applications, instruments, etc., can solve the difficult to meet the requirements of productization, heavy development workload, and large differences between interfaces and other issues, to achieve high execution efficiency and reliability, reduce workload, and maintain good results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0074] 1) Data model
[0075]
[0076]
[0077] Table 1 Dynamic message generation configuration table (TD_S_INTERFACE_NODE)
[0078] Remarks: As a client message configuration table, it records the XML message node attribute format, attribute relationship and mapping relationship with BO.
[0079]
[0080]
[0081] Table 2 Message node configuration table (TD_S_INTERFACE_NODE_CONFIG)
[0082] Remark: store the corresponding relationship between the internal nodes stored in the attribute table and the XML message nodes.
[0083]
[0084] Table 3 Message node attribute value conversion table (TD_S_INTERFACE_NODE_VAL_CVT)
[0085] Remarks: storage requires the conversion relationship between the attribute value in the system and the node value in the XML message
[0086]
[0087] Table 4 Dynamic message verification configuration table (TD_S_INTERFACE_NODE_VALIDATE)
[0088] Remarks: Store the node constraints in the message specification to verify the mess...
specific Embodiment
[0110] Convert XML messages to business objects:
[0111] 1) Configure the excel data according to the interface specification between systems.
[0112] 2) Import the database.
[0113] 3) Call XmlParseUtil.parse(xml string, interface name, message header, BO), and the output is a business object.
[0114] Convert business objects to XML messages:
[0115] 1) Configure the excel data according to the interface specification between systems.
[0116] 2) Import the database.
[0117] 3) Call IintfNodeConfMng.getInterfaceXml(interface name, root node code, interfaceNodeBo), and the output is an xml string.
[0118] Notice:
[0119] 1) Please generate and configure dto, dao and configuration according to your own system.
[0120] 2) The place where the ExtendAttr class is judged in the code is a special processing method for storing special attributes BO, which can be extended according to its own needs.
[0121] 3) InterfaceNodeBo is the BO corresponding to the interface, ...
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