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
bearing protocol
bearing
protocol message
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

A kind of bearing protocol packet data transmission method and system between heterogeneous network
Technical field
The present invention relates to network technique field, it is related specifically in future network environment that there are different in the case of various protocols The method for transmitting bearing protocol message equivalent mappings.
Background technology
In future network field, researchers carry out the exploration of various modes, from the network architecture, agreement and mechanism side In terms of face, and Network Transfer Media, each state has all put into huge energy and financial resources.At present in terms of network system research, The U.S. is in FIA(Future Internet Architecture)NDN is supported in the works(Named Data Networking)、 MobilityFirst、NEBULA、XIA(eXpressive Internet Architecture), emphasis respectively is interior Appearance, mobility, data center network and safety.European Union deploys Euro-NGI projects, AMBIENT projects and FIRE projects.Day This AKIRI(Dawn)The NWGN of plan, emphasis are energy saving, build all-optical network, while explore the new network system, propose 5 kinds For the subsystem of different scenes.
China deploys " IP-based can evolvement network architecture ", " integrated network in the exploration of the network system With Pervasive Service system ", the IP network of pipe " measurable and controllable can ", " service-oriented Future Internet architecture ", " restructural The State Projects such as information communication infrastructure network system ", in addition domestic scholars it is also proposed " based on interactive Network Service System Structure ", " the credible controllable network based on 4D networks control framework " etc..Chinese Academy of Sciences strategy guide special project is " towards in perception The generation information technology of state " also deploys the related exploratory development of future network system.
Currently, it is not yet clear which kind of network architecture can obtain final victory on earth.Thus, it is intended that considerably long The parallel operation of multiple network system is certainly existed in a period of time, these networks cannot exist in isolation, real between each other Now interconnect, therefore how to solve the problems, such as that the high efficiency of transmission based on the message between various different transmission bearing protocols just becomes Technical problem urgently to be resolved hurrily.
The content of the invention
It is an object of the present invention to overcome drawbacks described above, the present invention provides the bearing protocol report between a kind of heterogeneous network Literary data transmission method and system.
To achieve the above object, the present invention provides a kind of bearing protocol packet data transmission method between heterogeneous network, It is that can be passed in the second bearer network that the method, which is used for the directly processing of all message datas for coming from the first bearer network, Defeated message data, the method include:
Step 101)For receiving the bearing protocol message data from first network, i.e. the first bearing protocol message;And Each original field of first bearing protocol message data is converted to the carrying of the second network according to switching strategy set in advance Protocol massages, and the bearing protocol message for the second network being converted to referred to as the second bearing protocol message;
Wherein, the switching strategy set in advance is:
It will be established between each original field of first bearing protocol message and each original field of the second bearing protocol message Mapping relations, and the extension of each original field is carried out to the first bearing protocol and the second bearing protocol according to the unified form of setting Specification describes, and extension specification description is used for field location, offset and the length attribute for describing bearing protocol;Biography need to be established at the same time The pipeline of defeated passage collection of equal value, the collection of equal value of the pipeline based on foundation determine the second bearing protocol message and the first bearing protocol message The mapping relations or value of field;
Step 102)Second bearing protocol message data is transmitted to the second bearer network.
For the first bearing protocol and the second bearing protocol, the switching strategy set in advance further includes:
Step 201)Each original field that first bearing protocol message and the second bearing protocol message are included is according to definition Unified form be extended respectively specification description, the corresponding specification five-tuple of each original field is obtained, wherein the unification Specifically included in form:Field name, field length, position, offset and implication;
Wherein, the position refers to the location of field in message specification and numbers, and No. 1 position is represented with position 0, The position incremented by successively 1 of follow-up field;
The offset refer to before this field the length of all fields and, in units of position;
Step 202)Searched and each original field of the first bearing protocol message in the second original field of bearing protocol message The identical field of implication, and establish the mapping relations between two identical original fields of bearing protocol message implication, and then Corresponding mapping item, all mappings are established between the identical original field of all implications in two bearing protocol messages List item forms corresponding table item collection;
Step 203)Transmission channel is sorted out in requirement according to the first bearer network and the index optimization of the second bearer network Into logical pipe, pipeline collection of equal value refers to the set of the logical pipe equivalence relation of the corresponding transmission channel of two kinds of bearing protocols.
Above-mentioned steps 202)It is middle establish mapping item concentration each mapping item when, further include following strategy:
When the length of the original field of the first bearing protocol message corresponds to original field less than the second bearing protocol message During length, the definition of each mapping item is transported for the transformation operator directly by the original field foundation setting of the first bearing protocol Calculate, the operation result of gained fills the second bearing protocol message and corresponds to original field;
When the length of the original field of the first bearing protocol message corresponds to original field equal to the second bearing protocol message During length, the definition of the mapping item is " the first original field of bearing protocol messageSecond bearing protocol corresponds to original word Section ";
When the length of the original field of the first bearing protocol message corresponds to original field more than the second bearing protocol message During length, the definition of the mapping item for "(Hash (the original field of the first bearing protocol message), the second bearing protocol report The corresponding original field of text)", the value that the second bearing protocol message corresponds to original field is assisted according to the first bearing protocol and the second carrying The semanteme of view is determined, and wherein hash is hash function.
Above-mentioned steps 203)Further include:
203-1)Transmission channel is classified into logical pipe, the service quality according to Service Quality Metrics and safety index Index includes:Do one's best, to postpone most short and handling capacity maximum;Safety index refers to the safe class needed for data transfer;
203-2)By the logical pipe equivalence relation collection of the first bearing protocol and the corresponding transmission channel of the second bearing protocol Conjunction forms logical pipe collection of equal value;
Wherein, when forming logical pipe equivalence collection, the first bearing protocol message and the second bearing protocol message are each The method for building up of the mapping relations of original field is as follows:
(1)When the original field of the first bearing protocol splits into the second bearing protocol corresponding positions in several original fields or is In second bearing protocol during the part of certain field, the method for processing is the corresponding positions to the original field of the first bearing protocol With corresponding mask operation, and by acquired results carry out the second bearing protocol in field corresponding positions shifting function, with second carrying Agreement original field carries out or operation, replaces the second bearing protocol original field, wherein the original field of the first bearing protocol corresponds to second Several fields are just operated several times in bearing protocol;
(2)Second bearing protocol field wants root at this time without the transformational relation of corresponding field or position in the first bearing protocol Default value setting is carried out to the second bearing protocol field according to the property of pipeline collection of equal value.
Above-mentioned steps 101)Further include:
Step 104-1)Pipeline collection of equal value is determined according to specific field in the first bearing protocol message;
Step 104-2)The first bearing protocol message is scanned, sequentially extracts each original field, is obtained with scanning each original Field is respectively keyword according to correspondence list item, field specification five-tuple set and the logical pipe collection of equal value established, completion word Conversion of the section to the second bearing protocol message corresponding field, is stored in the second bearing protocol message by the result obtained after conversion and delays Rush area;
Step 104-3)When the second bearing protocol message certain original field in the first bearing protocol message without corresponding former During beginning field, the field in the second bearing protocol message buffer is filled using the default value of setting;
Step 104-4)The CRC validation operation needed for the second bearing protocol is completed, fills respective field, will be in message buffering The message data in area is transmitted to the second bearer network.
Based on the above method, present invention also offers the bearing protocol packet data transmission system between a kind of heterogeneous network, The system includes:
Bearing protocol preconditioning subsystem, for carrying out the pretreatment of two kinds of different bearer agreements, including pipeline etc. Valency collection establishes module, protocol massages field corresponding relation building module, protocol massages field specification module;
First bearer network subsystem, is used for transmission the first bearing protocol message data;
Network carrying message transform subsystem, for the first bearing protocol message data to be converted to the second bearing protocol report The form of message data as defined in text and output;
Second bearer network subsystem, is used for transmission the message data of network carrying message transform subsystem output.
Above-mentioned network carrying message transform subsystem further includes:Input module, first processing module, second processing mould Block, the 3rd processing module, composite module and output module;
The input module, the first bearing protocol message data sent for receiving the first bearer network subsystem;
The first processing module, the data content for some original field according to the first bearing protocol message determine Pipeline collection type of equal value;
Wherein, pipeline collection of equal value is established module by pipeline collection of equal value and is determined;
The Second processing module, for according to the first bearing protocol message and the second bearing protocol message pre-established Corresponding table item collection between each original field, by each field of the first bearing protocol message data and the second bearing protocol message In respective field mapped, complete the second some fields of bearing protocol message assignment;
Wherein, the corresponding table item collection set in advance is obtained by protocol massages field corresponding relation building module, the association Field specification five-tuple of the message field (MFLD) corresponding relation building module again according to the output of protocol massages field specification module is discussed to establish All corresponding list items;
3rd processing module, the field number for being included when the second bearing protocol message are more than the first bearing protocol When the field that message includes is total, the pipeline collection type set of equal value determined according to first processing module lacks the field of mapping Value, and then complete conversion of the first bearing protocol message data to the second bearing protocol message data;
The composite module, for each field according to Second processing module output and the field of the 3rd processing module output Spliced, and then obtain the second bearing protocol message data;
The output module, for the obtain second bearing protocol message data to be transmitted to the second bearer network
Above-mentioned protocol massages field specification module, for the protocol specification of each bearing protocol of input or standard criterion to be adopted Specification is extended with the unified form of definition to describe, and then obtains the corresponding field specification of each original field of each bearing protocol Five-tuple, and each field specification five-tuple is exported, the form of the field specification five-tuple is:Field name, field length, position Put, deviate, implication;
Wherein,
The field name is described to obtain by each bearing protocol specification;
The field length is in units of position;
The position refers to the field in each protocol massages specification and is in which number position, and No. 1 position is with 0 table of position Show, the position incremented by successively 1 of follow-up field;
It is described offset be before this field the length of all fields and, in units of position;
The implication refers to the text string represented in a manner of human-readable, can be sky;
Each bearing protocol includes the first bearing protocol and the second bearing protocol.
Above-mentioned protocol massages field corresponding relation building module refers to according to the first bearing protocol and the second bearing protocol specification The one-to-one relationship of fixed each field of first bearing protocol and each field of second protocol, and carry out polishing operation to lacking field.
Above-mentioned polishing operation realizes that the polishing submodule is further included using the polishing submodule based on field length:
First processing submodule, is less than the second bearing protocol message for the field P1 length when the first bearing protocol message The length of field P2, the method for processing are that each field P1 of the first bearing protocol is directly carried out to the computing of transformation operator, and then Obtain the field P2 with the second bearing protocol message;
Second processing submodule, for being more than the length of field P2 when the length of the first bearing protocol message field (MFLD) P1, this When need to set additional mappings table, try to achieve the cryptographic Hash of the first bearing protocol message field (MFLD) P1, its form is(Hash (fields P1), field P2), the value of the second bearing protocol message field (MFLD) P2 is determined according to the semanteme of agreement P1 and agreement P2.
Compared with current method, the present invention has following advantages:(1)Protocol massages field specification method, protocol massages Field correspondence method for building up, pipeline collection method for building up of equal value can be directed to different agreement to being determined and optimizing, can dynamic Adjustment;(2)Protocol massages data automatic switching method can Hardware progress performance optimization.In short, the present invention provides a kind of difference The method for transmitting bearing protocol message equivalent mappings, this method have established different type transmission bearing protocol message automatic conversion Basis, reduces development when there are different transmission bearing protocols.In addition, according to transmission bearing protocol utility strategies, number The optimization of index of correlation, such as handling capacity maximum, the minimum, safety of delay etc. are all will allow for according to the transmission of message.Therefore we Regard the weighing criteria of same type under different transmission bearing protocols as pipeline, can thus carry out the division of pipeline collection of equal value.
Brief description of the drawings
Fig. 1 present invention provides the method composition figure for the different transmission bearing protocol message equivalent mappings come;
Fig. 2 application scenarios schematic diagrams provided by the invention;
The the first bearing protocol message data and the automatic conversion side of the second bearing protocol message data that Fig. 3 present invention uses Method flow chart.
Embodiment
The method of the invention is described in detail with reference to the accompanying drawings and examples.
A kind of method of different transmission bearing protocol message equivalent mappings of the present invention, including:Protocol massages field specification Method, protocol massages field correspondence method for building up, pipeline collection method for building up of equal value and protocol massages data automatic conversion side Method.This method is related to following physical entity:Gateway(Router)The physical network of transmission bearing protocols different with operation, by gateway These network connections are got up.
Wherein protocol massages field specification method is referred to each original field for including agreement and is carried out using the method for formalization Standardization description, is described as such form:Field name, field length(In units of position), position, offset, implication.Wherein word Section name, field length are all that implication is self-evident, are not added with explaining here;Wherein position refers to which the field in message specification is in Number position, No. 1 position represent with position 0, the position incremented by successively 1 of follow-up field;Wherein offset is that own before this field The length of field and, in units of position, the field is primarily to facilitate the positioning of subsequent processes;Wherein refer to can with the mankind for implication The text string that read mode represents, can be sky.The input of this method is protocol specification, can be standard criterion or use Family is customized(For example carry out agreement experiment);Output is(Field name, field length, position, offset, implication)Five-tuple collection, Every kind of transport protocol carries out standardization statement by a five-tuple collection, can be described using XML.
Wherein protocol massages field correspondence method for building up refers to the foundation of two kinds of transmission each original interfields of bearing protocol Paired relation(pairs)(That is one-one relationship)Method, paired relation here refers to a field pair in a kind of agreement Can should be identical in a field in another agreement, the two fields, there may also be certain functional relation, example Pass through conversion such as a field or add certain bits code and form another field.Paired relation can be expressed as(Field P1, field P2, transformation operator), wherein field P1 refers to the field for belonging to agreement P1, and field P2 refers to the field for belonging to agreement P2, field P1 and word Section P2 is the field name in corresponding agreement respectively.Here there will be two kinds of situations:(1)The length of field P1 is less than the length of field P2 Degree, the method for processing are that field P1 is directly carried out to the computing of transformation operator, acquired results filling field P2;(2)Field The length of P1 is more than the length of field P2, needs to set additional mappings table at this time, its form is(Hash (field P1), field P2), the value of field P2 is determined according to the semanteme of agreement P1 and agreement P2.Be created as it is to relation the result is that(Field P1, word Section P2, transformation operator)Collection.Be created as to after relation, it is understood that there may be field be not present correspondence situation, such case by Pipeline collection method for building up processing of equal value.
Wherein pipeline collection method for building up of equal value refers to the in-mind anticipation according to Protocol Design personnel(Such as do one's best, postpone most It is short, handling capacity is maximum etc.)Transmission channel is classified into logical pipe, it is logical that pipeline collection of equal value refers to the corresponding transmission of two kinds of bearing protocols The logical pipe equivalence relation set in road.The objective basis that logical pipe collection of equal value is established is ToS present in protocol header(Clothes Service type, defined in IPv4)、Flow Label(Stream label, defined in IPv6);Logical pipe collection of equal value can also be manually specified, By this method, the relation established in protocol massages field correspondence method for building up can be reassigned, and word wherein In the case of there is sky in section P1, specific field P2 values, while processing field P1, the many-to-many relationship of field P2.Here occur as Lower two kinds of situations:(1)Field P1 splits into agreement P2 corresponding positions or the composition for certain field in agreement P2 in several fields Part, the method for processing is corresponding positions and corresponding mask operation to field P1, and acquired results are carried out field in agreement P2 The shifting function of corresponding positions, carries out or operates with P2 originals field, replaces P2 original fields.Field P1 corresponds to several fields in agreement P2 With regard to being operated several times;(2)Field P2 does not have the transformational relation of corresponding field or position in agreement P1, of equal value according to pipeline at this time The property of collection carries out default value setting to field P2.
Wherein protocol massages data automatic switching method refers to is converted to another kind by one kind transmission bearing protocol message data Bearing protocol message data is transmitted, its process is as follows:(1)Determined according to specific field in the first transmission bearing protocol message Pipeline collection of equal value;(2)The paired relation established according to protocol massages field correspondence(Field P1, field P2, transformation operator) What collection, the five-tuple collection of protocol massages field specification method and pipeline collection of equal value determined(Field P1, deviates P2, transformation operator) Collection, scans the first transmission bearing protocol field for one time, and completes to convert, and the result obtained after conversion is stored in second of biography Transmission bearing protocol massages buffering area;(3)According to pipeline concentration field P2 of equal value in the first transmission bearing protocol without corresponding field Situation, i.e.,(Default value, field P2)The field P2 being sequentially filled in second of transmission bearing protocol message buffer;(4)It is complete Into verification operations such as the CRC needed for second of transmission bearing protocol, respective field is filled.At this time in the message number of message buffer According to can be transmitted.
Embodiment
1, attached drawing 2 and attached drawing 3 illustrate the method for different transmission bearing protocol message equivalent mappings below in conjunction with the accompanying drawings.Such as figure It is different transmission bearing protocol message equivalent mappings method composition figures, wherein protocol massages field specification method is base shown in 1 Plinth, could use protocol massages field correspondence method for building up, pipeline collection the method for building up of equal value biography different to two kinds accordingly Transmission bearing agreement is handled;On the basis of three kinds of methods above, the specific conversion of two kinds of transmission bearing protocol messages is carried out During processing, as shown in Fig. 2, carrying out message automatic conversion operation using protocol massages data automatic switching method.
With reference to the situation of Fig. 2, network A and network B are heterogeneous networks, are carried out using different transmission bearing protocol PA and PB Transmission.It is assumed that the message format of PA is(fa1,fa2,fa3,fa4), wherein bearing protocol PA includes fa1, fa2, fa3 and fa4 and is total to 4 original fields;The message format of PB is(fb1,fb2,fb3,fb4,fb5), wherein bearing protocol PB includes fb1, fb2, Fb3, fb4, fb5 totally 5 original field.According to the method for normalizing processing of the original field of previously described protocol massages, PA is obtained Five-tuple collection { (fa1,8,0,0, text description), (fa2,8,1,1, text description) ... }, the five-tuple collection of PB (fb1, 16,0,0, text description), (fb2,16,1,1, text description) ..., wherein it is assumed that each field of PA agreements(That is, field Fa1, field fa2, field fa3, field fa4)Length is 1 byte, each field of PB agreements(That is, field fb1, field Fb2, field fb3, field fb4, field fb5)Length is 2 bytes;
It is assumed that according to PA, PB protocol massages field, correspondence fa1 is obtainedfb1、fa2fb2、fa3fb4、fa4Fb3, and fb5 does not have corresponding field to correspond to;It can specifically be carried out according to the concrete meaning of each field of different agreement message pair Should, correspondence is established between two similar fields of implication, such as it between the field for representing destination-address is a pair of to be all.
It is assumed that PA agreements are supported do one's best, postpone most short service type(Specific type may be referred to certain of the agreement A field obtains), PB agreements support real time service, handling capacity maximum service type, will do one's best accordingly and handling capacity is maximum Pipeline collection 1 of equal value is classified as, most short and real time service will be postponed and be classified as pipeline collection 2 of equal value.Fb5 do not have field to it is corresponding when if Pipeline is of equal value to collect 1, then fb5 defaults to 20;Collect 2 if pipeline is of equal value, then fb5 defaults to 30.
Above step is processed offline.
An in FIG. 2, it is assumed that message Packet in network A(“ABCD”)It is transmitted at gateway/router, is sent to net Network B.
With reference to Fig. 3, the conversion process of progress message Packet.
It is assumed that from field fa1(“A”)It is middle to judge that pipeline equivalence integrates as pipeline collection 1 of equal value;According to correspondence(fa1 fb1、fa2fb2、fa3fb4、fa4fb3), be converted to " 0A0B0D0C "(Wherein, the preceding byte of A, B, C and D are supplemented 0 is the processing mode according to as defined in PB messages corresponding bearing protocol, i.e., the length of field P1 is less than the length of field P2, processing Method be directly by field P1 carry out transformation operator computing, acquired results filling field P2, the transformation operator at this For in the zero padding of vacancy position);According to pipeline collection 1 of equal value, it is 20 to obtain fb5, then the message obtained is " 0A0B0D0C20 ".If association View PB is needed if doing follow-up similar CRC processing, then carries out subsequent treatment, otherwise final message is " 0A0B0D0C20 ", so that it may Transmitted in network B.
Illustrate that the other guide in document is directed to the those of ordinary skill in this professional domain, can carry out technology realization, Which is not described herein again.
It should be noted last that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted.Although ginseng The present invention is described in detail according to embodiment, it will be understood by those of ordinary skill in the art that, to the technical side of the present invention Case technical scheme is modified or replaced equivalently, without departure from the spirit and scope of technical solution of the present invention, it should all cover in the present invention Right among.

Claims (7)

1. a kind of bearing protocol packet data transmission method between heterogeneous network, the method is used to come from first by all and hold The message data of contained network network directly handles the message data for that can be transmitted in the second bearer network, and the method includes:
Step 101) is used to receive the bearing protocol message data from first network, i.e. the first bearing protocol message;And foundation Each original field of first bearing protocol message data is converted to the bearing protocol of the second network by switching strategy set in advance The respective field or content of message, and the bearing protocol message for the second network being converted to referred to as the second bearing protocol message;
Wherein, the switching strategy set in advance is:
Mapping will be established between each original field of first bearing protocol message and each original field of the second bearing protocol message Relation, and the extension specification of each original field is carried out to the first bearing protocol and the second bearing protocol according to the unified form of setting Description, extension specification description are used for field location, offset and the length attribute for describing bearing protocol;It is logical that transmission need to be established at the same time The pipeline in road collection of equal value, the collection of equal value of the pipeline based on foundation determine that the second bearing protocol message and the first bearing protocol message are corresponding Field correspondence or value;
Second bearing protocol message data is transmitted by step 102) to the second bearer network;
For the first bearing protocol and the second bearing protocol, the switching strategy set in advance further includes:
System of each original field that step 201) includes the first bearing protocol message and the second bearing protocol message according to definition One form is extended specification description respectively, obtains the corresponding specification five-tuple of each original field, wherein the unified form In specifically include:Field name, field length, position, offset and implication;
Wherein, the position refers to the location of field in message specification and numbers, and No. 1 position is represented with position 0, subsequently The position incremented by successively 1 of field;
The offset refer to before this field the length of all fields and, in units of position;
Step 202) is searched in the second original field of bearing protocol message to be contained with first each original field of bearing protocol message The identical field of justice, and the mapping relations between two identical original fields of bearing protocol message implication are established, and then be two Corresponding mapping item, all mapping items are established between the identical original field of all implications in a bearing protocol message Form corresponding table item collection;
Transmission channel is classified into and patrols by step 203) according to the requirement of the first bearer network and the index optimization of the second bearer network Pipeline is collected, pipeline collection of equal value refers to the set of the logical pipe equivalence relation of the corresponding transmission channel of two kinds of bearing protocols;
The step 203) further includes:
Transmission channel 203-1) is classified into logical pipe, the Service Quality Metrics according to Service Quality Metrics and safety index Including but not limited to:Do one's best, to postpone most short and handling capacity maximum;Safety index refers to the safe class needed for data transfer;
203-2) by the first bearing protocol and the logical pipe equivalence relation set shape of the corresponding transmission channel of the second bearing protocol Collect into pipeline is of equal value;
Wherein, when forming pipeline equivalence collection, the first bearing protocol message and each original field of the second bearing protocol message Mapping relations method for building up it is as follows:
(1) when the original field of the first bearing protocol splits into the second bearing protocol in several original fields corresponding positions or for second In bearing protocol during the part of certain field, the method for processing be to the corresponding positions of the original field of the first bearing protocol with it is right Mask operation is answered, and acquired results are carried out to the shifting function of field corresponding positions in the second bearing protocol, with the second bearing protocol Former field carries out or operation, replaces the second bearing protocol original field, wherein the original field of the first bearing protocol corresponds to the second carrying Several fields are just operated several times in agreement;
(2) second bearing protocol fields, at this time will be according to pipe without the transformational relation of corresponding field or position in the first bearing protocol The property of road collection of equal value carries out default value setting to the second bearing protocol field.
2. the bearing protocol packet data transmission method between heterogeneous network according to claim 1, it is characterised in that described When each mapping item of mapping item concentration is established in step 202), following strategy is further included:
The length of original field is corresponded to when the length of the original field of the first bearing protocol message is less than the second bearing protocol message When, the definition of each mapping item carries out computing for the transformation operator directly by the original field foundation setting of the first bearing protocol, The operation result of gained fills the second bearing protocol message and corresponds to original field;
The length of original field is corresponded to when the length of the original field of the first bearing protocol message is equal to the second bearing protocol message When, the definition of the mapping item is:
The length of original field is corresponded to when the length of the original field of the first bearing protocol message is more than the second bearing protocol message When, the definition of the mapping item is " (hash (the original field of the first bearing protocol message), the second bearing protocol message pair Answer original field) ", the second bearing protocol message corresponds to the value of original field according to the first bearing protocol and the second bearing protocol Semanteme is determined, and wherein hash is hash function.
3. the bearing protocol packet data transmission method between heterogeneous network according to claim 1, it is characterised in that described Step 101) further includes:
Step 104-1) according to specifically field determines pipeline collection of equal value in the first bearing protocol message;
Step 104-2) the first bearing protocol message of scanning, sequentially extracts each original field, to scan obtained each original field Respectively keyword completes field to second according to correspondence list item, field specification five-tuple set and the pipeline collection of equal value established The conversion of bearing protocol message corresponding field, the second bearing protocol message buffer is stored in by the result obtained after conversion;
Step 104-3) when the second bearing protocol message certain original field in the first bearing protocol message without corresponding original word Duan Shi, the field in the second bearing protocol message buffer is filled using the default value of setting;
Step 104-4) complete the second bearing protocol needed for CRC validation operation, fill respective field, by message buffer Message data is transmitted to the second bearer network.
4. the bearing protocol packet data transmission system between a kind of heterogeneous network, it is characterised in that the system includes:
Bearing protocol preconditioning subsystem, for carrying out the pretreatment of two kinds of different bearer agreements, including pipeline collection of equal value Establish module, protocol massages field corresponding relation building module, protocol massages field specification module;
First bearer network subsystem, is used for transmission the first bearing protocol message data;
Network carrying message transform subsystem, for the first bearing protocol message data to be converted to the second bearing protocol message rule The form of fixed message data and output;
Second bearer network subsystem, is used for transmission the message data of network carrying message transform subsystem output;
The network carrying message transform subsystem further includes:Input module, first processing module, Second processing module, 3rd processing module, composite module and output module;
The input module, the first bearing protocol message data sent for receiving the first bearer network subsystem;
The first processing module, the data content for some original field according to the first bearing protocol message determine pipeline Equivalence collection type;
Wherein, pipeline collection of equal value is established module by pipeline collection of equal value and is determined;
The Second processing module, for according to the first bearing protocol message and second each original of bearing protocol message pre-established Corresponding table item collection between beginning field, by each field of the first bearing protocol message data and the second bearing protocol message Respective field is mapped, and completes the assignment of the second some fields of bearing protocol message;
Wherein, corresponding table item collection set in advance is obtained by protocol massages field corresponding relation building module, the protocol massages word Field specification five-tuple of the section corresponding relation building module again according to the output of protocol massages field specification module establishes all correspondences List item;
3rd processing module, the field number for being included when the second bearing protocol message are more than the first bearing protocol message Comprising field it is total when, the pipeline collection type set of equal value determined according to first processing module lacks taking for the field of mapping Value, and then complete conversion of the first bearing protocol message data to the second bearing protocol message data;
The composite module, the field for each field according to Second processing module output and the output of the 3rd processing module carry out Splicing, and then obtain the second bearing protocol message data;
The output module, for the obtain second bearing protocol message data to be transmitted to the second bearer network.
5. bearing protocol packet data transmission system according to claim 4, it is characterised in that the protocol massages field Specification module, for the protocol specification of each bearing protocol of input or standard criterion to be extended using the unified form of definition Specification describes, and then obtains the corresponding field specification five-tuple of each original field of each bearing protocol, and exports each field rule Model five-tuple, the form of the field specification five-tuple are:Field name, field length, position, offset, implication;
Wherein,
The field name is described to obtain by each bearing protocol specification;
The field length is in units of position;
The position refers to which number position is the field in each protocol massages specification be in, and No. 1 position is represented with position 0, after The position incremented by successively 1 of continuous field;
It is described offset be before this field the length of all fields and, in units of position;
The implication refers to the text string represented in a manner of human-readable, can be sky;
Each bearing protocol includes the first bearing protocol and the second bearing protocol.
6. bearing protocol packet data transmission system according to claim 4, it is characterised in that the protocol massages field Corresponding relation building module specifies each field of the first bearing protocol and the according to the first bearing protocol and the second bearing protocol specification The one-to-one relationship of each field of two agreements, and carry out polishing operation to lacking field.
7. bearing protocol packet data transmission system according to claim 6, it is characterised in that the polishing operation uses Polishing submodule based on field length realizes that the polishing submodule further includes:
First processing submodule, is less than the second bearing protocol message field (MFLD) for the field P1 length when the first bearing protocol message The length of P2, the method for processing is that each field P1 of the first bearing protocol is directly carried out to the computing of transformation operator, and then is obtained With the field P2 of the second bearing protocol message;
Second processing submodule, for being more than the length of field P2 when the length of the first bearing protocol message field (MFLD) P1, needs at this time Additional mappings table is set, tries to achieve the cryptographic Hash of the first bearing protocol message field (MFLD) P1, its form is (hash (field P1), word Section P2), the value of the second bearing protocol message field (MFLD) P2 is determined according to the semanteme of agreement P1 and agreement 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
EP1588530A2 (en) * 2003-01-27 2005-10-26 Raza Microelectronics, Inc. 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
CN110933146B (en) Data conversion method and device and server
CN106559251B (en) A kind of Compilation Method and corresponding interface, component and system based on YANG model
CN106533886B (en) Full-interconnection manufacturing network architecture based on IPv6 protocol and management method
CN101141419B (en) Heterogeneous network protocol based communication method between digital household appliances
CN103873356B (en) Application and identification method, system and home gateway based on home gateway
CN102111822B (en) Internet of things (IOT) method based on cognitive technology
CN103647706A (en) Self-adaptation protocol communication gateway and communication platform
CN102685128B (en) A kind of protocol construction method based on state machine
Sheng et al. Video delivery in heterogenous crans: architectures and strategies
CN108109108A (en) A kind of image split-joint method and device based on cosine similarity adaptive algorithm
CN102932957A (en) Virtual reconstruction heterogeneous integrated ubiquitous network system architecture
CN111064726A (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN101159780A (en) Inter-network routing system and method of telecommunication integrated service access gateway
CN103297986B (en) Networking method for intelligent adaption wireless communication networks
CN101945087B (en) Method for realizing multiprotocol interchange and load balance based on power system isolation device
CN102332999B (en) Interaction system and interaction method of network management based on shared network address translation (NAT)
CN104283792B (en) WInternet pipelined communication protocols routing algorithms based on content
CN103457824A (en) Message processing method and device
Zhang et al. Guest editorial: Edge intelligence for beyond 5G networks
CN109803119A (en) A kind of method and apparatus of monitoring information transmission
CN108040041A (en) A kind of image difference transport protocol design system and method based on business-driven
CN105392155A (en) Virtual/real Internet gateway suitable for mobile network system simulation and simulation realizing method thereof
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN113766007B (en) Authentication pre-system and authentication method based on multi-source heterogeneous data analysis protocol

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