CN102202056A - Data sending method, data sending device and data sending/receiving system - Google Patents

Data sending method, data sending device and data sending/receiving system Download PDF

Info

Publication number
CN102202056A
CN102202056A CN2011101213849A CN201110121384A CN102202056A CN 102202056 A CN102202056 A CN 102202056A CN 2011101213849 A CN2011101213849 A CN 2011101213849A CN 201110121384 A CN201110121384 A CN 201110121384A CN 102202056 A CN102202056 A CN 102202056A
Authority
CN
China
Prior art keywords
data
protocol data
elementary cell
protocol
converted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101213849A
Other languages
Chinese (zh)
Inventor
孙光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Technologies Chengdu Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Chengdu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Digital Technologies Chengdu Co Ltd filed Critical Huawei Digital Technologies Chengdu Co Ltd
Priority to CN2011101213849A priority Critical patent/CN102202056A/en
Publication of CN102202056A publication Critical patent/CN102202056A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The embodiment of the invention provides a data sending method which comprises the following steps: generating the first protocol data which comprise a first protocol data basic unit; configuring an identification for the first protocol data basic unit; when the identification is used for transforming the first protocol data basic unit into a second protocol data basic unit, transforming the first protocol data basic unit into the second protocol data basic unit; and sending the second protocol data basic unit. Moreover, the embodiment of the invention also provides a corresponding data sending device and a corresponding data sending/receiving system. The data sending method provided by the embodiment of the invention can decide whether to transform any old protocol data basic unit into a new protocol data basic unit according to the user needs, and solves the problem of relatively high developing/manufacturing and operation/maintenance cost due to two transmitting state machines involved in the prior art.

Description

A kind of data transmission method for uplink, data sending device and data sending/receiving system
Technical field
The embodiment of the invention relates to the communication technology, relates in particular to a kind of data transmission method for uplink, data sending device and data sending/receiving system.
Background technology
Along with the change or the upgrading of communication, the agreement of the data of transmitting in the data sending/receiving system (comprising service message and signaling message) need upgrade or change.For the demand, present solution may further comprise the steps:
1. stop old protocol signaling or old agreement loaded service;
2. send subsystem, replacing the emission state machine that sends old protocol data with the emission state machine that sends the New Deal data;
3. at receiving subsystem, replace the accepting state machine that receives old protocol data with the accepting state machine that receives the New Deal data;
4. the emission state machine that sends the transmission New Deal data of subsystem sends the New Deal data to the accepting state machine of the reception New Deal data of receiving subsystem.
The inventor finds following problem in the process of research prior art:
1. for transmitting terminal, from send old protocol data switch to send the New Deal data after, can only send the New Deal data.Can't realize according to user's request to any one old protocol data elementary cell, whether decision is translated into New Deal data elementary cell.In addition, in the prior art, need to replace the emission state machine that sends old protocol data, that is to say two the emission state machines that relate to the emission state machine that sends the New Deal data.Because the development and manufacturing cost and the operation maintenance cost of emission state machine are higher, two emission state machine meaning person's development and manufacturing costs and operation maintenance cost are higher.
2. for receiving terminal, from receive old protocol data switch to receive the New Deal data after, can only receive the New Deal data.Can't realize both can receiving old protocol data, also can receive the New Deal data.In addition, in the prior art, need to replace the accepting state machine that receives old protocol data, that is to say two the accepting state machines that relate to the accepting state machine that receives the New Deal data.Because the development and manufacturing cost and the operation maintenance cost of accepting state machine are higher, two accepting state machine meaning person's development and manufacturing costs and operation maintenance cost are higher.
3. for data sending/receiving system, switch to transmission New Deal data, need stop old protocol signaling or old agreement loaded service, can't ensure signaling or professional continuity from transmitting old protocol data.For transmitting terminal, after transmitting old protocol data and switching to transmission New Deal data, can only send the New Deal data.Can't realize according to user's request to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.In addition, relate to two emission state machines, development and manufacturing cost and operation maintenance cost are higher; For receiving terminal, after transmitting old protocol data and switching to transmission New Deal data, can only receive the New Deal data.Can't realize both can receiving old protocol data, also can receive the New Deal data.In addition, relate to two accepting state machines, development and manufacturing cost and operation maintenance cost are higher.
Summary of the invention
On the one hand, provide a kind of data transmission method for uplink, can realize according to user's request, to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.Do not need two emission state machines in addition, development and manufacturing cost and operation maintenance cost are lower.
A kind of data transmission method for uplink comprises:
Generate first protocol data, first protocol data comprises the first protocol data elementary cell;
It is the first protocol data elementary cell configuration identifier;
When sign is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell;
Send the second protocol data elementary cell.
On the other hand, provide a kind of data sending device, can realize according to user's request, to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.Do not need two emission state machines in addition, development and manufacturing cost and operation maintenance cost are lower.
A kind of data sending device comprises:
The first protocol data generation unit is used to generate first protocol data;
The sign dispensing unit is used to the first protocol data elementary cell configuration identifier;
Data send converting unit, and being used for when identifying is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell;
Data transmission unit is used to send the second protocol data elementary cell.
On the other hand, provide a kind of data sending/receiving system, can realize switching to transmission New Deal data, do not need to stop old protocol signaling or old agreement loaded service, ensured signaling or professional continuity from transmitting old protocol data.Data for data sending/receiving system send subsystem, can realize according to user's request, and to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.Do not need two emission state machines in addition, development and manufacturing cost and operation maintenance cost are lower.
A kind of data sending/receiving system comprises that data send subsystem and Data Receiving subsystem, and data send subsystem and are used for sending data to the opposite end, and the Data Receiving subsystem is used to receive the data of sending from the opposite end, wherein:
Data send subsystem and further comprise:
The first protocol data generation unit is used to generate first protocol data;
The sign dispensing unit is used to the first protocol data elementary cell configuration identifier;
Data send converting unit, and being used for when identifying is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell;
Data transmission unit is used to send the second protocol data elementary cell;
The Data Receiving subsystem further comprises:
The Data Receiving unit is used to receive the data that data transmission unit sends;
The Data Receiving converting unit, after the data that are used for that the data receiving element is provided are carried out following processing, give the Data Receiving processing unit: the data that provide when the Data Receiving unit are the second protocol data elementary cell, and the second protocol data elementary cell is converted into the first protocol data elementary cell;
The Data Receiving processing unit is used for processing said data and receives the data that converting unit provides.
As seen,, can realize to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell according to user's request by data transmission method for uplink and the data sending device that provides.Do not need two emission state machines in addition, development and manufacturing cost and operation maintenance cost are lower.
By the data sending/receiving system that provides, can realize switching to transmission New Deal data from transmitting old protocol data, do not need to stop old protocol signaling or old agreement loaded service, ensured signaling or professional continuity.Data for data sending/receiving system send subsystem, can realize according to user's request, and to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.Do not need two emission state machines in addition, development and manufacturing cost and operation maintenance cost are lower.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the data transmission method for uplink flow chart that the embodiment of the invention provides;
Fig. 2 is the data sending device schematic diagram that the embodiment of the invention provides;
Fig. 3 is the data receive method flow chart that the embodiment of the invention provides;
Fig. 4 is the data sink schematic diagram that the embodiment of the invention provides;
Fig. 5 is the data transceiving method flow chart that the embodiment of the invention provides;
Fig. 6 is the data sending/receiving system schematic diagram that the embodiment of the invention provides;
Fig. 7 is the IPv4 packet data structure schematic diagram that the embodiment of the invention provides;
Fig. 8 is the IPv6 packet data structure schematic diagram that the embodiment of the invention provides;
Fig. 9 is the Ether frame data structure schematic diagram that the embodiment of the invention provides.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Below part term that the embodiment in the embodiment is occurred describe:
" agreement " is meant communication protocol.For example, " agreement " can be signaling protocol (for example detection protocol and Routing Protocol) or bearer service agreement (for example IPv6 agreement or ether agreement).Wherein, detection protocol can be bidirectional transmission detecting protocol (Bidirectional Forwarding Detection, BFD) or operation management maintenance protocol (operation, administration and maintenance, OAM); Routing Protocol can be Border Gateway Protocol (Border Gateway Protocol, BGP) or tag distribution protocol (Label Distribution Protocol, LDP).
" protocol data " is made of " protocol data elementary cell ", for example for the bearer service agreement, can be the IPv4 agreement, perhaps the ether agreement; Accordingly, protocol data is the IPv4 data flow, perhaps the ether data flow; The protocol data elementary cell is IPv4 grouping, perhaps Ether frame.
Embodiment one:
The embodiment of the invention provides a kind of data transmission method for uplink, specifically referring to Fig. 1.Fig. 1 is the data transmission method for uplink flow chart that the embodiment of the invention provides.Data transmission method for uplink comprises:
101: generate first protocol data.During specific implementation, protocol type can have multiple, and generating mode also can have multiple.Present embodiment does not limit protocol type and generating mode.
During specific implementation described " generation ", can be that the transmit status machine directly generates first protocol data, after perhaps first protocol layer (service layer) is received the data that upper strata (client layer) provides, it is packaged into first protocol data.
102: be the first protocol data elementary cell configuration identifier.Be that the first protocol data elementary cell configuration identifier can be that the first protocol data elementary cell is converted into the second protocol data elementary cell.For example, first protocol data is the IPv4 data flow, and second protocol data is the IPv4 data flow, is designated " 1 " and is used to show that the IPv4 grouping is converted into IPv6 divides into groups, and is designated " 0 " and is not used to show that the IPv4 grouping not being converted into IPv6 divides into groups.
When the specific implementation of the embodiment of the invention, the user can determine whether any one the first protocol data elementary cell in first protocol data is converted into the second protocol data elementary cell as required.In addition, the user can user-defined identification, even with " empty sign " expression the first protocol data elementary cell is converted into the second protocol data elementary cell.
About the specific implementation of " configuration identifier " this process, multiple mode can be arranged.For example, the first protocol data elementary cell is the IPv4 grouping, and the second protocol data elementary cell is the IPv6 grouping.IPv4 grouping is converted in the process of IPv6 grouping (seeing also embodiment seven), needs to transmit some information.These " information " can comprise the sign in 102.
103: when sign is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell.
The first protocol data elementary cell is converted into the second protocol data elementary cell.About the specific implementation of conversion process, multiple mode can be arranged, the present invention does not do concrete qualification.Embodiment seven, embodiment eight and embodiment nine provide the embodiment that the first protocol data elementary cell is converted into the second protocol data elementary cell, and be for reference.
103 be finished after, continue to carry out 104.
104: send the second protocol data elementary cell.The 103 second protocol data elementary cells that provide also just are provided.
Further, when sign be when the first protocol data elementary cell not being converted into the second protocol data elementary cell, to send the first protocol data elementary cell.
Further, according to pre-defined rule the first protocol data elementary cell is divided into the first kind elementary cell and the second type elementary cell, the sign that disposes for first kind elementary cell is that the first protocol data elementary cell is converted into the second protocol data elementary cell; The sign that is the configuration of the second type elementary cell is the first protocol data elementary cell not to be converted into the second protocol data elementary cell.For example, first protocol data is the IPv4 data flow, and the IPv4 data flow is made up of a plurality of IPv4.Second protocol data is the IPv6 data flow, and the IPv6 data flow is made up of a plurality of IPv6.Can IPv4 be divided into two types according to pre-defined rule, be that first type IPv4 packet configuration is translated into the sign that IPv6 divides into groups, and is that second type IPv4 packet configuration is not translated into the sign that IPv6 divides into groups.
Further, pre-defined rule is: the destination of first kind elementary cell is first destination; The destination of the second type elementary cell is second destination.For example, pre-defined rule can be the destination of IPv4 grouping, and the destination of the IPv4 that has grouping is user 1, and the destination of the IPv4 grouping that has is user 2, and user 1 address is different from user 2 address.Therefore, after the data transmission method for uplink processing through the embodiment of the invention, what user 1 received is the IPv6 grouping, and what user 2 received is the IPv4 grouping.Certainly, first destination also can be identical address with second destination.
Further, first protocol data and second protocol data are respectively IPv4 data flow and IPv6 data flow, perhaps,
First protocol data and second protocol data are respectively IPv6 data flow and IPv4 data flow, perhaps,
First protocol data and second protocol data are respectively IPv4 data flow and ether data flow.
As seen,, can realize to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell according to user's request by the data transmission method for uplink that the embodiment of the invention provides; In addition, solved prior art and related to two emission state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment two:
The embodiment of the invention also provides a kind of data sending device.Referring to Fig. 2, Fig. 2 is the data sending device schematic diagram that the embodiment of the invention provides, and this data sending device comprises:
201: the first protocol data generation units.The first protocol data generation unit is used to generate first protocol data.During specific implementation, protocol type can have multiple, and generating mode also can have multiple.Present embodiment does not limit protocol type and generating mode.
During specific implementation described " generation ", can be that the transmit status machine directly generates first protocol data, after perhaps first protocol layer (service layer) is received the data that upper strata (client layer) provides, it is packaged into first protocol data.
202: the sign dispensing unit.The sign dispensing unit is used to the described first protocol data elementary cell configuration identifier.This sign can be that the described first protocol data elementary cell is converted into the second protocol data elementary cell.
203: data send converting unit.It is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell that data transmission converting unit is used for when identifying.Embodiment seven, embodiment eight and embodiment nine provide the embodiment that the first protocol data elementary cell is converted into the second protocol data elementary cell, and be for reference.
204: data transmission unit.Data transmission unit is used to send the second protocol data elementary cell.
Further, data transmission unit also is used for: when sign is when the first protocol data elementary cell not being converted into the second protocol data elementary cell, to send the described first protocol data elementary cell.
As seen,, can realize to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell according to user's request by the data sending device that the embodiment of the invention provides; In addition, solved prior art and related to two emission state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment three:
The embodiment of the invention also provides a kind of data receive method.Referring to Fig. 3, Fig. 3 is the data receive method schematic diagram that the embodiment of the invention provides, and this data receive method comprises:
301: receive data.These data comprise the second protocol data elementary cell.During specific implementation, can also comprise the first protocol data elementary cell.
302: judge whether the data of receiving are the second protocol data elementary cell.If the result who judges is a "Yes", then carry out 303.Concrete determination methods can be that the head of protocol data elementary cell is resolved.For example, for dividing into groups, by identifying its type to the IP header parsing for IP; For the TCP message, by identifying its type etc. to the TCP header parsing.
303: the second protocol data elementary cell that will receive is converted into the first protocol data elementary cell.About the specific implementation of conversion process, multiple mode can be arranged, the present invention does not do concrete qualification.Embodiment seven, embodiment eight and embodiment nine provide the embodiment that the second protocol data elementary cell is converted into the first protocol data elementary cell, and be for reference.
304: give the Data Receiving processing unit.The Data Receiving processing unit is received through the data after 303 conversions, the i.e. first protocol data elementary cell.The Data Receiving processing unit is used to handle first protocol data.
Specific implementation described " processing " can be that the accepting state machine is handled first protocol data of receiving, perhaps first protocol layer carries out the decapsulation processing to first protocol data of receiving from lower floor, and gives upper strata (client layer).Further processing can be done to the data of receiving in upper strata (client layer), but does not belong to " processing " of Data Receiving processing unit to first protocol data)
As seen,, realize both can receiving old protocol data, also can receive the New Deal data, promptly realized adaptive reception by the data receive method that the embodiment of the invention provides.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment four:
The embodiment of the invention also provides a kind of data sink, can realize with the data receive method that embodiment three provides.Referring to Fig. 4, Fig. 4 is the data sink schematic diagram that the embodiment of the invention provides, and this data sink comprises:
401: the Data Receiving unit.This Data Receiving unit is used to receive data, comprises second protocol data in the data.During specific implementation, can comprise first protocol data.Can also comprise other protocol datas.
402: the Data Receiving converting unit.The data that this Data Receiving converting unit is used for the data receiving element is provided are carried out following processing:
Judge the protocol type of the data of receiving,, be translated into the first protocol data elementary cell if the data of receiving are the second protocol data elementary cell;
Embodiment seven, embodiment eight and embodiment nine provide the embodiment that the first protocol data elementary cell is converted into the second protocol data elementary cell, and be for reference.
403: the Data Receiving processing unit is used for deal with data and receives the first protocol data elementary cell that converting unit provides.
Specific implementation described " processing " can be that the accepting state machine is handled first protocol data of receiving, perhaps first protocol layer carries out the decapsulation processing to first protocol data of receiving from lower floor, and gives upper strata (client layer).Further processing can be done to the data of receiving in upper strata (client layer), but does not belong to " processing " of Data Receiving processing unit to first protocol data)
As seen,, realize both can receiving old protocol data, also can receive the New Deal data, promptly realized adaptive reception by the data sink that the embodiment of the invention provides.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment five:
The embodiment of the invention also provides a kind of data transceiving method, can realize with the data sending/receiving system that embodiment six provides.Fig. 5 is the data transceiving method schematic diagram that the embodiment of the invention provides, and this data transceiving method comprises:
The data transceiving method that present embodiment provides is corresponding to specific data sending/receiving system.This data sending/receiving system comprises that data send subsystem and Data Receiving subsystem.Data send subsystem and are used for sending data to the opposite end, and the Data Receiving subsystem is used to receive the data of sending from the opposite end.Wherein 501~504 corresponding to data transmission subsystem, and 505~508 corresponding to the Data Receiving subsystem, specifically is discussed below:
501: generate first protocol data.Be similar to 101, repeat no more here.
502: be the first protocol data elementary cell configuration identifier.Be similar to 102, repeat no more here.
503: when sign is when the described first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell.Be similar to 103, repeat no more here.
504: send the second protocol data elementary cell.Be similar to 104, repeat no more here.
505: receive data.Promptly receive the data that send the opposite end, comprising 504 data that provide.
506: judge whether the data of receiving are the second protocol data elementary cell.If the result who judges is a "Yes", then carry out 507.Be similar to 302, repeat no more here.
507: the second protocol data elementary cell is converted into the first protocol data elementary cell.Be similar to 303, repeat no more here.
508: give the Data Receiving processing unit.Be similar to 304, repeat no more here.
As seen,, can realize switching to transmission New Deal data, not need to stop old protocol signaling or old agreement loaded service, ensure signaling or professional continuity from transmitting old protocol data by the data transceiving method that the embodiment of the invention provides.Send subsystem for data, can realize according to user's request, to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.In addition, solved prior art and related to two emission state machines, development and manufacturing cost and operation maintenance cost problem of higher; For receiving subsystem, realize both can receiving old protocol data, also can receive the New Deal data.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment six:
The embodiment of the invention provides a kind of data sending/receiving system.Referring to Fig. 6, Fig. 6 is the data sending/receiving system schematic diagram that the embodiment of the invention provides, and this data sending/receiving system comprises that data send subsystem and Data Receiving subsystem.Data send subsystem and are used for sending data to the opposite end, and the Data Receiving subsystem is used to receive the data of sending from the opposite end.Wherein 601~604 belong to data transmission subsystem, and 605~607 belong to the Data Receiving subsystem, specifically are discussed below:
601: the first protocol data generation units.The first protocol data generation unit is used to generate first protocol data.During specific implementation, protocol type can have multiple, and generating mode also can have multiple.Present embodiment does not limit protocol type and generating mode.
During specific implementation described " generation ", can be that the transmit status machine directly generates first protocol data, after perhaps first protocol layer (service layer) is received the data that upper strata (client layer) provides, it is packaged into first protocol data.
602: the sign dispensing unit.The sign dispensing unit is used to the first protocol data elementary cell configuration identifier.This sign can be used for sign the first protocol data elementary cell is converted into the second protocol data elementary cell.
603: data send converting unit.Data send converting unit, and being used for when identifying is when the first protocol data elementary cell is converted into the second protocol data elementary cell, the first protocol data elementary cell to be converted into the second protocol data elementary cell.
604: data transmission unit.Data transmission unit is used to send the second protocol data elementary cell.That is to say that data transmission unit is used to send the data after data send the converting unit processing.
605: the Data Receiving unit.The Data Receiving unit is used to receive the data that data transmission unit sends.
606: the Data Receiving converting unit.After the data that the Data Receiving converting unit is used for that the data receiving element is provided are carried out following processing, give the Data Receiving processing unit: the data that provide when the Data Receiving unit are the second protocol data elementary cell, and the second protocol data elementary cell is converted into the first protocol data elementary cell.Embodiment seven, embodiment eight and embodiment nine provide the embodiment that a kind of protocol data elementary cell is converted into another kind of protocol data elementary cell, and be for reference.
607: the Data Receiving processing unit.The Data Receiving processing unit is used for deal with data and receives the first protocol data elementary cell that converting unit provides.
Specific implementation described " processing " can be that the accepting state machine is handled first protocol data of receiving, perhaps first protocol layer carries out the decapsulation processing to first protocol data of receiving from lower floor, and gives upper strata (client layer).Further processing can be done to the data of receiving in upper strata (client layer), but does not belong to " processing " of Data Receiving processing unit to first protocol data)
Further, data transmission unit is further used for, when sign is when the first protocol data elementary cell not being converted into the second protocol data elementary cell, to send the first protocol data elementary cell.
The Data Receiving processing unit is further used for, when sign is when the first protocol data elementary cell not being converted into the second protocol data elementary cell, to handle the first protocol data elementary cell.
As seen,, can realize switching to transmission New Deal data, not need to stop old protocol signaling or old agreement loaded service, ensure signaling or professional continuity from transmitting old protocol data by the data sending/receiving system that the embodiment of the invention provides.For sending subsystem, can realize according to user's request to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.In addition, solved prior art and related to two emission state machines, development and manufacturing cost and operation maintenance cost problem of higher; For receiving subsystem, realize both can receiving old protocol data, also can receive the New Deal data.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
Embodiment seven:
The embodiment of the invention also provides a kind of first protocol data to be converted into the method for second protocol data, is specially the IPv4 protocol data is converted into the IPv6 protocol data.Referring to Fig. 7 and Fig. 8, Fig. 7 is the IPv4 packet data structure schematic diagram that the embodiment of the invention provides; Fig. 8 is the IPv6 packet data structure schematic diagram that the embodiment of the invention provides.
Below field that IPv6 grouping is comprised and the IPv4 grouping is converted in the process of IPv6 grouping, how to determine that the value of each field is discussed:
Field 801: version.Determine the value of field 801 according to the IPv6 agreement.
Field 802: Business Stream classification.With field 703: COS is corresponding, and has fixing transformational relation.
Field 803: stream label.With field 705: datagram ID is corresponding.The length that should be noted that field 803 is 20 bits.
Field 804: payload length.Value is the payload length of IPv6 grouping.About field 804 values, can be according to following formula: field 804=field 704-(field 702) * 4
Field 805: next stature.With field 709: agreement is corresponding.Determine to get final product with reference to IPv4 standard and IPv6 standard.
Field 806: jump the limit.With field 708: life cycle, value was identical.
Field 807: source IP address, can determine according to field 711, also can determine in addition according to the IPv6 address of this locality configuration.
Field 808: purpose IP address, can determine according to field 712, also can determine in addition according to the IPv6 address of this locality configuration.
Embodiment eight:
The embodiment of the invention provides a kind of first protocol data to be converted into the method for second protocol data, is specially the IPv6 protocol data is converted into the IPv4 protocol data.Referring to Fig. 7 and Fig. 8, Fig. 7 is the IPv4 packet data structure schematic diagram that the embodiment of the invention provides; Fig. 8 is the IPv6 packet data structure schematic diagram that the embodiment of the invention provides.
Below field that IPv4 grouping is comprised and the IPv6 grouping is converted in the process of IPv4 grouping, how to determine that the value of each field is discussed:
Field 701: version.Determine the value of field 701 according to the IPv4 agreement.
Field 702: head length degree.It is set to 5.
Field 703: COS.With field 802: the Business Stream classification is corresponding, and has fixing transformational relation.
Field 704: datagram length.The value of field 704 can be according to following formula: field 704=field 804+20.
Field 705: datagram ID.With field 803: stream label is corresponding.Get the value of field 803, the length that should be noted that field 705 is 2 bytes.
Field 706: segmentation marker.It is set to 010.Field 706 is altogether 3 bits.
Field 707: grading excursion value.It is set to complete 0.Field 707 is altogether 13 bits.
Field 708: life cycle.With field 806: it is identical to jump limit value.
Field 709: agreement.With field 805: next stature is corresponding.Determine to get final product with reference to IPv4 standard and IPv6 standard.
Field 710: verification and.Recomputate according to IPv4 standard (RFC791) and to get final product.
Field 711: source IP address.Determine to get final product according to field 807.Field 711 length are 4 bytes.
Field 712: purpose IP address.Determine to get final product according to field 808.Field 712 length are 4 bytes.
Embodiment nine:
The embodiment of the invention also provides a kind of first protocol data to be converted into the method for second protocol data, is specially the IPv4 protocol data is converted into the ether protocol data.Referring to Fig. 7 and Fig. 9, Fig. 7 is the IPv4 packet data structure schematic diagram that the embodiment of the invention provides; Fig. 9 is the Ether frame data structure schematic diagram that the embodiment of the invention provides.
Below field that Ether frame is comprised and the IPv4 grouping is converted in the process of Ether frame, how to determine that the value of each field is discussed:
Field 901: target MAC (Media Access Control) address.Can obtain by the ARP agreement.
Field 902: source MAC.Can obtain by reading local hardware.
Field 903: type.Can determine according to the respective standard of normal structure.
Field 904: data.It is the payload in the IPv4 grouping.
Field 905: verification and.Can recomputate acquisition according to the ether agreement.
As seen,, can realize to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell according to user's request by data transmission method for uplink and the data sending device that the embodiment of the invention provides.In addition, solved prior art and related to two transmit status machines, development and manufacturing cost and operation maintenance cost problem of higher.
By data receive method and the data sink that the embodiment of the invention provides, realize both can receiving old protocol data, also can receive the New Deal data.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
The data transceiving method and the data sending/receiving system that provide by the embodiment of the invention, can realize switching to transmission New Deal data from transmitting old protocol data, do not need to stop old protocol signaling or old agreement loaded service, ensured signaling or professional continuity.For sending subsystem, can realize according to user's request to any one old protocol data elementary cell, whether decision is converted into New Deal data elementary cell.In addition, solved prior art and related to two transmit status machines, development and manufacturing cost and operation maintenance cost problem of higher; For receiving subsystem, realize both can receiving old protocol data, also can receive the New Deal data.In addition, solved prior art and related to two accepting state machines, development and manufacturing cost and operation maintenance cost problem of higher.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforementioned program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (9)

1. data transmission method for uplink is characterized in that:
Generate first protocol data, described first protocol data comprises the first protocol data elementary cell;
Be the described first protocol data elementary cell configuration identifier;
When described sign is when the described first protocol data elementary cell is converted into the second protocol data elementary cell, the described first protocol data elementary cell to be converted into the described second protocol data elementary cell;
Send the described second protocol data elementary cell.
2. method according to claim 1 is characterized in that, further comprises:
When described sign is when the described first protocol data elementary cell not being converted into the described second protocol data elementary cell, to send the described first protocol data elementary cell.
3. data transmission method for uplink according to claim 2 is characterized in that,
According to pre-defined rule the described first protocol data elementary cell is divided into the first kind elementary cell and the second type elementary cell, the sign that disposes for described first kind elementary cell is that the described first protocol data elementary cell is converted into the second protocol data elementary cell; The sign that disposes for the described second type elementary cell is the described first protocol data elementary cell not to be converted into the second protocol data elementary cell.
4. data transmission method for uplink according to claim 3 is characterized in that,
Described pre-defined rule is: the destination of described first kind elementary cell is first destination; The destination of the described second type elementary cell is second destination.
5. according to the described data transmission method for uplink of the arbitrary claim of claim 1 to 3, it is characterized in that described first protocol data and described second protocol data are respectively IPv4 data flow and IPv6 data flow, perhaps,
Described first protocol data and described second protocol data are respectively IPv6 data flow and IPv4 data flow, perhaps,
Described first protocol data and described second protocol data are respectively IPv4 data flow and ether data flow.
6. a data sending device is characterized in that, comprising:
The first protocol data generation unit is used to generate first protocol data;
The sign dispensing unit is used to the described first protocol data elementary cell configuration identifier;
Data send converting unit, be used for when described sign be when the described first protocol data elementary cell is converted into the second protocol data elementary cell, the described first protocol data elementary cell to be converted into the described second protocol data elementary cell;
Data transmission unit is used to send the described second protocol data elementary cell.
7. data sending device according to claim 6 is characterized in that,
Described data transmission unit also is used for: when described sign is when the described first protocol data elementary cell not being converted into the described second protocol data elementary cell, to send the described first protocol data elementary cell.
8. a data sending/receiving system comprises that data send subsystem and Data Receiving subsystem, and described data send subsystem and are used for sending data to the opposite end, and described Data Receiving subsystem is used to receive the data of sending from the opposite end, it is characterized in that,
Described data send subsystem and further comprise:
The first protocol data generation unit is used to generate first protocol data;
The sign dispensing unit is used to the described first protocol data elementary cell configuration identifier;
Data send converting unit, be used for when described sign be when the described first protocol data elementary cell is converted into the second protocol data elementary cell, the described first protocol data elementary cell to be converted into the described second protocol data elementary cell;
Data transmission unit is used to send the described second protocol data elementary cell;
Described Data Receiving subsystem further comprises:
The Data Receiving unit is used to receive the data that described data transmission unit sends;
The Data Receiving converting unit, after being used for the data that described Data Receiving unit provides are carried out following processing, give the Data Receiving processing unit: the data that provide when described Data Receiving unit are the second protocol data elementary cell, and the described second protocol data elementary cell is converted into the described first protocol data elementary cell;
The Data Receiving processing unit is used for processing said data and receives the data that converting unit provides.
9. sending/receiving system according to claim 8 is characterized in that,
Described data transmission unit is further used for, when described sign is when the described first protocol data elementary cell not being converted into the described second protocol data elementary cell, to send the described first protocol data elementary cell;
Described Data Receiving processing unit is further used for, when described sign is when the described first protocol data elementary cell not being converted into the described second protocol data elementary cell, to handle the described first protocol data elementary cell.
CN2011101213849A 2011-05-09 2011-05-09 Data sending method, data sending device and data sending/receiving system Pending CN102202056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101213849A CN102202056A (en) 2011-05-09 2011-05-09 Data sending method, data sending device and data sending/receiving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101213849A CN102202056A (en) 2011-05-09 2011-05-09 Data sending method, data sending device and data sending/receiving system

Publications (1)

Publication Number Publication Date
CN102202056A true CN102202056A (en) 2011-09-28

Family

ID=44662451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101213849A Pending CN102202056A (en) 2011-05-09 2011-05-09 Data sending method, data sending device and data sending/receiving system

Country Status (1)

Country Link
CN (1) CN102202056A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004039014A1 (en) * 2002-10-22 2004-05-06 Cisco Technology, Inc. Shared port address translation on a router behaving as nat & nat-pt gateway
CN101068226A (en) * 2007-02-01 2007-11-07 西安交通大学 Multimedia interactive gateway realizing method under IPv4/IPv6 mixed environment
CN101834810A (en) * 2009-03-10 2010-09-15 中国移动通信集团公司 Method and device for converting protocol data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004039014A1 (en) * 2002-10-22 2004-05-06 Cisco Technology, Inc. Shared port address translation on a router behaving as nat & nat-pt gateway
CN101068226A (en) * 2007-02-01 2007-11-07 西安交通大学 Multimedia interactive gateway realizing method under IPv4/IPv6 mixed environment
CN101834810A (en) * 2009-03-10 2010-09-15 中国移动通信集团公司 Method and device for converting protocol data

Similar Documents

Publication Publication Date Title
CN102301663B (en) Message processing method and associated devices
US8718061B2 (en) Data center network system and packet forwarding method thereof
CN102217253B (en) Message forwarding method, equipment and network device
CN103024008B (en) The method, apparatus and system of transfer of data in Internet of Things
CN104995880A (en) Quantized congestion notification in a virtual networking system
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN102938795A (en) Method for achieving access to internet protocol version 4 (IPv4) resources by IPv6 through tunnel and address
US10382391B2 (en) Systems and methods for managing network address information
CN103269315A (en) Label distribution method, device, system and network equipment
CN102447617A (en) Method, terminals and gateway for transmitting IPv6 (Internet Protocol version 6) message in IPv4 network
CN103368808A (en) Transparent edge routing bridge
CN102792651A (en) Packet node for applying service path routing at the MAC layer
CN102724101A (en) Message forwarding method and message forwarding system, and relay agent device
CN104683428A (en) Network service processing method and device
CN103391245A (en) Method and device for constructing multi-state routing in network domain as well as router
CN103503413B (en) Method and device for transmitting network information
CN104754521B (en) A kind of message forwarding method, wireless access point, wireless controller and system
US20160028628A1 (en) Communication system, control apparatus, address allocation method, and program
CN102387083A (en) Network access control method and system
CN103685032A (en) Message forwarding method and network address conversion server
CN107070719B (en) Equipment management method and device
CN101808037B (en) Method and device for traffic management in switch network
CN102904814A (en) Data transmission method, source PE (Provider Edge router), object PE and data transmission system
CN110391961A (en) A kind of tunnel binding method, equipment and system
CN101938399B (en) Routing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110928