CN105530227A - Interface data transmission method and device - Google Patents

Interface data transmission method and device Download PDF

Info

Publication number
CN105530227A
CN105530227A CN201410520242.3A CN201410520242A CN105530227A CN 105530227 A CN105530227 A CN 105530227A CN 201410520242 A CN201410520242 A CN 201410520242A CN 105530227 A CN105530227 A CN 105530227A
Authority
CN
China
Prior art keywords
data
information
data content
specifying
interface
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
CN201410520242.3A
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.)
Bright Oceans Inter Telecom Co Ltd
Original Assignee
Bright Oceans Inter Telecom 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 Bright Oceans Inter Telecom Co Ltd filed Critical Bright Oceans Inter Telecom Co Ltd
Priority to CN201410520242.3A priority Critical patent/CN105530227A/en
Publication of CN105530227A publication Critical patent/CN105530227A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an interface data transmission method, which comprises the steps of: acquiring and publishing data description information of each kind of interface data and unique identifier information corresponding to each piece of data description information; determining a transmission format of data content in each kind of the interface data; extracting the data content in the interface data, and transmitting the data content according to the transmission format corresponding to the kind of interface data; and combining the data description information with the received and transmitted data content into complete interface data according to the unique identifier information corresponding to the data description information. By adopting the interface data transmission method, efficient and fast transmission of the interface data can be achieved. The invention further discloses an interface data transmission device.

Description

A kind of interface data transmission method and device
Technical field
The present invention relates to field of data transmission, be specifically related to a kind of transmission technology of interface data.
Background technology
Between application system when transmitting data, interface interchange can be carried out, and the interface of application system has determined the attribute information of transmission data to a certain extent, describe interface data and which attribute there is, such as transmit order data, then can relate to order number, order user, order time, order contents etc., these information are once determine to transmit mutually between application system and can not change.In interface data transmittance process each time, these fixing attribute informations all can be passed one time, if interface data is huge, then there is the attribute information of a large amount of repetitions in each interface data transmitted, occupy too much bandwidth resources, cause the wasting of resources and have dropped the efficiency of interface data transmission, therefore a kind of fast efficient and interface data transmission mode of saving bandwidth resources urgently occurs.
Summary of the invention
The invention provides a kind of interface data transmission method, it is characterized in that, described method comprises:
Obtain and issue the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information;
Determine the transformat of data content in described often kind of interface data;
Extract the data content in described interface data, according to the described transformat corresponding with this kind interface data, described data content is transmitted;
The unique identification information corresponding according to described data specifying-information, is combined into complete interface data by described data specifying-information and the described data content receiving transmission.
Preferably,
Specification describing mode according to often kind of interface data obtains its data specifying-information;
Obtain the informative abstract code of described data specifying-information as the unique identification information corresponding with it.
Detailed,
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
Concrete,
The described data specifying-information exclusive identification code corresponding with it is comprised in described transformat;
Format identification (FID) and the data content main part of data content is defined in described transformat;
Described format identification (FID) comprises separator between the data in described data content, data hierarchical identification, data content main body mark.
Concrete:
Extract the data content in described interface data;
According to the format identification (FID) defined in described transformat, the level of described data content, position and data content main body are described;
The described data content described according to transformat is transmitted with HTTP message form.
Concrete,
The data specifying-information corresponding with it is obtained according to the described data specifying-information exclusive identification code received in the data content of transmission;
According to the level of described data content, position, data content main body is integrated with corresponding level, the position of described data specifying-information.
The present invention also discloses a kind of interface data transmission device, it is characterized in that, described device comprises:
Data specifying-information obtains release unit, for obtaining, issuing the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information;
Transformat determining unit, for determining the transformat of data content in described often kind of interface data;
Data content transmission unit, for extracting the data content in described interface data, the described transformat corresponding with this kind interface data determined according to described transformat determining unit transmits described data content;
Data combination unit, for the unique identification information that the data specifying-information obtaining release unit issue according to described data specifying-information is corresponding, described data specifying-information and the described data content receiving the transmission of described data content transmission unit are combined into complete interface data.
Preferably, described data specifying-information acquisition release unit comprises further:
Data specifying-information acquisition module, obtains its data specifying-information for the specification describing mode according to often kind of interface data;
Unique identification information acquisition module, for obtaining the informative abstract code of described data specifying-information as the unique identification information corresponding with it;
Release module, the unique identification information corresponding to described data specifying-information that data specifying-information and described unique identification information acquisition module for issuing the acquisition of described data specifying-information acquisition module obtain.
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
Preferably, the data specifying-information exclusive identification code that the described release module corresponding with it is issued is comprised in described transformat;
Format identification (FID) and the data content main part of data content is defined in described transformat;
Described format identification (FID) comprises separator between the data in described data content, data hierarchical identification, data content main body mark.
Preferably, described data content transmission unit comprises further:
Data content extraction module, for extracting the data content in described interface data;
Data content describing module, according to the format identification (FID) defined in described transformat, describes the level of the data content that described data content extraction module extracts, position and data content main body;
Data content transmission module, transmits with HTTP message form for the data content described according to described data content describing module.
Preferably, described data combination unit comprises further:
Data specifying-information matching module, obtains the data specifying-information corresponding with it according to the data specifying-information exclusive identification code received in the data content of described data content transmission module transfer;
Data combination module, integrates with corresponding level, the position of the data specifying-information corresponding to described data content that described data specifying-information matching module obtains by described data content main body according to the level of described data content transmission module transfer data content, position.
The present invention considers that interface data all has identical data format, there is a large amount of repeating data transmission in each transmission, therefore extract the data specifying-information of each interface data and be distributed to application system, interface data kind corresponding to these data specifying-information is distinguished by the unique identification information that descriptor is corresponding, determine the data content transmission form in each interface data again, the transformat of data content in provisioning interface data (i.e. data message not identical in the interface data of each transmission) and mode, the object by the identical information in interface data and different information separated is reached with this, extract the data content in interface data subsequently, with the transformat of arranging only data content, and do not transmit the data specifying-information of repetition, reach the object of saving transmission bandwidth, after data receiver receives data content, mate announced data specifying-information according to its unique identification information carried, the data specifying-information that data content mates with it is combined into complete interface data.Reach with this and improve the object that efficiency of transmission saves transmission bandwidth.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one one kinds of interface data transmission methods;
The method flow schematic diagram that Fig. 2 provides for the embodiment of the present invention two;
The method flow schematic diagram that Fig. 3 provides for the embodiment of the present invention three;
A kind of interface data transmission apparatus structure schematic diagram that Fig. 4 provides for the embodiment of the present invention four;
The apparatus structure schematic diagram that Fig. 5 provides for the embodiment of the present invention five.
Embodiment
Interface can liken a passage to, two separate programs, by this interface channel, realize transfer of data, information interchange, and these two programs all must observe some standards of interface regulation, only have common in accordance with this interface standard, just can communicate normally, and the interface standard provided is can not be gently labile.Therefore interface data is all can transmit much identical information in transmission at every turn, when interface data amount is very large, can increase the pressure of Internet Transmission, and efficiency can obviously reduce.Interface data format conventional at present has XML, JSON, BINARY, JavaObjectSerializerd, these data formats have identical feature to be exactly, data specifying-information and data content bind together, as XML:<objectid=" 199 " value=" John "/> here object represent the object be passed, id/value represents data name, data in real usefully double quotation marks, and all will transmit in each transmission of id/value, occupy bandwidth in vain, time particularly data volume is larger, the ratio taken up space will increase, even account for more than 80%, therefore this patent object is to carry out disposable issue to these data specifying-information, and data content repeatedly transmits, again data specifying-information and data content are carried out coupling combination after being transmitted, and then reach saving bandwidth, the object of raising the efficiency.
Below as shown in Figure 1, provide embodiments of the invention one and set forth a kind of interface data transmission method, as described in method comprise:
Step S101: obtain and issue the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information.
Specification describing mode according to often kind of interface data obtains its data specifying-information.
Common interface data transmission form is XML, JSON, BINARY, JavaObjectSerializerd, obtains its data specifying-information by respective data description specification.
The unique identification information object that data specifying-information is corresponding is to identify extracted numerous data specifying-information, therefore unique mark is needed, various ways can be taked to obtain unique identification, the ID that the complicated imparting thought is unique, again give ID when information changes; Or the unique ID of stochastic generation, and record other relevant informations, unique ID is regenerated when data specifying-information changes; Preferably, informative abstract code can be adopted as the exclusive identification code of data specifying-information.
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
The attribute having the hierarchical relationship of each element and each element to comprise in data specifying-information, the type of this attribute, data constraint Sum fanction information, in order to ensure the complete transmission of interface data, need to obtain all data specifying-information.
After acquisition data specifying-information and the exclusive identification code corresponding with it, issue to application system, make application system all know these data specifying-information and the exclusive identification code corresponding with it.
Step S102: the transformat determining data content in described often kind of interface data.
The described data specifying-information exclusive identification code corresponding with it is comprised in described transformat.
Because transformat needs corresponding with data specifying-information, therefore need in transformat to comprise the data specifying-information exclusive identification code corresponding with it.
Format identification (FID) and the data content main part of data content is defined in described transformat.
Format identification (FID), mainly represent the form of data content in interface data, position residing for it, the level at place, also may have separator and sequence identification etc., therefore namely described definition format mark defines in described data content between data separator, data hierarchical identification, data content main body mark.
Data content main body is the clear data part in data content.
Step S103: extract the data content in described interface data, transmits described data content according to the described transformat corresponding with this kind interface data.
Extract the data content in described interface data.Data content comprises information and the clear data such as order information, line feed, space, separator of data, different from data specifying-information, each transmission is all different, data specifying-information identical in interface data is obtained out in advance in superincumbent step and be distributed to application system, valuable data different in interface data have been extracted transmit here.
According to the format identification (FID) defined in described transformat, the level of the described data content corresponding with this transformat, position and data content main body are described.The identification information of the form such as order, line feed, space, separator of so-called format identification (FID) and data of description content.
The described data content described according to transformat is transmitted with HTTP message form.
Step S104: the unique identification information corresponding according to described data specifying-information, is combined into complete interface data by described data specifying-information and the described data content receiving transmission.
The data specifying-information corresponding with it is obtained according to the described data specifying-information exclusive identification code received in the data content of transmission.
According to the level of described data content, position, data content main body is integrated with corresponding level, the position of described data specifying-information, form complete interface data, thus complete the transmitting procedure of interface data.
In order to detailed description various method steps of the present invention, provide embodiments of the invention two, as shown in Figure 2:
Step S201: the specification describing mode according to often kind of interface data obtains its data specifying-information.
The data descriptor format that frequently-used data form is corresponding with it, as shown in table 1.
Table 1 data format is corresponding with data specifying-information form to be shown
Data format Data descriptor format
XML XSD
JSON JSON
BINAYR CSV
JavaObject Serializerd Java Class
The authority data describing mode corresponding according to the various data formats in embodiment one described in table one, obtains its data specifying-information, below for JSON:
Json data:
Json data specifying-information:
{“filed”:”programmers”,”attributes”:[{“field”:”firstName”,”type”:”string”},{“field”:”lastName”,”type”:”string”},{“field”:”email”,”type”:”string”}]}
Step S202: obtain the informative abstract code of described data specifying-information as the unique identification information corresponding with it.
Informative abstract code is MD5 code, for the exclusive identification code calculated according to MD algorithm, when information changes, MD5 code also can change, and the data specifying-information therefore adopting MD5 code mark to obtain is extraordinary, in data assemblies step below, as found, MD5 code can not mate, then illustrate that data specifying-information changes, then can not mate, mate after need obtaining new data specifying-information again.
Step S203: data specifying-information and the informative abstract code corresponding with it are distributed to application system.
After data specifying-information and MD5 code are issued, just save data specifying-information and corresponding MD5 code in application system, after application system receives data content, corresponding data specifying-information can be matched according to MD5 code, be combined into complete interface data.
Step S204: the transformat determining data content in described often kind of interface data, with the data specifying-information that data specifying-information informative abstract code coupling is corresponding with this data content transmission form.
Following transformat appointment data location of content, separator, level etc. can be adopted.
Meta-Data:(MD5 code)
Sequence:(serial number)
Separator between Separated:(data, it is next field that comma or branch run into this identification (RNC-ID) analytic);
Indent:-(next stage data)
Body:(starts data of description)
<data> (data content main body)
Step S205: extract the data content in described interface data.
Step S206: according to the format identification (FID) defined in described transformat, describes the level of the described data content corresponding with this transformat, position and data content main body.
Step S207: the described data content described according to transformat is transmitted with HTTP message form.
Data content portion is the pure values part in data format, and the data format of transfering taked for different forms is as shown in table 2 below:
Table 2 data content transmission form shfft
Step S208: application system according to described in receive data specifying-information exclusive identification code in the data content of transmission and obtain the data specifying-information corresponding with it.
Step S209: corresponding level, the position of according to the data content level of described reception, position, data content main body being integrated with described data specifying-information.
In order to better set forth the present invention, interface data is in xml format that example provides embodiments of the invention three below, and as shown in Figure 3, described method comprises:
Step S301: the specification describing mode according to XML format obtains data specifying-information.
XML format has the data descriptor format of standard, and namely XSD refers to XML organization definition (XMLSchemasDefinition), and XSD describes the structure of XML document.
The XSD that can specify with one verifies certain XML document, to check whether this XML document meets its requirement.The structure that file design person can specify an XML document to allow by XSD and content, and can check whether an XML document is effective accordingly.XSD itself is also an XML document, and it meets XML syntactic structure.Also can be resolved it by general XML parser.
Whether the quantity of the element in the XML that XSD document can describe usually, attribute, daughter element, daughter element, the order of daughter element, element are acquiescence and the fixed value of the data type of empty, element and attribute, element or attribute.
XSD can obtain the data specifying-information in XML document as can be seen here.XML file such as.
From its interface data for order transmission info class " shiporder " known of XML above, its general data specifying-information is:
Order people title " orderperson ", type " type ";
Order ship-to " shipto ", comprising: " name " " address ", " city ", " country " and each attribute type;
Article specifying information " item ", comprising: " title ", " note ", " quantity ", " price " and each attribute type;
And data content is " JohnSmith ", " OlaNordmann ", " Langgt23 ", " 4000Stavanger ", " Norway ", " EmpireBurlesque ", " SpecialEdition ", " 1 ", " 10.90 ".
Therefore XSD is adopted to describe the data specifying-information of this XML, shown in following file:
Step S302: obtain the informative abstract code of data specifying-information XSD file as the unique identification information corresponding with it.
Informative abstract code is MD5 code, MD represents the meaning that MessageDigest is informative abstract, be the condition code of 128 (bit) obtained after carrying out mathematic(al) manipulation according to disclosed MD5 algorithm to prime information, once information changes, then MD5 code necessarily changes.
The MD5 code being obtained above-mentioned XSD file by MD algorithm is:
Meta-Data:902fbdd2b1df0c4f70b4a5d23525e932
Step S303: XSD file and the MD5 code corresponding with it are distributed to application system.
Format identification (FID) in step S304: definition XML interface data and data content main body, with the MD5 code matched data content corresponding with its XSD.
Definition format identifies, and namely defines order, hierarchical relationship, decollator and the data content main body mark identifying data content in XML file in what manner, is defined as follows for XML file:
Meta-Data:902fbdd2b1df0c4f70b4a5d23525e932 (MD5 code)
Sequence:1 (serial number)
Separator comma between Separated:(data or branch, run into this mark and then resolve to next field;
Indent:-(next stage data)
Body:(starts data of description)
<data>
Step S305: extract the data content in described interface data XML.
Step S306: with HTTP message form, described data content is transmitted according to transformat described in the XML defined in step S304.
As follows with the data content that HTTP form carries out transmitting:
The serial number content of the separators taking Separated parameter to specify, if hierarchical data, it is line feed symbol after ground floor data, then the data that the indentation designator adopting Indent parameter to specify represents below are next stage data of upper data, the level that often goes forward one by one then increases a designator, for the label of void value, the indentation symbol of an exclusive a line is used to represent.
Step S307: application system obtains the XSD file corresponding with it according to the MD5 code in above-mentioned HTTP message.
Step S308: according to the hierarchical location of data content in HTTP message, integrates with corresponding hierarchical location by data content main body, generates complete XML file, completes transmission.
The present invention also discloses a kind of interface data transmission device, and embodiments of the invention four set forth a kind of interface data transmission device, as shown in Figure 4
Data specifying-information obtains release unit 1, for obtaining, issuing the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information.
Data specifying-information is part identical in interface data, and data specifying-information obtains release unit and this part information extracted, and is distributed to application system and stores, this part repeating in interface data can be avoided to transmit and take a large amount of bandwidth.
Due to the transmission of multiple interfaces data may be related to, therefore need the data specifying-information being distinguished often kind of interface data by unique identification.
Common interface data transmission form is XML, JSON, BINARY, JavaObjectSerializerd, obtains its data specifying-information by respective data description specification.See the table data format in table 1 and data specifying-information form corresponding relation.
Transformat determining unit 2, for determining the transformat of data content in described often kind of interface data.
Except data specifying-information is changeless in interface data, remaining is exactly data content, the data content of each transmission all can not be identical, but due to the interface data format of often kind of data type not identical, therefore need the transformat of arranging its data content.
See the associated description about transformat in embodiment two, repeat no more.
Data content transmission unit 3, for extracting the data content in described interface data, the described transformat corresponding with this kind interface data determined according to described transformat determining unit 2 transmits described data content.
See embodiment three kinds about the relevant portion of data content transmission, repeat no more.
Data combination unit 4, for obtaining unique identification information corresponding to data specifying-information that release unit 1 issues according to described data specifying-information, by described data specifying-information with describedly receive the data content that described data content transmission unit 3 transmits and be combined into complete interface data.
By extracting data specifying-information and data content respectively, part identical in interface data is taken out unified issue, different extracting section is out transmitted, complete the interface data that after transmitting, synthesis is complete, what data specifying-information identical so just need not repeat delivers, greatly save the bandwidth transmitted shared by data, carried out the combination of interface data by unique identification information, also ensure that the accuracy of data assemblies simultaneously.
Provide embodiments of the invention five below, the structure of each module of this device of detailed description, as shown in Figure 5.
Data specifying-information obtains release unit 1 and comprises further:
Data specifying-information acquisition module 11, obtains its data specifying-information for the specification describing mode according to often kind of interface data.
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
Unique identification information acquisition module 12, for obtaining the informative abstract code of described data specifying-information as the unique identification information corresponding with it.
The unique identification information object that data specifying-information is corresponding is to identify extracted numerous data specifying-information, therefore unique mark is needed, various ways can be taked to obtain unique identification, the ID that the complicated imparting thought is unique, again give ID when information changes; Or the unique ID of stochastic generation, and record other relevant informations, unique ID is regenerated when data specifying-information changes; Preferably, informative abstract code can be adopted as the exclusive identification code of data specifying-information.
Release module 13, the unique identification information corresponding to described data specifying-information that data specifying-information and described unique identification information acquisition module 12 for issuing the acquisition of described data specifying-information acquisition module 11 obtain.
Issue to as if need the application system of carrying out interface data transmission, make these system acceptance and preserve these data specifying-information and the unique identification information corresponding with it.
Transformat determining unit 2, for determining the transformat of data content in described often kind of interface data.
The data specifying-information exclusive identification code that the described release module corresponding with it is issued is comprised in described transformat.The data content that the exclusive identification code comprised in transformat is convenient to transmit can find the data specifying-information mated with it.
Format identification (FID) and the data content main part of data content is defined in described transformat.
Described format identification (FID) comprises separator between the data in described data content, data hierarchical identification, data content main body mark.
Format identification (FID), mainly represent the form of data content in interface data, position residing for it, the level at place, also may have separator and sequence identification etc., therefore namely described definition format mark defines in described data content between data separator, data hierarchical identification, data content main body mark.
Data content main body is the clear data part in data content.
Data content transmission unit 3 comprises further:
Data content extraction module 31, for extracting the data content in described interface data.
Data content describing module 32, according to the format identification (FID) defined in the transformat that described transformat determining unit 2 is determined, describes the level of the data content that described data content extraction module 31 extracts, position and data content main body.
Data content transmission module 33, transmits with HTTP message form for the data content described according to described data content describing module 31.
Data combination unit 4 comprises further:
Data specifying-information matching module 41, obtains the data specifying-information corresponding with it according to the data specifying-information exclusive identification code received in the data content of described data content transmission module 33 transmission.
Because data specifying-information is distributed to application system, therefore data specifying-information matching module can obtain corresponding data specifying-information from application system.
Data combination module 42, integrates with corresponding level, the position of the data specifying-information corresponding to described data content that described data specifying-information matching module 41 obtains by described data content main body according to the level of described data content transmission module 22 data content, position.
The associated description of described each several part and the operation principle of each module, see the description of the inventive method section Example, do not repeat them here.
Although the execution mode disclosed by the present invention is as above, but described content be not used to directly limit protection scope of the present invention.Any the technical staff in the technical field of the invention, under the prerequisite not departing from the spirit and scope disclosed by the present invention, can do a little change what implement in form and in details.Protection scope of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (12)

1. an interface data transmission method, is characterized in that, described method comprises:
Obtain and issue the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information;
Determine the transformat of data content in described often kind of interface data;
Extract the data content in described interface data, according to the described transformat corresponding with this kind interface data, described data content is transmitted;
The unique identification information corresponding according to described data specifying-information, is combined into complete interface data by described data specifying-information and the described data content receiving transmission.
2. method according to claim 1, is characterized in that, the method for data specifying-information and the unique identification information corresponding with described each data specifying-information that interface data is often planted in described acquisition is specially:
Specification describing mode according to often kind of interface data obtains its data specifying-information;
Obtain the informative abstract code of described data specifying-information as the unique identification information corresponding with it.
3. method according to claim 2, is characterized in that:
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
4. method according to claim 3, is characterized in that, describedly determines that the method for the transformat of data content in described often kind of interface data is specially:
The described data specifying-information exclusive identification code corresponding with it is comprised in described transformat;
Format identification (FID) and the data content main part of data content is defined in described transformat;
Described format identification (FID) comprises separator between the data in described data content, data hierarchical identification, data content main body mark.
5. method according to claim 4, is characterized in that, the data content in the described interface data of described extraction, is specially the method that described data content transmits according to the described transformat corresponding with this kind interface data:
Extract the data content in described interface data;
According to the format identification (FID) defined in described transformat, the level of described data content, position and data content main body are described;
The described data content described according to transformat is transmitted with HTTP message form.
6. method according to claim 5, is characterized in that, the described unique identification information corresponding according to described data specifying-information, the method that described data specifying-information and the described data content receiving transmission are combined into complete interface data is specially:
The data specifying-information corresponding with it is obtained according to the described data specifying-information exclusive identification code received in the data content of transmission;
According to the level of described data content, position, data content main body is integrated with corresponding level, the position of described data specifying-information.
7. an interface data transmission device, is characterized in that, described device comprises:
Data specifying-information obtains release unit, for obtaining, issuing the data specifying-information of often kind of interface data and the unique identification information corresponding with described each data specifying-information;
Transformat determining unit, for determining the transformat of data content in described often kind of interface data;
Data content transmission unit, for extracting the data content in described interface data, the described transformat corresponding with this kind interface data determined according to described transformat determining unit transmits described data content;
Data combination unit, for the unique identification information that the data specifying-information obtaining release unit issue according to described data specifying-information is corresponding, described data specifying-information and the described data content receiving the transmission of described data content transmission unit are combined into complete interface data.
8. device according to claim 7, is characterized in that, described data specifying-information obtains release unit and comprises further:
Data specifying-information acquisition module, obtains its data specifying-information for the specification describing mode according to often kind of interface data;
Unique identification information acquisition module, for obtaining the informative abstract code of described data specifying-information as the unique identification information corresponding with it;
Release module, the unique identification information corresponding to described data specifying-information that data specifying-information and described unique identification information acquisition module for issuing the acquisition of described data specifying-information acquisition module obtain.
9. device according to claim 8, is characterized in that:
Described data specifying-information is record often kind of interface data hierarchical format, attribute, the data type of attribute, the information of data constraint Sum fanction.
10. device according to claim 9, is characterized in that, described transformat determining unit determines that the method for the transformat of data content in described often kind of interface data is specially:
The data specifying-information exclusive identification code that the described release module corresponding with it is issued is comprised in described transformat;
Format identification (FID) and the data content main part of data content is defined in described transformat;
Described format identification (FID) comprises separator between the data in described data content, data hierarchical identification, data content main body mark.
11. devices according to claim 10, is characterized in that, described data content transmission unit comprises further:
Data content extraction module, for extracting the data content in described interface data;
Data content describing module, according to the format identification (FID) defined in described transformat, describes the level of the data content that described data content extraction module extracts, position and data content main body;
Data content transmission module, transmits with HTTP message form for the data content described according to described data content describing module.
12. devices according to claim 11, is characterized in that, described data combination unit comprises further:
Data specifying-information matching module, obtains the data specifying-information corresponding with it according to the data specifying-information exclusive identification code received in the data content of described data content transmission module transfer;
Data combination module, integrates with corresponding level, the position of the data specifying-information corresponding to described data content that described data specifying-information matching module obtains by described data content main body according to the level of described data content transmission module transfer data content, position.
CN201410520242.3A 2014-09-30 2014-09-30 Interface data transmission method and device Pending CN105530227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410520242.3A CN105530227A (en) 2014-09-30 2014-09-30 Interface data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410520242.3A CN105530227A (en) 2014-09-30 2014-09-30 Interface data transmission method and device

Publications (1)

Publication Number Publication Date
CN105530227A true CN105530227A (en) 2016-04-27

Family

ID=55772214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410520242.3A Pending CN105530227A (en) 2014-09-30 2014-09-30 Interface data transmission method and device

Country Status (1)

Country Link
CN (1) CN105530227A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973332A (en) * 2017-03-10 2017-07-21 武汉斗鱼网络科技有限公司 A kind of barrage message treatment method, analytic method and system
CN108228912A (en) * 2018-02-12 2018-06-29 浙江中控技术股份有限公司 The processing method and relevant apparatus of a kind of business datum
CN108417181A (en) * 2018-01-19 2018-08-17 昆山国显光电有限公司 The interface of driving circuit defines method and apparatus
CN108763546A (en) * 2018-05-31 2018-11-06 北京五八信息技术有限公司 A kind of conversion method of data format, device, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046034A1 (en) * 2004-04-30 2010-02-25 Xerox Corporation Reformatting Binary Image Data to Generate Smaller Compressed Image Data Size
CN101777056A (en) * 2009-12-31 2010-07-14 成都市华为赛门铁克科技有限公司 Data storage method and device
CN102571720A (en) * 2010-12-27 2012-07-11 中国移动通信集团辽宁有限公司 Method and device for processing heterogeneous information contents
CN102916991A (en) * 2011-08-03 2013-02-06 中国移动通信集团公司 Method, system and device for transmitting data
CN103888448A (en) * 2014-03-03 2014-06-25 珠海市君天电子科技有限公司 Method, device and system for data transmission and storage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046034A1 (en) * 2004-04-30 2010-02-25 Xerox Corporation Reformatting Binary Image Data to Generate Smaller Compressed Image Data Size
CN101777056A (en) * 2009-12-31 2010-07-14 成都市华为赛门铁克科技有限公司 Data storage method and device
CN102571720A (en) * 2010-12-27 2012-07-11 中国移动通信集团辽宁有限公司 Method and device for processing heterogeneous information contents
CN102916991A (en) * 2011-08-03 2013-02-06 中国移动通信集团公司 Method, system and device for transmitting data
CN103888448A (en) * 2014-03-03 2014-06-25 珠海市君天电子科技有限公司 Method, device and system for data transmission and storage

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973332A (en) * 2017-03-10 2017-07-21 武汉斗鱼网络科技有限公司 A kind of barrage message treatment method, analytic method and system
CN108417181A (en) * 2018-01-19 2018-08-17 昆山国显光电有限公司 The interface of driving circuit defines method and apparatus
CN108417181B (en) * 2018-01-19 2021-05-25 昆山国显光电有限公司 Interface definition method and device of driving circuit
CN108228912A (en) * 2018-02-12 2018-06-29 浙江中控技术股份有限公司 The processing method and relevant apparatus of a kind of business datum
CN108763546A (en) * 2018-05-31 2018-11-06 北京五八信息技术有限公司 A kind of conversion method of data format, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
WO2015143970A1 (en) Information collecting system and method based on two-dimensional code
CN102122280B (en) Method and system for intelligently extracting content object
CN105530227A (en) Interface data transmission method and device
CN110287247B (en) Data storage method, device, equipment and storage medium based on Unionpay system
RU2009148311A (en) LOCATION DATA PROCESSING DEVICE AND METHOD FOR IMPORTING LOCATION INFORMATION
GB2452799A (en) Information exploration systems and methods
JP2010536075A5 (en)
CN105786921B (en) A kind of the data module method for transformation and device of non-structured document
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
CN102255786A (en) Service message processing method and device
CN104135498A (en) Cross-platform information push system and push method thereof
CN103902539B (en) Extensible markup analysis method and device
KR101640428B1 (en) Automatic construction system of references
CN106469372A (en) A kind of address mapping method and device
CN103279862A (en) Method and device for automatically generating and sending contract first draft based on E-mail
CN103699644A (en) Information release method, information release system and user terminal
CN106227575A (en) A kind of method generated and resolve text
EP2538349A3 (en) Server, inter-business enterprise information control method and computer program
CN105653475B (en) A kind of recognition methods of USB device and system
CN103646096B (en) Method and device for generating sub-queries through user configuration
CN102880710A (en) Method for creating clinical documents by medical information platform
CN105204776B (en) Data processing method and device
WO2007098461A3 (en) Address retrieval system and method
CN101799890A (en) Certificate data processing method and system
CN102750613A (en) Method and device for exchanging customer point data of customer relationship management (CRM) systems

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160427