CN101557386A - Method and device for sending data and method and device for receiving data - Google Patents

Method and device for sending data and method and device for receiving data Download PDF

Info

Publication number
CN101557386A
CN101557386A CNA2008101037826A CN200810103782A CN101557386A CN 101557386 A CN101557386 A CN 101557386A CN A2008101037826 A CNA2008101037826 A CN A2008101037826A CN 200810103782 A CN200810103782 A CN 200810103782A CN 101557386 A CN101557386 A CN 101557386A
Authority
CN
China
Prior art keywords
business datum
layer
decapsulation
link layer
encapsulation
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
CNA2008101037826A
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 Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2008101037826A priority Critical patent/CN101557386A/en
Publication of CN101557386A publication Critical patent/CN101557386A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a method and a device for sending data and a method and a device for receiving data. The method for sending data comprises the steps of receiving business data sent by an application layer, encapsulating the link layer of the business data, writing a destination media access control (MAC) address into the business data, encapsulating the physical layer of the business data of which the link layer is encapsulated, writing a destination MAC address to the business data according to the link layer encapsulation, and sending an Ethernet data packet generated after the physical layer encapsulation. The embodiment of the invention can reduce the workload of sending and receiving data, increase the speed and the efficiency of sending and receiving data, improve the network resource utilization ratio and lower the data transmission cost.

Description

Data transmission method for uplink and device and data receive method and device
Technical field
The present invention relates to cordless communication network, especially a kind of data transmission method for uplink and device and data receive method and device.
Background technology
Existing cordless communication network generally includes wireless communication terminal and wireless network part, and wherein, wireless network is made up of base station, base station controller and core node, and base station controller can be integrated in base station or core node.
In various cordless communication networks, Ethernet is by medium access control (Media AccessControl, hereinafter to be referred as: MAC) a kind of data communication network that the data between the subscriber equipment are transmitted is transmitted in exchange, is extensively used as the telecommunications bearer network at present.In wireless network communication technique, must transmit data by means of talk various network protocols.In the prior art, when adopting Ethernet as bearer network between the wireless communication network node, (Internet Protocol is hereinafter to be referred as IP) transmission data mainly to rely on Internet protocol.As shown in Figure 1, for transmitting the structural representation of the IP stack of data between the prior art wireless communication network node.This IP stack comprises following five layers: physical layer 101, link layer 103, network layer 105, transport layer 107 and application layer 109.Wherein, physical layer 101 is positioned at ground floor; Be positioned at second layer link layer 103 and be specially the MAC layer; The network layer 105 that is positioned at the 3rd layer is specially the IP layer; The transport layer 107 that is positioned at the 4th layer can comprise n transmission sublayer, wherein, n is the integer more than or equal to 1, each transmission sublayer can be adopted multiple transport protocols simultaneously, for example: transmission control protocol (TransmissionControl Protocol hereinafter to be referred as: TCP), processes user data newspaper agreement (User DatagramProtocol, hereinafter to be referred as: UDP), SCTP (Stream Control TransmissionProtocol, hereinafter to be referred as: SCTP) etc.Application layer 109 is positioned at layer 5, and every kind of application program wherein can adopt a kind of host-host protocol in the 4th layer, and multiple application program also can adopt the same a kind of host-host protocol in the 4th layer.According to Fig. 1, first application program respectively by host-host protocol n.1, host-host protocol n-1.1 ..., host-host protocol 1.1 carrying, second application program respectively by host-host protocol n.2, host-host protocol n-1.2 ..., host-host protocol 1.2 carrying, and the like, wherein, host-host protocol k.1 can be k.2 consistent with host-host protocol, k=1,2 ..., n.
Each layer in the IP stack shown in Figure 1 has different communication functions respectively, successively the data that receive handled.For example: when in Ethernet, utilizing udp protocol to transmit data, after data were admitted to IP stack, the transport layer 107 in the IP stack, network layer 105, link layer 103 increased APP stem, UDP stem, IP stem and Ethernet header message at the head of these data successively with physical layer 101.The process that IP stack sends data just transport layer 107, network layer 105, link layer 103 and physical layer 101 is filled in the process of each field successively, when application program uses udp protocol to send data at every turn, all must fill in the UDP header message successively, IP header message and link layer 103 header messages.In Ethernet, one group of data of the every transmission of IP stack, from being transferred to application, the heading total length that need fill in is 42 bytes, and wherein the UDP head is 8 bytes, and the IP head is 20 bytes, and Ethernet header is 14 bytes.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Because bearer network is an Ethernet, and ethernet device carries out the exchange forwarding of mac frame based on two layers of information such as MAC Address, need not the analyzing IP header message, therefore, the IP header message is a garbage in two layers of Ethernet, and in the process that data send, also needing increases the IP stem by the IP layer in the IP stack at the head of these data, this with regard to unnecessary increase send the workload of data, prolonged the data transmitting time, had a strong impact on the transmission speed and the efficiency of transmission of data; And because the length of useless IP head takies more than 20 bytes, it is wide that this just need take certain Ethernet bearing guipure, wasted limited Internet resources, unnecessary increase the transfer of data cost between the wireless communication network node.
Summary of the invention
Embodiment of the invention technical problem to be solved is: reduce the workload that sends data, shorten the data transmitting time, improve the transmission speed and the efficiency of transmission of data, improve utilization efficiency of network resources, reduce the transfer of data cost between the wireless communication network node.
According to first aspect of the embodiment of the invention, the first kind of data transmission method for uplink that provides comprises:
Receive the business datum that application layer sends;
Described business datum is carried out link layer packaging, in described business datum, write target MAC (Media Access Control) address;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
According to second aspect of the embodiment of the invention, the first kind of data sending device that provides comprises:
The application layer message processing module is used to produce business datum;
The link layer information processing module is used for the business datum that described application layer message processing module produces is carried out link layer packaging, writes target MAC (Media Access Control) address in described business datum;
The physical layer information processing module is used for carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that writes in described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
According to the 3rd aspect of the embodiment of the invention, the first kind of data receive method that provides comprises:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
To carrying out the link layer decapsulation, directly obtain business datum through the Ethernet data bag after the physical layer decapsulation.
According to the 4th aspect of the embodiment of the invention, the first kind of data sink that provides comprises:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
Second decapsulation module is used for directly obtaining business datum to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation.
In data transmission method for uplink that the above embodiment of the present invention provides and device and data receive method and the device, based on the characteristics of Ethernet as bearer network, only business datum is carried out link layer packaging and physical layer encapsulation, no longer it is carried out transport layer and network layer encapsulation, in transmission course, just do not need transport network layer and transport layer header message yet, also need not to carry out network layer and transport layer decapsulation at receiving terminal accordingly, compared with prior art, reduced and sent and the workload that receives data, shortened the data transmission, time of reception, the transmission that has improved data, inbound pacing and efficiency of transmission; And, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
According to the 5th aspect of the embodiment of the invention, the second kind of data transmission method for uplink that provides comprises:
Receive the business datum that application layer sends;
Described business datum is carried out the transport layer encapsulation;
To carrying out link layer packaging, in described business datum, write target MAC (Media Access Control) address through the business datum of transport layer encapsulation;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
According to the 6th aspect of the embodiment of the invention, the second kind of data sending device that provides comprises:
The application layer message processing module is used to produce business datum;
The transport layer information processing module is used for described business datum is carried out the transport layer encapsulation;
The link layer information processing module is used for writing target MAC (Media Access Control) address to carrying out link layer packaging through the business datum of transport layer encapsulation in described business datum;
The physical layer information processing module is used for carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that writes in described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
According to the 7th aspect of the embodiment of the invention, the second kind of data receive method that provides comprises:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
To carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
To carrying out the transport layer decapsulation, directly obtain business datum through the Ethernet data bag after the link layer decapsulation.
According to the 8th aspect of the embodiment of the invention, the second kind of data sink that provides comprises:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
Second decapsulation module is used for carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
The 3rd decapsulation module is used for directly obtaining business datum to carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation.
In the data transmission method for uplink and device and data receive method and device that the present invention the 5th to the 8th embodiment provides, based on the characteristics of Ethernet as bearer network, no longer business datum is carried out the encapsulation of some transmission sublayer in network layer encapsulation and the transport layer, in transmission course, just do not need to transmit respective transmissions sublayer and network layer header message yet, accordingly, also need not to carry out network layer and the decapsulation of respective transmissions sublayer at receiving terminal, compared with prior art, reduced and sent and the workload that receives data, shorten the data transmitting time, improved the transmission of data, inbound pacing and efficiency of transmission; And, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
According to the 9th aspect of the embodiment of the invention, the third data transmission method for uplink that provides comprises:
Receive the business datum that application layer sends;
Bearer types according to the described business datum of Standard Selection that sets in advance;
If directly carry described business datum by link layer, then described business datum is carried out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection;
If carry described business datum by transport layer, then described business datum is carried out the transport layer encapsulation by link layer; To carrying out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection through the business datum of transport layer encapsulation;
If carry described business datum by network layer and transport layer by link layer, then successively described business datum is carried out transport layer encapsulation, network layer encapsulation and link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection when carrying out link layer packaging;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
According to the tenth aspect of the embodiment of the invention, the third data sending device that provides comprises:
The application layer message processing module is used to produce business datum;
Select module, be used for bearer types according to the described business datum of Standard Selection that sets in advance;
The transport layer information processing module, be used for bearer types according to described selection module selection, when carrying described business datum by transport layer, or when carrying described business datum by network layer and transport layer, described business datum is carried out the transport layer encapsulation by link layer by link layer;
The network layer information processing module is used for the bearer types according to described selection module selection, when carrying described business datum by link layer by network layer and transport layer, to carrying out the network layer encapsulation through the business datum of transport layer information processing module encapsulation;
The link layer information processing module, be used for bearer types according to described selection module selection, when directly carrying described business datum by link layer, described business datum is carried out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection; When carrying described business datum by transport layer,, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection to carrying out link layer packaging through the business datum of transport layer information processing module encapsulation by link layer; When carrying described business datum by network layer and transport layer,, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection to carrying out link layer packaging through the business datum of network layer information processing module encapsulation by link layer;
The physical layer information processing module is used for the target MAC (Media Access Control) address to carrying out the physical layer encapsulation through the business datum after the link layer packaging and writing to described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
According to the 11 aspect of the embodiment of the invention, the third data receive method that provides comprises:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
Ethernet data bag after the decapsulation of process physical layer is carried out the link layer decapsulation, and from the Ethernet data bag after the decapsulation of process physical layer, obtain bearer types information;
If bearer types is directly to carry described business datum by link layer, then, directly obtain business datum to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
If bearer types is for to carry described business datum by link layer by transport layer, then to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation; To carrying out the transport layer decapsulation, directly obtain business datum through the Ethernet data bag after the link layer decapsulation;
If bearer types is for to carry described business datum by link layer by network layer and transport layer, then, obtain business datum successively to carrying out link layer decapsulation, network layer decapsulation and transport layer decapsulation through the Ethernet data bag after the physical layer decapsulation.
According to the 12 aspect of the embodiment of the invention, the third data sink that provides comprises:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
The 4th decapsulation module, be used for carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, from the Ethernet data bag after the decapsulation of process physical layer, obtain bearer types information, at this bearer types is when directly carrying described business datum by link layer, directly to obtain business datum; At this bearer types is when carrying described business datum by link layer by transport layer, will send to the 3rd decapsulation module through the Ethernet data bag after the link layer decapsulation; At this bearer types is when carrying described business datum by link layer by network layer and transport layer, will send to the 5th decapsulation module through the Ethernet data bag after the link layer decapsulation;
The 3rd decapsulation module is used for the Ethernet data bag after the decapsulation of process link layer is carried out the network layer decapsulation, and will sends to the 5th decapsulation module through the Ethernet data bag after the network layer decapsulation;
The 5th decapsulation module is used for the packet that receives is carried out the transport layer decapsulation, obtains business datum.
In the data transmission method for uplink and device and data receive method and device that the present invention the 9th to the 12 embodiment provides, can be according to the bearer types of the Standard Selection business datum that sets in advance, directly being carried by link layer still is by transport layer bearer service data by link layer, or by link layer by network layer and transport layer bearer service data, make that the transmission plan of business datum is more flexible, because when carrying some business datum by transport layer by the direct carrying of link layer or by link layer, this business datum is not carried out the encapsulation of some transmission sublayer in network layer encapsulation and the transport layer, in transmission course, just do not need to transmit respective transmissions sublayer and network layer header message yet, accordingly, also need not to carry out network layer and the decapsulation of respective transmissions sublayer at receiving terminal, compared with prior art, reduced the workload that transmitting terminal transmission data and receiving terminal receive data, shorten the data transmitting time, improved the transmission of data, inbound pacing and efficiency of transmission; And, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural representation of the IP stack of transmission data between the prior art wireless communication network node;
Fig. 2 is the flow chart of data transmission method for uplink embodiment one of the present invention;
Fig. 3 is the structural representation of data sending device embodiment one of the present invention;
Fig. 4 is the flow chart of data receive method embodiment one of the present invention;
Fig. 5 is the structural representation of data sink embodiment one of the present invention;
Fig. 6 is the flow chart of data transmission method for uplink embodiment two of the present invention;
Fig. 7 is the structural representation of data sending device embodiment two of the present invention;
Fig. 8 is the flow chart of data receive method embodiment two of the present invention;
Fig. 9 is the structural representation of data sink embodiment two of the present invention;
Figure 10 is the flow chart of data transmission method for uplink embodiment three of the present invention;
Figure 11 is the structural representation of data sending device embodiment three of the present invention;
Figure 12 is the flow chart of data receive method embodiment three of the present invention;
Figure 13 is the structural representation of data sink embodiment three of the present invention.
Embodiment
In the embodiment of the invention, can be by the direct bearer service data of link layer, or by link layer by transport layer bearer service data, thereby reduce the workload that sends data, shorten the data transmitting time, improve the transmission speed and the efficiency of transmission of data, improve utilization efficiency of network resources, reduce the transfer of data cost between the wireless communication network node.As one embodiment of the present of invention, below link layer in each method and apparatus be the MAC layer.
As shown in Figure 2, be the flow chart of data transmission method for uplink embodiment one of the present invention, it may further comprise the steps:
Step 201 receives the business datum that application layer sends.
In this step, application layer can comprise the application layer message processing module, and the business datum that receives in this step can be produced by this application layer message processing module.
Step 203 is carried out link layer packaging to business datum, writes target MAC (Media Access Control) address in this business datum.
In this step, business datum is carried out link layer packaging, in business datum, write the link layer header message, the link layer header message comprises: target MAC (Media Access Control) address, the link layer header message can also comprise: the purpose identification information of the source identification information of the transmit leg station address of source MAC, identification service data and recipient's station address of identification service data.
In business datum, behind packaged source identification information and the purpose identification information, just can distinguish the different business stream of this business datum, that is: the transmit leg user and the recipient user of business datum.
Step 205, to carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in business datum, writes during according to link layer packaging, send the Ethernet data bag that physical layer encapsulation back generates.
In this step, to carry out the physical layer encapsulation through the business datum after the link layer packaging, in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag, and send the Ethernet data bag according to the target MAC (Media Access Control) address in the link layer header message.
As shown in Figure 3, structural representation for data sending device embodiment one of the present invention, the data sending device of this embodiment can be used for realizing data transmission method for uplink embodiment as shown in Figure 2, and it comprises application layer message processing module 301, link layer information processing module 303 and physical layer information processing module 305.
Wherein, application layer message processing module 301 is used to produce business datum; Link layer information processing module 303 is used for the business datum that application layer message processing module 301 produces is carried out link layer packaging, in business datum, write the link layer header message, this link layer header message comprises target MAC (Media Access Control) address, the purpose identification information that can also comprise in addition, recipient's station address of the source identification information of transmit leg station address of source MAC, identification service data and identification service data.Particularly, the link layer information processing module can be MAC layer message processing module; Physical layer information processing module 305 is used for carry out the physical layer encapsulation through the business datum after the link layer packaging, in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag, and send the Ethernet data bag according to the target MAC (Media Access Control) address in the link layer header message.
Fig. 2 and embodiment shown in Figure 3 according to the present invention, only business datum is carried out link layer packaging and physical layer encapsulation, no longer it is carried out transport layer and network layer encapsulation, in transmission course, just do not need yet transmission network layer by layer with the transmission header message, reduced the workload that sends data, shorten the data transmitting time, improved the transmission speed and the efficiency of transmission of data; And, owing to need not transport network layer and transport layer header message, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
A concrete application example is, according to third generation partner program (3rd GenerationPartnership Project, hereinafter to be referred as: regulation 3GPP), radio network controller (RadioNetwork Controller, hereinafter to be referred as: RNC) with Serving GPRS Support Node (Serving GPRSSupport Node, hereinafter to be referred as: the user face data that transmits by Iu-PS interface SGSN), need to produce user face data by the IP application layer, pass through GTP-U (GPRS TunnelProtocol User Plane successively, user's face tunnel protocol, hereinafter to be referred as: GTP-U) with the encapsulation of UDP, the encapsulation of IP layer, encapsulation of MAC layer and physical layer encapsulation; And according to the abovementioned embodiments of the present invention, behind IP application layer generation user face data, directly it is carried out encapsulation of MAC layer and physical layer encapsulation, saved the expense that GTP-U encapsulation, UDP encapsulation and the encapsulation of IP layer are brought.
As shown in Figure 4, be the flow chart of data receive method embodiment one of the present invention, it may further comprise the steps:
Step 401 receives the Ethernet data bag.
Step 403 is carried out the physical layer decapsulation to the Ethernet data bag.
This step specifically can comprise: the Ethernet data bag is carried out the physical layer decapsulation, remove the Ethernet header message in the packet.
Step 405 to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, directly obtains business datum.
This step specifically can comprise: to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation, directly obtain business datum.
As shown in Figure 5, structural representation for data sink embodiment one of the present invention, the data sending device of this embodiment can be used for realizing data receive method embodiment as shown in Figure 4, and it comprises receiver module 501, first decapsulation module 503 and second decapsulation module 505.
Wherein, receiver module 501 is used to receive the Ethernet data bag; First decapsulation module 503 is used for the Ethernet data bag is carried out the physical layer decapsulation, removes the Ethernet header message in the packet; Second decapsulation module 505 is used for removing through the link layer header message in the Ethernet data bag after the physical layer decapsulation carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, directly obtains business datum.
Fig. 4 and embodiment shown in Figure 5 according to the present invention, only need the Ethernet data bag is carried out link layer decapsulation and physical layer decapsulation, no longer it is carried out transport layer and network layer decapsulation, reduced the workload that receives business datum, shorten the Data Receiving time, improved the inbound pacing of data.
As shown in Figure 6, be the flow chart of data transmission method for uplink embodiment two of the present invention, it may further comprise the steps:
Step 601 receives the business datum that application layer sends.
In this step, application layer can comprise the application layer message processing module, and the business datum that receives in this step can be produced by this application layer message processing module.
Step 603 is carried out the transport layer encapsulation to business datum.
In this step, when business datum is carried out the transport layer encapsulation, can write the transport layer header message in business datum, the transport layer header message comprises the purpose identification information of recipient's station address of the source identification information of transmit leg station address of identification service data and identification service data.
Particularly, if be provided with a plurality of transmission sublayer in the transport layer, then can transmit the sublayer business datum is carried out the transport layer encapsulation by one or more.When the transport layer encapsulation is carried out to business datum in a transmission sublayer in the transport layer, in business datum, write the transport layer header message; When the sublayer encapsulation is transmitted to business datum successively in a plurality of transmission sublayer in the transport layer, in business datum, write respective transmissions sublayer header message respectively.
For example: the business datum that need transmit each node of wireless network successively by the transmission sublayer n in the transport layer, transmission sublayer n-1 ..., transmission sublayer n-k packing bearing, and transmission sublayer n-k is directly encapsulated by the ethernet mac layer.At this moment, just can save the IP layer and encapsulate the expense of being brought to transmitting sublayer n-k-1 with transmission sublayer 1.Behind packaged source identification information and the purpose identification information, the different business that just can distinguish this business datum by transmission sublayer n-k flows, that is: the transmit leg user and the recipient user of business datum in business datum.
Step 605 to carrying out link layer packaging through the business datum of transport layer encapsulation, writes target MAC (Media Access Control) address in this business datum.
In this step, business datum is carried out link layer packaging, write the link layer header message in business datum, the link layer header message comprises target MAC (Media Access Control) address, and the link layer header message can also comprise source MAC.
Step 607, to carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in business datum, writes during according to link layer packaging, send the Ethernet data bag that physical layer encapsulation back generates.
In this step, to carry out the physical layer encapsulation through the business datum after the link layer packaging, in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag, and send this Ethernet data bag according to the target MAC (Media Access Control) address in the link layer header message.
As a concrete application example, according to the regulation of 3GPP, RNC and media gateway (MediaGateway, hereinafter to be referred as: the user face data that transmits by Iu-CS interface MGW).Need produce speech data by application layer, pass through RTP (Real-TimeTransport protocol more successively, hereinafter to be referred as: RTP) encapsulation, the encapsulation of IP layer, the encapsulation of MAC layer with UDP encapsulates with physical layer, and according to embodiment shown in Figure 6 of the present invention, behind application layer generation speech data, just passable to its RTP encapsulation, the encapsulation of MAC layer and physical layer encapsulation of carrying out original second transmission sublayer, the UDP encapsulation of having saved original first transmission sublayer encapsulates the expense of being brought with the IP layer.
As shown in Figure 7, structural representation for data sending device embodiment two of the present invention, the data sending device of this embodiment can be used for realizing data transmission method for uplink embodiment as shown in Figure 6, and it comprises application layer message processing module 301, transport layer information processing module 701, link layer information processing module 703 and physical layer information processing module 305.
Wherein, application layer message processing module 701 is used to produce business datum; Transport layer information processing module 701 is used for the business datum that application layer message processing module 701 produces is carried out the transport layer encapsulation, write the transport layer header message in business datum, this transport layer header message comprises the purpose identification information of recipient's station address of the source identification information of transmit leg station address of identification service data and identification service data; Link layer information processing module 703 is used for writing the link layer header message to carrying out link layer packaging through the business datum of transport layer encapsulation in business datum, and this link layer header message comprises target MAC (Media Access Control) address, in addition, can also comprise source MAC.Particularly, the link layer information processing module can be MAC layer message processing module; Physical layer information processing module 305 is used for carry out the physical layer encapsulation through the business datum after the link layer packaging, in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag, and send packet according to the target MAC (Media Access Control) address in the link layer header message.
Fig. 6 and embodiment shown in Figure 7 according to the present invention, only business datum is carried out link layer packaging and physical layer encapsulation, no longer it is carried out transport layer and network layer encapsulation, in transmission course, just do not need yet transmission network layer by layer with the transmission header message, reduced the workload that sends data, shorten the data transmitting time, improved the transmission speed and the efficiency of transmission of data; And, owing to need not transport network layer and transport layer header message, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
In the embodiment shown in fig. 7, the link layer information processing module is specifically as follows MAC layer message processing module.In addition, the transport layer information processing module also can comprise a plurality of sub-information process units, is respectively applied for successively business datum is transmitted the sublayer encapsulation, writes transmission sublayer header message respectively in business datum.
As shown in Figure 8, be the flow chart of data receive method embodiment two of the present invention, it may further comprise the steps:
Step 801 receives the Ethernet data bag.
Step 803 is carried out the physical layer decapsulation to the Ethernet data bag.
This step specifically can comprise: the Ethernet data bag is carried out the physical layer decapsulation, remove the Ethernet header message in the packet.
Step 805 is to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation.
This step specifically can comprise: to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation.
Step 807 to carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation, directly obtains business datum.
This step specifically can comprise: to carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation, remove through the transport layer header message in the Ethernet data bag after the link layer decapsulation, directly obtain business datum.
Particularly, if in the process that data send, by a plurality of transmission sublayer business datum is encapsulated, then in step 807 when carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation, need be transmitted the opposite sequence of sublayer encapsulation in transport layer by each according to business datum, to through respectively transmitting the decapsulation of sublayer, remove and respectively transmit the sublayer header message successively.
As shown in Figure 9, structural representation for data sink embodiment two of the present invention, the data sending device of this embodiment can be used for realizing data transmission method for uplink embodiment as shown in Figure 8, and it comprises receiver module 501, first decapsulation module 503, second decapsulation module 505 and the 3rd decapsulation module 901.
Wherein, receiver module 501 is used to receive the Ethernet data bag; First decapsulation module 503 is used for the Ethernet data bag is carried out the physical layer decapsulation, removes the Ethernet header message in the packet; Second decapsulation module 505 is used for removing through the link layer header message in the Ethernet data bag after the physical layer decapsulation carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation; The 3rd decapsulation module 901 is used for removing through the transport layer header message in the Ethernet data bag after the link layer decapsulation carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation, directly obtains business datum.
Fig. 8 and embodiment shown in Figure 9 according to the present invention, only need the Ethernet data bag is carried out link layer decapsulation, appropriate section transmission sublayer decapsulation and physical layer decapsulation, no longer it is carried out the network layer decapsulation, reduced the workload that receives business datum, shorten the Data Receiving time, improved the inbound pacing of data.
In data sink embodiment shown in Figure 9, the 3rd decapsulation module 901 can comprise a plurality of the 3rd decapsulation submodules, be respectively applied for according to the opposite sequence of business datum in the transport layer encapsulation, to respectively transmitting the sublayer decapsulation, remove and respectively transmit the sublayer header message successively through the Ethernet data bag after the physical layer decapsulation.
When practical application, can be according to real needs, the standard of setting in advance is come the bearer types of regulation business datum, for example: the bearer types of determining business datum according to type of service, stipulate that some business datum directly carried by link layer, some business datum is carried by transport layer by link layer, and the other business datum is according to existing IP stack, carry by network layer and transport layer by link layer, also can be with the method combination in any of above-mentioned three kinds of bearer service data.
As shown in figure 10, be the flow chart of data transmission method for uplink embodiment three of the present invention, it may further comprise the steps:
Step 1001 receives the business datum that application layer sends.
In this step, application layer can comprise the application layer message processing module, and the business datum that receives in this step can be produced by this application layer message processing module.
Step 1003 according to the standard that sets in advance, is selected the bearer types of business datum, if by the direct bearer service data of link layer, execution in step 1005; If by transport layer bearer service data, then execution in step 1007 by link layer; If by network layer and transport layer bearer service data, then execution in step 1011 by link layer.
In this step, the standard that what is called sets in advance can for: with type of service as standard, also can transmit key factor as standard according to each business datum, these key factors specifically can be: the efficiency of transmission of business data transmission, equipment cost and/or service transmission performance etc.In the present embodiment, be that example describes with the type of service.
Link layer wherein is specifically as follows the MAC layer, and network layer is specifically as follows the IP layer.
Step 1005 is carried out link layer packaging to business datum, writes the bearer types information of target MAC (Media Access Control) address and selection in this business datum.
In this step, business datum is carried out link layer packaging, in business datum, write the bearer types information of link layer header message and selection, link layer header message wherein comprises: target MAC (Media Access Control) address, in addition, can also comprise: the purpose identification information of the source identification information of the transmit leg station address of source MAC, identification service data and recipient's station address of identification service data, execution in step 1013 then.
After in business datum, writing bearer types information, help receiving terminal, the Ethernet data bag is carried out corresponding decapsulation flow process according to this bearer types information.
When specifically in business datum, writing bearer types information, can adopt in the mac frame, the obsolete protocol fields of middle Ethernet bearing net, for example: (the Internet WorkPacket Exchange of packet exchange between net, hereinafter to be referred as: IPX) field, write down this bearer types information, also can define new field and write down this bearer types information.
Step 1007 is carried out the transport layer encapsulation to business datum.
In this step, when business datum is carried out the transport layer encapsulation, can write the transport layer header message in business datum, the transport layer header message comprises the purpose identification information of recipient's station address of the source identification information of transmit leg station address of identification service data and identification service data.
Step 1009 to carrying out link layer packaging through the business datum of transport layer encapsulation, writes target MAC (Media Access Control) address in this business datum.
Business datum is carried out link layer packaging writes link layer header message and selection in business datum bearer types information, and the link layer header message comprises target MAC (Media Access Control) address, and the link layer header message can also comprise source MAC, and execution in step 1013 then.
Step 1011 is carried out transport layer encapsulation, network layer encapsulation and link layer packaging to business datum successively, writes the bearer types information of target MAC (Media Access Control) address and selection when carrying out link layer packaging in described business datum.
Particularly, in this step, successively business datum is carried out transport layer encapsulation, network layer encapsulation and link layer packaging, in business datum, write the bearer types information of transport layer header message, network layer header message, link layer header message and selection respectively.
Step 1013, to carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in business datum, writes during according to link layer packaging, send the Ethernet data bag that physical layer encapsulation back generates.
In this step, to carry out the physical layer encapsulation through the business datum after the link layer packaging, in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag, and send this Ethernet data bag according to the target MAC (Media Access Control) address in the link layer header message.
When by transport layer business datum being encapsulated in the above-described embodiments,, then can transmit the sublayer business datum is carried out the transport layer encapsulation by one or more if be provided with a plurality of transmission sublayer in the transport layer.When the transport layer encapsulation is carried out to business datum in a transmission sublayer in the transport layer, in business datum, write the transport layer header message; When the sublayer encapsulation is transmitted to business datum successively in a plurality of transmission sublayer in the transport layer, in business datum, write transmission sublayer header message respectively.
As shown in figure 11, structural representation for data sending device embodiment three of the present invention, the data sending device of this embodiment can be used for realizing data transmission method for uplink embodiment as shown in figure 10, and it comprises application layer message processing module 301, selects module 1101, transport layer information processing module 1103, network layer information processing module 1105, link layer information processing module 1107 and physical layer information processing module 305.
Wherein, application layer message processing module 301 is used to produce business datum; Selection module 1101 is used for the bearer types according to the business datum of Standard Selection application layer message processing module 301 generations that set in advance;
Transport layer information processing module 1103 is used for according to the bearer types of selecting module to select, when passing through transport layer bearer service data by link layer, business datum is carried out the transport layer encapsulation, write the transport layer header message in business datum, this transport layer header message comprises the purpose identification information of recipient's station address of the source identification information of transmit leg station address of identification service data and identification service data; During by network layer and transport layer bearer service data, business datum being carried out the transport layer encapsulation, in business datum, write the transport layer header message by link layer;
Network layer information processing module 1105 is used for according to the bearer types of selecting module to select, by link layer during by network layer and transport layer bearer service data, to carrying out the network layer encapsulation, in business datum, write the network layer header message through the encapsulation of transport layer information processing module through the business datum of transport layer information processing module encapsulation;
Link layer information processing module 1107 is used for according to the bearer types of selecting module to select, by the direct bearer service data of link layer the time, business datum is carried out link layer packaging, writes the bearer types information of target MAC (Media Access Control) address and selection in business datum; Particularly, when business datum is carried out link layer packaging, can in business datum, write the bearer types information of link layer header message and selection, wherein the link layer header message comprises target MAC (Media Access Control) address, the purpose identification information that can also comprise in addition, recipient's station address of the source identification information of transmit leg station address of source MAC, identification service data and identification service data.When passing through transport layer bearer service data,, in business datum, write the bearer types information of target MAC (Media Access Control) address and selection to carrying out link layer packaging through the business datum of transport layer information processing module encapsulation by link layer; Particularly, when business datum is carried out link layer packaging, can write the bearer types information of link layer header message and selection in business datum, wherein the link layer header message comprises target MAC (Media Access Control) address, in addition, can also comprise source MAC.During by network layer and transport layer bearer service data,, in business datum, writing the bearer types information of target MAC (Media Access Control) address and selection by link layer to carrying out link layer packaging through the business datum of network layer information processing module encapsulation; Particularly, when business datum is carried out link layer packaging, can in business datum, write the bearer types information of link layer header message and selection;
Physical layer information processing module 305 is used for generating the Ethernet data bag, and sending packet according to the target MAC (Media Access Control) address in the link layer header message carry out the physical layer encapsulation through the business datum after the link layer packaging; Particularly, when the business datum after the process link layer packaging is carried out the physical layer encapsulation, can in through the business datum after the link layer packaging, write the Ethernet header message, generate the Ethernet data bag.
Figure 10 and embodiment shown in Figure 11 according to the present invention, can be according to predefined standard, the partial service data are carried out transport layer, link layer and physical layer encapsulation, and other business datum is carried out link layer packaging and physical layer encapsulation, perhaps transport layer, link layer and physical layer encapsulation, this has just reduced the workload that sends data, has shortened the data transmitting time, has improved the transmission speed and the efficiency of transmission of data; And, owing to reduced the transmission quantity of data, effectively saved the network bandwidth that takies in the Ethernet data bag transmission course, improved utilization efficiency of network resources, reduced the transfer of data cost between the wireless communication network node.
In data sending device embodiment shown in Figure 11, link layer information processing module 1107 is specifically as follows MAC layer message processing module, and network layer information processing module 1105 is specifically as follows IP layer message processing module.Further, in the embodiment shown in fig. 11, transport layer information processing module 1101 comprises a plurality of sub-information process units, be respectively applied for successively business datum is transmitted the sublayer encapsulation, in business datum, write transmission sublayer header message respectively, according to the bearer types of selecting module to select, by link layer when the transport layer bearer service data, the transport layer header message comprises the purpose identification information of recipient's station address of the source identification information of transmit leg station address of identification service data and identification service data.
As shown in figure 12, be the flow chart of data receive method embodiment three of the present invention, it may further comprise the steps:
Step 1201 receives the Ethernet data bag.
Step 1203 is carried out the physical layer decapsulation to the Ethernet data bag.
This step specifically can comprise: the Ethernet data bag is carried out the physical layer decapsulation, remove the Ethernet header message in the packet.
Step 1205, to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, and, be by the direct bearer service data of link layer, execution in step 1207 as if this bearer types from through obtaining bearer types information the Ethernet data bag after the physical layer decapsulation; If bearer types is by transport layer bearer service data, execution in step 1209 by link layer; If bearer types is by network layer and transport layer bearer service data, execution in step 1213 by link layer.Particularly, when the Ethernet data bag after the decapsulation of process physical layer is carried out the link layer decapsulation, can remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation.
Step 1207 to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, directly obtains business datum.This step specifically can comprise: to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation, directly obtain business datum.
Step 1209 is to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation.Particularly, when the Ethernet data bag after the decapsulation of process physical layer is carried out the link layer decapsulation, can remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation.
Step 1211 to carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation, directly obtains business datum.Particularly, when the Ethernet data bag after the decapsulation of process link layer is carried out the transport layer decapsulation, can remove, directly obtain business datum through the transport layer header message in the Ethernet data bag after the link layer decapsulation.
Step 1213, successively to carry out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, the network layer envelope is separated dress and transport layer decapsulation, remove respectively through link layer header message, network layer header message and transport layer header message in the Ethernet data bag after the link layer decapsulation, obtain business datum.
As shown in figure 13, structural representation for data sink embodiment three of the present invention, the data sink of this embodiment can be used for realizing the Data Receiving flow process of embodiment as shown in figure 12, and it comprises receiver module 501, first decapsulation module 503, the 4th decapsulation module 1301, the 3rd decapsulation module 901 and the 5th decapsulation module 1303.
Wherein, receiver module 501 is used to receive the Ethernet data bag;
First decapsulation module 503 is used for the Ethernet data bag is carried out the physical layer decapsulation, removes the Ethernet header message in the packet;
The 4th decapsulation module 1301 is used for carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, remove through the link layer header message in the Ethernet data bag after the physical layer decapsulation, from the Ethernet data bag after the decapsulation of process physical layer, obtain bearer types information, at this bearer types is during by the direct bearer service data of link layer, directly obtains business datum; At this bearer types is when passing through transport layer bearer service data by link layer, will send to the 3rd decapsulation module 901 through the Ethernet data bag after the link layer decapsulation; At this bearer types is during by network layer and transport layer bearer service data, will send to the 5th decapsulation module 1303 by link layer through the Ethernet data bag after the link layer decapsulation;
The 3rd decapsulation module 901 is used for carrying out the network layer decapsulation through the Ethernet data bag after the link layer decapsulation, remove through the network layer header message in the Ethernet data bag after the link layer decapsulation, and will send to the 5th decapsulation module 1303 through the Ethernet data bag after the network layer decapsulation;
The 5th decapsulation module 1303 is used for the packet that receives is carried out the transport layer decapsulation, removes through the transport layer header message in the Ethernet data bag after the network layer decapsulation, obtains business datum.
Figure 12 and embodiment shown in Figure 13 according to the present invention, can be according to predefined standard, part Ethernet data bag is carried out link layer decapsulation and physical layer decapsulation, part Ethernet data bag is carried out part transmission sublayer, link layer and physical layer decapsulation, so just reduced the workload of receiving terminal reception business datum, shorten the Data Receiving time, improved the inbound pacing of data.
What deserves to be explained is, the technical scheme that present embodiment provides, be applicable to various communication systems, for example: global system for mobile communications (Global System for Mobile communications, hereinafter to be referred as: GSM), code division multiple access inserts (Code Division Multiple Access, hereinafter to be referred as: CDMA) 2000 systems, Wideband Code Division Multiple Access (WCDMA) inserts (Wideband Code Division MultipleAccess, hereinafter to be referred as: WCDMA) system, and flat framework high-speed packet access+(High-SpeedPacket Access+, hereinafter to be referred as: HSPA+) system, 3GPP Long Term Evolution plan/System Architecture Evolution (Long Term Evolution/System Architecture Evolution, hereinafter to be referred as: LTE/SAE) system etc.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
It should be noted last that: above embodiment is only in order to illustrating technical scheme of the present invention, but not the present invention is made restrictive sense.Although the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.

Claims (23)

1, a kind of data transmission method for uplink is characterized in that, comprising:
Receive the business datum that application layer sends;
Described business datum is carried out link layer packaging, in described business datum, write target MAC (Media Access Control) address;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
2, data transmission method for uplink according to claim 1 is characterized in that, described link layer is the MAC layer.
3, a kind of data sending device is characterized in that, comprising:
The application layer message processing module is used to produce business datum;
The link layer information processing module is used for the business datum that described application layer message processing module produces is carried out link layer packaging, writes target MAC (Media Access Control) address in described business datum;
The physical layer information processing module is used for carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that writes in described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
4, data sending device according to claim 3 is characterized in that, described link layer information processing module is a MAC layer message processing module.
5, a kind of data receive method is characterized in that, comprising:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
To carrying out the link layer decapsulation, directly obtain business datum through the Ethernet data bag after the physical layer decapsulation.
6, a kind of data sink is characterized in that, comprising:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
Second decapsulation module is used for directly obtaining business datum to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation.
7, a kind of data transmission method for uplink is characterized in that, comprising:
Receive the business datum that application layer sends;
Described business datum is carried out the transport layer encapsulation;
To carrying out link layer packaging, in described business datum, write target MAC (Media Access Control) address through the business datum of transport layer encapsulation;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
8, data transmission method for uplink according to claim 7 is characterized in that, described link layer is the MAC layer.
9, according to claim 7 or 8 described data transmission method for uplink, it is characterized in that, described business datum carried out the transport layer encapsulation comprise:
The transport layer encapsulation is carried out to described business datum in a transmission sublayer in the described transport layer, writes the transport layer header message in described business datum; The sublayer encapsulation is transmitted to described business datum successively in a plurality of transmission sublayer in the perhaps described transport layer, writes transmission sublayer header message respectively in described business datum.
10, a kind of data sending device is characterized in that, comprising:
The application layer message processing module is used to produce business datum;
The transport layer information processing module is used for described business datum is carried out the transport layer encapsulation;
The link layer information processing module is used for writing target MAC (Media Access Control) address to carrying out link layer packaging through the business datum of transport layer encapsulation in described business datum;
The physical layer information processing module is used for carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that writes in described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
11, data sending device according to claim 10 is characterized in that, described link layer information processing module is a MAC layer message processing module; And/or
Described transport layer information processing module comprises a plurality of sub-information process units, is respectively applied for successively described business datum is transmitted the sublayer encapsulation, writes transmission sublayer header message respectively in described business datum.
12, a kind of data receive method is characterized in that, comprising:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
To carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
To carrying out the transport layer decapsulation, directly obtain business datum through the Ethernet data bag after the link layer decapsulation.
13, data receive method according to claim 12 is characterized in that, describedly comprises carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation:
According to the opposite sequence of business datum, to respectively transmitting the sublayer decapsulation, remove and respectively transmit the sublayer header message successively through the Ethernet data bag after the link layer decapsulation in the transport layer encapsulation.
14, a kind of data sink is characterized in that, comprising:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
Second decapsulation module is used for carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
The 3rd decapsulation module is used for directly obtaining business datum to carrying out the transport layer decapsulation through the Ethernet data bag after the link layer decapsulation.
15, data sink according to claim 14, it is characterized in that, described the 3rd decapsulation module comprises a plurality of the 3rd decapsulation submodules, be respectively applied for according to the opposite sequence of business datum, successively to respectively transmitting the sublayer decapsulation through the Ethernet data bag after the physical layer decapsulation in the transport layer encapsulation.
16, a kind of data transmission method for uplink is characterized in that, comprising:
Receive the business datum that application layer sends;
Bearer types according to the described business datum of Standard Selection that sets in advance;
If directly carry described business datum by link layer, then described business datum is carried out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection;
If carry described business datum by transport layer, then described business datum is carried out the transport layer encapsulation by link layer; To carrying out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection through the business datum of transport layer encapsulation;
If carry described business datum by network layer and transport layer by link layer, then successively described business datum is carried out transport layer encapsulation, network layer encapsulation and link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection when carrying out link layer packaging;
To carrying out the physical layer encapsulation through the business datum after the link layer packaging, and the target MAC (Media Access Control) address that in described business datum, writes during according to link layer packaging, the Ethernet data bag that physical layer encapsulation back generates sent.
17, data transmission method for uplink according to claim 16 is characterized in that, described link layer is the MAC layer, and described network layer is the IP layer.
18, according to claim 16 or 17 described data transmission method for uplink, it is characterized in that, described business datum carried out the transport layer encapsulation comprise:
The transport layer encapsulation is carried out to described business datum in a transmission sublayer in the described transport layer, writes the transport layer header message in described business datum; The sublayer encapsulation is transmitted to described business datum successively in a plurality of transmission sublayer in the perhaps described transport layer, writes the transport layer header message respectively in described business datum.
19, a kind of data sending device is characterized in that, comprising:
The application layer message processing module is used to produce business datum;
Select module, be used for bearer types according to the described business datum of Standard Selection that sets in advance;
The transport layer information processing module, be used for bearer types according to described selection module selection, when carrying described business datum by transport layer, or when carrying described business datum by network layer and transport layer, described business datum is carried out the transport layer encapsulation by link layer by link layer;
The network layer information processing module is used for the bearer types according to described selection module selection, when carrying described business datum by link layer by network layer and transport layer, to carrying out the network layer encapsulation through the business datum of transport layer information processing module encapsulation;
The link layer information processing module, be used for bearer types according to described selection module selection, when directly carrying described business datum by link layer, described business datum is carried out link layer packaging, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection; When carrying described business datum by transport layer,, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection to carrying out link layer packaging through the business datum of transport layer information processing module encapsulation by link layer; When carrying described business datum by network layer and transport layer,, in described business datum, write the bearer types information of target MAC (Media Access Control) address and selection to carrying out link layer packaging through the business datum of network layer information processing module encapsulation by link layer;
The physical layer information processing module is used for the target MAC (Media Access Control) address to carrying out the physical layer encapsulation through the business datum after the link layer packaging and writing to described business datum during according to link layer packaging, sends the Ethernet data bag that physical layer encapsulation back generates.
20, data sending device according to claim 19 is characterized in that, described link layer information processing module is a MAC layer message processing module, and described network layer information processing module is an IP layer message processing module.
21, according to claim 19 or 20 described data sending devices, it is characterized in that, described transport layer information processing module comprises a plurality of sub-information process units, be respectively applied for successively described business datum is transmitted the sublayer encapsulation, in described business datum, write transmission sublayer header message respectively, bearer types according to described selection module selection, when carrying described business datum by link layer by transport layer, described transport layer header message comprises the source identification information of the transmit leg station address that identifies described business datum and the purpose identification information of recipient's station address of the described business datum of sign.
22, a kind of data receive method is characterized in that, comprising:
Receive the Ethernet data bag;
Described Ethernet data bag is carried out the physical layer decapsulation;
Ethernet data bag after the decapsulation of process physical layer is carried out the link layer decapsulation, and from the Ethernet data bag after the decapsulation of process physical layer, obtain bearer types information;
If bearer types is directly to carry described business datum by link layer, then, directly obtain business datum to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation;
If bearer types is for to carry described business datum by link layer by transport layer, then to carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation; To carrying out the transport layer decapsulation, directly obtain business datum through the Ethernet data bag after the link layer decapsulation;
If bearer types is for to carry described business datum by link layer by network layer and transport layer, then, obtain business datum successively to carrying out link layer decapsulation, network layer decapsulation and transport layer decapsulation through the Ethernet data bag after the physical layer decapsulation.
23, a kind of data sink is characterized in that, comprising:
Receiver module is used to receive the Ethernet data bag;
First decapsulation module is used for described Ethernet data bag is carried out the physical layer decapsulation;
The 4th decapsulation module, be used for carrying out the link layer decapsulation through the Ethernet data bag after the physical layer decapsulation, from the Ethernet data bag after the decapsulation of process physical layer, obtain bearer types information, at this bearer types is when directly carrying described business datum by link layer, directly to obtain business datum; At this bearer types is when carrying described business datum by link layer by transport layer, will send to the 3rd decapsulation module through the Ethernet data bag after the link layer decapsulation; At this bearer types is when carrying described business datum by link layer by network layer and transport layer, will send to the 5th decapsulation module through the Ethernet data bag after the link layer decapsulation;
The 3rd decapsulation module is used for the Ethernet data bag after the decapsulation of process link layer is carried out the network layer decapsulation, and will sends to the 5th decapsulation module through the Ethernet data bag after the network layer decapsulation;
The 5th decapsulation module is used for the packet that receives is carried out the transport layer decapsulation, obtains business datum.
CNA2008101037826A 2008-04-10 2008-04-10 Method and device for sending data and method and device for receiving data Pending CN101557386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101037826A CN101557386A (en) 2008-04-10 2008-04-10 Method and device for sending data and method and device for receiving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101037826A CN101557386A (en) 2008-04-10 2008-04-10 Method and device for sending data and method and device for receiving data

Publications (1)

Publication Number Publication Date
CN101557386A true CN101557386A (en) 2009-10-14

Family

ID=41175333

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101037826A Pending CN101557386A (en) 2008-04-10 2008-04-10 Method and device for sending data and method and device for receiving data

Country Status (1)

Country Link
CN (1) CN101557386A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200072A (en) * 2013-05-06 2013-07-10 吉林省金港计算机网络有限公司 Network-based data transmission method, device and system
CN103841209A (en) * 2014-03-19 2014-06-04 中国联合网络通信集团有限公司 Data transmitting processing method and device
CN104363185A (en) * 2014-04-18 2015-02-18 许继电气股份有限公司 Miniature combined network data exchange system
CN106372013A (en) * 2015-07-24 2017-02-01 华为技术有限公司 Remote memory access method, apparatus and system
CN108370280A (en) * 2015-09-21 2018-08-03 华为技术有限公司 Quick and expansible data-base cluster communication path
CN108989244A (en) * 2018-08-20 2018-12-11 Oppo广东移动通信有限公司 Data processing method, device, storage medium and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200072A (en) * 2013-05-06 2013-07-10 吉林省金港计算机网络有限公司 Network-based data transmission method, device and system
CN103200072B (en) * 2013-05-06 2016-06-08 吉林省金港计算机网络有限公司 A kind of network data transmission method, Apparatus and system
CN103841209A (en) * 2014-03-19 2014-06-04 中国联合网络通信集团有限公司 Data transmitting processing method and device
CN104363185A (en) * 2014-04-18 2015-02-18 许继电气股份有限公司 Miniature combined network data exchange system
CN104363185B (en) * 2014-04-18 2017-12-15 许继电气股份有限公司 A kind of miniature composite network data exchange system
CN106372013A (en) * 2015-07-24 2017-02-01 华为技术有限公司 Remote memory access method, apparatus and system
CN106372013B (en) * 2015-07-24 2019-11-12 华为技术有限公司 Long-distance inner access method, device and system
CN108370280A (en) * 2015-09-21 2018-08-03 华为技术有限公司 Quick and expansible data-base cluster communication path
CN108989244A (en) * 2018-08-20 2018-12-11 Oppo广东移动通信有限公司 Data processing method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11510131B2 (en) Configuration method, data transmission method, and apparatus
JP7303833B2 (en) Information transmission method and device
JP6025880B2 (en) Data transmission method, apparatus and system
CN101388825B (en) Method and apparatus for transmitting data package of GPRS tunnel protocol
CN101998511B (en) Header compression method and device under network relay scene
CN1615618B (en) A bi-directional packet data transmission system and method
CN100477844C (en) Context repositioning method
CN101369977A (en) Method, apparatus and system for transmitting data
CN106716951A (en) Methods and apparatus for optimizing tunneled traffic
JP4559766B2 (en) Flow control method for HSDPA and HSUPA
CN102761905B (en) Message treatment method, equipment and system
CN101150497A (en) Multi-data packet transmission method, system and device in mobile communication
CN102158461B (en) Method and device for transmitting non-I (in-phase)/Q (quadrature phase) data through common public radio interface (CPRI)
CN105577501A (en) Lower-hanging equipment network access communication realization method of private network client terminal equipment and apparatus thereof
CN102469509A (en) Data transmission method, apparatus thereof and system thereof
CN101557386A (en) Method and device for sending data and method and device for receiving data
CN102625363A (en) Mobile evolved packet network system
CN102625417A (en) System and method for realizing multi-system wireless terminal binding
US7983297B2 (en) Method and apparatus for the efficient use of available communications network bandwidth
TWI454116B (en) Data transmitting method and mobile device using the same
CN102420745A (en) 3G (the third Generation) communication method and system
CN107682893A (en) A kind of jamming control method and equipment of UDP business
CN103312449B (en) Downlink data package transmission method and RNC under AP networking scene
WO2012110004A1 (en) Message forwarding method and device based on lte-lan
CN102143157A (en) Data transmission method, equipment and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20091014