CN103699633A - Method and system for utilizing xml to realize generalization data exchange - Google Patents

Method and system for utilizing xml to realize generalization data exchange Download PDF

Info

Publication number
CN103699633A
CN103699633A CN201310716493.4A CN201310716493A CN103699633A CN 103699633 A CN103699633 A CN 103699633A CN 201310716493 A CN201310716493 A CN 201310716493A CN 103699633 A CN103699633 A CN 103699633A
Authority
CN
China
Prior art keywords
data
xml
length
field
bytes
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
CN201310716493.4A
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201310716493.4A priority Critical patent/CN103699633A/en
Publication of CN103699633A publication Critical patent/CN103699633A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a method and a system for utilizing xml to realize generalization data exchange. The method comprises the following steps: adopting xml format to describe the structure of data, after data description, comprising the field name and the initial position information of field value and field with preset lengths; during serialization, according to xml description information, setting each field value of data to appointed positions so as to obtain a binary stream of data after the setting is completed; during deserialization, according to the xml description information, utilizing each field name of data to read corresponding field values from the binary stream. Through the adoption of generalization design, deserialization is carried out on the binary data stream, or the data is serialized into the binary data stream, so that the method disclosed by the invention enables data maintenance in CS architecture system to be more simple and convenient; even if some data structure is modified, the whole system does not need to be recompiled, and unnecessary network flow is also reduced.

Description

A kind of xml of utilization realizes the method and system of unitized data exchange
Technical field
The present invention relates to network communications technology field, relate in particular to the method and system that a kind of xml of utilization realizes unitized data exchange.
Background technology
In the system of CS framework, the communication between client and service end, needs two ends to consult and define the form of message; At some, independently in application program, according to service needed, also must define data layout; In the system of C, C++ exploitation, these message or data generally adopt data structure (struct) to define, and the definition of these data structures can be placed in a header file, to be cited conventionally.But the system for a more complicated CS framework, message or data are many, the thing followed is, need to define a lot of data structures, safeguard quite difficulty, once and revise some data structures wherein, whole system all needs to recompilate, so the method for interchanging data efficiency of the network service of existing usage data organization definition is lower.
The system of some CS framework adopts the form of xml, json to transmit data, although it is more convenient that this mode uses, data layout is also more clear, and due to above-mentioned transmission mode transmission is character type data, data volume is large, brings unnecessary network traffics when communication.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of xml of utilization to realize the method and system of unitized data exchange, be intended to solve existing data transfer mode and safeguard the problem inconvenient, efficiency is low, flow is large.
Technical scheme of the present invention is as follows:
Utilize xml to realize a method for unitized data exchange, wherein, comprise step:
Adopt xml file to be described the structure of data, after described data description, comprise the field value of field name and preset length and the start position information of field;
When carrying out serializing, according to xml descriptor, each field value of data is set to assigned address, at the binary stream that obtains after setting completed data;
When carrying out unserializing, according to xml descriptor, utilize each field name of data from binary stream, to read respective field value.
The described xml that utilizes realizes the method for unitized data exchange, and wherein, the step that adopts xml file to be described data specifically comprises:
The title of data, type, length and position are described respectively.
The described xml that utilizes realizes the method that unitized data exchanges, wherein, and when data type is char, its length is 1 byte, and when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, when data type is long, its length is 4 bytes, and when data type is float, its length is 4 bytes, when data type is double, its length is 8 bytes, when data type is string, and its indefinite length.
The described xml that utilizes realizes the method for unitized data exchange, and wherein, the step of serializing specifically comprises:
B1, resolve xml, load the xml descriptor of data, obtain the ID of data;
B2, according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data;
B3, data length and the positional information corresponding according to each field name in xml descriptor, arrange respective field value to the binary stream that obtains data in described internal memory.
The described xml that utilizes realizes the method for unitized data exchange, and wherein, the step of unserializing specifically comprises:
C1, resolve xml, load the xml descriptor of data, from the ID of the beginning reading out data of binary stream;
C2, according to size of data corresponding to each field name in xml descriptor, obtain the starting position of respective field value in binary stream and the information of end position;
C3, according to the information of field starting position and end position, read field value, and restore raw data in conjunction with respective field name.
Utilize xml to realize a system for unitized data exchange, wherein, comprising:
Describing module, for adopting xml file to be described the structure of data, comprises the field value of field name and preset length and the start position information of field after described data description;
Serializing module, for when carrying out serializing, according to xml descriptor, is set to assigned address by each field value of data, at the binary stream that obtains after setting completed data;
Unserializing module, for when carrying out unserializing, according to xml descriptor, utilizes each field name of data from binary stream, to read respective field value.
The described xml that utilizes realizes the system of unitized data exchange, and wherein, described describing module is for describing respectively the title of data, type, length and position.
The described xml that utilizes realizes the system of unitized data exchange, and wherein, described serializing module specifically comprises:
Data ID acquiring unit, for resolving xml, loads the xml descriptor of data, obtains the ID of data;
Internal memory application unit, for according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data;
Field value setting unit, for according to the corresponding data length of each field name and the positional information of xml descriptor, arranges respective field value to the binary stream that obtains data in described internal memory.
The described xml that utilizes realizes the system of unitized data exchange, and wherein, described unserializing module specifically comprises:
Data ID reading unit, for resolving xml, loads the xml descriptor of data, from the ID of the beginning reading out data of binary stream;
Location information acquiring unit, for the size of data corresponding according to each field name of xml descriptor, obtains the starting position of respective field value in binary stream and the information of end position;
Field value reading unit, for reading field value according to the information of field starting position and end position, and restores raw data in conjunction with respective field name.
The described xml that utilizes realizes the system that unitized data exchanges, wherein, and when data type is char, its length is 1 byte, and when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, when data type is long, its length is 4 bytes, and when data type is float, its length is 4 bytes, when data type is double, its length is 8 bytes, when data type is string, and its indefinite length.
Beneficial effect: the present invention is directed to the data that exchange between client and service end in CS framework, carry out unitized design, adopt xml to be described data structure, according to the descriptor of xml, data are carried out to serializing and unserializing, reach by xml and describe, can carry out unserializing to binary data stream, or data sequence is changed into binary data stream, method of the present invention makes the data maintenance in CS architecture system easier, even if revise a certain data structure, also without whole system is recompilated, also unnecessary network traffics have been reduced simultaneously.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that a kind of xml of utilization of the present invention realizes the method preferred embodiment of unitized data exchange.
Fig. 2 is the structural representation of the binary stream of data.
Fig. 3 utilizes method of the present invention data to be carried out to the structural representation of the data block after xml description.
Fig. 4 is the particular flow sheet of step S102 in method shown in Fig. 1.
Fig. 5 is the particular flow sheet of step S103 in method shown in Fig. 1.
Fig. 6 is the structured flowchart that a kind of xml of utilization of the present invention realizes the system preferred embodiment of unitized data exchange.
Fig. 7 is the concrete structure block diagram of serializing module in system shown in Figure 6.
Fig. 8 is the concrete structure block diagram of unserializing module in system shown in Figure 6.
Embodiment
The invention provides the method and system that a kind of xml of utilization realizes unitized data exchange, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram that a kind of xml of utilization of the present invention realizes the method preferred embodiment of unitized data exchange, and as shown in the figure, it comprises step:
S101, employing xml form are described the structure of data, comprise the field value of field name and preset length and the start position information of field after described data description;
S102, when carrying out serializing, according to xml descriptor, each field value of data is set to assigned address, at the binary stream that obtains after setting completed data;
S103, when carrying out unserializing, according to xml descriptor, utilize each field name of data from binary stream, to read respective field value.
In step S101, first adopt the file of xml form to be described the structure of data.Data in transmission over networks are all the data of binary stream, and as shown in Figure 2, it is comprised of two parts, each data has the unique sign (ID) of the system overall situation, Data is real data division, and the data layout of Data part, can be described by xml file.In describing method in the present embodiment, the title of data, type, length and position are described respectively.For example a login message has comprised user name, password, the client current version number logging in, and can adopt so following xml to be described:
<DataField?name="login"?id="1000"?description="user?login">
<Field?name="version"?type="char"?description="system?version"/>
<Field?name="user?name"?type="string"?length="32"/>
<Field?name="password"?type="string"?length="32"/>
</DataField>
The message of having described one " login " by name at the file of above-mentioned xml form, its ID is 1000, has comprised three field: version, user name, password in its data layout, the information of these three fields is respectively:
Version: type is char, length is 1 byte, in the 1st byte of data.
User name: type is string, length is 32 bytes, in 2nd ~ 33 bytes of data.
Password: type is string, length is 32 bytes, in 34th ~ 65 bytes of data.
The information of title, type, length and the position of data described by above-mentioned xml file.
The structure of whole data block, as shown in Figure 3, ID, front, is version(client release number afterwards), its length is 1 byte, is then user name(user name), its length is 32 bytes, then is password(password), its length is 32 bytes.
And if adopt struct in C/C++ language to represent the Data part of data, it is defined as follows:
struct?login
{
char?cVersion;
char?szUserName[32];
char?szPassword[32];
};
Foregoing description cannot be compatible mutually with other language, the present invention utilizes a kind of unified xml language to carry out data of description structure, make after serializing and unserializing in without too much maintenance, for example, in above-mentioned login message, if desired delete the field of version number, only need delete respective field information in xml descriptor, being about to <Field name=" version " type=" char " description=" system version "/> deletes, and this deletion mode does not need to revise code in follow-up serializing and unserializing process, so in follow-up serializing and unserializing process without too much maintenance, so even a certain data structure is revised, also without recompility, improved efficiency.But the description for above-mentioned similar C/C++ language, need above-mentioned code to modify, need to delete the code of " char cVersion ", in follow-up serializing and unserializing process, whole code all needs to revise and recompilate, so efficiency is very low.
In the present embodiment, to dissimilar data definition corresponding length, this is in order to be different from the figure place of language and operating system, specifically can illustrate by xml:
<?xml?version="1.0"?encoding="GBK"?>
<DataTypes>
<DataType?name="char"?length="1"?id="1">
<DataType?name="short"?length="2"?id="2">
<DataType?name="int"?length="4"?id="3">
<DataType?name="long"?length="4"?id="4">
<DataType?name="float"?length="4"?id="5">
<DataType?name="double"?length="8"?id="6">
<DataType?name="string"?length="0"?id="7">
</DataTypes>
In above-mentioned xml file, represented: when data type is char, its length is 1 byte, when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, and when data type is long, its length is 4 bytes, when data type is float, its length is 4 bytes, when data type is double, its length is 8 bytes, when data type is string, its indefinite length can illustrate in field.
In step S102, data are carried out to the process of serializing, generate the process of binary data stream, as shown in Figure 4, it specifically comprises:
S201, resolve xml, load the xml descriptor of data, obtain the ID of data; Wherein, resolve the step of the xml descriptor of xml, loading data, when system starts, completed loading, here only for convenience of description, be placed on before each serializing data.After the xml descriptor that loads data, obtain the ID of data.
S202, according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data; According to the ID of data, can find corresponding data, then according to xml descriptor, just can obtain the size of this ID corresponding data, thereby apply for the internal memory corresponding with this size of data, for example the ID of a certain data is 1000, due to the corresponding data of each ID, the xml descriptor that so just can determine this ID corresponding data is that the version number of 1 byte is, the password of the user name of 32 bytes and 32 bytes, the size that just can get these data is 1+32+32=65 byte, can apply for like this internal memory of 65 byte-sized.
S203, according to data length corresponding to each field name in xml descriptor and positional information (comprising field starting position and end position), the value that respective field is set is to the binary stream that obtains data in described internal memory.In this step, according to the descriptor of xml, utilize the parameter of field name, just the value of respective field can be set in internal memory, after setting completes, just obtained the binary stream of data.For example the ID of a certain data is 1000, so according to its descriptor, can obtain each field name of these data, comprise version, user name, tri-fields of password, and the position of version is the 1st byte, the position of user name is in 2nd ~ 33 bytes of data, and the position of passwor is in 34th ~ 65 bytes of data, so, in the internal memory of application, this internal memory is the binary stream data that need exchange in network before just the value of each field being set to according to each field name.
Unserializing reads the process of the value of field from internal memory, and as shown in Figure 5, its step specifically comprises:
S301, resolve xml, load the xml descriptor of data, from the ID of the beginning reading out data of binary stream; Wherein, the step of the xml descriptor of parsing xml and loading data is when system starts, completed loading, also be for convenience of description herein, be placed on before the step of each unserializing, in this step, need read from the beginning of binary stream the ID of data, be Global ID, according to this ID, obtain the size of data and the structure of data.
S302, according to size of data corresponding to each field name in xml descriptor, obtain the starting position of respective field value in binary stream and the information of end position; The size of data corresponding according to the field name of data (1 byte or 32 bytes etc.) can be obtained the starting position of respective field in binary stream and the information of end position, can also obtain field type and field length information simultaneously.For example, the data that are 1000 for ID, version, user name, tri-fields of password in its data, have been comprised, its the 1st byte location in data of version field, 2nd ~ 33 byte locations of user name field in data, its 34th ~ 65 byte locations in data of password, and the type of version field is char, the type of user name field is string, and the type of password field is string.
S303, according to the information of field starting position and end position, read field value, and restore raw data in conjunction with respective field name.According to starting position, end position, the description in conjunction with xml to data structure, is offset to the relevant position of binary stream, thereby reads the value of this field, realizes unserializing process.For example, from the 1st byte, read the value of version field, from 2nd ~ 33 bytes, read the value of user name field, from 34th ~ 65 bytes, read the value of password field.
Based on said method, the present invention also provides a kind of xml of utilization to realize the system of unitized data exchange, and as shown in Figure 6, it comprises:
Describing module 100, for adopting xml form to be described the structure of data, comprises the field value of field name and preset length and the start position information of field after described data description;
Serializing module 200, for when carrying out serializing, according to xml descriptor, is set to assigned address by each field value of data, at the binary stream that obtains after setting completed data;
Unserializing module 300, for when carrying out unserializing, according to xml descriptor, utilizes each field name of data from binary stream, to read respective field value.About ins and outs existing detailed description in detail in method above of above-mentioned modular unit, therefore repeat no more.
Further, described describing module 100 is for describing respectively the title of data, type, length and position.
Further, as shown in Figure 7, described serializing module 200 specifically comprises:
Data ID acquiring unit 210, for resolving xml, loads the xml descriptor of data, obtains the ID of data;
Internal memory application unit 220, for according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data;
Field value setting unit 230, for according to the corresponding data length of each field name and the positional information of xml descriptor, arranges respective field value to the binary stream that obtains data in described internal memory.About ins and outs existing detailed description in detail in method above of above-mentioned modular unit, therefore repeat no more.
Further, described unserializing module 300 specifically comprises:
Data ID reading unit 310, for resolving xml, loads the xml descriptor of data, from the ID of the beginning reading out data of binary stream;
Location information acquiring unit 320, for the size of data corresponding according to each field name of xml descriptor, obtains the starting position of respective field value in binary stream and the information of end position;
Field value reading unit 330, for reading respective field value according to the information of field starting position and end position, and restores raw data in conjunction with respective field name.About ins and outs existing detailed description in detail in method above of above-mentioned modular unit, therefore repeat no more.
Further, when data type is char, its length is 1 byte, when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, and when data type is long, its length is 4 bytes, when data type is float, its length is 4 bytes, and when data type is double, its length is 8 bytes, when data type is string, its indefinite length.
In sum, the present invention is directed to the data that exchange between client and service end in CS framework, carry out unitized design, adopt xml to be described data structure, according to the descriptor of xml, data are carried out to serializing and unserializing, reach by xml and describe, can carry out unserializing to binary data stream, or data sequence is changed into binary data stream, method of the present invention makes the data maintenance in CS architecture system easier, even if revise a certain data structure, also without whole system is recompilated, also unnecessary network traffics have been reduced simultaneously.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (10)

1. utilize xml to realize a method for unitized data exchange, it is characterized in that, comprise step:
Adopt xml file to be described the structure of data, after described data description, comprise the field value of field name and preset length and the start position information of field;
When carrying out serializing, according to xml descriptor, each field value of data is set to assigned address, at the binary stream that obtains after setting completed data;
When carrying out unserializing, according to xml descriptor, utilize each field name of data from binary stream, to read respective field value.
2. the xml of utilization according to claim 1 realizes the method for unitized data exchange, it is characterized in that, the step that adopts xml file to be described data specifically comprises:
The title of data, type, length and position are described respectively.
3. the xml of utilization according to claim 2 realizes the method for unitized data exchange, it is characterized in that, when data type is char, its length is 1 byte, and when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, when data type is long, its length is 4 bytes, and when data type is float, its length is 4 bytes, when data type is double, its length is 8 bytes, when data type is string, and its indefinite length.
4. the xml of utilization according to claim 2 realizes the method for unitized data exchange, it is characterized in that, the step of serializing specifically comprises:
B1, resolve xml, load the xml descriptor of data, obtain the ID of data;
B2, according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data;
B3, data length and the positional information corresponding according to each field name in xml descriptor, arrange respective field value to the binary stream that obtains data in described internal memory.
5. the xml of utilization according to claim 2 realizes the method for unitized data exchange, it is characterized in that, the step of unserializing specifically comprises:
C1, resolve xml, load the xml descriptor of data, from the ID of the beginning reading out data of binary stream;
C2, according to size of data corresponding to each field name in xml descriptor, obtain the starting position of respective field value in binary stream and the information of end position;
C3, according to the information of field starting position and end position, read field value, and restore raw data in conjunction with respective field name.
6. utilize xml to realize a system for unitized data exchange, it is characterized in that, comprising:
Describing module, for adopting xml file to be described the structure of data, comprises the field value of field name and preset length and the start position information of field after described data description;
Serializing module, for when carrying out serializing, according to xml descriptor, is set to assigned address by each field value of data, at the binary stream that obtains after setting completed data;
Unserializing module, for when carrying out unserializing, according to xml descriptor, utilizes each field name of data from binary stream, to read respective field value.
7. the xml of utilization according to claim 6 realizes the system of unitized data exchange, it is characterized in that, described describing module is for describing respectively the title of data, type, length and position.
8. the xml of utilization according to claim 7 realizes the system of unitized data exchange, it is characterized in that, described serializing module specifically comprises:
Data ID acquiring unit, for resolving xml, loads the xml descriptor of data, obtains the ID of data;
Internal memory application unit, for according to the ID of data and xml descriptor, the size of specified data, according to the internal memory of this size request for data;
Field value setting unit, for according to the corresponding data length of each field name and the positional information of xml descriptor, arranges respective field value to the binary stream that obtains data in described internal memory.
9. the xml of utilization according to claim 7 realizes the system of unitized data exchange, it is characterized in that, described unserializing module specifically comprises:
Data ID reading unit, for resolving xml, loads the xml descriptor of data, from the ID of the beginning reading out data of binary stream;
Location information acquiring unit, for the size of data corresponding according to each field name of xml descriptor, obtains the starting position of respective field value in binary stream and the information of end position;
Field value reading unit, for reading field value according to the information of field starting position and end position, and restores raw data in conjunction with respective field name.
10. the xml of utilization according to claim 7 realizes the system of unitized data exchange, it is characterized in that, when data type is char, its length is 1 byte, and when data type is short, its length is 2 bytes, when data type is int, its length is 4 bytes, when data type is long, its length is 4 bytes, and when data type is float, its length is 4 bytes, when data type is double, its length is 8 bytes, when data type is string, and its indefinite length.
CN201310716493.4A 2013-12-23 2013-12-23 Method and system for utilizing xml to realize generalization data exchange Pending CN103699633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310716493.4A CN103699633A (en) 2013-12-23 2013-12-23 Method and system for utilizing xml to realize generalization data exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310716493.4A CN103699633A (en) 2013-12-23 2013-12-23 Method and system for utilizing xml to realize generalization data exchange

Publications (1)

Publication Number Publication Date
CN103699633A true CN103699633A (en) 2014-04-02

Family

ID=50361161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310716493.4A Pending CN103699633A (en) 2013-12-23 2013-12-23 Method and system for utilizing xml to realize generalization data exchange

Country Status (1)

Country Link
CN (1) CN103699633A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973450A (en) * 2014-04-24 2014-08-06 广东华邦技术软件有限公司 Communication method and system and terminal equipment
CN104113390A (en) * 2014-06-20 2014-10-22 广州市集智信息科技有限公司 Serialization method of mobile network data
CN104699754A (en) * 2014-12-31 2015-06-10 深圳市名游网络科技有限公司 Binary data operating method and system based on user intuition mode
CN106777292A (en) * 2016-12-29 2017-05-31 北京神州绿盟信息安全科技股份有限公司 A kind of Data Serialization method and device
CN106953897A (en) * 2017-02-28 2017-07-14 江苏徐工信息技术股份有限公司 The parsing of engineering machinery Internet of Things data and dynamic display method based on operating mode collection
CN107885492A (en) * 2017-11-14 2018-04-06 中国银行股份有限公司 The method and device of data structure dynamic generation in main frame
CN108270546A (en) * 2016-12-30 2018-07-10 北京酷我科技有限公司 A kind of method and system of information transmission
CN111478898A (en) * 2020-04-03 2020-07-31 爱瑟福信息科技(上海)有限公司 Method and system for serializing and deserializing SOMEIP protocol communication data
CN112347063A (en) * 2019-08-07 2021-02-09 中国石油化工股份有限公司 Method for realizing seismic data sharing and storage medium
CN113296802A (en) * 2020-07-22 2021-08-24 阿里巴巴集团控股有限公司 Virtual machine hot upgrading method, host device and storage medium
CN114025026A (en) * 2021-10-25 2022-02-08 中国航空无线电电子研究所 Transmitting and receiving method and device for data distribution service based on XML data description

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1684191A2 (en) * 2005-01-25 2006-07-26 Microsoft Corporation Method and system for binary serialization of documents
CN101478730A (en) * 2007-11-12 2009-07-08 华为技术有限公司 Data exchanging method, system and device
CN102541926A (en) * 2010-12-30 2012-07-04 北京新媒传信科技有限公司 Data exchange processing method, equipment and system
CN103167001A (en) * 2011-12-15 2013-06-19 北京中文在线数字出版股份有限公司 Network data transmission method based on extensive makeup language (XML)
CN103428192A (en) * 2012-05-25 2013-12-04 腾讯科技(北京)有限公司 Method and apparatus for encapsulating and parsing binary protocol data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1684191A2 (en) * 2005-01-25 2006-07-26 Microsoft Corporation Method and system for binary serialization of documents
CN101478730A (en) * 2007-11-12 2009-07-08 华为技术有限公司 Data exchanging method, system and device
CN102541926A (en) * 2010-12-30 2012-07-04 北京新媒传信科技有限公司 Data exchange processing method, equipment and system
CN103167001A (en) * 2011-12-15 2013-06-19 北京中文在线数字出版股份有限公司 Network data transmission method based on extensive makeup language (XML)
CN103428192A (en) * 2012-05-25 2013-12-04 腾讯科技(北京)有限公司 Method and apparatus for encapsulating and parsing binary protocol data

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973450A (en) * 2014-04-24 2014-08-06 广东华邦技术软件有限公司 Communication method and system and terminal equipment
CN103973450B (en) * 2014-04-24 2017-07-11 广东华邦云计算股份有限公司 A kind of communication means, system and terminal device
CN104113390A (en) * 2014-06-20 2014-10-22 广州市集智信息科技有限公司 Serialization method of mobile network data
CN104699754B (en) * 2014-12-31 2017-09-12 深圳市名游网络科技有限公司 A kind of method and system based on user's intuitive manner operation binary data
CN104699754A (en) * 2014-12-31 2015-06-10 深圳市名游网络科技有限公司 Binary data operating method and system based on user intuition mode
CN106777292A (en) * 2016-12-29 2017-05-31 北京神州绿盟信息安全科技股份有限公司 A kind of Data Serialization method and device
CN106777292B (en) * 2016-12-29 2019-11-15 北京神州绿盟信息安全科技股份有限公司 A kind of Data Serialization method and device
CN108270546A (en) * 2016-12-30 2018-07-10 北京酷我科技有限公司 A kind of method and system of information transmission
CN106953897A (en) * 2017-02-28 2017-07-14 江苏徐工信息技术股份有限公司 The parsing of engineering machinery Internet of Things data and dynamic display method based on operating mode collection
CN107885492A (en) * 2017-11-14 2018-04-06 中国银行股份有限公司 The method and device of data structure dynamic generation in main frame
CN112347063A (en) * 2019-08-07 2021-02-09 中国石油化工股份有限公司 Method for realizing seismic data sharing and storage medium
CN111478898A (en) * 2020-04-03 2020-07-31 爱瑟福信息科技(上海)有限公司 Method and system for serializing and deserializing SOMEIP protocol communication data
CN111478898B (en) * 2020-04-03 2022-03-11 爱瑟福信息科技(上海)有限公司 Method and system for serializing and deserializing SOMEIP protocol communication data
CN113296802A (en) * 2020-07-22 2021-08-24 阿里巴巴集团控股有限公司 Virtual machine hot upgrading method, host device and storage medium
CN114025026A (en) * 2021-10-25 2022-02-08 中国航空无线电电子研究所 Transmitting and receiving method and device for data distribution service based on XML data description

Similar Documents

Publication Publication Date Title
CN103699633A (en) Method and system for utilizing xml to realize generalization data exchange
WO2016070628A1 (en) Power line carrier communication terminal control device, system and method
CN102902537B (en) Based on the embedded type WEB MVC Development Framework of FastCGI and html template
CN102014118B (en) Method for reading multiple electric energy meters generally
ES2735021T3 (en) Operation activation method and device for machine-to-machine communications
Petersen et al. Smart grid serialization comparison: Comparision of serialization for distributed control in the context of the internet of things
CN103176804A (en) User interface realization method
CN105590430A (en) Multipath micropower wireless meter reading method and multipath micropower wireless meter reading system
Leitão et al. Integration patterns for interfacing software agents with industrial automation systems
Mynzhasova et al. Drivers, standards and platforms for the IoT: Towards a digital VICINITY
CN104363290A (en) Method for achieving cross-protocol networking in upper computer on basis of plug-in form
CN103399735A (en) Method for developing intermediate layer of remote function call interface
CN104144202A (en) Hadoop distributed file system access method, system and device
CN102999329B (en) The Active Directory interface exploitation method of configuration is mapped based on extend markup language
CN112911024B (en) Method and system for collecting data of Internet of things, electronic device and storage medium
CN110659165A (en) Multi-node server automatic testing method and device
CN105793842B (en) Conversion method and device between serialized message
CN107277011A (en) The data classification method and device of terminal device
CN108804197B (en) Dynamic componentization implementation method, device, equipment and storage medium
CN107483399B (en) Information packaging method and device in remote procedure call
CN102314406A (en) The method and system that is used for the lazy data sequenceization of compunication
CN115968543A (en) Resource mapping method, device, equipment and storage medium
JP2022531248A (en) Protocol data unit session processing method, equipment and electronic equipment
CN101141438B (en) Analytical method of message data cell
CN104065507A (en) Access device service configuration method and system based on dual-platform multiplex technique

Legal Events

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

Application publication date: 20140402

RJ01 Rejection of invention patent application after publication