CN104639507B - A kind of bearing protocol packet data transmission method and system between heterogeneous network - Google Patents

A kind of bearing protocol packet data transmission method and system between heterogeneous network Download PDF

Info

Publication number
CN104639507B
CN104639507B CN201310565422.9A CN201310565422A CN104639507B CN 104639507 B CN104639507 B CN 104639507B CN 201310565422 A CN201310565422 A CN 201310565422A CN 104639507 B CN104639507 B CN 104639507B
Authority
CN
China
Prior art keywords
field
bearer
bearer protocol
protocol
protocol message
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.)
Active
Application number
CN201310565422.9A
Other languages
Chinese (zh)
Other versions
CN104639507A (en
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.)
Zhengzhou Xinrand Network Technology Co ltd
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201310565422.9A priority Critical patent/CN104639507B/en
Publication of CN104639507A publication Critical patent/CN104639507A/en
Application granted granted Critical
Publication of CN104639507B publication Critical patent/CN104639507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides the bearing protocol packet data transmission method and system between a kind of heterogeneous network, the method includes:Step 101)For each field of the first bearing protocol message data to be converted to the bearing protocol message of the second network according to switching strategy set in advance;Switching strategy set in advance is:Establish the mapping relations between each original field of the first bearing protocol message and each original field of the second bearing protocol message, and the extension specification description of form progress each original field of two bearing protocols according to setting, extension specification description are used for field location, offset and the length attribute for describing bearing protocol;The pipeline collection of equal value of transmission channel need to be established at the same time, and the collection of equal value of the pipeline based on foundation determines the asynchronous value of message field (MFLD) number and mapping method of the second bearing protocol and the first bearing protocol;Step 102)Second bearing protocol message data is transmitted to the second bearer network.

Description

Method and system for transmitting bearer protocol message data between heterogeneous networks
Technical Field
The invention relates to the technical field of networks, in particular to a method for equivalently mapping messages of different transport bearer protocols under the condition that a plurality of protocols exist in a future network environment.
Background
In the future network field, researchers are exploring in various ways, and great energy and financial resources are invested in various countries from the aspects of network architecture, protocols and mechanisms and network transmission media. Currently, in terms of network Architecture research, the united states supports ndn (named Data networking), MobilityFirst, NEBULA, XIA (excompressive Internet Architecture) in the fia (future Internet Architecture) project, with content, mobility, Data center networking, and security as the respective points of focus. The Euro-NGI project, the AMBIENT project and the FIRE project are deployed in the european union. The NWGN of the japan AKIRI (eosin) project, which focuses on energy saving, building an all-optical network and exploring a new network system, proposes 5 sub-systems for different scenarios.
In the exploration of a network system, China deploys national-level projects such as an IP-based evolvable network system structure, an integrated network and pervasive service system, a measurable, controllable and manageable IP network, a service-oriented future Internet system structure and a reconfigurable information communication basic network system, and domestic scholars also propose an interactive-based network service system structure, a 4D network control architecture-based credible and controllable network and the like. The strategic leading speciality of Chinese academy of sciences "new generation information technology facing perception of China" also deploys the relevant exploration research of future network systems.
From the present, it is not clear which network architecture will win the end. Therefore, it can be expected that there are multiple network systems operating in parallel for a long time, and these networks cannot exist independently and need to be interconnected, so how to solve the problem of efficient transmission of packets based on various different transport bearer protocols becomes a technical problem to be solved urgently.
Disclosure of Invention
The present invention provides a method and a system for transmitting bearer protocol packet data between heterogeneous networks, in order to overcome the above-mentioned drawbacks.
In order to achieve the above object, the present invention provides a method for transmitting bearer protocol packet data between heterogeneous networks, where the method is used to directly process all packet data from a first bearer network into packet data that can be transmitted in a second bearer network, and the method includes:
step 101) is configured to receive bearer protocol packet data from a first network, i.e. a first bearer protocol packet; converting each original field of the first bearer protocol message data into a bearer protocol message of a second network according to a preset conversion strategy, wherein the bearer protocol message of the second network obtained by conversion is called the second bearer protocol message for short;
wherein the preset switching strategy is as follows:
establishing a mapping relation between each original field of a first bearer protocol message and each original field of a second bearer protocol message, and performing extension standard description of each original field on the first bearer protocol and the second bearer protocol according to a set uniform format, wherein the extension standard description is used for describing field positions, offsets and length attributes of the bearer protocols; meanwhile, a pipeline equivalence set of a transmission channel needs to be established, and the mapping relation or the value of the fields of the second bearer protocol message and the first bearer protocol message is determined based on the established pipeline equivalence set;
step 102) sending the second bearer protocol message data to the second bearer network.
For the first bearer protocol and the second bearer protocol, the predetermined conversion policy further includes:
step 201) performing extended standard description on each original field contained in the first bearer protocol packet and the second bearer protocol packet according to a defined unified format to obtain a standard five-tuple corresponding to each original field, wherein the unified format specifically comprises: field name, field length, location, offset, and meaning;
the position refers to the position number of the field in the message specification, the position No. 1 is represented by the position 0, and the positions of the subsequent fields are sequentially increased by 1;
the offset refers to the sum of the lengths of all fields in front of the field and takes bits as a unit;
step 202) searching fields with the same meaning as each original field of the first bearer protocol message in the original fields of the second bearer protocol message, and establishing a mapping relation between the original fields with the same meaning of the two bearer protocol messages, so as to establish corresponding mapping table items between all the original fields with the same meaning in the two bearer protocol messages, wherein all the mapping table items form a corresponding table item set;
step 203) classifying the transmission channels into logic channels according to the requirement of index optimization of the first bearer network and the second bearer network, wherein the channel equivalence set refers to a set of logic channel equivalence relations of the transmission channels corresponding to the two bearer protocols.
When each mapping table entry in the mapping table entry set is established in step 202), the following policies are further included:
when the length of the original field of the first bearer protocol message is smaller than the length of the original field corresponding to the second bearer protocol message, each mapping table entry is defined as that the original field of the first bearer protocol message is directly operated according to a set transformation operator, and the obtained operation result fills the original field corresponding to the second bearer protocol message;
when the length of the original field of the first bearer protocol message is equal to the length of the original field corresponding to the second bearer protocol message, the definition of the mapping table entry is' original field of the first bearer protocol messageSecond bearer protocol corresponds to primitive field ";
when the length of the original field of the first bearer protocol packet is greater than the length of the original field of the second bearer protocol packet, the mapping table entry is defined as "(hash (original field of the first bearer protocol packet), corresponding to the original field of the second bearer protocol packet)", and the value of the original field of the second bearer protocol packet is determined according to the semantics of the first bearer protocol and the second bearer protocol, where the hash is a hash function.
The step 203) further comprises:
203-1) classifying the transmission channels into logic pipelines according to service quality indexes and safety indexes, wherein the service quality indexes comprise: best effort, shortest delay and maximum throughput; the safety index indicates the safety level required for data transmission;
203-2) collecting the logical pipe equivalence relations of the transmission channels corresponding to the first bearer protocol and the second bearer protocol to form a logical pipe equivalence set;
when forming a logical pipe equivalence set, the method for establishing the mapping relationship of the original fields of the first bearer protocol message and the second bearer protocol message is as follows:
(1) when the original field of the first bearer protocol is divided into corresponding bits in a plurality of original fields in the second bearer protocol or is a component of a field in the second bearer protocol, the processing method is that the corresponding bits of the original field of the first bearer protocol and corresponding mask operation are carried out, the obtained result is subjected to shift operation of the corresponding bits of the field in the second bearer protocol, and the shift operation is carried out or operated with the original field of the second bearer protocol to replace the original field of the second bearer protocol, wherein the original field of the first bearer protocol is subjected to operation for a plurality of times corresponding to the fields in the second bearer protocol;
(2) the second bearer protocol field has no conversion relation of corresponding field or bit in the first bearer protocol, and at this time, default value setting is performed on the second bearer protocol field according to the property of the pipeline equivalence set.
The step 101) further includes:
step 104-1) determining a pipeline equivalence set according to a specific field in the first bearer protocol message;
step 104-2) scanning the first bearer protocol message, sequentially extracting each original field, finishing the conversion of the field to the corresponding field of the second bearer protocol message by taking each original field obtained by scanning as a key word according to the established corresponding table entry, the field specification quintuple set and the logic pipeline equivalent set, and storing the result obtained after the conversion into a buffer area of the second bearer protocol message;
step 104-3) when some original field of the second bearer protocol message does not have a corresponding original field in the first bearer protocol message, filling the field in the buffer area of the second bearer protocol message by adopting a set default value;
and step 104-4) finishing the CRC verification operation required by the second bearer protocol, filling corresponding fields, and sending the message data in the message buffer area to the second bearer network.
Based on the above method, the present invention also provides a system for transmitting bearer protocol message data between heterogeneous networks, the system comprising:
the system comprises a bearer protocol conversion preprocessing subsystem, a channel equivalence set establishing module, a protocol message field corresponding relation establishing module and a protocol message field standard module, wherein the bearer protocol conversion preprocessing subsystem is used for preprocessing two different bearer protocols;
the first bearing network subsystem is used for transmitting first bearing protocol message data;
the network bearing message conversion subsystem is used for converting the first bearing protocol message data into the format of the message data specified by the second bearing protocol message and outputting the message data;
and the second bearing network subsystem is used for transmitting the message data output by the network bearing message transformation subsystem.
The network bearer packet conversion subsystem further comprises: the device comprises an input module, a first processing module, a second processing module, a third processing module, a combination module and an output module;
the input module is used for receiving first bearer protocol message data sent by a first bearer network subsystem;
the first processing module is used for determining the type of the pipeline equivalence set according to the data content of a certain original field of the first bearer protocol message;
wherein the pipe equivalence set is determined by a pipe equivalence set establishment module;
the second processing module is used for mapping each field of the first bearer protocol message data with the corresponding field in the second bearer protocol message according to a pre-established corresponding table entry set between the original fields of the first bearer protocol message and the second bearer protocol message, and finishing the assignment of some fields of the second bearer protocol message;
the preset corresponding table item set is obtained by a protocol message field corresponding relation establishing module, and the protocol message field corresponding relation establishing module establishes all corresponding table items according to a field specification quintuple output by a protocol message field specification module;
the third processing module is configured to set a value of a field lacking mapping according to the type of the pipeline equivalence set determined by the first processing module when the number of fields included in the second bearer protocol packet is greater than the total number of fields included in the first bearer protocol packet, so as to complete conversion from the first bearer protocol packet data to the second bearer protocol packet data;
the combination module is used for splicing the fields output by the second processing module and the fields output by the third processing module to obtain second bearer protocol message data;
the output module is used for sending the obtained second bearer protocol message data to a second bearer network
The protocol message field specification module is configured to perform extended specification description on the protocol specification or standard specification of each input bearer protocol by using a defined uniform format, further obtain a field specification quintuple corresponding to each original field of each bearer protocol, and output each field specification quintuple, where the format of the field specification quintuple is: field name, field length, location, offset, meaning;
wherein,
the field names are obtained by the specification description of each bearing protocol;
the field length is in units of bits;
the position refers to that the field is positioned at the position of the number 1 in each protocol message specification, the position of the number 1 is represented by the position 0, and the positions of subsequent fields are sequentially increased by 1;
the offset is the sum of the lengths of all fields in front of the field and takes the bit as a unit;
the meaning refers to a text string represented in a human-readable manner, which can be null;
the bearer protocols include a first bearer protocol and a second bearer protocol.
The protocol message field corresponding relation establishing module appoints the one-to-one corresponding relation of each field of the first bearing protocol and each field of the second protocol according to the first bearing protocol and the second bearing protocol specification, and completes the missing field.
The completion operation is realized by a completion submodule based on the length of the field, and the completion submodule further comprises:
the first processing submodule is used for directly carrying out the operation of a conversion operator on each field P1 of the first bearer protocol when the length of the field P1 of the first bearer protocol message is smaller than the length of the field P2 of the second bearer protocol message, and further obtaining the field P2 of the second bearer protocol message;
the second processing sub-module is configured to, when the length of the first bearer protocol packet field P1 is greater than the length of the field P2, set an additional mapping table, and obtain a hash value of the first bearer protocol packet field P1, where the hash value is in the form of (hash (field P1) and field P2), and the value of the second bearer protocol packet field P2 is determined according to semantics of the protocol P1 and the protocol P2.
Compared with the prior method, the method has the following advantages: (1) the protocol message field standard method, the protocol message field corresponding relation establishing method and the pipeline equivalence set establishing method can be determined and optimized aiming at different protocol pairs and can be dynamically adjusted; (2) the automatic protocol message data conversion method can perform performance optimization in a hardware mode. In a word, the invention provides a method for equivalently mapping messages of different transport bearer protocols, which lays the foundation for the automatic conversion of the messages of different types of transport bearer protocols and reduces the development work when different transport bearer protocols appear. In addition, according to the concept of developing a transport bearer protocol, optimization of relevant indexes, such as maximum throughput, minimum delay, safety and the like, is considered for data packet transmission. Therefore, the same type of measurement criteria under different transport bearer protocols are regarded as the pipelines, and the equivalent set of the pipelines can be divided.
Drawings
Fig. 1 is a diagram illustrating a method for equivalently mapping different transport bearer protocol messages provided by the present invention;
FIG. 2 is a schematic diagram of an application scenario provided by the present invention;
fig. 3 is a flowchart of an automatic conversion method of first bearer protocol packet data and second bearer protocol packet data according to the present invention.
Detailed Description
The method of the present invention is described in detail below with reference to the accompanying drawings and examples.
The invention discloses a method for equivalently mapping messages of different transport bearer protocols, which comprises the following steps: a method for standardizing protocol message fields, a method for establishing corresponding relation of protocol message fields, a method for establishing a pipeline equivalent set and an automatic conversion method of protocol message data. The method involves the following physical entities: gateways (routers) and physical networks running different transport bearer protocols, which are connected by the gateways.
The method for standardizing the protocol message field refers to the standardized description of each original field contained in the protocol by adopting a formalized method, and the method is described into the format as follows: field name, field length (in bits), location, offset, meaning. Wherein the field names and field lengths are self-explanatory and are not explained herein; the position refers to the position of the field in the message specification, the position 1 is represented by the position 0, and the positions of subsequent fields are sequentially increased by 1; the offset is the sum of the lengths of all fields in front of the field, and the field is mainly used for facilitating the positioning of a subsequent method by taking bits as units; where meaning refers to a text string represented in a human readable manner, which may be empty. The input of the method is protocol specification, which can be standard specification or user-defined (such as protocol test); the output is a quintuple set (field name, field length, location, offset, meaning), and each transport protocol is normalized by a quintuple set, which can be described in XML.
The method for establishing the corresponding relationship of the fields of the protocol message refers to a method for establishing a pair relationship (pairs) (i.e. a one-to-one relationship) between original fields of two transport bearer protocols, where the pair relationship refers to that one field in one protocol corresponds to one field in the other protocol, and the two fields may be the same or have a certain functional relationship, for example, one field is transformed or a specific bit code is added to form the other field. The pair-wise relation can be expressed as (field P1, field P2, transformation operator), where field P1 refers to the field belonging to protocol P1, field P2 refers to the field belonging to protocol P2, and fields P1 and P2 are the field names in the corresponding protocols, respectively. Here two situations arise: (1) the length of the field P1 is less than that of the field P2, the processing method is to directly carry out the operation of a transformation operator on the field P1, and the obtained result is filled in the field P2; (2) the length of the field P1 is greater than that of the field P2, and an additional mapping table is required to be set, wherein the mapping table is in the form of (hash (field P1) and field P2), and the value of the field P2 is determined according to the semantics of the protocol P1 and the protocol P2. The result of establishing a pairwise relationship is a set (field P1, field P2, transform operator). After the pair-wise relationship is established, there may be a case where there is no correspondence in the fields, which is handled by the pipe equivalence set establishment method.
The method for establishing the pipeline equivalence set refers to classifying transmission channels into logic pipelines according to psychological expectation (such as best effort, shortest delay, maximum throughput and the like) of protocol designers, and the pipeline equivalence set refers to a logic pipeline equivalence relation set of the transmission channels corresponding to two bearer protocols. The objective grounds for logical pipe equivalence set establishment are ToS (type of service, defined in IPv 4), Flow Label (defined in IPv 6) present in the protocol header; the logical pipeline equivalence set can also be manually appointed, through the method, the relation established in the protocol message field corresponding relation establishing method can be re-appointed, the value of the field P2 is appointed under the condition that the field P1 is empty, and the many-to-many relation of the field P1 and the field P2 is processed. Here, two cases occur: (1) the field P1 is divided into several fields in the protocol P2 or is a component of a certain field in the protocol P2, the corresponding bits of the field P1 and the corresponding mask operation are carried out, the obtained result is subjected to the shift operation of the corresponding bits of the field in the protocol P2, and the shift operation is carried out with the original field of P2, and the original field of P2 is replaced. The field P1 is operated for several times corresponding to several fields in the protocol P2; (2) the field P2 has no conversion relation of corresponding fields or bits in the protocol P1, and at this time, a default value is set for the field P2 according to the property of the pipe equivalence set.
The automatic protocol message data conversion method is used for converting one transmission bearing protocol message data into another transmission bearing protocol message data, and the process is as follows: (1) determining a pipeline equivalence set according to a specific field in a first transport bearer protocol message; (2) according to a pairing relationship (field P1, field P2, conversion operator) set established according to the corresponding relationship of the protocol message field, a quintuple set of a protocol message field specification method and a set (field P1, offset P2, conversion operator) determined by a pipeline equivalence set, scanning the first transmission bearing protocol field once, completing conversion, and storing a result obtained after the conversion into a second transmission bearing protocol message buffer area; (3) according to the condition that the field P2 in the equivalent set of the pipelines has no corresponding field in the first transport bearer protocol, namely (default value, field P2), filling the field P2 in the message buffer of the second transport bearer protocol in sequence; (4) and finishing the verification operations such as CRC and the like required by the second transport bearer protocol, and filling the corresponding fields. At this point, the message data in the message buffer is ready for transmission.
Examples
The method for equivalently mapping messages of different transport bearer protocols is described below with reference to fig. 1, fig. 2, and fig. 3. As shown in fig. 1, it is a diagram formed by equivalent mapping methods of different transport bearer protocols, where a protocol message field specification method is a basis, and thus a protocol message field correspondence establishing method and a pipeline equivalent set establishing method can be adopted to process two different transport bearer protocols; when two specific conversion processes of the transport bearer protocol packet are performed on the basis of the above three methods, as shown in fig. 2, an automatic packet conversion operation is performed by using an automatic protocol packet data conversion method.
In conjunction with the situation of fig. 2, the network a and the network B are heterogeneous networks, and different transport bearer protocols PA and PB are used for transmission. The message format of PA is assumed to be (fa1, fa2, fa3, fa 4), wherein the bearer protocol PA comprises 4 original fields of fa1, fa2, fa3 and fa 4; the message format of PB is (fb1, fb2, fb3, fb4, fb 5), wherein the bearer protocol PB includes 5 original fields including fb1, fb2, fb3, fb4, fb 5. Processing according to the above-described specification method of the original field of the protocol message, obtaining five-tuple set { (fa1,8,0,0, text description), (fa2,8,1,1, text description), … } of PA, five-tuple set { (fb1,16,0,0, text description), (fb2,16,1,1, text description), … } of PB, wherein it is assumed that each field (i.e., field fa1, field fa2, field fa3, field fa 4) of PA protocol has a length of 1 byte, and each field (i.e., field fb1, field fb2, field fb3, field fb4, field fb 5) of PB protocol has a length of 2 bytes;
the corresponding relation fa1 is obtained according to PA and PB protocol message fieldsfb1、fa2fb2、fa3fb4、fa4fb3, and fb5 has no corresponding field correspondence; specifically, the correspondence may be performed according to the specific meanings of each field of the different protocol messages, and a correspondence relationship is established between two fields having similar meanings, for example, a pair of fields representing the destination address is provided.
Assuming that the PA protocol supports the best effort and shortest delay service type (the specific type can be obtained by referring to a certain field of the protocol), the PB protocol supports the real-time service and the maximum throughput service type, thereby classifying the best effort and the maximum throughput into a pipeline equivalence set 1, and classifying the shortest delay and the real-time service into a pipeline equivalence set 2. If fb5 has no field corresponding to it, then fb5 defaults to 20 if it is pipe equivalence set 1; if it is pipe equivalence set 2, fb5 defaults to 30.
The above steps are all off-line processes.
In fig. 2, it is assumed that a Packet ("ABCD") is transmitted from network a to a gateway/router for network B.
With reference to fig. 3, a Packet conversion process is performed.
Suppose that the pipeline equivalence set is judged to be the pipeline equivalence set 1 from the field fa1 ("A"); according to the corresponding relation (fa 1)fb1、fa2fb2、fa3fb4、fa4fb 3), to "0 A0B0D 0C" (where 0 supplemented by the preceding bytes of A, B, C and D is a processing mode specified by the bearer protocol corresponding to the PB message, that is, the length of the field P1 is smaller than the length of the field P2, and the processing mode is to directly perform the operation of the transformation operator on the field P1, and the obtained result is to fill the field P2, and the transformation operator at this position is to zero-fill in the vacant bits); according to the pipeline equivalence set 1, if fb5 is 20, the message is "0A 0B0D0C 20". If the protocol PB needs subsequent similar CRC processing, the subsequent processing is performed, otherwise the final message is "0 A0B0D0C 20", and can be transmitted over the network B.
Other contents in the description document can be technically implemented by a person of ordinary skill in the art, and are not described herein again.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and are not limited. Although the present invention has been described in detail with reference to the embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A method for transmitting bearer protocol message data between heterogeneous networks is used for directly processing all message data from a first bearer network into message data capable of being transmitted in a second bearer network, and the method comprises the following steps:
step 101) is configured to receive bearer protocol packet data from a first network, i.e. a first bearer protocol packet; converting each original field of the first bearer protocol message data into a corresponding field or content of a bearer protocol message of a second network according to a preset conversion strategy, and converting the obtained bearer protocol message of the second network into the second bearer protocol message for short;
wherein the preset switching strategy is as follows:
establishing a mapping relation between each original field of a first bearer protocol message and each original field of a second bearer protocol message, and performing extension standard description of each original field on the first bearer protocol and the second bearer protocol according to a set uniform format, wherein the extension standard description is used for describing field positions, offsets and length attributes of the bearer protocols; meanwhile, a pipeline equivalence set of a transmission channel needs to be established, and the corresponding relation or value of fields corresponding to the second bearer protocol message and the first bearer protocol message is determined based on the established pipeline equivalence set;
step 102) sending the second bearer protocol message data to a second bearer network;
for the first bearer protocol and the second bearer protocol, the predetermined conversion policy further includes:
step 201) performing extended standard description on each original field contained in the first bearer protocol packet and the second bearer protocol packet according to a defined unified format to obtain a standard five-tuple corresponding to each original field, wherein the unified format specifically comprises: field name, field length, location, offset, and meaning;
the position refers to the position number of the field in the message specification, the position No. 1 is represented by the position 0, and the positions of the subsequent fields are sequentially increased by 1;
the offset refers to the sum of the lengths of all fields in front of the field and takes bits as a unit;
step 202) searching fields with the same meaning as each original field of the first bearer protocol message in the original fields of the second bearer protocol message, and establishing a mapping relation between the original fields with the same meaning of the two bearer protocol messages, so as to establish corresponding mapping table items between all the original fields with the same meaning in the two bearer protocol messages, wherein all the mapping table items form a corresponding table item set;
step 203) classifying the transmission channels into logic channels according to the requirement of index optimization of the first bearer network and the second bearer network, wherein the channel equivalence set refers to a set of logic channel equivalence relations of the transmission channels corresponding to the two bearer protocols;
the step 203) further comprises:
203-1) classifying transmission channels into logical pipes according to quality of service indicators including but not limited to: best effort, shortest delay and maximum throughput; the safety index indicates the safety level required for data transmission;
203-2) collecting the logical pipe equivalence relations of the transmission channels corresponding to the first bearer protocol and the second bearer protocol to form a pipe equivalence set;
when a pipeline equivalence set is formed, the method for establishing the mapping relation of the original fields of the first bearer protocol message and the second bearer protocol message is as follows:
(1) when the original field of the first bearer protocol is divided into corresponding bits in a plurality of original fields in the second bearer protocol or is a component of a field in the second bearer protocol, the processing method is that the corresponding bits of the original field of the first bearer protocol and corresponding mask operation are carried out, the obtained result is subjected to shift operation of the corresponding bits of the field in the second bearer protocol, and the shift operation is carried out or operated with the original field of the second bearer protocol to replace the original field of the second bearer protocol, wherein the original field of the first bearer protocol is subjected to operation for a plurality of times corresponding to the fields in the second bearer protocol;
(2) the second bearer protocol field has no conversion relation of corresponding field or bit in the first bearer protocol, and at this time, default value setting is performed on the second bearer protocol field according to the property of the pipeline equivalence set.
2. The method for transmitting bearer protocol packet data between heterogeneous networks according to claim 1, wherein when each mapping table in the mapping table set is established in step 202), the method further comprises the following policies:
when the length of the original field of the first bearer protocol message is smaller than the length of the original field corresponding to the second bearer protocol message, each mapping table entry is defined as that the original field of the first bearer protocol message is directly operated according to a set transformation operator, and the obtained operation result fills the original field corresponding to the second bearer protocol message;
when the length of the original field of the first bearer protocol packet is equal to the length of the original field corresponding to the second bearer protocol packet, the definition of the mapping table entry is as follows:
when the length of the original field of the first bearer protocol packet is greater than the length of the original field of the second bearer protocol packet, the mapping table entry is defined as "(hash (original field of the first bearer protocol packet), corresponding to the original field of the second bearer protocol packet)", and the value of the original field of the second bearer protocol packet is determined according to the semantics of the first bearer protocol and the second bearer protocol, where the hash is a hash function.
3. The method for transmitting bearer protocol message data between heterogeneous networks according to claim 1, wherein the step 101) further comprises:
step 104-1) determining a pipeline equivalence set according to a specific field in the first bearer protocol message;
step 104-2) scanning the first bearer protocol message, sequentially extracting each original field, finishing the conversion of the field to the corresponding field of the second bearer protocol message by taking each original field obtained by scanning as a keyword according to the established corresponding table entry, the field specification quintuple set and the pipeline equivalent set, and storing the result obtained after the conversion into a buffer area of the second bearer protocol message;
step 104-3) when some original field of the second bearer protocol message does not have a corresponding original field in the first bearer protocol message, filling the field in the buffer area of the second bearer protocol message by adopting a set default value;
and step 104-4) finishing the CRC verification operation required by the second bearer protocol, filling corresponding fields, and sending the message data in the message buffer area to the second bearer network.
4. A system for transmitting bearer protocol message data between heterogeneous networks, the system comprising:
the system comprises a bearer protocol conversion preprocessing subsystem, a channel equivalence set establishing module, a protocol message field corresponding relation establishing module and a protocol message field standard module, wherein the bearer protocol conversion preprocessing subsystem is used for preprocessing two different bearer protocols;
the first bearing network subsystem is used for transmitting first bearing protocol message data;
the network bearing message conversion subsystem is used for converting the first bearing protocol message data into the format of the message data specified by the second bearing protocol message and outputting the message data;
the second bearing network subsystem is used for transmitting the message data output by the network bearing message transformation subsystem;
the network bearer packet transformation subsystem further comprises: the device comprises an input module, a first processing module, a second processing module, a third processing module, a combination module and an output module;
the input module is used for receiving first bearer protocol message data sent by a first bearer network subsystem;
the first processing module is used for determining the type of the pipeline equivalence set according to the data content of a certain original field of the first bearer protocol message;
wherein the pipe equivalence set is determined by a pipe equivalence set establishment module;
the second processing module is used for mapping each field of the first bearer protocol message data with the corresponding field in the second bearer protocol message according to a pre-established corresponding table entry set between the original fields of the first bearer protocol message and the second bearer protocol message, and finishing the assignment of some fields of the second bearer protocol message;
the preset corresponding table item set is obtained by a protocol message field corresponding relation establishing module, and the protocol message field corresponding relation establishing module establishes all corresponding table items according to a field specification quintuple output by a protocol message field specification module;
the third processing module is configured to set a value of a field lacking mapping according to the type of the pipeline equivalence set determined by the first processing module when the number of fields included in the second bearer protocol packet is greater than the total number of fields included in the first bearer protocol packet, so as to complete conversion from the first bearer protocol packet data to the second bearer protocol packet data;
the combination module is used for splicing the fields output by the second processing module and the fields output by the third processing module to obtain second bearer protocol message data;
and the output module is used for sending the obtained second bearer protocol message data to a second bearer network.
5. The system according to claim 4, wherein the protocol packet field specification module is configured to perform extended specification description on the input protocol specification or standard specification of each bearer protocol by using a defined unified format, further obtain a field specification quintuple corresponding to each original field of each bearer protocol, and output each field specification quintuple, where the format of the field specification quintuple is: field name, field length, location, offset, meaning;
wherein,
the field names are obtained by the specification description of each bearing protocol;
the field length is in units of bits;
the position refers to that the field is positioned at the position of the number 1 in each protocol message specification, the position of the number 1 is represented by the position 0, and the positions of subsequent fields are sequentially increased by 1;
the offset is the sum of the lengths of all fields in front of the field and takes the bit as a unit;
the meaning refers to a text string represented in a human-readable manner, which can be null;
the bearer protocols include a first bearer protocol and a second bearer protocol.
6. The system according to claim 4, wherein the protocol packet field mapping module specifies a one-to-one mapping relationship between fields of the first bearer protocol and fields of the second protocol according to the first bearer protocol and the second bearer protocol specification, and performs a padding operation on the missing fields.
7. The system for carrying protocol message data transmission of claim 6, wherein the padding operation is implemented using a field length-based padding sub-module, the padding sub-module further comprising:
the first processing submodule is used for directly carrying out the operation of a conversion operator on each field P1 of the first bearer protocol when the length of the field P1 of the first bearer protocol message is smaller than the length of the field P2 of the second bearer protocol message, and further obtaining the field P2 of the second bearer protocol message;
the second processing sub-module is configured to, when the length of the first bearer protocol packet field P1 is greater than the length of the field P2, set an additional mapping table, and obtain a hash value of the first bearer protocol packet field P1, where the hash value is in the form of (hash (field P1) and field P2), and the value of the second bearer protocol packet field P2 is determined according to semantics of the protocol P1 and the protocol P2.
CN201310565422.9A 2013-11-13 2013-11-13 A kind of bearing protocol packet data transmission method and system between heterogeneous network Active CN104639507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565422.9A CN104639507B (en) 2013-11-13 2013-11-13 A kind of bearing protocol packet data transmission method and system between heterogeneous network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565422.9A CN104639507B (en) 2013-11-13 2013-11-13 A kind of bearing protocol packet data transmission method and system between heterogeneous network

Publications (2)

Publication Number Publication Date
CN104639507A CN104639507A (en) 2015-05-20
CN104639507B true CN104639507B (en) 2018-04-24

Family

ID=53217830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565422.9A Active CN104639507B (en) 2013-11-13 2013-11-13 A kind of bearing protocol packet data transmission method and system between heterogeneous network

Country Status (1)

Country Link
CN (1) CN104639507B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450786B (en) * 2016-01-26 2019-05-14 中国银行股份有限公司 A kind of message processing method and device
CN106685982A (en) * 2017-01-13 2017-05-17 中国工商银行股份有限公司 External message processing method and system
CN108536437A (en) * 2018-03-30 2018-09-14 上海嘉银金融科技股份有限公司 A kind of generation method and device of business rule
CN108833394B (en) * 2018-06-07 2020-10-09 中国人民解放军63889部队 Protocol conversion algorithm of data acquisition system
CN111294320B (en) * 2018-12-07 2022-08-16 杭州海康威视***技术有限公司 Data conversion method and device
CN110380970B (en) * 2019-07-22 2020-10-13 北京邮电大学 Self-adaptive data message forwarding method and device suitable for heterogeneous network
CN110730181A (en) * 2019-10-21 2020-01-24 中国民航信息网络股份有限公司 Message conversion method, device and adapter
CN113938530B (en) * 2021-09-09 2023-06-23 中国联合网络通信集团有限公司 Data transmission method and device
CN114358136B (en) * 2021-12-10 2024-05-17 鹏城实验室 Image data processing method and device, intelligent terminal and storage medium
CN114513552B (en) * 2022-01-06 2024-04-02 中信百信银行股份有限公司 Data processing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1370368A (en) * 1999-08-20 2002-09-18 艾利森电话股份有限公司 Service parameter interworking method
CN1689303A (en) * 2002-08-20 2005-10-26 西门子公司 Bearer connection signaling in a distributed architecture
US7139270B1 (en) * 2000-08-22 2006-11-21 Lucent Technologies Inc. Systems and method for transporting multiple protocol formats in a lightwave communication network
CN101087276A (en) * 2006-06-07 2007-12-12 华为技术有限公司 Message conversion method in media gateway and media gateway
CN101222515A (en) * 2007-01-12 2008-07-16 英华达(南京)科技有限公司 Data transition method and data transmission system between different communication networks
CN101645887A (en) * 2009-04-23 2010-02-10 中国科学院声学研究所 Protocol conversion module and inter-network calling method between IMS network and family network
CN102238164A (en) * 2011-01-18 2011-11-09 北京中京创原通信技术有限公司 Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device
CN102624621A (en) * 2012-03-11 2012-08-01 上海宜云物联科技有限公司 Heterogeneous network adaptive data communication method and sensor network multi-protocol gateway
CN102917080A (en) * 2012-09-21 2013-02-06 中国科学院声学研究所 Mapping-table based application layer data relay transmission method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100490422C (en) * 2003-01-27 2009-05-20 Rmi公司 Method and device for the classification and redirection of data packets in a heterogeneous network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1370368A (en) * 1999-08-20 2002-09-18 艾利森电话股份有限公司 Service parameter interworking method
US7139270B1 (en) * 2000-08-22 2006-11-21 Lucent Technologies Inc. Systems and method for transporting multiple protocol formats in a lightwave communication network
CN1689303A (en) * 2002-08-20 2005-10-26 西门子公司 Bearer connection signaling in a distributed architecture
CN101087276A (en) * 2006-06-07 2007-12-12 华为技术有限公司 Message conversion method in media gateway and media gateway
CN101222515A (en) * 2007-01-12 2008-07-16 英华达(南京)科技有限公司 Data transition method and data transmission system between different communication networks
CN101645887A (en) * 2009-04-23 2010-02-10 中国科学院声学研究所 Protocol conversion module and inter-network calling method between IMS network and family network
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device
CN102238164A (en) * 2011-01-18 2011-11-09 北京中京创原通信技术有限公司 Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method
CN102624621A (en) * 2012-03-11 2012-08-01 上海宜云物联科技有限公司 Heterogeneous network adaptive data communication method and sensor network multi-protocol gateway
CN102917080A (en) * 2012-09-21 2013-02-06 中国科学院声学研究所 Mapping-table based application layer data relay transmission method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《工业控制网络协议与 IPv6 协议的一种转换方法》;万锋等;《计算机工程与设计》;20070831;第3873-3879页 *

Also Published As

Publication number Publication date
CN104639507A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104639507B (en) A kind of bearing protocol packet data transmission method and system between heterogeneous network
RU2614856C2 (en) Method and device for treatment of names and packages of transparent bridging of multiple channels (trill)
CN102480462B (en) Universal protocol adapting method and device
WO2016054992A1 (en) Network data collection system and method
CN104885431A (en) Content based traffic engineering in software defined information centric networks
US10164910B2 (en) Method and apparatus for an information-centric MAC layer
US9319241B2 (en) Flow-based packet transport device and packet management method thereof
CN104012063A (en) Controller for flexible and extensible flow processing in software-defined networks
CN101986648A (en) Negotiation method, device and network device of TCP option
CN101502065A (en) Methods for providing quality of service by applying back-pressure in sequencing
CN110191066A (en) A kind of method, equipment and the system of determining maximum transmission unit PMTU
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
US10165092B2 (en) Using a network service header to manage a network-as-a-system
CN107508828B (en) A kind of very-long-range data interaction system and method
CN106411842A (en) Transferring state in content centric network stacks
CN109194914B (en) Method and device for processing equipment information
CN110474951A (en) A kind of fingerprint collecting method and view networked server
Shahri et al. Enhancing mqtt with real-time and reliable communication services
CN101635717B (en) Processing method and processing system of novel component-based network protocol
CN110493149A (en) A kind of method and apparatus of Message processing
CN101163106B (en) Method of executing combined service in wireless self-organizing network
US20110051730A1 (en) Multi-layer data processing apparatus and method thereof
CN102035725B (en) Relevant technology system for one-way flow uniform resource identifier (URI) under asymmetric routing and method thereof
KR20210078074A (en) Apparatus and method for networking by using latent vector
CN105871733A (en) Method, device and system for processing user data packet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210803

Address after: Room 1601, 16th floor, East Tower, Ximei building, No. 6, Changchun Road, high tech Industrial Development Zone, Zhengzhou, Henan 450001

Patentee after: Zhengzhou xinrand Network Technology Co.,Ltd.

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

TR01 Transfer of patent right