Database table and XML message mapping processing method and system
A mapping processing and database technology, which is applied to the mapping processing method and system field of database tables and XML messages, can solve the problems of time consumption, message message format problems, inefficient message parsing, etc., and achieves improved efficiency and convenience. Effectiveness of management and maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0089] Please refer to figure 1 , Embodiment 1 of the present invention is: a kind of mapping processing method of database table and XML message, comprises the following steps:
[0090] S1: The field mapping table between preset database fields and XML message node fields; for example, through
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097] The name in the node = "database table name", and the column is identified as the corresponding node in the corresponding XML message; the field mapping attribute description is shown in Table 1; each table contains one or more fields, and the field has many attributes that need to be set , such as data type, display format, etc. Two of the more important attributes are is_pk and is_bizpk, which are used to indicate whether the field is a primary key or a business primary key. The business primary key plays a very important role. In the case of updating, the business primary key will be used To locate records, s...
Embodiment 2
[0122] Please refer to image 3 , this embodiment is a further expansion of the embodiment, and the similarities will not be described again. The difference is that after the step S7, a template update process is also included, which specifically includes the following steps:
[0123] S13: Publish the update information of the XML message template to the service bus.
[0124] S14: The service bus pushes the update information to each communication node.
[0125] S15: Each communication node acquires the update information.
[0126] S16: Compare the XML message template in the update information with the unique identifier and version number of the XML message template being used; preferably, the unique identifier is a template number.
[0127] S17: Determine whether an update is required, if yes, perform step S18, if not, perform step S21; that is, determine whether the version numbers are consistent when the unique identifiers are consistent, if they are consistent, no updat...
Embodiment 3
[0137] Please refer to Figure 5 , the present embodiment is a mapping processing system of a database table and an XML message corresponding to the foregoing embodiments, including:
[0138] The first preset module 1 is used to preset the field mapping table between database fields and XML message node fields;
[0139] The first obtaining module 2 is used to obtain the target database;
[0140] An extracting module 3, configured to extract a preset number of target data tables in the target database;
[0141] The first judging module 4 is used to judge whether there is a master-subtable relationship between the target data tables, and obtain a first judging result;
[0142] The first determining module 5 is configured to determine at least one set of master-subtable relationships if the first judgment result is yes;
[0143] The first generation module 6 is used to generate an XML message template corresponding to the number of main-subtable relationship groups according t...
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