CN105160004A - B/S framework based data mapping method for heterogeneous system - Google Patents

B/S framework based data mapping method for heterogeneous system Download PDF

Info

Publication number
CN105160004A
CN105160004A CN201510593292.9A CN201510593292A CN105160004A CN 105160004 A CN105160004 A CN 105160004A CN 201510593292 A CN201510593292 A CN 201510593292A CN 105160004 A CN105160004 A CN 105160004A
Authority
CN
China
Prior art keywords
data
mapping
heterogeneous system
server
external business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510593292.9A
Other languages
Chinese (zh)
Inventor
闫法
卫立波
汪艳琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Following International Information Ltd Co
Original Assignee
Xi'an Following International Information Ltd Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Following International Information Ltd Co filed Critical Xi'an Following International Information Ltd Co
Priority to CN201510593292.9A priority Critical patent/CN105160004A/en
Publication of CN105160004A publication Critical patent/CN105160004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • G06F16/86Mapping to a database

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a B/S framework based data mapping method for a heterogeneous system. The method comprises: determining an external business data format; converting external business data; generating a conversion rule by a server; converting source data into a target data structure. The method realizes data mapping of the heterogeneous system, is convenient to install and use and easy to transplant and integrate, and effectively improves scientificity, effectiveness and practicality of data mapping between heterogeneous systems.

Description

A kind of data mapping method of the heterogeneous system based on B/S framework
Technical field
Computer information technology field of the present invention, relates to a kind of data mapping method of the heterogeneous system based on B/S framework.
Background technology
Exchanges data between heterogeneous system and Process integration often require a large amount of different Data Format Transform, comprise JSON and various user-defined format.Write converse routine, the workload of the program of the relation of checking routine and these multi-to-multis of management is very large.Industry-by-industry all has or is formulating oneself data exchange standard, and the data layout between each operation system will be very complicated, and along with the change of business, the upgrading of system, data layout is difficult to do unification.
Data-mapping can describe from data source, extract data, translation data by Data import to sequence of operations such as targets, can be used for representing how data are delivered to target from data source.But, existing technology of data mapping can only realize the independent mapping of source data to target data, and, simple data type can only be mapped, as character string, integer, decimal etc., thus can not realize complicated expression formula to describe, thus cause the access cannot supporting the data describing complicated conversion logic.Further, traditional data-mapping interface is C/S framework mostly, disposes and uses underaction, needing to install corresponding client during operation.B/S framework and browser and server framework.It is the rise along with Internet technology, to a kind of change of C/S framework or the structure of improvement, adopts B/S architecture technology, simplifies client computer load, alleviate cost and the workload of system maintenance and upgrading, reduce the overall cost of user.
XML (ExtensibleMarkupLanguage, extend markup language), W3C (WorldWideWebConsortium, International World Wide Web alliance) a kind of extend markup language of specifying, be similar to HTML (HypertextMarkupLanguage, text mark up language).XML is flag data in the form of a label, and these labels do not have scheduled justice, needs self-defining label during use.XML is plain text, does not do anything, is only used for structural data, and stores, transmits data.XML tag e-file makes it have structural markup language, be also used for flag data, definition data type, be widely used in data transmission, information store and information describe in, be between a lot of application program data transmission common tool.
Summary of the invention
The object of this invention is to provide a kind of data mapping method of the heterogeneous system based on B/S framework, achieve the global mapping of data between heterogeneous system.
The technical solution adopted in the present invention is, a kind of data mapping method of the heterogeneous system based on B/S framework, specifically implements according to following steps:
Step 1, determine external business data layout:
The external business data layout of server to each heterogeneous system is determined, and eliminates the otherness to the definition of same external business data between heterogeneous system;
Step 2, converts external business datum:
Server, according to step 1 established data form, is resolved the source data of the external business data that need change, and is packaged into XML file;
Step 3, server T.G Grammar rule:
According to required source data and corresponding target data, operator by the dragging of browser interface, draw, drag operation, source data is mapped by line with needing the target data mapped, after having operated, server parses interface line result, generate a data mapping relations file, by XSLT (extensible stylesheet table code-switching) technology at internal representation mapping ruler;
Step 4, is converted to the structure of target data by source data:
The data-mapping relational file that server is generated by analytical procedure 3, is mapped to the XML file encapsulated through step 2 in the XML file of target data, and generates the data format file that next heterogeneous system can receive, and completes data-mapping.
Feature of the present invention is also,
In step 4, the concrete grammar analyzing data-mapping relational file is: if the value mapping expression formula comprises array data, then extract array data, and according to the array name of correspondence stored in target data; If map the value of expression formula to comprise structured data, then extract structured data, and according to the structure name of correspondence stored in target data; If the value mapping expression formula comprises numeric field data, then create territory according to preset definition and carry out assignment, by territory stored in target data.
Step 4 also comprises data check step, and specifically the standard of reference object data verifies the data after conversion, ensures that target data meets the needs of system.
The invention has the beneficial effects as follows, a kind of data mapping method of the heterogeneous system based on B/S framework, by different source datas being encapsulated and being mapped to target identification, achieve the mapping of heterogeneous system data, be convenient to install and use, be easy to transplant and integrated, effectively improve the science of data-mapping between heterogeneous system, validity and practicality.
Embodiment
Below in conjunction with embodiment, the present invention is described in detail.
The data mapping method of a kind of heterogeneous system based on B/S framework of the present invention, specifically implement according to following steps:
Step 1, determine external business data layout:
The external business data layout of server to each heterogeneous system is determined, and eliminates the otherness to the definition of same external business data between heterogeneous system; External business data define the performance of miscellaneous service data, comprise name, data type, check rule etc.;
Step 2, converts external business datum:
Server, according to step 1 established data form, is resolved the source data of the external business data that need change, and is packaged into XML file;
Step 3, server T.G Grammar rule:
According to required source data and corresponding target data, operator by the dragging of browser interface, draw, drag operation, source data is mapped by line with needing the target data mapped, after having operated, server parses interface line result, generate a data mapping relations file, by XSLT technology at internal representation mapping ruler;
Step 4, is converted to the structure of target data by source data:
The data-mapping relational file that server is generated by analytical procedure 3, is mapped to the XML file encapsulated through step 2 in the XML file of target data, and generates the data format file that next heterogeneous system can receive, and completes data-mapping; Wherein, the concrete grammar analyzing data-mapping relational file is: if the value mapping expression formula comprises array data, then extract array data, and according to the array name of correspondence stored in target data; If map the value of expression formula to comprise structured data, then extract structured data, and according to the structure name of correspondence stored in target data; If the value mapping expression formula comprises numeric field data, then create territory according to preset definition and carry out assignment, by territory stored in target data.
Step 4 also comprises data check step, and specifically the standard of reference object data verifies the data after conversion, ensures that target data meets the needs of system.

Claims (3)

1. based on a data mapping method for the heterogeneous system of B/S framework, it is characterized in that, specifically implement according to following steps:
Step 1, determine external business data layout:
The external business data layout of server to each heterogeneous system is determined, and eliminates the otherness to the definition of same external business data between heterogeneous system;
Step 2, converts external business datum:
Server, according to described step 1 established data form, is resolved the source data of the external business data that need change, and is packaged into XML file;
Step 3, server T.G Grammar rule:
According to required source data and corresponding target data, operator by the dragging of browser interface, draw, drag operation, source data is mapped by line with needing the target data mapped, after having operated, server parses interface line result, generate a data mapping relations file, by XSLT technology at internal representation mapping ruler;
Step 4, is converted to the structure of target data by source data:
The data-mapping relational file that server generates by analyzing true step 3, is mapped to the XML file encapsulated through described step 2 in the XML file of target data, and generates the data format file that next heterogeneous system can receive, and completes data-mapping.
2. the data mapping method of a kind of heterogeneous system based on B/S framework according to claim 1, it is characterized in that, in described step 4, the concrete grammar analyzing data-mapping relational file is: if the value mapping expression formula comprises array data, then extract array data, and according to the array name of correspondence stored in target data; If map the value of expression formula to comprise structured data, then extract structured data, and according to the structure name of correspondence stored in target data; If the value mapping expression formula comprises numeric field data, then create territory according to preset definition and carry out assignment, by territory stored in target data.
3. the data mapping method of a kind of heterogeneous system based on B/S framework according to claim 1 and 2, it is characterized in that, described step 4 also comprises data check step, and specifically the standard of reference object data verifies the data after conversion, ensures that target data meets the needs of system.
CN201510593292.9A 2015-09-17 2015-09-17 B/S framework based data mapping method for heterogeneous system Pending CN105160004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510593292.9A CN105160004A (en) 2015-09-17 2015-09-17 B/S framework based data mapping method for heterogeneous system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510593292.9A CN105160004A (en) 2015-09-17 2015-09-17 B/S framework based data mapping method for heterogeneous system

Publications (1)

Publication Number Publication Date
CN105160004A true CN105160004A (en) 2015-12-16

Family

ID=54800860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510593292.9A Pending CN105160004A (en) 2015-09-17 2015-09-17 B/S framework based data mapping method for heterogeneous system

Country Status (1)

Country Link
CN (1) CN105160004A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095409A (en) * 2016-05-31 2016-11-09 浪潮通用软件有限公司 The device and method that a kind of data map
CN107145368A (en) * 2017-04-25 2017-09-08 广州中浩控制技术有限公司 Data interactive method and system between a kind of business system
CN108874944A (en) * 2018-06-04 2018-11-23 刘洋 A kind of isomeric data mapped system and method based on XSL language conversion
CN110780971A (en) * 2019-11-06 2020-02-11 山东健康医疗大数据有限公司 Method and system for realizing visual medical data mapping and converting tool
CN112528189A (en) * 2020-12-23 2021-03-19 平安普惠企业管理有限公司 Data-based component packaging method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216961A (en) * 2014-08-21 2014-12-17 北京奇艺世纪科技有限公司 Method and device for data processing
CN104268143A (en) * 2014-08-08 2015-01-07 华迪计算机集团有限公司 XML (extensible markup language) data processing method and device
CN104391826A (en) * 2014-10-31 2015-03-04 北京思特奇信息技术股份有限公司 Data format conversion method and data format converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268143A (en) * 2014-08-08 2015-01-07 华迪计算机集团有限公司 XML (extensible markup language) data processing method and device
CN104216961A (en) * 2014-08-21 2014-12-17 北京奇艺世纪科技有限公司 Method and device for data processing
CN104391826A (en) * 2014-10-31 2015-03-04 北京思特奇信息技术股份有限公司 Data format conversion method and data format converter

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095409A (en) * 2016-05-31 2016-11-09 浪潮通用软件有限公司 The device and method that a kind of data map
CN107145368A (en) * 2017-04-25 2017-09-08 广州中浩控制技术有限公司 Data interactive method and system between a kind of business system
CN108874944A (en) * 2018-06-04 2018-11-23 刘洋 A kind of isomeric data mapped system and method based on XSL language conversion
CN110780971A (en) * 2019-11-06 2020-02-11 山东健康医疗大数据有限公司 Method and system for realizing visual medical data mapping and converting tool
CN112528189A (en) * 2020-12-23 2021-03-19 平安普惠企业管理有限公司 Data-based component packaging method and device, computer equipment and storage medium
CN112528189B (en) * 2020-12-23 2024-05-17 北京神州数码云科信息技术有限公司 Data-based component packaging method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105160004A (en) B/S framework based data mapping method for heterogeneous system
US7194485B2 (en) Mapping XML schema components to qualified java components
EP3214559A1 (en) Data graphing method, device and database server
CN103095823A (en) Object description method and object information interaction system in Internet of Things system
JP2017027635A5 (en)
CN103729463A (en) Method for implementing full-text retrieval based on Lucene and Solr
CN103064876A (en) Method for obtaining spatial data servitization facing geographic information application
CN105069116A (en) Method and system for converting json string into array
KR20150017052A (en) Method and system for performing workflow
US11138206B2 (en) Unified metadata model translation framework
CN104090920A (en) System for realizing digital content cross-terminal publishing
US8725750B1 (en) Framework for generating programs to process beacons
Breitling A standard transformation from XML to RDF via XSLT
CN104021216A (en) Message proxy server and information publish subscription method and system
CN103218396A (en) Dispatching and operating visualized analysis methodby generating static web pages according to visit frequency characteristic
US20070282804A1 (en) Apparatus and method for extracting database information from a report
CN102520959A (en) Reused code matching inquiry method based on meaning
Aman et al. Reverse engineering: from XML to Uml for generation of software requirement specification
CN110147408A (en) For the big data integrated system of multi-source heterogeneous spatial data
CN103514070B (en) Describe in conjunction with XML and carry out hardware automated method of testing
Yang et al. Mapping Approach for Model Transformation of MDA Based on XMI/XML Platform
CN106055342A (en) Method for using third-party Form extension component under dojango
CN104462463A (en) JavaScript data access method based on SQL template
CN103810256A (en) Method for distributing data rapidly in large data network optimization platform on basis of partition technology
Peng et al. Research on the data format standard of IoT based on XML

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216

RJ01 Rejection of invention patent application after publication