CN102567297A - Data conversion device and data conversion method - Google Patents

Data conversion device and data conversion method Download PDF

Info

Publication number
CN102567297A
CN102567297A CN2011104484467A CN201110448446A CN102567297A CN 102567297 A CN102567297 A CN 102567297A CN 2011104484467 A CN2011104484467 A CN 2011104484467A CN 201110448446 A CN201110448446 A CN 201110448446A CN 102567297 A CN102567297 A CN 102567297A
Authority
CN
China
Prior art keywords
data
conversion
semantic conversion
sign
transformation rule
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
CN2011104484467A
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.)
Yonyou Software Co Ltd
Original Assignee
Yonyou Software Co Ltd
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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN2011104484467A priority Critical patent/CN102567297A/en
Publication of CN102567297A publication Critical patent/CN102567297A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a data conversion device, which comprises a detection unit that detects data sent externally and identifies identifier of the data; an acquisition unit that acquires corresponding conversion way according to the identifier and context information created; and a processor that converts the data according to the conversion way and the context information. The invention further provides a data conversion method. Different data can be converted according to the context information in the data exchange process in the light of the technical scheme of the invention, and data can be dynamically converted according to the context information generated in the conversion process.

Description

DTU and data transfer device
Technical field
The present invention relates to field of computer technology, particularly, DTU and data transfer device.
Background technology
At present, along with popularizing of infosystem, all have the application system of various dispersions in many enterprises, each enterprise is all integrating with integrated its application system in various degree.
Inevitably need to solve identification and the form and semantic transfer problem of isomeric data in each system in the process of the system integration.
In the traditional data shift scene, need through following steps necessary:
1) data aggregation.
2) Data Format Transform.
3) data semantic conversion.
Just can convert external data into current system understandable data message through above-mentioned steps.Semantic conversion is the important step in the data conversion process.Semantic conversion is that the semanteme of data is analyzed, and according to rule, being converted into current system can recognition data, and rule generally is stored in the specific data file or database.
In traditional semantic conversion, the rule of conversion is in rule definition file or database, to define in advance, and transfer process is merely able to according to fixing condition data carried out semantic conversion.
Along with the complexity of infosystem constantly improves; Some new demands have been produced; Old data-switching mode can not satisfy the data-switching work in the complicated scene, and wherein outstanding performance is exactly that the translation of data can't be changed according to the contextual information that produces in the translation process again.
For example, if the conversion of the A field in certain ERP document is another field B that depends on current document, get differently according to the B field value, the value of the A that obtains is also along with change, and the conversion regime of then traditional fixing rule can't be accomplished.
As stated, in the traditional data transfer process, be merely able to according to rule in fixing condition data are changed, can't carry out dynamic translation according to the contextual information that produces in the current translation process.
Take the example of a typical data-switching:
In certain ERP system A, have a material document, document information is as shown in table 1 below:
The field title Field type Data rely on
Material essential information major key String -
Membership group String -
The place of production String Membership group
...... ...... ......
Table 1
It is " place of production " that individual field is arranged in the above-mentioned material document, and it relies on another field " membership group " in the document.
There are data as shown in table 2 below in " place of production " table (major key field does not mark) in the database now:
Place of production coding Place of production title Membership group ......
101 China 201
101 The U.S. 202
Table 2
Document before the data-switching is as shown in table 3 below:
Material essential information major key Membership group The place of production ......
00000001 Group 1 101
00000002 Group 2 101
Table 3
" group " table (major key field does not mark) in the database exists shown in the following tables of data 4 now:
Cluster coding Group's title ......
201 Group 1
202 Group 2
Table 4
The A system is when receiving the material document; Can only preserve the coding and the place of production title of group in the database; Membership group in the document before this just need will change in data conversion process converts cluster coding into, converts the coding 101 in the place of production into concrete place of production title, owing to there are the data of two codings 101 in " place of production " database table; In translation process; Need could confirm the title in the place of production according to the membership group in the current document together, but in the traditional data transfer process, provide the contextual information in the document not carried out the support of data translation as condition, so the problems referred to above can't solve.
Therefore, need a kind of data conversion technique, can based on contextual information carry out dynamic translation to data flexibly.
Summary of the invention
Consideration based on the above-mentioned background technology an object of the present invention is to provide a kind of DTU, and another object of the present invention provides a kind of data transfer device, can based on contextual information carry out dynamic translation to data.
According to an aspect of the present invention, a kind of DTU is provided, has comprised: detecting unit, detect the data that send from the outside, discern the sign of said data; Acquiring unit obtains corresponding conversion regime according to the contextual information of said sign and establishment; Processor is changed said data according to said conversion regime and said contextual information.
In technique scheme; Preferably, said contextual information can comprise the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
In technique scheme, preferably, can also comprise: the transformation rule configuration module; First interface is provided; Be used for the configuration transitions rule, configuration information comprises the transformation rule sign of the said transformation rule of unique identification, data name and the data length after the conversion: semantic conversion policy configurations module provides second interface; Be used to dispose the semantic conversion strategy, configuration information comprises the semantic conversion strategy sign and concrete semantic conversion strategy of the said semantic conversion strategy of unique identification.For configurable different transformation rule of different service document and different semantics switching strategy, for example can data be unified to convert into the XML form, based on contextual information meets data-switching according to the semantic conversion strategy semanteme of native system requirement.
In technique scheme; Preferably, said processor can comprise: first judging unit, read the Data Identification and the said contextual information of said data; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion; If judged result then extracts the corresponding transformation rule sign of Data Identification of carrying out format conversion with said need for being, the said transformation rule sign of extracting is sent to said transformation rule configuration module; Said transformation rule configuration module finds out corresponding transformation rule according to said transformation rule sign, according to corresponding transformation rule the form of said data is changed; Second judging unit; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then extract and the said corresponding semantic conversion strategy sign of Data Identification of whether carrying out semantic conversion; The said semantic conversion strategy sign of extracting is sent to said semantic conversion policy configurations module, and said semantic conversion policy configurations module finds out corresponding semantic conversion strategy according to said semantic conversion strategy sign, according to corresponding semantic conversion strategy and said contextual information said data is carried out semantic conversion.Because contextual information has been preserved the information that needs use in the data conversion process; Comprise data form, data length, whether need carry out format conversion, whether need carry out information such as semantic conversion; Therefore; In transfer process, the data that send from the outside can be judged and whether format conversion need be carried out, whether need carry out semantic conversion.
In technique scheme, preferably, can also comprise: updating block, the said data that will pass through after the said processor processes are saved in the said contextual information, to upgrade said contextual information.Contextual information also has corresponding data storage area, is used to deposit the data that convert, and can use for the semantic conversion strategy.
At this, should be appreciated that in order to receive external data, provide unified data to insert inlet, these data can be from XML file, EXCEL file or database.
According to another aspect of the invention, a kind of data transfer device is provided also, has comprised: step 202, detect the data that send from the outside, discern the sign of said data; Step 204 finds out corresponding conversion regime according to said sign from the contextual information of creating; Step 206 is changed said data according to said conversion regime.
In technique scheme, preferably, said contextual information comprises the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
In technique scheme; Preferably, said step 204 can also comprise: read the Data Identification and the said contextual information of said data, whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion; If judged result is for being; Then basis identifies with the corresponding transformation rule of Data Identification that said need carry out format conversion, from the transformation rule storehouse, finds out corresponding transformation rule, according to said transformation rule the form of said data is changed; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then basis identifies with the corresponding semantic conversion strategy of Data Identification that said need carry out semantic conversion; From the semantic conversion policy library, find out corresponding semantic conversion strategy, said data are carried out semantic conversion according to said semantic conversion strategy and said contextual information.
Because contextual information has been preserved the information that needs use in the data conversion process; Comprise data form, data length, whether need carry out format conversion, whether need carry out information such as semantic conversion; Therefore; In transfer process, the data that send from the outside can be judged and whether format conversion need be carried out, whether need carry out semantic conversion.
In technique scheme, preferably, be the XML form with said data-switching according to said transformation rule.For configurable different transformation rule of different service document and different semantics switching strategy, for example can data be unified to convert into the XML form, based on contextual information meets data-switching according to the semantic conversion strategy semanteme of native system requirement.
In technique scheme, preferably, said step 206 can also comprise: the said data after the conversion process are saved in the said contextual information, to upgrade said contextual information.Contextual information also has corresponding data storage area, is used to deposit the data that convert, and can use for the semantic conversion strategy.
Description of drawings
Fig. 1 shows the block diagram of DTU according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of data transfer device according to an embodiment of the invention; And
Fig. 3 shows data-switching principle schematic according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 shows the block diagram of DTU according to an embodiment of the invention.
As shown in Figure 1, DTU 100 comprises according to an embodiment of the invention: detecting unit 102, detect the data that send from the outside, and discern the sign of said data; Acquiring unit 104 obtains corresponding conversion regime according to the contextual information of said sign and establishment; Processor 106 is changed said data according to said conversion regime and contextual information.
In technique scheme; Preferably, said contextual information can comprise the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
In technique scheme, preferably, can also comprise: transformation rule configuration module 108; First interface is provided; Be used for the configuration transitions rule, configuration information comprises the transformation rule sign of the said transformation rule of unique identification, data name and the data length after the conversion: semantic conversion policy configurations module 110 provides second interface; Be used to dispose the semantic conversion strategy, configuration information comprises the semantic conversion strategy sign and concrete semantic conversion strategy of the said semantic conversion strategy of unique identification.For configurable different transformation rule of different service document and different semantics switching strategy, for example can data be unified to convert into the XML form, based on contextual information meets data-switching according to the semantic conversion strategy semanteme of native system requirement.
In technique scheme; Preferably; Said processor 106 can comprise: first judging unit 1062; Read the Data Identification and the said contextual information of said data, whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion, if judged result is for being; Then extract the corresponding transformation rule sign of Data Identification of carrying out format conversion with said need; The said transformation rule sign of extracting is sent to said transformation rule configuration module 108, and said transformation rule configuration module 108 finds out corresponding transformation rule according to said transformation rule sign, according to corresponding transformation rule the form of said data is changed; Second judging unit 1064; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then extract the corresponding semantic conversion strategy sign of Data Identification of carrying out semantic conversion with said need; The said semantic conversion strategy sign of extracting is sent to said semantic conversion policy configurations module 110, and said semantic conversion policy configurations module 110 finds out corresponding semantic conversion strategy according to said semantic conversion strategy sign, according to corresponding semantic conversion strategy and said contextual information said data is carried out semantic conversion.Because contextual information has been preserved the information that needs use in the data conversion process; Comprise data form, data length, need carry out format conversion, need carry out information such as semantic conversion; Therefore; In transfer process, the data that send from the outside can be judged and whether format conversion need be carried out, whether need carry out semantic conversion.
In technique scheme, preferably, can also comprise: updating block 112, the said data that will pass through after the said processor processes are saved in the said contextual information, to upgrade said contextual information.Contextual information also has corresponding data storage area, is used to deposit the data that convert, and can use for the semantic conversion strategy.
At this, should be appreciated that in order to receive external data, provide unified data to insert inlet, these data can be from XML file, EXCEL file or database.
DTU according to still another embodiment of the invention comprises unified AM access module 202, format converting module 204, semantic conversion module 206, transformation rule configuration module 208 and semantic conversion policy configurations module 210.
Wherein, unified AM access module 202 corresponding to the detecting unit among Fig. 1 102, is used to receive the data message of outside input, provides a unified data to insert inlet.The data message that receives can be from the XML file, and the Excel file also can be from database, but is not limited to above-mentioned Data Source.
Format converting module 204, the function of this format converting module 204 that the processor described among Fig. 1 106 is integrated, the data-switching that is used for unified AM access module is received is a uniform data format, for example the XML form.And the Data Format Transform module needs the transformation rule sign in the based on contextual information, from transformation rule configuration module 208 (corresponding to the transformation rule configuration module 106 Fig. 1), obtains concrete transformation rule, carries out the format conversion of data.
Transformation rule configuration module 208; (corresponding to the transformation rule configuration module 106 among Fig. 1); Be used for the configuration data transformation rule and store data conversion rule; Information configured comprise can a transformation rule of unique identification the transformation rule sign, the information that defines in the concrete transformation rule comprises data name after (being not limited to) conversion, data length etc.
Semantic conversion module 206, the function of this module that the processor described among Fig. 1 106 is integrated.Be used for data are carried out semantic conversion.The semantic conversion strategy sign that from contextual information, obtains obtains the corresponding semantic conversion strategy of this semantic conversion sign then from semantic conversion policy configurations module, according to this semantic conversion strategy the data of input are carried out semantic translation.
Semantic conversion policy configurations module 210; Be used for the self-defining semantic conversion strategy of realizing semantic conversion policy criteria interface of registered user; The information of concrete configuration comprise can a semantic conversion strategy of unique identification semantic conversion strategy sign; Wherein, semantic conversion policy criteria interface is meant the application programming interfaces (API) that define in advance.
Need to prove that the semantic conversion strategy is a concrete semantic conversion strategy of having realized semantic conversion policy criteria interface, can carry out semantic translation to the data of input based on contextual information according to this semantic conversion strategy.
Contextual information; Mainly preserved the information that needs use in the data conversion process; Include but not limited to: the form of data, data length, the Data Identification that need carry out format conversion, transformation rule sign, Data Identification, the Translation Strategy that need carry out semantic conversion identify.
Through updating block the data that convert are sent to the data general-purpose memory block, this data general-purpose memory block is used to deposit the data that convert, and supplies the semantic conversion strategy to use.
Fig. 2 shows the process flow diagram of data transfer device according to an embodiment of the invention.
As shown in Figure 2, data transfer device according to an embodiment of the invention comprises: step 202, detect the data that send from the outside, and discern the sign of said data; Step 204 is obtained corresponding conversion regime according to the contextual information of said sign and establishment; Step 206 is changed said data according to said conversion regime and said contextual information.
In technique scheme, preferably, said contextual information comprises the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
In technique scheme; Preferably, said step 204 can also comprise: read the Data Identification and the said contextual information of said data, whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion; If judged result is for being; Then basis identifies with the corresponding transformation rule of Data Identification that said need carry out format conversion, from the transformation rule storehouse, finds out corresponding transformation rule, according to said transformation rule the form of said data is changed; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then basis identifies with the corresponding semantic conversion strategy of Data Identification that said need carry out semantic conversion; From the semantic conversion policy library, find out corresponding semantic conversion strategy, said data are carried out semantic conversion according to said semantic conversion strategy and said contextual information.Because contextual information has been preserved the information that needs use in the data conversion process; The information such as form, data length, the Data Identification that need carry out format conversion, transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign that comprise data; Therefore; In transfer process, the data that send from the outside can be judged and whether format conversion need be carried out, whether need carry out semantic conversion.
In technique scheme, preferably, be the XML form with said data-switching according to said transformation rule.For configurable different transformation rule of different service document and different semantics switching strategy, for example can data be unified to convert into the XML form, based on contextual information meets data-switching according to the semantic conversion strategy semanteme of native system requirement.
In technique scheme, preferably, said step 206 can also comprise: the said data after the conversion process are saved in the said contextual information, to upgrade said contextual information.Contextual information also has corresponding data storage area, is used to deposit the data that convert, and can use for the semantic conversion strategy.
Fig. 3 shows data-switching principle schematic according to an embodiment of the invention.
Step 1: through unified AM access module 202, collect the data of outside input, this outside can be a heterogeneous system.
Step 2: the contextual information that this external data is saved to establishment; Also preserve form, the data length of data, the sign that need carry out format conversion, transformation rule sign in this contextual information, need carry out the external data information (these external data information all are that external system is imported into) such as sign, semantic conversion strategy sign of semantic conversion.
Step 3: based on contextual information judges whether to carry out format conversion, carries out format conversion if desired, execution in step 4, otherwise execution in step 5.
Step 4: external data is sent to format converting module 204; And sign based on external data; From contextual information, obtain the transformation rule sign; From transformation rule configuration module 208, obtain corresponding transformation rule according to the transformation rule sign, external data is carried out the format conversion of data according to the transformation rule of obtaining.
Step 5: based on the sign of external data, based on contextual information judges whether to carry out semantic conversion, carries out semantic conversion if desired, execution in step 6, otherwise execution in step 8.
Step 6: based on the sign of external data; From contextual information, obtain semantic conversion strategy sign; From semanteme commentaries on classics policy configurations module 210, obtain the semantic conversion strategy according to semantic conversion strategy sign, the semantic conversion strategy of obtaining is sent to semantic conversion module 206.From contextual information, read the information that is associated with this external data, comprise a data message after the conversion and the outside data of importing into.
Step 7: the semanteme of external data is changed according to semantic conversion strategy of obtaining and the contextual information that reads.
Step 8: judge whether the input data all convert, if the input data all convert, then execution in step 9, otherwise, continue to handle next bar data, execution in step 3.
Step 9: the data after will changing are saved in the contextual information.
Step 10: output is through the data of data-switching, and data-switching finishes.
Continue below to further specify according to data transfer device of the present invention with the example in the background technology.
In certain ERP system A, have a material document, document information is as shown in table 1 below:
The field title Field type Data rely on
Material essential information major key String -
Membership group String -
The place of production String Membership group
...... ...... ......
Table 1
It is " place of production " that individual field is arranged in the above-mentioned material document, and it relies on another field " membership group " in the document.
" place of production " table (major key field does not mark) in the database exists as shown in table 2 below now:
Place of production coding Place of production title Membership group ......
101 China 201
101 The U.S. 202
Table 2
Document before the data-switching is as shown in table 3 below:
Material essential information major key Membership group The place of production ......
00000001 Group 1 101
00000002 Group 2 101
Table 3
" group " table (major key field does not mark) in the database exists as shown in table 4 below now:
Cluster coding Group's title ......
201 Group 1
201 Group 2
Table 4
Step 1:, read the data of table 3 through unified AM access module.
Step 2:, therefore, need his-and-hers watches 3 to carry out format conversion, and need carry out semantic conversion because the data layout that can only preserve in the native system database for example is XML, and can only preserve the coding and the place of production title of group.Carry out format conversion according to the demonstration in the contextual information, whether carrying out semantic conversion all is " being ", can from contextual information, extract transformation rule sign and semantic conversion strategy sign according to the sign of this document (table 3).
The information that needs when in the contextual information conversion table 3 being provided, for example, there are dependence in place of production field and membership group in can knowledge table 3 from table 1; And table 2 provides the data in the place of production; Table 4 provides the data of group, and therefore, table 2 and table 4 and table 3 are related; When his-and-hers watches 3 are changed, need to combine these information.
Step 3: change according to the corresponding transformation rule his-and-hers watches 3 of transformation rule sign then;
Step 4: then carry out semantic conversion according to the corresponding semantic conversion strategy his-and-hers watches 3 of semantic conversion strategy sign.According to above-mentioned document, need 2 semantic conversion strategies, be used for group's field of conversion table 3, named herein is group's semantic conversion strategy, does not need contextual information; The place of production field that is used for conversion table 3, named herein are place of production semantic conversion strategy, need contextual information.Place of production semantic conversion strategy mainly is the place of production field in the conversion table 3, and this semantic conversion strategy need use group's field, so need read contextual information, certainly, the informational needs that group's field is carried out behind the semanteme is saved in the contextual information.
If the semantic conversion strategy of obtaining is group's semantic conversion strategy, then execution in step 5.If the semantic conversion strategy of obtaining is a place of production semantic conversion strategy, then execution in step 6.
Step 5: carrying out group's semantic conversion strategy, is cluster coding with the membership group in the table 3 by group's name translation.
Step 6: from context, obtain group's information, carry out place of production semantic conversion strategy, semantic conversion is carried out in the place of production in the his-and-hers watches 3.
Step 7: if the input data all convert, execution in step 8, otherwise, continue to handle bar data, for example the second data in the table 3.
Step 8: the data after will changing are saved in the contextual information
Step 9: output is through the data of data-switching, and data-switching finishes.
Through after the above-mentioned steps, can obtain data as shown in table 5 below, and the data after will changing are saved in the corresponding memory block of contextual information the use of confession semantic conversion strategy.
Material essential information major key Membership group The place of production ......
00000001 201 China
00000002 202 The U.S.
Table 5
Table 5 has satisfied the requirement of native system database, and in transfer process, can combine the restriction between the actual data, obtains satisfactory accurate data, makes the conversion of data more flexible, and is convenient.Can be applicable in the ERP system; Through the different service document is disposed different transformation rule and Translation Strategy; Satisfy in the system for the requirement of data-switching under many organizational frameworks, both guaranteed the accuracy of data-switching, also improved the operational efficiency of system; Reduced the taking of system memory space, as far as possible the memory headroom of delivery system.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a DTU is characterized in that, comprising:
Detecting unit detects the data that send from the outside, discerns the sign of said data;
Acquiring unit obtains corresponding conversion regime according to the contextual information of said sign and establishment;
Processor is changed said data according to said conversion regime and said contextual information.
2. DTU according to claim 1; It is characterized in that said contextual information comprises the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
3. DTU according to claim 1 is characterized in that, also comprises:
The transformation rule configuration module provides first interface, is used for the configuration transitions rule, and configuration information comprises the transformation rule sign of the said transformation rule of unique identification, data name and the data length after the conversion:
Semantic conversion policy configurations module provides second interface, is used to dispose the semantic conversion strategy, and configuration information comprises the semantic conversion strategy sign and concrete semantic conversion strategy of the said semantic conversion strategy of unique identification.
4. DTU according to claim 3 is characterized in that, said processor comprises:
First judging unit; Read the Data Identification and the said contextual information of said data; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion; If judged result then extracts the corresponding transformation rule sign of Data Identification of carrying out format conversion with said need for being, the said transformation rule sign of extracting is sent to said transformation rule configuration module; Said transformation rule configuration module finds out corresponding transformation rule according to said transformation rule sign, according to corresponding transformation rule the form of said data is changed;
Second judging unit; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then extract the corresponding semantic conversion strategy sign of Data Identification of carrying out semantic conversion with said need; The said semantic conversion strategy sign of extracting is sent to said semantic conversion policy configurations module, and said semantic conversion policy configurations module finds out corresponding semantic conversion strategy according to said semantic conversion strategy sign, according to corresponding semantic conversion strategy and contextual information said data is carried out semantic conversion.
5. according to each described DTU in the claim 1 to 4, it is characterized in that, also comprise:
Updating block, the said data that will pass through after the said processor processes are saved in the said contextual information, to upgrade said contextual information.
6. a data transfer device is characterized in that, comprising:
Step 202 detects the data that send from the outside, discerns the sign of said data;
Step 204 is obtained corresponding conversion regime according to the contextual information of said sign and establishment;
Step 206 is changed said data according to said conversion regime and said contextual information.
7. data transfer device according to claim 6; It is characterized in that said contextual information comprises the corresponding relation of data length, the Data Identification that need carry out format conversion and the corresponding relation of transformation rule sign, the Data Identification that need carry out semantic conversion and semantic conversion strategy sign.
8. data transfer device according to claim 7 is characterized in that, said step 204 also comprises:
Read the Data Identification and the said contextual information of said data; Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out format conversion; If judged result is for being; Then basis identifies with the corresponding transformation rule of Data Identification that said need carry out format conversion, from the transformation rule storehouse, finds out corresponding transformation rule, according to said transformation rule the form of said data is changed;
Whether the Data Identification of judging said data belongs in the Data Identification that said need carry out semantic conversion; If judged result is for being; Then basis identifies with the corresponding semantic conversion strategy of Data Identification that said need carry out semantic conversion; From the semantic conversion policy library, find out corresponding semantic conversion strategy, said data are carried out semantic conversion according to said semantic conversion strategy and said contextual information.
9. data transfer device according to claim 6 is characterized in that, is the XML form according to said transformation rule with said data-switching.
10. according to each described data transfer device in the claim 6 to 9, it is characterized in that said step 206 also comprises:
Said data after the conversion process are saved in the said contextual information, to upgrade said contextual information.
CN2011104484467A 2011-12-28 2011-12-28 Data conversion device and data conversion method Pending CN102567297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104484467A CN102567297A (en) 2011-12-28 2011-12-28 Data conversion device and data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104484467A CN102567297A (en) 2011-12-28 2011-12-28 Data conversion device and data conversion method

Publications (1)

Publication Number Publication Date
CN102567297A true CN102567297A (en) 2012-07-11

Family

ID=46412742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104484467A Pending CN102567297A (en) 2011-12-28 2011-12-28 Data conversion device and data conversion method

Country Status (1)

Country Link
CN (1) CN102567297A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761302A (en) * 2014-01-21 2014-04-30 联想(北京)有限公司 Information processing method and information processing device
CN104007984A (en) * 2014-06-20 2014-08-27 中国银行股份有限公司 Data converting method and device
CN104615745A (en) * 2015-02-11 2015-05-13 安徽久鼎软件科技开发有限公司 Public semantic converter, semantic conversion method and random data exchange method
WO2016131295A1 (en) * 2015-07-16 2016-08-25 中兴通讯股份有限公司 Northbound data conversion method and device
CN106021517A (en) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 Network data inputting method and device
CN107111893A (en) * 2014-08-01 2017-08-29 塔塔咨询服务有限公司 The method and system changed for the grid to emulation manufacturing process and product
CN107679207A (en) * 2017-10-16 2018-02-09 北京锐安科技有限公司 One kind access data preprocessing method, device, server and storage medium
CN108228736A (en) * 2017-12-12 2018-06-29 深圳市买买提信息科技有限公司 Data processing method, data processing system and computer readable storage medium
CN109346163A (en) * 2018-12-21 2019-02-15 邬超 Data transfer device, equipment and system
CN109496303A (en) * 2017-12-28 2019-03-19 深圳市大疆创新科技有限公司 The methods of exhibiting and device and unmanned plane monitoring system of monitored data
CN109829004A (en) * 2018-12-26 2019-05-31 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium based on unmanned vehicle
CN111128402A (en) * 2019-12-20 2020-05-08 天津新开心生活科技有限公司 Data format conversion method and device, storage medium and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197876A (en) * 2006-12-06 2008-06-11 中兴通讯股份有限公司 Method and system for multi-dimensional analysis of message service data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197876A (en) * 2006-12-06 2008-06-11 中兴通讯股份有限公司 Method and system for multi-dimensional analysis of message service data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李如豹等: "基于关系数据库的XBRL存储系统", 《计算机工程》, vol. 34, no. 5, 5 March 2008 (2008-03-05), pages 77 - 78 *
黄邦宇等: "岛礁部队健康管理系统多字段数据库的多表查询方法", 《生物医学工程与临床》, vol. 9, no. 3, 25 May 2005 (2005-05-25), pages 169 - 170 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761302A (en) * 2014-01-21 2014-04-30 联想(北京)有限公司 Information processing method and information processing device
CN104007984A (en) * 2014-06-20 2014-08-27 中国银行股份有限公司 Data converting method and device
CN104007984B (en) * 2014-06-20 2017-06-16 中国银行股份有限公司 A kind of method and device of change data
CN107111893A (en) * 2014-08-01 2017-08-29 塔塔咨询服务有限公司 The method and system changed for the grid to emulation manufacturing process and product
CN107111893B (en) * 2014-08-01 2020-09-01 塔塔咨询服务有限公司 Method and system for transforming a grid for simulating manufacturing processes and products
CN104615745B (en) * 2015-02-11 2018-03-13 安徽久鼎软件科技开发有限公司 Public semantic conversion device and conversion method, random data exchange method
CN104615745A (en) * 2015-02-11 2015-05-13 安徽久鼎软件科技开发有限公司 Public semantic converter, semantic conversion method and random data exchange method
WO2016131295A1 (en) * 2015-07-16 2016-08-25 中兴通讯股份有限公司 Northbound data conversion method and device
CN106021517A (en) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 Network data inputting method and device
CN107679207B (en) * 2017-10-16 2020-06-09 北京锐安科技有限公司 Access data preprocessing method, device, server and storage medium
CN107679207A (en) * 2017-10-16 2018-02-09 北京锐安科技有限公司 One kind access data preprocessing method, device, server and storage medium
CN108228736A (en) * 2017-12-12 2018-06-29 深圳市买买提信息科技有限公司 Data processing method, data processing system and computer readable storage medium
CN109496303A (en) * 2017-12-28 2019-03-19 深圳市大疆创新科技有限公司 The methods of exhibiting and device and unmanned plane monitoring system of monitored data
CN109346163A (en) * 2018-12-21 2019-02-15 邬超 Data transfer device, equipment and system
CN109829004A (en) * 2018-12-26 2019-05-31 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium based on unmanned vehicle
US11496567B2 (en) 2018-12-26 2022-11-08 Apollo Intelligent Driving Technology (Beijing) Co., Ltd. Data processing method, apparatus, device and storage medium based on unmanned vehicle
CN111128402A (en) * 2019-12-20 2020-05-08 天津新开心生活科技有限公司 Data format conversion method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN102567297A (en) Data conversion device and data conversion method
CN101571861B (en) Method and device for converting data table
CN102270225B (en) Data change daily record method for supervising and data change daily record supervising device
CN106547729B (en) A kind of dynamic creation method and system of data sheet
CN102521246A (en) Cloud data warehouse system
CN101464903A (en) OCR picture and text recognition and retrieval method and system through web mode
CN102567399B (en) Method and device for accessing database
CN106649769B (en) Semantic-based conversion method from XBRL data to OWL data
CN103577611A (en) Data unifying device and data unifying method
CN104216952A (en) Universal report generation method and universal report generation system based on XML (extensive markup language) technology
CN101794299A (en) Method for increment definition and processing of historical data management
CN105278961A (en) Method and system for generating database table structure document
CN110399377A (en) Optimization method, device, electronic equipment and the computer readable storage medium of SQL
CN102253992A (en) Object-orientation based file difference comparing method and system
CN101673299A (en) ERP system and data search method and device thereof
CN102346765A (en) Method and device for querying memory data
CN107977419B (en) Nuclear power station DCS operation and maintenance support file identification method and system
CN103970776A (en) Method and system for creating CAN hierarchy tree
CN107193906B (en) Method and device for generating process pipeline instrument diagram bill of materials
CN102521318A (en) General data exchange device based on extensible markup language (XML)
CN101859318A (en) Method for establishment of service discovery tool based on service network
CN102004633A (en) Method and device for processing control property
CN103020189A (en) Data processing device and method
CN101304565B (en) Method and unit for recognizing mobile terminal as well as method and system for providing increment service
CN105793842B (en) Conversion method and device between serialized message

Legal Events

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

Application publication date: 20120711