CN104639507A - Loading protocol packet data transmission method and system among heterogeneous networks - Google Patents

Loading protocol packet data transmission method and system among heterogeneous networks Download PDF

Info

Publication number
CN104639507A
CN104639507A CN201310565422.9A CN201310565422A CN104639507A CN 104639507 A CN104639507 A CN 104639507A CN 201310565422 A CN201310565422 A CN 201310565422A CN 104639507 A CN104639507 A CN 104639507A
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.)
Granted
Application number
CN201310565422.9A
Other languages
Chinese (zh)
Other versions
CN104639507B (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

Abstract

The invention provides a loading protocol packet data transmission method and system among heterogeneous networks. The method includes the steps of 101), converting fields of first loading protocol packet data into a loading protocol packet of the second network according to a preset conversion strategy, wherein the preset conversion strategy lies in that the mapping relation between original fields of a first loading protocol packet and the original fields of the second loading protocol packet is established, extended specification description of the original fields of the two loading protocol packets is performed according to set formats, and the extended specification description is used for describing field location, excursion and length attributes of loading protocols; a channel equivalent set of a transmission channel is needed to be established, and values and mapping method are determined when the number of the packet fields of the second loading protocol and the first loading protocol are different on the basis of the established channel equivalent set; 102), transmitting the second loading protocol packet data to the second loading network.

Description

Bearing protocol packet data transmission method and system between a kind of heterogeneous network
Technical field
The present invention relates to networking technology area, be related specifically in future network environment the method for different transmission bearer protocol massages equivalent mappings under there is various protocols situation.
Background technology
In future network field, researchers carry out the exploration of various mode, from the network architecture, agreement and machine-processed aspect, and Network Transfer Media aspect, each state has all dropped into huge energy and financial resources.At present in network system research, the U.S. is at FIA(Future Internet Architecture) support NDN(Named Data Networking in the works), MobilityFirst, NEBULA, XIA(eXpressive Internet Architecture), point other emphasis is content, mobility, data center network and safety.European Union deploys Euro-NGI project, AMBIENT project and FIRE project.Japan's AKIRI(dawn) NWGN that plans, emphasis is energy-conservation, builds all-optical network, explores the new network system simultaneously, propose 5 kinds of subsystems for different scene.
China is in the exploration of the network system, deploy the State Project such as " IP-based can evolvement network architecture ", " integrated network and Pervasive Service system ", the IP network of pipe " measurable and controllable can ", " service-oriented Future Internet architecture ", " restructural information communication basic network system ", domestic scholars it is also proposed " network service architecture based on mutual ", " the credible controllable network based on 4D network control framework " etc. in addition.Chinese Academy of Sciences's strategy guide's special project " the generation information technology towards perception China " also deploys the relevant exploratory development of future network system.
Currently, not clear which kind of network architecture on earth can obtain final victory.Therefore it is expected to, certainly exist the parallel running of multiple network system for a comparatively long period of time, these networks can not exist isolatedly, will realize each other interconnecting, the high efficiency of transmission problem of the message between therefore how solving based on various different transmission bearer agreement just becomes technical problem urgently to be resolved hurrily.
Summary of the invention
The object of the invention is to, for overcoming above-mentioned defect, the invention provides the bearing protocol packet data transmission method and system between a kind of heterogeneous network.
For achieving the above object, the invention provides a kind of bearing protocol packet data transmission method between heterogeneous network, described method is used for all message datas coming from the first bearer network being directly treated to the message data that can transmit at the second bearer network, and described method comprises:
Step 101) for receiving the bearing protocol message data from first network, i.e. the first bearing protocol message; And according to the switching strategy preset, each original field of the first bearing protocol message data is converted to the bearing protocol message of second network, and the bearing protocol message of the second network be converted to is called for short the second bearing protocol message;
Wherein, the switching strategy preset described in is:
Mapping relations are set up by between each original field of the first bearing protocol message and each original field of the second bearing protocol message, and according to the consolidation form of setting, the extension specification that the first bearing protocol and the second bearing protocol carry out each original field is described, this extension specification describes for describing the field location of bearing protocol, skew and length attribute; Need the pipeline equivalence collection setting up transmission channel simultaneously, determine mapping relations or the value of the second bearing protocol message and the first bearing protocol message field (MFLD) based on the pipeline equivalence collection set up;
Step 102) the second bearing protocol message data is sent to the second bearer network.
For the first bearing protocol and the second bearing protocol, described in the switching strategy that presets comprise further:
Step 201) each original field that the first bearing protocol message and the second bearing protocol message comprised carries out extension specification description respectively according to the consolidation form of definition, obtain the specification five-tuple that each original field is corresponding, specifically comprise in wherein said consolidation form: field name, field length, position, skew and implication;
Wherein, described position refers to the Position Number in message specification residing for this field, and No. 1 position represents with position 0, and the position of follow-up field increases progressively 1 successively;
Described skew refer to all fields before this field length and, in units of position;
Step 202) in the original field of the second bearing protocol message, search the field identical with the implication of each original field of the first bearing protocol message, and the mapping relations set up between the identical original field of two bearing protocol message implications, and then be establish corresponding mapping item between original field that all implications in two bearing protocol messages are identical, all mapping items form corresponding list item collection;
Step 203) according to the requirement of the index optimization of the first bearer network and the second bearer network, transmission channel is classified into logical pipe, pipeline equivalence collection refers to the set of the logical pipe equivalence relation of the transmission channel that two kinds of bearing protocols are corresponding.
Above-mentioned steps 202) in set up mapping item concentrate each mapping item time, comprise following strategy further:
When the length of the original field of the first bearing protocol message is less than the length of the corresponding original field of the second bearing protocol message, each mapping item is defined as and directly the original field of the first bearing protocol is carried out computing according to the transformation operator set, and the operation result of gained fills the corresponding original field of the second bearing protocol message;
When the length of the original field of the first bearing protocol message equals the length of the corresponding original field of the second bearing protocol message, " the original field of the first bearing protocol message that described mapping item is defined as the corresponding original field of second bearing protocol ";
When the length of the original field of the first bearing protocol message is greater than the length of the corresponding original field of the second bearing protocol message, described mapping item is defined as " (hash (the original field of the first bearing protocol message); the corresponding original field of the second bearing protocol message) ", the value of the corresponding original field of the second bearing protocol message is determined according to the semanteme of the first bearing protocol and the second bearing protocol, and wherein hash is hash function.
Above-mentioned steps 203) comprise further:
203-1) according to Service Quality Metrics and safety index, transmission channel is classified into logical pipe, described Service Quality Metrics comprises: do one's best, postpone the shortest and throughput is maximum; Safety index refers to the safe class needed for transfer of data;
203-2) the logical pipe equivalence relation set of the first bearing protocol and transmission channel corresponding to the second bearing protocol is formed logical pipe equivalence collection;
Wherein, when forming logical pipe equivalence collection, the method for building up of the mapping relations of described first bearing protocol message and each original field of the second bearing protocol message is as follows:
(1) when the original field of the first bearing protocol to split in the second bearing protocol corresponding positions in several original field or be the part of certain field in the second bearing protocol time, the method of process is corresponding positions to the original field of the first bearing protocol and corresponding mask operation, and acquired results is carried out the shifting function of field corresponding positions in the second bearing protocol, carry out with the former field of the second bearing protocol or operate, replace the former field of the second bearing protocol, wherein in corresponding second bearing protocol of the original field of the first bearing protocol, several field just operates several times;
(2) second bearing protocol fields do not have the transformational relation of corresponding field or position in the first bearing protocol, now will carry out default value setting according to the character of pipeline equivalence collection to the second bearing protocol field.
Above-mentioned steps 101) comprise further:
Step 104-1) according to field determination pipeline equivalence collection specific in the first bearing protocol message;
Step 104-2) scan the first bearing protocol message, order extracts each original field, keyword is respectively according to the corresponding list item set up, the set of field specification five-tuple and logical pipe equivalence collection to scan each original field obtained, complete the conversion of field to the second bearing protocol message corresponding field, the result obtained after conversion is stored in the second bearing protocol message buffer;
Step 104-3) when certain original field of the second bearing protocol message in the first bearing protocol message without corresponding original field time, adopt the default value of setting to fill this field in the second bearing protocol message buffer;
Step 104-4) complete CRC verification operation needed for the second bearing protocol, fill respective field, the message data at message buffer is sent to the second bearer network.
Based on said method, present invention also offers the bearing protocol packet data transmission system between a kind of heterogeneous network, described system comprises:
Bearing protocol preconditioning subsystem, for carrying out the preliminary treatment of two kinds of different bearer agreements, comprising pipeline equivalence collection and setting up module, protocol massages field corresponding relation building module, protocol massages field specification module;
First bearer network subsystem, for transmitting the first bearing protocol message data;
Network carrying message transform subsystem, for being converted to the form of the message data that the second bearing protocol message specifies by the first bearing protocol message data and exporting;
Second bearer network subsystem, for the message data that transmission network bearing message transform subsystem exports.
Above-mentioned network carrying message transform subsystem comprises further: input module, the first processing module, the second processing module, the 3rd processing module, composite module and output module;
Described input module, for receiving the first bearing protocol message data that the first bearer network subsystem sends;
Described first processing module, for the data content determination pipeline equivalence collection type of certain the original field according to the first bearing protocol message;
Wherein, described pipeline equivalence collection is set up module by pipeline equivalence collection and is determined;
Described second processing module, the the first bearing protocol message set up in advance for basis and the corresponding list item collection between each original field of the second bearing protocol message, respective field in each field of the first bearing protocol message data and the second bearing protocol message is mapped, completes the assignment of second some field of bearing protocol message;
Wherein, described in the corresponding list item collection that presets obtained by protocol massages field corresponding relation building module, the field specification five-tuple that this protocol massages field corresponding relation building module exports according to protocol massages field specification module again sets up all corresponding list items;
Described 3rd processing module, during for being greater than field sum that the first bearing protocol message comprises when the field number that the second bearing protocol message comprises, the pipeline equivalence collection type set determined according to the first processing module lacks the value of the field of mapping, and then completes the conversion of the first bearing protocol message data to the second bearing protocol message data;
Described composite module, splices for the field exported according to each field and the 3rd processing module of the second processing module output, and then obtains the second bearing protocol message data;
Described output module, for sending the obtain second bearing protocol message data to the second bearer network
Above-mentioned protocol massages field specification module, extension specification description is carried out for the protocol specification of each bearing protocol by input or the consolidation form of standard criterion employing definition, and then the field specification five-tuple that each original field obtaining each bearing protocol is corresponding, and exporting each field specification five-tuple, the form of described field specification five-tuple is: field name, field length, position, skew, implication;
Wherein,
Described field name is described by each bearing protocol specification and obtains;
Described field length is in units of position;
Described position refers to which number position is this field be in each protocol massages specification, and No. 1 position represents with position 0, and the position of follow-up field increases progressively 1 successively;
Described skew be all fields before this field length and, in units of position;
Described implication refers to the text string represented in human-readable mode, can be empty;
Described each bearing protocol comprises the first bearing protocol and the second bearing protocol.
Above-mentioned protocol massages field corresponding relation building module, according to the first bearing protocol and the second bearing protocol specification, is specified the one-to-one relationship of each field of the first bearing protocol and each field of second protocol, and is carried out polishing operation to lacking field.
Above-mentioned polishing operation adopts the polishing submodule based on field length to realize, and this polishing submodule comprises further:
First process submodule, for being less than the length of the second bearing protocol message field (MFLD) P2 when the field P1 length of the first bearing protocol message, the method of process directly each field P1 of the first bearing protocol is carried out the computing of transformation operator, and then obtain the field P2 with the second bearing protocol message;
Second process submodule, for being greater than the length of field P2 when the length of the first bearing protocol message field (MFLD) P1, now need to arrange additional mappings table, try to achieve the cryptographic Hash of the first bearing protocol message field (MFLD) P1, its form is (hash (field 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 corresponding relation method for building up, pipeline equivalence collection method for building up can for different agreement to determining and optimizing, and dynamic adjusts; (2) protocol massages data automatic switching method can carry out performance optimization by Hardware.In a word, the invention provides a kind of method of different transmission bearer protocol massages equivalent mappings, the method has established the basis that dissimilar transmission bearer protocol massages is changed automatically, decreases development when there is different transmission bearer agreement.In addition, according to transmission bearer protocol development theory, the transmission of data message all will consider the optimization of index of correlation, and such as throughput is maximum, it is minimum, safe etc. to postpone.Therefore we regard weighing criteria of the same type under different transmission bearer agreement as pipeline, so just can carry out the division of pipeline equivalence collection.
Accompanying drawing explanation
Fig. 1 the invention provides the method composition diagram of the different transmission bearer protocol massages equivalent mappings come;
Fig. 2 application scenarios schematic diagram provided by the invention;
The automatic switching method flow chart of the first bearing protocol message data that Fig. 3 the present invention adopts and the second bearing protocol message data.
Embodiment
Below in conjunction with drawings and Examples, the method for the invention is described in detail.
The method of a kind of different transmission bearer protocol massages equivalent mappings of the present invention, comprising: protocol massages field specification method, protocol massages field corresponding relation method for building up, pipeline equivalence collection method for building up and protocol massages data automatic switching method.The method relates to following physical entity: these networks are coupled together by gateway by gateway (router) and the physical network running different transmission bearer agreement.
Wherein protocol massages field specification method refers to that the method for each original field different forms protocol package contained is carried out standardization and described, and is described as such form: field name, field length (in units of position), position, skew, implication.Wherein field name, field length are all that implication is self-evident, do not add explanation here; Wherein position refers to which number position is this field be in message specification, and No. 1 position represents with position 0, and the position of follow-up field increases progressively 1 successively; Wherein skew be all fields before this field length and, in units of position, the location of this field mainly conveniently subsequent processes; Wherein implication refers to the text string that represents in human-readable mode, can be empty.The input of the method is protocol specification, can be standard criterion, also can be user-defined (such as carrying out agreement test); Output is (field name, field length, position, skew, implication) five-tuple collection, and often kind of host-host protocol carries out standardization by a five-tuple collection states, and XML can be adopted to be described.
Wherein protocol massages field corresponding relation method for building up refers to the method be created as relation (pairs) (i.e. one-one relationship) that two kinds of each original word of transmission bearer agreement are intersegmental, here paired relation refers to that a field in a kind of agreement corresponds to a field in another agreement, these two fields can be identical, also can there is certain functional relation, such as a field forms another field through converting or adding specific bit code.Paired relation can be expressed as (field P1, field P2, transformation operator), and wherein field P1 refers to the field belonging to agreement P1, and field P2 refers to the field belonging to agreement P2, and field P1 and field P2 is the field name in corresponding agreement respectively.Here there will be two kinds of situations: the length of (1) field P1 is less than the length of field P2, and the method for process directly field P1 is carried out the computing of transformation operator, and acquired results fills field P2; (2) length of field P1 is greater than the length of field P2, now needs to arrange additional mappings table, and its form is (hash (field P1), field P2), and the value of field P2 is determined according to the semanteme of agreement P1 and agreement P2.Being created as the result of relation is (field P1, field P2, transformation operator) collection.Be created as after relation, may there is the situation that field does not exist corresponding relation, this situation is by the process of pipeline equivalence collection method for building up.
Wherein pipeline equivalence collection method for building up refer to according to Protocol Design personnel in-mind anticipation (as do one's best, postpone the shortest, throughput is maximum) transmission channel is classified into logical pipe, pipeline equivalence collection refers to the logical pipe equivalence relation set of the transmission channel that two kinds of bearing protocols are corresponding.Logical pipe equivalence collection set up objective basis be the ToS(COS existed in protocol header, define in IPv4), Flow Label(stream label, define in IPv6); Logical pipe equivalence collection also can manually be specified, by this method, the relation set up can be reassigned in protocol massages field corresponding relation method for building up, and under empty situation appears in field P1 wherein, specific field P2 value, the simultaneously many-to-many relationship of processing field P1, field P2.Here there will be the following two kinds situation: (1) field P1 to split in agreement P2 corresponding positions or the part for certain field in agreement P2 in several field, the method of process is corresponding positions to field P1 and corresponding mask operation, and acquired results is carried out the shifting function of field corresponding positions in agreement P2, carry out with the former field of P2 or operate, replacing the former field of P2.In the corresponding agreement P2 of field P1, several field just operates several times; (2) field P2 does not have the transformational relation of corresponding field or position in agreement P1, now will carry out default value setting according to the character of pipeline equivalence collection to field P2.
Wherein protocol massages data automatic switching method refers to a kind of transmission bearer protocol massages data to be converted to another kind of transmission bearer protocol massages data, and its process is as follows: (1) is according to field determination pipeline equivalence collection specific in the first transmission bearer protocol massages; (2) according to paired relation (the field P1 that protocol massages field corresponding relation is set up, field P2, transformation operator) collection, the five-tuple collection of protocol massages field specification method and pipeline equivalence collects (the field P1 determined, skew P2, transformation operator) collection, scan the first transmission bearer protocol fields for one time, and complete conversion, the result obtained after conversion is stored in the second transmission bearer protocol massages buffering area; (3) concentrate field P2 in the situation of the first transmission bearer agreement without corresponding field according to pipeline equivalence, namely (default value, field P2) fills the field P2 in the second transmission bearer protocol massages buffering area successively; (4) complete the verification operations such as the CRC needed for the second transmission bearer agreement, fill respective field.Now just can have sent at the message data of message buffer.
Embodiment
The method of different transmission bearer protocol massages equivalent mappings is described below in conjunction with accompanying drawing 1, accompanying drawing 2 and accompanying drawing 3.As shown in Figure 1, different transmission bearer protocol massages equivalent mappings method composition diagrams, wherein protocol massages field specification method is basis, and protocol massages field corresponding relation method for building up, pipeline equivalence collection method for building up could be adopted accordingly to process two kinds of different transmission bearer agreements; On the basis of three kinds of methods above, when carrying out the concrete conversion process of two kinds of transmission bearer protocol massages, as shown in Figure 2, protocol massages data automatic switching method is adopted to carry out the automatic conversion operations of message.
The situation of composition graphs 2, network A and network B are heterogeneous networks, adopt different transmission bearer agreement PA and PB to transmit.Assuming that the message format of PA is (fa1, fa2, fa3, fa4), wherein bearing protocol PA comprises fa1, and fa2, fa3 and fa4 be totally 4 original fields; The message format of PB is (fb1, fb2, fb3, fb4, fb5), and wherein bearing protocol PB comprises fb1, and fb2, fb3, fb4, fb5 be totally 5 original fields.According to the method for normalizing process of the original field of previously described protocol massages, obtain five-tuple the collection { (fa1 of PA, 8, 0, 0, text describes), (fa2, 8, 1, 1, text describes), , five-tuple the collection { (fb1 of PB, 16, 0, 0, text describes), (fb2, 16, 1, 1, text describes), , wherein suppose each field of PA agreement (namely, field fa1, field fa2, field fa3, field fa4) length is 1 byte, each field of PB agreement (namely, field fb1, field fb2, field fb3, field fb4, field fb5) length is 2 bytes,
Assuming that according to PA, PB protocol massages field, obtain corresponding relation fa1 fb1, fa2 fb2, fa3 fb4, fa4 fb3, and fb5 does not have corresponding field corresponding; Specifically can carry out correspondence according to the concrete meaning of each field of different agreement message, between two fields that implication is similar, set up corresponding relation, be such as all represent destination-address field between be a pair.
Assuming that the support of PA agreement is done one's best, is postponed the shortest COS (concrete type can obtain with reference to certain field of this agreement), PB agreement supports real time service, throughput maximum service type, the maximum pipeline equivalence that is classified as with throughput of doing one's best accordingly collects 1, the shortest for delay and real time service is classified as pipeline equivalence collection 2.If do not have field to pipeline equivalence collection 1 during correspondence at fb5, then fb5 defaults to 20; If pipeline equivalence collection 2, then fb5 defaults to 30.
Step is above all processed offline.
In fig. 2, a message Packet(" ABCD " in hypothetical network A) be sent to gateway/router place, network B be mail to.
Composition graphs 3, carries out the conversion process of message Packet.
Assuming that from field fa1(" A ") judge that pipeline equivalence integrate and collect 1 for pipeline is of equal value; According to corresponding relation (fa1 fb1, fa2 fb2, fa3 fb4, fa4 fb3), be converted to " 0A0B0D0C " (wherein, the front byte of A, B, C and D is supplemented 0 is the processing mode that the bearing protocol corresponding according to PB message specifies, namely the length of field P1 is less than the length of field P2, the method of process directly field P1 is carried out the computing of transformation operator, acquired results fills field P2, and the transformation operator at this place is in the zero padding of vacancy position); According to pipeline equivalence collection 1, obtaining fb5 is 20, then the message obtained is " 0A0B0D0C20 ".If agreement PB needs to do follow-up similar CRC process, then carry out subsequent treatment, otherwise final message is " 0A0B0D0C20 ", just can transmit in network B.
Other guide in specification documents, for the those of ordinary skill in this professional domain, all can carry out technology realization, repeat no more here.
It should be noted last that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted.Although with reference to embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, modify to technical scheme of the present invention or equivalent replacement, do not depart from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (10)

1. the bearing protocol packet data transmission method between heterogeneous network, described method is used for all message datas coming from the first bearer network being directly treated to the message data that can transmit at the second bearer network, and described method comprises:
Step 101) for receiving the bearing protocol message data from first network, i.e. the first bearing protocol message; And according to the switching strategy preset, each original field of the first bearing protocol message data is converted to respective field or the content of the bearing protocol message of second network, and the bearing protocol message of the second network be converted to is called for short the second bearing protocol message;
Wherein, the switching strategy preset described in is:
Mapping relations are set up by between each original field of the first bearing protocol message and each original field of the second bearing protocol message, and according to the consolidation form of setting, the extension specification that the first bearing protocol and the second bearing protocol carry out each original field is described, this extension specification describes for describing the field location of bearing protocol, skew and length attribute; Need to set up the pipeline equivalence collection of transmission channel simultaneously, determine the second bearing protocol message and the corresponding field corresponding relation of the first bearing protocol message or value based on the pipeline equivalence collection set up;
Step 102) the second bearing protocol message data is sent to the second bearer network.
2. the bearing protocol packet data transmission method between heterogeneous network according to claim 1, for the first bearing protocol and the second bearing protocol, described in the switching strategy that presets comprise further:
Step 201) each original field that the first bearing protocol message and the second bearing protocol message comprised carries out extension specification description respectively according to the consolidation form of definition, obtain the specification five-tuple that each original field is corresponding, specifically comprise in wherein said consolidation form: field name, field length, position, skew and implication;
Wherein, described position refers to the Position Number in message specification residing for this field, and No. 1 position represents with position 0, and the position of follow-up field increases progressively 1 successively;
Described skew refer to all fields before this field length and, in units of position;
Step 202) in the original field of the second bearing protocol message, search the field identical with the implication of each original field of the first bearing protocol message, and the mapping relations set up between the identical original field of two bearing protocol message implications, and then be establish corresponding mapping item between original field that all implications in two bearing protocol messages are identical, all mapping items form corresponding list item collection;
Step 203) according to the requirement of the index optimization of the first bearer network and the second bearer network, transmission channel is classified into logical pipe, pipeline equivalence collection refers to the set of the logical pipe equivalence relation of the transmission channel that two kinds of bearing protocols are corresponding.
3. the bearing protocol packet data transmission method between heterogeneous network according to claim 2, is characterized in that, described step 202) in set up mapping item concentrate each mapping item time, comprise following strategy further:
When the length of the original field of the first bearing protocol message is less than the length of the corresponding original field of the second bearing protocol message, each mapping item is defined as and directly the original field of the first bearing protocol is carried out computing according to the transformation operator set, and the operation result of gained fills the corresponding original field of the second bearing protocol message;
When the length of the original field of the first bearing protocol message equals the length of the corresponding original field of the second bearing protocol message, " the original field of the first bearing protocol message that described mapping item is defined as the corresponding original field of second bearing protocol ";
When the length of the original field of the first bearing protocol message is greater than the length of the corresponding original field of the second bearing protocol message, described mapping item is defined as " (hash (the original field of the first bearing protocol message); the corresponding original field of the second bearing protocol message) ", the value of the corresponding original field of the second bearing protocol message is determined according to the semanteme of the first bearing protocol and the second bearing protocol, and wherein hash is hash function.
4. the bearing protocol packet data transmission method between heterogeneous network according to claim 2, is characterized in that, described step 203) comprise further:
203-1) according to Service Quality Metrics and safety index, transmission channel is classified into logical pipe, described Service Quality Metrics includes but not limited to: do one's best, postpone the shortest and throughput is maximum; Safety index refers to the safe class needed for transfer of data;
203-2) the logical pipe equivalence relation set of the first bearing protocol and transmission channel corresponding to the second bearing protocol is formed logical pipe equivalence collection;
Wherein, when forming logical pipe equivalence collection, the method for building up of the mapping relations of described first bearing protocol message and each original field of the second bearing protocol message is as follows:
(1) when the original field of the first bearing protocol to split in the second bearing protocol corresponding positions in several original field or be the part of certain field in the second bearing protocol time, the method of process is corresponding positions to the original field of the first bearing protocol and corresponding mask operation, and acquired results is carried out the shifting function of field corresponding positions in the second bearing protocol, carry out with the former field of the second bearing protocol or operate, replace the former field of the second bearing protocol, wherein in corresponding second bearing protocol of the original field of the first bearing protocol, several field just operates several times;
(2) second bearing protocol fields do not have the transformational relation of corresponding field or position in the first bearing protocol, now will carry out default value setting according to the character of pipeline equivalence collection to the second bearing protocol field.
5. the bearing protocol packet data transmission method between heterogeneous network according to claim 1, is characterized in that, described step 101) comprise further:
Step 104-1) according to field determination pipeline equivalence collection specific in the first bearing protocol message;
Step 104-2) scan the first bearing protocol message, order extracts each original field, keyword is respectively according to the corresponding list item set up, the set of field specification five-tuple and logical pipe equivalence collection to scan each original field obtained, complete the conversion of field to the second bearing protocol message corresponding field, the result obtained after conversion is stored in the second bearing protocol message buffer;
Step 104-3) when certain original field of the second bearing protocol message in the first bearing protocol message without corresponding original field time, adopt the default value of setting to fill this field in the second bearing protocol message buffer;
Step 104-4) complete CRC verification operation needed for the second bearing protocol, fill respective field, the message data at message buffer is sent to the second bearer network.
6. the bearing protocol packet data transmission system between heterogeneous network, is characterized in that, described system comprises:
Bearing protocol preconditioning subsystem, for carrying out the preliminary treatment of two kinds of different bearer agreements, comprising pipeline equivalence collection and setting up module, protocol massages field corresponding relation building module, protocol massages field specification module;
First bearer network subsystem, for transmitting the first bearing protocol message data;
Network carrying message transform subsystem, for being converted to the form of the message data that the second bearing protocol message specifies by the first bearing protocol message data and exporting;
Second bearer network subsystem, for the message data that transmission network bearing message transform subsystem exports.
7. bearing protocol packet data transmission system according to claim 6, it is characterized in that, described network carrying message transform subsystem comprises further: input module, the first processing module, the second processing module, the 3rd processing module, composite module and output module;
Described input module, for receiving the first bearing protocol message data that the first bearer network subsystem sends;
Described first processing module, for the data content determination pipeline equivalence collection type of certain the original field according to the first bearing protocol message;
Wherein, described pipeline equivalence collection is set up module by pipeline equivalence collection and is determined;
Described second processing module, the the first bearing protocol message set up in advance for basis and the corresponding list item collection between each original field of the second bearing protocol message, respective field in each field of the first bearing protocol message data and the second bearing protocol message is mapped, completes the assignment of second some field of bearing protocol message;
Wherein, described in the corresponding list item collection that presets obtained by protocol massages field corresponding relation building module, the field specification five-tuple that this protocol massages field corresponding relation building module exports according to protocol massages field specification module again sets up all corresponding list items;
Described 3rd processing module, during for being greater than field sum that the first bearing protocol message comprises when the field number that the second bearing protocol message comprises, the pipeline equivalence collection type set determined according to the first processing module lacks the value of the field of mapping, and then completes the conversion of the first bearing protocol message data to the second bearing protocol message data;
Described composite module, splices for the field exported according to each field and the 3rd processing module of the second processing module output, and then obtains the second bearing protocol message data;
Described output module, for sending the obtain second bearing protocol message data to the second bearer network.
8. bearing protocol packet data transmission system according to claim 6, it is characterized in that, described protocol massages field specification module, extension specification description is carried out for the protocol specification of each bearing protocol by input or the consolidation form of standard criterion employing definition, and then the field specification five-tuple that each original field obtaining each bearing protocol is corresponding, and exporting each field specification five-tuple, the form of described field specification five-tuple is: field name, field length, position, skew, implication;
Wherein,
Described field name is described by each bearing protocol specification and obtains;
Described field length is in units of position;
Described position refers to which number position is this field be in each protocol massages specification, and No. 1 position represents with position 0, and the position of follow-up field increases progressively 1 successively;
Described skew be all fields before this field length and, in units of position;
Described implication refers to the text string represented in human-readable mode, can be empty;
Described each bearing protocol comprises the first bearing protocol and the second bearing protocol.
9. bearing protocol packet data transmission system according to claim 6, it is characterized in that, described protocol massages field corresponding relation building module is according to the first bearing protocol and the second bearing protocol specification, specify the one-to-one relationship of each field of the first bearing protocol and each field of second protocol, and carry out polishing operation to lacking field.
10. bearing protocol packet data transmission system according to claim 9, is characterized in that, described polishing operation adopts the polishing submodule based on field length to realize, and this polishing submodule comprises further:
First process submodule, for being less than the length of the second bearing protocol message field (MFLD) P2 when the field P1 length of the first bearing protocol message, the method of process directly each field P1 of the first bearing protocol is carried out the computing of transformation operator, and then obtain the field P2 with the second bearing protocol message;
Second process submodule, for being greater than the length of field P2 when the length of the first bearing protocol message field (MFLD) P1, now need to arrange additional mappings table, try to achieve the cryptographic Hash of the first bearing protocol message field (MFLD) P1, its form is (hash (field 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.
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 true CN104639507A (en) 2015-05-20
CN104639507B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450786A (en) * 2016-01-26 2016-03-30 中国银行股份有限公司 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
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN110380970A (en) * 2019-07-22 2019-10-25 北京邮电大学 A kind of self-adapting data message forwarding method and device suitable for heterogeneous network
CN110730181A (en) * 2019-10-21 2020-01-24 中国民航信息网络股份有限公司 Message conversion method, device and adapter
CN111294320A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Data conversion method and device
CN113938530A (en) * 2021-09-09 2022-01-14 中国联合网络通信集团有限公司 Data transmission method and device
CN114513552A (en) * 2022-01-06 2022-05-17 中信百信银行股份有限公司 Data processing method, device, equipment and storage medium

Citations (11)

* 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
US20040258062A1 (en) * 2003-01-27 2004-12-23 Paolo Narvaez Method and device for the classification and redirection of data packets in a heterogeneous network
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

Patent Citations (11)

* 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
US20040258062A1 (en) * 2003-01-27 2004-12-23 Paolo Narvaez Method and device for the classification and redirection of data packets in a heterogeneous 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
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 协议的一种转换方法》", 《计算机工程与设计》 *

Cited By (14)

* 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
CN105450786A (en) * 2016-01-26 2016-03-30 中国银行股份有限公司 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
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
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
CN111294320A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Data conversion method and device
CN110380970A (en) * 2019-07-22 2019-10-25 北京邮电大学 A kind of self-adapting data message forwarding method and device suitable for heterogeneous network
CN110730181A (en) * 2019-10-21 2020-01-24 中国民航信息网络股份有限公司 Message conversion method, device and adapter
CN113938530A (en) * 2021-09-09 2022-01-14 中国联合网络通信集团有限公司 Data transmission method and device
CN113938530B (en) * 2021-09-09 2023-06-23 中国联合网络通信集团有限公司 Data transmission method and device
CN114513552A (en) * 2022-01-06 2022-05-17 中信百信银行股份有限公司 Data processing method, device, equipment and storage medium
CN114513552B (en) * 2022-01-06 2024-04-02 中信百信银行股份有限公司 Data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104639507B (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN104639507A (en) Loading protocol packet data transmission method and system among heterogeneous networks
CN103051725B (en) Application and identification method, data digging method, Apparatus and system
CN102480462B (en) Universal protocol adapting method and device
WO2016054992A1 (en) Network data collection system and method
US20160323193A1 (en) Service Routing Method, Device, and System
CN103873356B (en) Application and identification method, system and home gateway based on home gateway
CN110995514B (en) Multi-dimensional end-to-end network slice generation device and method
CN101141419B (en) Heterogeneous network protocol based communication method between digital household appliances
CN104885431A (en) Content based traffic engineering in software defined information centric networks
CN103202060A (en) Data transmission method, user equipment and network side device
CN111064726B (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN110300081A (en) A kind of method and apparatus of data transmission
CN103647706A (en) Self-adaptation protocol communication gateway and communication platform
CN106533943A (en) Method for realizing microcode and flow table based on network switching chip
US20120294307A1 (en) Apparatus and Method for Identifier Management
CN104735073A (en) IPv4-IPv6 transitional protocol dispatching method and device
CN103517332A (en) Base station, data processing method and communication system
CN105763484A (en) Signaling flow converging apparatus based on compression of flow combination, and method thereof
CN113766007B (en) Authentication pre-system and authentication method based on multi-source heterogeneous data analysis protocol
CN105072057A (en) Intermediate switch equipment for network data transmission, and network communication system
CN104506461A (en) Industrial communication network gateway equipment
CA2786634C (en) System and method for improving service subscription or unsubscription speed for wireless application protocol (wap) roaming users
CN105323234A (en) Service node capability processing method and device, service classifier and service controller
WO2017088489A1 (en) Data message transmission method and system, and communication system
CN113452754A (en) CoAP protocol-based power distribution Internet of things network communication system

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
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