WO2011035678A1 - 数据传输方法及装置 - Google Patents

数据传输方法及装置 Download PDF

Info

Publication number
WO2011035678A1
WO2011035678A1 PCT/CN2010/076494 CN2010076494W WO2011035678A1 WO 2011035678 A1 WO2011035678 A1 WO 2011035678A1 CN 2010076494 W CN2010076494 W CN 2010076494W WO 2011035678 A1 WO2011035678 A1 WO 2011035678A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
data
packet
mobile terminal
service flow
Prior art date
Application number
PCT/CN2010/076494
Other languages
English (en)
French (fr)
Inventor
郭�东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011035678A1 publication Critical patent/WO2011035678A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Definitions

  • the present invention relates to the field of communications, and in particular, to a data transmission method and apparatus. Background technique
  • a mobile terminal When a mobile terminal (MS) performs data interaction with an external network (such as the Internet), the mobile terminal performs different services, and the required QoS may be different, and the bearer for transmitting the service may also be different. For example, accessing the Internet to browse ordinary web pages requires a lower QoS level; for video conferencing, a larger bandwidth and a smaller delay are required, so a higher QoS level is required.
  • the mobile terminal If the mobile terminal itself is the originator of the service, such as in a General Packet Radio Service (GPRS) network, the mobile terminal obtains the terminal in the network in a Packet Data Protocol (PDP) context Context activation.
  • PDP Packet Data Protocol
  • the IP address in the IP address, and the default service quality QoS (QoS) parameter corresponding to the activation of the PDP Context, and the bearer corresponding to the QoS parameter are established, and the bearer is used to transmit the corresponding data.
  • Message (such as a data message for normal web browsing).
  • the mobile terminal or the network side activates through the secondary PDPContext to create an end-to-end bearer from the mobile terminal to the GPRS Support Node (GGSN). Transmit data packets of the current service to meet the QoS requirements of the current service.
  • GGSN GPRS Support Node
  • the method also exists in other networks, such as SAE networks.
  • SAE networks when the default QoS parameters cannot meet the QoS requirements of the current service, the mobile terminal or the network side establishes a dedicated bearer.
  • PDN GW Packet Data Network
  • the mobile terminal When two or more user equipments are connected to the network through the mobile terminal, such as: In a mobile virtual private network (VPN) networking application, the mobile terminal acts as a public access device of a small branch network. , providing a mobile branch network to access the headquarters network or
  • VPN virtual private network
  • the wireless bearer of the Internet where the mobile terminal may be a router or a server with a built-in mobile data card, and at the same time, it is connected to each user equipment of the branch network through a wireless or wired connection.
  • the service performed by each user equipment may be different, so the QoS required for the service may be different, so the end-to-end load used to transmit the service also needs to be different.
  • the source IP address of the user equipment data packet forwarded by the mobile terminal is not the IP address of the mobile terminal. Therefore, the source port may be the same in the data stream of multiple source IP addresses, so the mobile terminal may The received data message is matched to an incorrect carrier for transmission.
  • the embodiment of the present invention provides a data transmission method and device.
  • the mobile terminal can match the received data packet to the timed bearer. transmission.
  • a data transmission method includes:
  • a method of data transmission comprising:
  • the service flow information includes a packet generated according to the field information of the data packet.
  • a network address port conversion device including
  • a receiving unit configured to receive a data packet sent by the user equipment
  • a conversion unit configured to convert a source port number of the data packet received by the receiving unit into a regenerated port number
  • a sending unit configured to send the converted data packet to the mobile terminal.
  • a mobile terminal includes:
  • a first acquiring unit configured to obtain field information of the converted data packet
  • a matching unit configured to match the field information acquired by the obtaining unit with the rule of the record; and the determining unit, configured to: when the matching is successful, determine, according to the rule of the record, a bearer corresponding to the data>3 ⁇ 4;
  • a transmitting unit configured to transmit, by using the bearer determined by the determining unit, the data packet.
  • a type of network device including:
  • a receiving unit configured to receive a data packet sent by the mobile terminal
  • a determining unit configured to determine, when the data packet received by the receiving unit is transmitted by using the first bearer, whether there is an end-to-end bearer corresponding to the data text;
  • a constructing unit configured to: if the determining unit determines that there is no end-to-end bearer corresponding to the data, construct a correspondence between service flow information and QoS of the data packet, and send the corresponding relationship to the mobile a terminal, where the service flow information includes a packet filter generated according to field information of the data packet;
  • the bearer establishing unit is configured to establish an end-to-end bearer that satisfies the QoS requirement of the data packet.
  • the mobile terminal acquires the converted The field information of the data packet is matched according to the field information and the recorded rule. If the rule matching the record is successful, the end-to-end bearer transmitting the data packet is determined according to the rule, and the data packet is sent. Through the determined bearer transmission, the mobile terminal can select an appropriate end-to-end bearer for the data packet of the service flow even if it is not the initiator of the service, and meet the needs of data transmission.
  • the source port number of the converted data packet is regenerated and uniquely determined, so that a service flow can be uniquely determined according to the converted source port number, so as to implement field information according to the converted data packet.
  • the condition is provided to match the end-to-end bearer that transmits the data message.
  • FIG. 1 is a first schematic diagram of a data transmission method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic diagram of a data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a third schematic diagram of a data transmission method according to an embodiment of the present invention.
  • FIG. 4 is a fourth schematic diagram of a data transmission method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a network address port translation device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a network device according to an embodiment of the present invention. detailed description
  • NAPT Network Address and Port Translation
  • the configuration needs to be performed on the network device in advance, including: configuring corresponding QoS parameters for different service types as needed, and the typical service type may include a common web browsing service and a file transfer protocol. (File Transfer Protocol, FTP) service, Real Time Transpoet Protocol (RTP) audio and video services, etc.
  • QoS parameters include network bandwidth required by the service, runtime network transmission delay, etc., where different service types are configured.
  • the corresponding QoS parameters can be configured according to empirical values, or can be set according to the requirements of the operator, and the like.
  • the network device may be a GGSN in the GPRS network, or a PDN GW in the SAE network.
  • another embodiment of the present invention provides a data transmission method, including:
  • the mobile terminal acquires field information of the converted data packet.
  • the data packet may be an uplink data packet sent by the user equipment.
  • the mobile terminal receives the converted data packet sent by the NAPT device, where the NAPT device converts the data packet, including:
  • the NAPT device receives the user equipment data packet, and converts the source port number of the user equipment data packet into the regenerated source port number. Further, the NAPT device can convert the source IP address of the user equipment data packet into the mobile terminal. IP address.
  • the mobile terminal receives the data packet sent by the user equipment and performs conversion according to the above rules.
  • the mobile terminal obtains the quintuple information of the converted data packet, where the quintuple information may include: a source IP address, a destination IP address, a protocol type (an 8-bit protocol Pratocal field), a source port number, a destination port number, and the like. .
  • the mobile terminal can obtain the IP packet header and the transmission control protocol of the converted data packet.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the quintuple information of the data packet can be obtained from the IP packet header and the TCP/UDP header.
  • the mobile terminal performs matching according to the obtained field information with the recorded rule.
  • the rule recorded by the mobile terminal may be the corresponding relationship between the service flow information and the corresponding end-to-end bearer, including:
  • the mobile terminal When performing the secondary context activation, acquires the correspondence between the service flow information and the QoS corresponding to the service flow information from the network device, and establishes a corresponding end-to-end bearer according to the QoS.
  • the bearer that satisfies the data ⁇ JLQoS and the service flow information corresponding to the data are associated, so the correspondence between the service flow information and the QoS is obtained.
  • the corresponding bearer is established according to the QoS
  • the correspondence between the service flow information and the corresponding end-to-end bearer is established. Therefore, according to the TFT information, an end-to-end bearer for transmitting the data can be found, and one TFT includes one or more packet filters, and the data packet is associated with any one of the TFTs. After the match, it can be determined that the data message needs to be transmitted on the bearer associated with the TFT.
  • the Packet Filter is generated by field information of a data packet of a corresponding service flow converted by the NAPT device or the mobile terminal having the NAPT function.
  • the field information of the obtained data packet such as the quintuple field value and the recorded service flow information, such as the corresponding attributes in the Packet Filter in the TFT, or the field of the obtained data packet, respectively.
  • the information such as the I quintuple field value belongs to the corresponding attribute value range in the Packet Filter.
  • the quintuple information of the obtained data packet includes: the protocol type is 6 (ie, TCP), the source port number is 1000, the destination port number is 1200, and the destination IP address is 201.2.2.1.
  • the content of the Remote Address and Subnet Mask attribute in a Packet Filter is ⁇ 201.2.2.0 [255.255.255.0] ⁇ (where 201.2.2.0 is the IP address, 255.255.255.0 is the netmask), and the content of the Protocol Number attribute is 6. (indicating TCP), the lower limit of the Local Port Range attribute is 900, the upper limit is 1100, and the value of the Remote Port Range attribute is 1200.
  • the destination IP address 201.2.2.1 belongs to Within the network segment range indicated by the Remote Address and Subnet Mask attribute, the source port number 1000 belongs to the upper and lower limits of the Local Port Range attribute, and the other fields in the 4 ⁇ text are the same as the other corresponding attributes in the Packet Filter, so the data
  • the packet matches the packet filter, that is, the TFT corresponding to the packet filter is successfully matched, and the determined TFT can be used to find the end-to-end bearer for transmitting the data packet.
  • the mobile terminal transmits the data by using the determined bearer.
  • the mobile terminal transmits the data according to the determined end-to-end bearer, where the determined end-to-end bearer is an end-to-end bearer corresponding to the QoS of the data packet.
  • the converted data packet is transmitted through the first bearer.
  • the mobile terminal or the network address port switching device saves the correspondence between the quintuple information of the data packet and the converted source port number.
  • the mobile terminal obtains the field information of the converted data packet by using the data packet sent by the user equipment, and performs matching according to the field information and the recorded rule. If the matching is successful, the mobile terminal determines according to the rule. The bearer corresponding to the data packet transmits the data packet through the determined bearer. Even if the mobile terminal is not the initiator of the service, the mobile terminal can select the appropriate end-to-end bearer for the received data packet to transmit the data packet of the service, which satisfies the data transmission requirement.
  • an embodiment of the present invention further provides a data transmission method, where the method includes: 201: A network device receives a data packet sent by a mobile terminal;
  • the network device in the embodiment of the present invention may be a general packet radio service gateway supporting node GGSN in the GPRS network, and a packet data gateway PDN GW in the SAE network.
  • the GGSN is used as the GGSN. The example is explained.
  • the data packet sent by the mobile terminal that is received by the network device may be the converted data, and the method and process for the specific conversion may refer to step 101.
  • 203 when the network device learns that the data packet is transmitted by using the first bearer, determining whether an end-to-end bearer corresponding to the data packet exists;
  • the first bearer refers to a bearer established when a PDP context is activated.
  • the first bearer refers to a default bearer.
  • the GGSN learns that the data packet is transmitted through the first bearer, the data packet is subjected to deep packet inspection (DPI), and according to the correspondence between the pre-configured service type and the QoS, it is determined whether there is a The QoS of the data message corresponds to the end-to-end bearer.
  • DPI deep packet inspection
  • the packet filter is generated according to the field information of the data packet, such as the quintuple information, and the generated Packet Filter is added to the corresponding service flow information, such as the TFT, and the TFT device is searched for.
  • the corresponding relationship between the TFT and the QoS is sent to the mobile terminal.
  • the GGSN sends a secondary PDP context activation procedure to establish a bearer that satisfies the QoS corresponding to the service flow information.
  • the mobile terminal After receiving the correspondence between the service flow information and the QoS sent by the GGSN, the mobile terminal saves the corresponding relationship, and establishes a corresponding end-to-end bearer according to the QoS, and establishes service flow information and a terminal.
  • the corresponding relationship between the bearer and the end bearer can be found according to the service flow information such as TFT.
  • step 203 if it is determined that the end-to-end bearer exists, but the mobile terminal cannot identify the corresponding end-to-end bearer, the field information of the packet, such as quintuple information, is generated according to the data.
  • Packet Filter and update the service flow information stored in the GGSN, and send the generated Packet Filter and the identifier of the service flow information corresponding to the Packet Filter to the mobile terminal, and after receiving the Packet Filter, the mobile terminal The Packet Filter is added to the service flow information corresponding to the identity of the service flow information.
  • the embodiment of the present invention is described by taking a general packet radio service GPRS network as an example, and the method is also applicable to other networks, such as an SAE network.
  • the network device in the GPRS network is the general packet radio service gateway supporting node GGSN, and in the SAE network is the packet data gateway PDN GW; in the GPRS network, the secondary PDP context activation is established to meet the QoS requirements.
  • the end-to-end bearer, and in the S AE network, the proprietary bearer that satisfies the QoS requirements is established through the establishment process of the dedicated bearer.
  • an embodiment of the present invention when the network device learns that the data packet is transmitted through the first bearer, performs DPI parsing on the data packet, and updates or reconstructs the service flow information, and notifies the corresponding mobile terminal, so that the mobile terminal receives the data packet. Or updating the corresponding service flow information, and the mobile terminal may establish or determine an end-to-end bearer for transmitting the data packet of the service flow according to the corresponding service de-flow information, and establish or update the service flow information and the corresponding end-to-end bearer correspondence.
  • the relationship (the rule of the record) enables the mobile terminal to select a suitable bearer transmission data message according to the recorded rule for the received data message.
  • an embodiment of the present invention provides a data transmission method, where a user equipment is connected to a mobile terminal by using a NAPT device, and the method includes:
  • the user equipment sends an uplink data packet to the NAPT.
  • the user equipment sends an uplink data packet to the NAPT, where the data packet includes information such as a source port number and a source IP address.
  • the web browsing user equipment, the source port number of the uplink data packet sent by a user may be included in 80, the source IP address may be IPAddress3 0
  • the NAPT converts the received uplink data packet, including:
  • the NAPT converts the source port number of the uplink data packet into a regenerated source port number, and further converts the source IP address of the uplink data to the IP address of the mobile terminal. Further, the uplink data file converted by the source IP address and the source port number is sent to the mobile terminal.
  • the NAPT converts the source IP address of the uplink data to the IP address of the mobile terminal. Before the address, it also includes:
  • the mobile terminal sends its own IP address to the NAPT device, and the NAPT receives and saves the IP address of the mobile terminal.
  • the mobile terminal can obtain the IP address of the mobile terminal in the network.
  • the IP address of the mobile terminal in the network may be static or dynamic.
  • the IP address of the mobile terminal on the NAPT is updated in time.
  • the method for the NAPT to regenerate the new port number of the source port of the received uplink data packet may include:
  • the unused port number is generated into a free list.
  • all port numbers are in the free list. For example: If the port number configured on NAPT is 1 - 65535, you can generate a free list of the unused port numbers in the range. Each port number can be used as a node in the linked list. In the initial work, the arrangement of the nodes in the linked list can be performed according to any rules.
  • the port number of the current head node in the free link list is used as the port number of the uplink data stream. Further, the current head node may be deleted from the idle linked list. Further, the 4 bar successor node is set as a new head node to be assigned to the next service flow (a traffic flow different from the current service flow).
  • the head node in the linked list may be the top node in the linked list, and the successor node is the next node in the head node.
  • a service flow includes multiple data packets that can be uniquely determined according to the quintuple information, that is, if the fields of the quintuple information in the two data packets respectively correspond to the same, then it can be determined. They belong to the same business flow.
  • NAPT allocates a new source port number to the first packet of the received service flow. This source port number is required for subsequent packets of the service flow. Further, the NAPT needs to record the correspondence between the quintuple information of the service flow of the user equipment and the new assigned source port number.
  • the NAPT can put the port number assigned to the service flow back to the tail node of the idle link list, and the port number can be reassigned to the new service flow.
  • the port number set on the NAPT device ranges from 1 to 65535, and the maximum of 64K streams can be simultaneously served, which can meet the general application scenarios. Of course, you can reduce the source port number as needed.
  • the source port of each upstream data stream is unique, and the source port numbers of all uplink traffic flows sent to the mobile terminal are not duplicated, and the mobile terminal can determine the unique determination through the source port.
  • the data stream is unique, and the source port numbers of all uplink traffic flows sent to the mobile terminal are not duplicated, and the mobile terminal can determine the unique determination through the source port.
  • the mobile terminal After receiving the uplink data, the mobile terminal matches the uplink data packet, and sends the matched uplink data packet to the GGSN.
  • the mobile terminal obtains the quintuple information of the uplink data according to the received uplink data, and matches the obtained quintuple information with the locally recorded rule.
  • the user equipment is the first user equipment that sends data through the mobile terminal, and the data is also the first message of the user equipment, so there is no mobile terminal.
  • Recording the correspondence between the service flow information and the QoS corresponding to the data, and further, the correspondence between the service flow information and the corresponding end-to-end bearer may not be saved, so the mobile terminal according to the acquired uplink data packet
  • the tuple information does not match the corresponding service flow information, and the bearer required to satisfy the QoS of the uplink packet may not be found for transmission.
  • the mobile terminal may transmit the uplink data that has not been successfully matched by the bearer established when the context is activated.
  • the GGSN receives the uplink data packet transmitted by the bearer established by the context activation, and performs corresponding processing.
  • the GGSN After receiving the uplink data packet, the GGSN can know the type of the bearer that transmits the data packet. When the GGSN learns that the received data packet is transmitted through the bearer established by the context activation, the GGSN may perform the deep DPI analysis on the received data packet to obtain the service type corresponding to the uplink data packet, which may be pre-configured according to the pre-configuration. The correspondence between the service type and the QoS determines the QoS required for the data message.
  • the GGSN determines that the end-to-end bearer corresponding to the QoS required for the service flow exists, only because the mobile terminal cannot recognize the service flow information, and the mobile terminal establishes the data ⁇ ⁇ ⁇ ⁇ After the bearer transmits, the GGSN generates a new Packet Filter according to the quintuple information of the received data packet, and adds it to the saved service flow information, and can also generate the packet filter and the service flow corresponding to the Packet Filter.
  • the identifier is sent to the mobile terminal, and after receiving the Packet Filter, the mobile terminal adds the received Packet Filter to the service flow information corresponding to the service flow identifier.
  • the Packet Filter sent by the GGSN to the mobile terminal includes the identifier (TFT1) of the TFT corresponding to the Packet Filter, and the mobile terminal can find the corresponding TFT by using the TFT identifier (TFT1), and the Packet Filter is added to the corresponding In the TFT.
  • TFT1 the identifier of the TFT corresponding to the Packet Filter
  • the GGSN initiates a PDP context to the mobile terminal, and sends the Packet Filter to the mobile terminal.
  • the GGSN determines that there is no bearer corresponding to the QoS required by the service flow, the GGSN generates a new Packet Filter according to the quintuple information of the data packet, and further adds the Packet Filter to the corresponding service flow.
  • the correspondence between the service flow information and the QoS is generated according to the correspondence between the service type and the QoS set on the GGSN. Further, the correspondence between the service flow information and the corresponding QoS is sent to the mobile terminal.
  • the GGSN initiates a secondary PDP context activation, initiates a secondary PDP activation message to the mobile terminal, establishes an end-to-end bearer that satisfies the QoS requirement, and also sends the generated service flow information and QoS correspondence to the mobile terminal.
  • the GGSN generates a specific example of the corresponding Packet Filter according to the quintuple information of the data packet, including:
  • the destination TP address in the TCP packet received by the GGSN is 172.168.8.1, the source port number is 5003, and the destination port number is 1001.
  • the generated Packet Filter can be the content of the Remote Address and Subnet Mask attribute. 172.168.8.0 [255.255.255.0] ⁇ (The square bracket is preceded by the IP address, the brackets are internally the netmask), the Protocol Number attribute has the content 6 (for TCP), and the Local Port Range property is 5003. Remote Port Range The value of the genus 4 is 1001.
  • the service flow information may include a service flow template TFT, etc.
  • each TFT may include one or more packet filters, a packet filter, and a packet of the service flow to which the packet filter belongs.
  • the GGS sends the received uplink data message to the external network.
  • the mobile terminal After receiving the secondary context establishment request, the mobile terminal establishes an end-to-end bearer corresponding to the secondary context.
  • the mobile terminal receives and stores the correspondence between the QoS and the service flow information in the secondary context establishment request, and establishes a corresponding end-to-end bearer according to the received QoS. After the corresponding end-to-end bearer is established, the mobile terminal can implement the association between the service flow information and the corresponding end-to-end bearer, and record the corresponding rule. When the subsequent mobile terminal receives other data packets of the service flow, The corresponding end-to-end bearer can be used for transmission.
  • the mobile terminal forwards the downlink data packet to the user equipment, the mobile terminal sends the downlink data packet to the NAPT, and the NAPT newly allocates according to the quintuple information of the pre-saved service flow and the uplink NAPT transition.
  • the NAPT newly allocates according to the quintuple information of the pre-saved service flow and the uplink NAPT transition.
  • the IP address is translated into the source IP address of the upstream packet sent by the user equipment, and the destination port number is translated into the source port number in the uplink packet sent by the user equipment. After that, send the converted downlink message to User equipment corresponding to the destination address.
  • the data transmission method provided by the embodiment of the present invention, when two or more user equipments are connected to the same mobile terminal, the conversion of the source port number and the source IP address of the user equipment does not occur. The same source port, destination IP address, and destination port appear in the flows of different source IP addresses.
  • the mobile terminal can match the received uplink data packet to determine the end-to-end bearer that meets the uplink data packet transmission requirement, and then transmit the data packet through the determined bearer, which satisfies the service transmission requirement.
  • another embodiment of the present invention also provides a data transmission method, where a user equipment is connected to a mobile terminal through a NAPT device, and the method includes:
  • the user equipment sends an uplink data packet to the NAPT. Referring to step 301.
  • the NAPT After receiving the data packet, the NAPT converts the source IP address of the data packet into an IP address of the mobile terminal. Further, converting the source port number of the data packet to the regenerated source port number, The data packet converted by the source IP address and the source port number is sent to the mobile terminal. For details, refer to step 302.
  • the mobile terminal After receiving the uplink data, the mobile terminal matches the uplink data packet, and sends the uplink data to the GGSN according to the matching result.
  • the mobile terminal receives the corresponding relationship between the QoS and the service flow sent by the GGSN as an example.
  • the correspondence between the QoS and the service flow of the GGSN is described with reference to the description of step 305.
  • the mobile terminal receives the uplink data packet, and obtains the quintuple information of the uplink data packet, and matches the obtained quintuple information with the received service flow information.
  • the mobile terminal may determine the end-to-end bearer corresponding to the service flow to which the Packet Filter belongs, where the end-to-end bearer satisfies the uplink data.
  • the bearer of the QoS required for message transmission is the same or corresponding.
  • the protocol type in the upstream data packet is 6 (that is, TCP), the source port number is 1000, the destination port number is 1200, and the destination IP address is 201.2.2.1.
  • the content of the Remote Address and Subnet Mask attribute in a Packet Filter is ⁇ 201.2.2.0 [255.255.255.0] ⁇ (the IP address is preceded by the brackets, the netmask is inside the brackets), and the content of the Protocol Number attribute is 6 ( Indicates TCP).
  • the lower limit of the Local Port Range attribute is 900, the upper limit is 1100, and the value of the Remote Port Range attribute is 1200.
  • the destination IP address 201.2.2.1 belongs to the network segment range indicated by the Remote Address and Subnet Mask attribute
  • the source port number 1000 belongs to the upper and lower limits of the Local Port Range attribute, and other fields in the packet and other packets in the Packet Filter.
  • the corresponding attribute has the same value, so this message is successfully matched with this Packet Filter.
  • the mobile terminal can further transmit the data packet by using the bearer established or the established default bearer established by the context activation.
  • step 404 is performed; if the match fails, then step 304 305 is followed. 404.
  • the GGSN receives the data packet transmitted by the end-to-end bearer as described above, and performs corresponding processing.
  • the GGSN When the GGSN learns that the data packet is transmitted through the end-to-end bearer that meets the QoS requirements, the GGSN can directly send the data packet to the external network.
  • the data packet can be parsed by the DPI and sent to the external network.
  • the GGSN After receiving the uplink data packet, the GGSN can learn the type of the bearer that transmits the data packet through DPI parsing.
  • the mobile terminal can match the received uplink data packet according to the recorded rule.
  • the matching is successful, the corresponding end-to-end bearer is determined according to the recorded rule, and the The uplink data packet is transmitted through the determined bearer, and is satisfied.
  • another embodiment of the present invention provides a network address port conversion device, including
  • the receiving unit 501 is configured to receive a data packet sent by the user equipment.
  • the converting unit 503 is configured to convert the source port number of the data packet received by the receiving unit 501 into a regenerated source port number
  • the sending unit 505 is configured to send the converted data packet to the mobile terminal.
  • the network address port switching device further includes: a save sheep element, configured to save a correspondence between the quintuple information of the data message sent by the user equipment and the converted source port number .
  • the converting unit extracts a node from the pre-generated free list as the source port number of the converted data message.
  • the network address port conversion device provided by the embodiment of the present invention can convert the data packet sent by the user equipment, and the source port number of the converted data packet is uniquely determined, so the source port number can be unique according to the converted source port number.
  • a data message is determined, so that the mobile terminal can match the converted data message to a suitable bearer for transmission.
  • another embodiment of the present invention provides a mobile terminal, including: a first obtaining unit 601, configured to obtain field information of a converted data packet;
  • the matching unit 603 is configured to match the field information acquired by the obtaining unit 601 with the recorded rule.
  • a determining unit 605 configured to: when the matching unit 603 matches successfully, determine, according to the recorded rule, a bearer corresponding to the data packet;
  • the transmitting unit 607 is configured to transmit the data packet by using the bearer determined by the determining unit 605.
  • the mobile terminal further includes:
  • a first receiving unit configured to receive the converted data packet sent by the network address port switching device; the first obtaining unit 601 acquires a field of the data packet from the data packet received by the first receiving unit information.
  • the mobile terminal further includes:
  • a second receiving unit configured to receive a data packet sent by the user equipment
  • a converting unit configured to convert a source port number of the data packet received by the second receiving unit into a newly generated source port number
  • the first obtaining unit 601 obtains field information of the data packet from the data packet converted by the converting unit.
  • the mobile terminal may further include:
  • a second acquiring unit configured to acquire a correspondence between a service flow and a QoS of the data packet
  • an establishing unit configured to establish an end-to-end bearer that meets the QoS requirement, and construct the service flow and the end-to-end The corresponding relationship of the bearer.
  • the first obtaining unit 601 is further configured to acquire the packet filter and a service flow information identifier corresponding to the packet filter, and add the acquired packet filter to The service flow information corresponding to the service flow information identifier.
  • the transmitting unit 607 is further configured to: when the matching fails, transmit the converted data packet by using the first bearer.
  • the mobile terminal further includes:
  • a saving unit configured to save a correspondence between the quintuple information of the data packet and the converted source port number.
  • the mobile terminal provided by the embodiment of the present invention can obtain the field information of the received data packet, and perform matching according to the obtained field information and the recorded rule. If the matching is successful, the received data packet is determined.
  • the bearer is transmitted, and the mobile terminal will receive the pass-through The appropriate bearer is transmitted to meet the needs of service transmission, and the control based on QoS level is realized.
  • another embodiment of the present invention provides a network device, including: a receiving unit 701, configured to receive a data packet sent by a mobile terminal;
  • a determining unit 703 configured to determine, by using the first bearer, that the data message received by the receiving unit 701 is transmitted, to determine whether there is an end-to-end bearer corresponding to the data, and a building unit 705, If the determining unit 703 determines that there is no end-to-end bearer corresponding to the data packet, construct a correspondence between the service flow information and the QoS corresponding to the uplink data packet, and send the corresponding relationship to the mobile terminal, where the The service flow information includes a packet filter generated according to field information of the data packet;
  • the bearer establishing unit 707 is configured to establish an end-to-end bearer that satisfies the QoS requirement of the data packet.
  • the constructing unit 705 when the determining unit 703 determines that there is an end-to-end bearer corresponding to the data packet, the constructing unit 705 generates the packet filter according to the field information of the data packet. Transmitting the generated packet filter and the service flow information identifier corresponding to the packet filter to the mobile terminal, and informing the mobile terminal to add the packet filter to correspond to the service flow information identifier Business flow information.
  • the network device may further include:
  • the network device configured by the embodiment of the present invention may generate a corresponding Packet Filter according to the received uplink data packet, and construct a corresponding relationship between the service flow information and the QoS, and send the corresponding relationship to the mobile terminal, and establish an end to the QoS requirement.
  • the end bearer enables the mobile terminal to select an appropriate bearer for the received data message according to the recorded rule for transmission, which satisfies the requirement of service transmission.
  • the method and the device provided by the embodiment of the present invention can convert the data packet sent by the user equipment, and the source port number of the converted data is uniquely determined, and the same service can be uniquely determined according to the source port number.
  • the streamed data ⁇ Jl avoids the problem that the prior art selects the wrong bearer for the data message due to the possibility that the source port number may be the same.
  • the network device can also be based on the data packet.
  • the quintuple information generates a corresponding Packet Filter, and then constructs a correspondence between the traffic flow 4 message and the QoS, and sends the message to the mobile terminal to establish an end-to-end bearer that satisfies the QoS, so that the mobile terminal establishes service flow information and the end to Corresponding relationship of the bearer (recorded rule); or the network device may generate a corresponding Packet Filter according to the quintuple information of the data, and generate the Packet Filter and the service flow information corresponding to the Packet Filter.
  • the identification phase is sent to the mobile terminal, and the mobile terminal adds the Packet Filter to the service flow information corresponding to the identifier of the service flow information, and updates the correspondence between the service flow information and the end-to-end bearer (recorded rule;).
  • the mobile terminal After receiving the data packet, acquires the field information of the data packet (the field information of the source port number is uniquely determined), and determines the data corresponding to the data according to the obtained field information and the recorded rule.
  • the service flow information, and then the bearer for transmitting the data packet is determined, and the bearer that meets the QoS requirement is selected for different data packets.
  • the problem that the data carrier cannot be selected for the received data message is overcome because the source port number is duplicated or the mobile terminal cannot identify the service type of the data packet sent by the user equipment. .
  • a person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: OM, RAM, a magnetic disk or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

数据传输方法及装置
本申请要求了 2009年 9月 25 日提交的、 申请号为 200910190747.7、 发 明名称为 "数据传输方法及装置" 的中国申请的优先权, 其全部内容通过引 用结合在本申请中。
技术领域
本发明涉及通信领域, 尤其涉及一种数据传输方法及装置。 背景技术
移动终端( Mobile Station, MS )在与外部网络(如: Internet )进行数据 交互的过程中, 移动终端所进行的业务不同, 其需要的 QoS也可能不同, 进而 传输该业务的承载也可能不同,如:访问 Internet浏览普通网页需要较低的 QoS 等级; 进行视频会议, 则需要较大的带宽和较小的延迟, 因此需要较高的 QoS 等级等等。
如果移动终端自身是业务的发起方, 如在通用分组无线业务( General Packet Radio Service, GPRS )网络中, 移动终端在一次分組数据协议( Packet Data Protocol, PDP )上下文 Context激活中得到该终端在网络中的 IP地址, 同时也获取了与该一次 PDP Context激活相对应的缺省服务盾量(Quality of Service, QoS )参数, 进而建立与该 QoS参数对应的承载, 利用该承载来传输 相应的数据报文(例如普通网页浏览的数据报文)。
当缺省 QoS参数不能满足当前业务的 QoS需要时, 移动终端或者网络侧通 过二次 PDPContext 激活, 新建一条从移动终端到 GPRS网关支持节点 ( Gateway GPRS Support Node, GGSN )的端到端承载, 来传输当前业务的数 据报文, 以满足当前业务的 QoS的需要。
该方法也同样存在在其它的网络中, 如 SAE网络, 所不同的是, 在 SAE 网络中, 当缺省 QoS参数不能满足当前业务的 QoS需要时, 移动终端或者网络 侧是通过建立专有承载的过程来新建移动终端到分組数据网关 (Packet Data Network, PDN GW )的端到端承载。
当两个或者两个以上用户设备通过移动终端接入到网络时, 如: 在一个 移动虛拟私有网络( Virtual Private Network, VPN )组网应用中, 移动终端作 为一个小型分支网络的公共接入设备, 提供移动分支网络访问总部网络或
Internet的无线承载, 这里的移动终端可能是内置了移动数据卡的路由器或服 务器, 同时又和分支网络的各个用户设备通过无线或者有线连接。 每个用户 设备所进行的业务可能不同, 因此该业务所要求的 QoS也可能不同, 因此用来 传输该业务的端到端 载也需要不同。
但是,移动终端转发的用户设备数据报文的源 IP地址并不是移动终端的 IP 地址, 因此可能会出现多个不同源 IP地址的数据流中出现源端口相同的现象, 所以移动终端可能会将接收到的数据报文匹配到一个错误的承栽上进行传 输。 发明内容
有鉴于此, 本发明实施例提供了一种数据传输的方法及装置, 通过对用 户设备的数据报文进行转换, 实现了移动终端可以将接收到的数据报文匹配 到合时的承载上进行传输。
一种数据传输方法, 包括:
获取转换后的数据 文的字段信息;
根据获取的字段信息与记录的规则进行匹配;
如果匹配成功, 则根据所述记录的规则确定与所述数据报文相对应的承 载;
将所述数据报文通过所述确定的承载进行传输。
一种数据传输的方法, 包括:
接收移动终端发送的数据报文;
获知所述数据报文通过第一承载进行传输时, 确定是否存在与所述数据 4艮文对应的端到端承载;
如杲不存在, 则构建所述数据报文的业务流信息和 QoS的对应关系, 并发 送给所述移动终端, 其中所述业务流信息中包含根据所迷数据报文的字段信 息生成的包过滤器;
建立满足所述数据报文的 QoS要求的端到端承载。
一种网络地址端口转换设备, 包括
接收单元, 用于接收用户设备发送的数据报文;
转换单元, 用于将接收单元接收到的数据报文的源端口号转换为重新生 成的端口号;
发送单元, 用于将转换后的数据报文发送给移动终端。
一种移动终端, 包括:
第一获取单元, 用于获取转换后的数据报文的字段信息;
匹配单元, 用于将获取单元获取的所述字段信息和记录的规则进行匹配; 确定单元, 用于当匹配成功时, 根据所述记录的规则确定与所述数据>¾ 文相对应的承载;
传输单元, 用于将所述数据报文通过所述确定单元确定的承载进行传输。 —种网络设备, 包括:
接收单元, 用于接收移动终端发送的数据报文;
确定单元, 用于确定所述接收单元接收到的所述数据报文通过第一承载 进行传输时, 确定是否存在与所述数据 文对应的端到端承载;
构建单元, 用于如果所述确定单元确定不存在与所述数据^^文对应的端 到端承载时, 构建所述数据报文的业务流信息和 QoS的对应关系, 并发送给所 述移动终端, 其中所述业务流信息中包含根据所述数据报文的字段信息生成 的包过滤器;
承载建立单元, 用于建立满足所述数据报文的 QoS要求的端到端承载。 本发明实施例通过将用户设备数据报文进行转换, 移动终端获取转换后 的数据报文的字段信息, 并根据该字段信息和记录的规则进行匹配, 如果与 该记录的规则匹配成功, 则根据该规则确定传输该数据报文的端到端承载, 将该数据报文通过确定的承载进行传输, 实现了移动终端即使不是业务的发 起者, 也可以为该业务流的数据报文选择合适的端到端承载, 满足数据传输 的需要。 进一步的, 转换的数据报文的源端口号是重新生成的并且是唯一确 定的, 所以根据该转换后的源端口号可以唯一确定一个业务流, 为实现根据 转换后的数据报文的字段信息来匹配传输该数据报文的端到端承载提供了条 件。
附图说明
图 1为本发明实施例一种数据传输方法的第一示意图;
图 2为本发明实施例一种数据传输方法的第二示意图;
图 3为本发明实施例一种数据传输方法的第三示意图;
图 4为本发明实施例一种数据传输方法的第四示意图;
图 5为本发明实施例一种网络地址端口转换设备的示意图;
图 6为本发明实施例一种移动终端的示意图;
图 7为本发明实施例一种网络设备的示意图。 具体实施方式
下面结合附图对本发明实施例所提供的数据传输方法及装置, 进行详细 的描述。
在本发明的一个实施例中, 在移动终端和各个用户设备之间连接一个网 络地址端口转换( Network Address and Port Translation, NAPT )设备; 在本 发明的另外一个实施例中, 在移动终端上实现网络地址端口转换功能。
在本发明的另外一个实施例中, 用户设备的数据报文通过 NAPT设备或 者具有 NAPT转换功能的移动终端后, 将该用户设备的数据报文的源 IP地址 转换为移动终端的 IP地址, 源端口号转换为重新生成的源端口号。 在本发明的另外一个实施例中, 需要预先在网络设备上进行配置, 包括: 根据需要为各种不同的业务类型配置相应的 QoS参数, 典型的业务类型 可以包括普通网页浏览业务、 文件传输协议( File Transfer Protocol, FTP ) 业务、 实时传输协议(Realtime Transpoet Protocol, RTP )音视频业务等, QoS 参数包括业务所需的网络带宽、 运行时网络传送时延等; 其中, 为不同的业 务类型配置对应的 QoS参数可以根据经验值来配置, 也可以根据运营商的要 求来设置等等。 其中该网络设备在 GPRS网络中可以是 GGSN, 在 SAE网络 中可以是 PDN GW等。
参照附图 1, 本发明另外一个实施例提供了一种数据传输方法, 包括:
101、 移动终端获取转换后的数据报文的字段信息;
其中, 该数据报文可以是用户设备发送的上行数据报文。
移动终端接收 NAPT设备发送的转换后的数据报文, 其中该 NAPT设备将 数据报文进行转换, 包括:
NAPT设备接收用户设备数据报文,将该用户设备数据报文的源端口号转 换为重新生成的源端口号, 进一步的, NAPT设备可以将用户设备数据报文的 源 IP地址转换为移动终端的 IP地址。
如果 NAPT的功能在移动终端上实现, 则移动终端接收用户设备发送的数 据报文, 并按照上述规则进行转换。
移动终端获取转换后的数据报文的字段信息包括:
移动终端获取转换后的数据报文的五元组信息, 其中五元组信息可以包 括: 源 IP地址、 目的 IP地址、 协议类型 ( 8比特的协议 Pratocal字段)、 源端口 号和目的端口号等。
移动终端可以获取转换后的数据报文的 IP报文头和传输控制协议
( Transmission Control Protocol, TCP ) /用户数据才艮十办议 ( User Datagram Protocol , UDP )头, 从该 IP报文头和 TCP/UDP头中可以获取该数据报文的五 元組信息。 103、 所述移动终端根据获取的字段信息与记录的规则进行匹配; 其中, 移动终端记录的规则可以是业务流信息和对应端到端承载的对应 关系, 包括:
移动终端在进行二次上下文激活时, 从网络设备上获取业务流信息和该 业务流信息对应的 QoS的对应关系, 并且根据该 QoS建立对应的端到端承载。
在移动终端上,满足数据 ^JLQoS的承载和该数据 4艮文所对应的业务流信 息如业务流模版( Traffic Flow Template, TFT )是关联在一起的, 所以获取到 业务流信息和 QoS的对应关系, 并根据该 QoS建立起对应的承载后, 即建立了 业务流信息和对应的端到端承载的对应关系。因此根据 TFT信息即可查找到传 输该数据^艮文的端到端承载, 而一个 TFT中包含 1个或多个包过滤器 Packet Filter, 当数据报文与某个 TFT中的任意一个 Packet Filter匹配后, 就可以确定 该数据报文需要在与这个 TFT关联的承载上传送。
本发明实施例中, Packet Filter是由经过 NAPT设备或者具有 NAPT功能的 移动终端转换后的对应业务流的数据报文的字段信息生成的。
105、 如果匹配成功, 则根据所述记录的规则确定与所述数据报文相对应 的端到端承载;
其中, 匹配成功是指获取到的数据报文的字段信息如五元组字段值和记 录的业务流信息如 TFT中的 Packet Filter中的对应各属性分别相同,或者获取到 的数据报文的字段信息如 I五元组字段值分别属于 Packet Filter中的对应各属 性取值范围内。
例如获取的数据报文的五元组信息包括: 协议类型为 6 (即 TCP ) , 源端 口号为 1000, 目的端口号为 1200和目的 IP地址为 201.2.2.1。 而一个 Packet Filter 中的 Remote Address and Subnet Mask属性的内容为 {201.2.2.0 [255.255.255.0]} (其中 201.2.2.0是 IP地址, 255.255.255.0是网络掩码) , Protocol Number属性 的内容为 6 (表示 TCP ) , Local Port Range属性的下限为 900, 上限为 1100, Remote Port Range属性的值为 1200。 由于 ·ί艮文中目的 IP地址 201.2.2.1属于 Remote Address and Subnet Mask 属性所表示的网段范围内, 源端口号 1000属 于 Local Port Range属性上下限范围内, 而 4艮文中的其它字段与 Packet Filter中 的其它对应属性取值相同, 因此该数据 文和这个 Packet Filter相匹配, 即与 该 Packet Filter所对应的 TFT匹配成功 ,通过该确定的 TFT即可查找到传输该数 据报文的端到端承载。
107、 所述移动终端将所述数据 4艮文通过所述确定的承载进行传输。 移动终端根据确定的端到端承载来传输该数据 文, 其中, 该确定的端 到端承载即为满足该数据报文 QoS所对应的端到端承载。
进一步的, 如杲匹配失败, 将所述转换后的数据报文通过第一承栽进行 传输。
进一步的, 移动终端或者网络地址端口转换设备保存所述数据报文的五 元组信息和转换后的源端口号的对应关系。
本发明实施例通过将用户设备发送的数据报文进行转换, 移动终端获取 转换后的数据报文的字段信息, 并根据该字段信息和记录的规则进行匹配, 如果匹配成功, 则根据该规则确定与该数据报文相对应的承载, 将该数据报 文通过确定的承载进行传输。 实现了移动终端即使不是业务的发起者, 也可 以为接收到的数据报文选择合适的端到端承载, 来传输该业务的数据报文, 满足了数据传输的需要。 参照附图 2, 本发明实施例还提供了一种数据传输方法, 该方法包括: 201、 网络设备接收移动终端发送的数据报文;
需要说明的是, 本发明实施例所涉及的网络设备在 GPRS网络中可以是通 用分组无线业务网关支持节点 GGSN, 而在 SAE网络中则是分组数据网关 PDN GW, 本发明实施例中以 GGSN为例进行说明。
其中, 网络设备接收到的移动终端发送的数据报文可以是经过转换的数 据 ·ί艮文, 具体转换的方法和过程可以参照步骤 101。 203、 网络设备获知所述数据报文通过第一承载进行传输时, 确定是否存 在与所述数据报文对应的端到端承载;
在 GPRS网络中, 第一承载是指通过一次 PDP上下文激活时建立的承载, 在 S AE网络中, 第一承载是指缺省承载。
GGSN获知该数据报文通过第一承载进行传输时,将该数据" ^文进行深度 报文解析(deep packet inspection, DPI ) , 并根据预先配置的业务类型和 QoS 的对应关系, 确定是否存在与该数据报文的 QoS相对应的端到端承载。
205、如果不存在, 则构建所述数据报文的业务流信息和 QoS的对应关系, 并发送给所述移动终端, 其中所述业务流信息中包含根据所述数据报文的字 段信息生成的包过滤器;
如杲确定不存在该端到端承载 , 则根据该数据报文的字段信息如五元组 信息生成 Packet Filter, 将生成的 Packet Filter添加到对应的业务流信息如 TFT 中, 并查找该 TFT所对应的 QoS , 将该 TFT和 QoS的对应关系发送给移动终端。
207 建立满足该数据报文的 QoS要求的端到端承载。
GGSN发送二次 PDP上下文激活流程, 建立满足所述业务流信息对应的 QoS的承载。
在二次 PDP上下文激活过程中, 移动终端接收到 GGSN发送的业务流信息 和 QoS的对应关系后, 保存该对应的关系, 并根据该 QoS建立对应的端到端承 载, 建立业务流信息和端到端承载的对应关系, 后续根据业务流信息如 TFT 即可查找到对应的端到端承栽。
需要说明的是: 在步骤 203中, 如杲确定存在该端到端承载, 只是移动终 端无法识别到该对应的端到端承载, 则根据该数据把报文的字段信息如五元 組信息生成 Packet Filter, 并更新保存在 GGSN上的业务流信息, 同时将该生成 的 Packet Filter以及与该 Packet Filter相对应的业务流信息的标识相发送给移动 终端, 移动终端接收到 Packet Filter后, 将该 Packet Filter添加到与该业务流信 息的标识相对应的业务流信息中。 本发明实施例是以通用分组无线业务 GPRS网络为例进行的描述, 该方法 同样也能适用于其它网络, 如 SAE网络。 区别点在于, 在 GPRS网络中的网络 设备为通用分组无线业务网关支持节点 GGSN, 而在 SAE网络中则是分组数据 网关 PDN GW; 在 GPRS网络中, 通过二次 PDP上下文激活来建立满足 QoS要 求的端到端承载, 而在 S AE网络中则是通过专有承载的建立流程来建立满足 QoS要求的专有承载等。
在本发明实施例中, 网络设备在获知该数据报文通过第一承载传输时, 对数据报文进行 DPI解析, 并更新或者重新构建业务流信息, 并通知对应的移 动终端, 使得移动终端接收或者更新对应的业务流信息, 移动终端根据对应 的业务去流信息可以建立或确定传输该业务流的数据报文的端到端承载, 并 建立或更新业务流信息和对应端到端承载的对应关系 (记录的规则) , 使得 移动终端对接收到的数据报文可以根据记录的规则选择合适的承载传输数据 报文。 参照附图 3 ,本发明实施例提供了一种数据传输方法,用户设备通过 NAPT 设备与移动终端相连接, 该方法包括:
301 , 用户设备发送上行数据报文到 NAPT。
用户设备发送上行数据报文到 NAPT, 该数据报文中包含源端口号和源 IP地址等信息。 如用户设备浏览网页时, 用户设备发送的上行数据报文中所 包含的源端口号可以是 80, 源 IP地址可以是 IPAddress30
302、 NAPT接收到该上行数据报文后, 将接收到的上行数据报文进行转 换, 包括:
NAPT将该上行数据报文的源端口号转换为重新生成的源端口号,进一步 的, 将该上行数据 ·ί艮丈的源 IP地址转换为移动终端的 IP地址。 进一步的, 将 源 IP地址和源端口号转换后的上行数据 文发送给移动终端。
进一步的, NAPT将该上行数据 ·ί艮文的源 IP地址转换为移动终端的 IP地 址之前, 还包括:
将移动终端的 IP地址手动设置在 NAPT设备上; 或者
移动终端将自身的 IP地址发送给 NAPT设备, NAPT接收并保存该移动 终端的 IP地址。
其中, 在 GPRS网络中, 移动终端在完成一次 PDP上下文激活后, 可以 获取该移动终端在网络中的 IP地址。
进一步的, 该移动终端的在网络中的 IP地址可以是静态的, 也可以是动 态的。 当该移动终端的 IP地址是动态变化时, 及时更新 NAPT上移动终端的 IP地址。
其中, NAPT将接收到的上行数据报文的源端口重新生成新的端口号的方 法可以包括:
在 NAPT上把尚未使用的端口号生成一个空闲链表, 初始工作时, 所有 端口号都在空闲链表中。 例如: 在 NAPT上配置的端口号范围是 1 - 65535, 则可以将该范围中尚未使用的端口号生成一个空闲链表, 每个端口号可以作 为链表中的一个节点。 其中初始工作时, 节点在链表中的排列可以按照任意 的规则进行。
当 NAPT接收到用户设备的业务流的第一份报文时, 把空闲链表中当前 头节点的端口号作为该上行数据流的端口号, 进一步的, 可以将该当前头节 点从空闲链表中删除, 进一步的, 4巴后继节点设置为新的头节点来分配给下 一个业务流(与当前的业务流不同的业务流)。
其中, 该链表中的头节点可以是该链表中排在最前面的节点, 后继节点 是该头节点中的后一个节点。
此处需要说明的是, 一个业务流包括根据该五元组信息可以唯一确定的 多份数据报文, 即如果两份数据报文中的五元组信息的各个字段分別对应相 同, 则可以确定它们就属于同一个业务流。
NAPT为接收到的业务流的第一份报文分配一个新的源端口号时,这个业 务流的后续报文都需要使用这个源端口号。进一步的, NAPT需要记录该用户 设备的业务流的五元組信息与这个新分配源端口号的对应关系。
进一步的, 当某一个业务流的业务终止时, NAPT可以将为该业务流分配 的端口号重新放回到空闲链表的尾节点 , 可以将该端口号重新分配给新的业 务流。
在本发明的一个实施例中, 在 NAPT设备上设置的端口号的范围是 1 ~ 65535, 最多可以支持 64K个流同时进行业务, 可以满足一般的应用场景。 当 然可以根据需要, 减少源端口号。
采用上述的端口转换方法, 可以保证每个上行数据流的源端口都是唯一 的, 所有发送到移动终端的上行业务流的源端口号均不会重复, 移动终端通 过源端口即可确定唯一确定该数据流。
303、 移动终端接收到上行数据 4艮文后, 对上行数据报文进行匹配, 将匹 配后的上行数据报文发送到 GGSN。
移动终端根据接收到的上行数据 4艮文, 获取该上行数据 4艮文的五元组信 息, 根据获取的五元組信息与本地记录的规则进行匹配。
在本发明实施例中, 该用户设备是第一个通过该移动终端发送数据 4艮文 的用户设备, 并且该数据 4艮文也是该用户设备的第一份报文, 所以该移动终 端上没有记录该数据 4艮文所对应的业务流信息和 QoS的对应关系 , 进一步 , 也可能没有保存业务流信息和对应的端到端承载的对应关系, 因此移动终端 根据获取的上行数据报文的五元组信息没有匹配到对应业务流信息, 也可能 就无法找到满足该上行报文的 QoS所需要的承载进行传输。
进一步的, 该移动终端可以将没有匹配成功的上行数据>¾文通过一次上 下文激活时建立的承载来进行传输。
304、 GGSN接收通过一次上下文激活时建立的承载传送的上行数据报文 , 并进行相应的处理。
GGSN接收上行数据报文后, 可以获知传输该数据报文的承载的类型。 GGSN获知接收到的数据报文是通过一次上下文激活时建立的承载进行 传输时, 可以对该接收到的数据报文进行深层 DPI解析, 获取该上行数据报 文对应的业务类型, 可以根据预先配置的业务类型和 QoS的对应关系确定该 数据报文所需要的 QoS。
(一 )如果 GGSN确定该业务流所需 QoS对应的端到端承载存在, 只是 因为移动终端无法识别出该业务流信息, 而导致移动终端将该数据 ·ί艮文通过 一次 PDP上下文激活时建立的承载进行传输, 则 GGSN根据接收到的数据报 文的五元组信息生成新的 Packet Filter, 并添加到保存的业务流信息中, 同时 可以将生成的 Packet Filter以及 Packet Filter所对应的业务流标识发送给移动 终端, 移动终端接收到该 Packet Filter后, 将接收到的 Packet Filter添加到与 该业务流标识对应的业务流信息中。
如: GGSN发送给移动终端的 Packet Filter中包含该 Packet Filter所对应 的 TFT的标识( TFT1 ), 移动终端 居该 TFT标识( TFT1 )即可查找到该对 应的 TFT, 将该 Packet Filter添加到对应的 TFT中。
具体的: GGSN向移动终端发起 PDP上下文 ί 改流程, 将该 Packet Filter 发送给移动终端。
(二)如果 GGSN确定不存在与该业务流所需 QoS对应的承载, 则 GGSN 根据该数据报文的五元组信息生成新的 Packet Filter, 进一步的, 将该 Packet Filter添加到对应的业务流信息中, 并根据 GGSN上设置的业务类型和 QoS 的对应关系生成业务流信息和 QoS的对应关系。 进一步的, 将该业务流信息 和对应的 QoS的对应关系发送给移动终端。
如: GGSN发起二次 PDP上下文激活, 向移动终端发起二次 PDP激活消 息, 建立满足该 QoS要求的端到端承载, 同时也将生成的业务流信息和 QoS 的对应关系发送给移动终端。
其中, GGSN根据该数据报文的五元组信息生成对应的 Packet Filter的一 个具体例子, 包括: GGSN 收到的一份 TCP 类型的上行数据 文中的目的 TP 地址为 172.168.8.1 , 源端口号是 5003 , 目的端口号是 1001 , 则生成的 Packet Filter 可以是 Remote Address and Subnet Mask 属性的内容为 { 172.168.8.0 [255.255.255.0]} (中括号前面是 IP地址, 中括号内部是网络掩码), Protocol Number属性的内容为 6 (表示 TCP ), Local Port Range属性的值为 5003 , Remote Port Range属 4生的值为 1001。
需要说明的是, 业务流信息可以包括业务流模版 TFT等, 进一步的, 每 个 TFT中可以包含一个或者多个包过滤器 Packet Filter, Packet Filter的属性 和该 Packet Filter所属的业务流的数据报文的五元组信息的各字段值存在着对 应关系。 即: 如果某一个数据报文的五元组信息的各字段值和 Packet Filter的 属性相匹配, 则确定该数据 4艮文属于该 Packet Filter所对应的业务流, 进一步 的, 如果 TFT中包含多个 Packet Filter, 则只要数据报文能匹配到其中的一个 Packet Filter, 则可以确定该数据 4艮文属于该 TFT所对应的 载。
GGS 将该接收到的上行数据报文发送到外部网络。
305 移动终端接收到该二次上下文建立请求后, 建立二次上下文所对应 的端到端承载。
移动终端接收并保存二次上下文建立请求中 QoS和业务流信息的对应关 系, 并根据接收到的 QoS建立对应的端到端承载。 移动终端的将对应的端到 端承载建立完成后, 即可实现业务流信息和对应的端到端承载的关联, 记录 对应的规则, 后续移动终端接收到该业务流的其它数据报文时, 即可采用该 对应的端到端承载进行传输。
进一步的, 当移动终端向所述用户设备转发下行数据报文时, 移动终端 将该下行数据报文发送给 NAPT, NAPT根据预先保存的业务流的五元组信息 与上行时 NAPT转换时新分配源端口号的对应关系 , 将下行数据报文的目的
IP地址转换成用户设备发出的上行艮文中的源 IP地址, 目的端口号转换成用 户设备发出的上行报文中的源端口号。 之后, 再将转换后的下行报文发送到 与目的地址对应的用户设备。
本发明实施例提供的数据传输方法, 当存在两个或者两个以上的用户设 备连接到同一个移动终端上时, 通过对用户设备的源端口号和源 IP地址的转 换, 不会出现多个不同源 IP地址的流中出现相同源端口、 目的 IP地址和目的 端口的现象。 移动终端就可以对接收到的上行数据报文进行匹配, 确定满足 该上行数据报文传输需求的端到端承载, 进而通过该确定的承载传输该数据 报文, 满足了业务传输需要。 参照附图 4, 本发明另外一个实施例也提供了一种数据传输方法, 用户设 备通过 NAPT设备与移动终端相连, 该方法包括:
401、 用户设备发送上行数据报文到 NAPT, 参照步骤 301。
402、 NAPT接收到该数据报文后,将该数据报文的源 IP地址转换为移动 终端的 IP地址, 进一步的, 将该数据报文的源端口号转换为重新生成的源端 口号, 将源 IP地址和源端口号转换后的数据报文发送给移动终端, 具体参照 步骤 302。
403、 移动终端接收到上行数据 4艮文后, 对上行数据报文进行匹配, 根据 匹配结果将该上行数据 ^艮文发送到 GGSN。
在本发明实施例中, 以移动终端接收到 GGSN发送的 QoS和业务流的对 应关系为例进行说明, 其中 GGSN建立和发送 QoS和业务流的对应关系参照 步骤 305的描述。
移动终端接收上行数据报文, 并获取该上行数据报文的五元组信息, 根 据获取的五元组信息与接收到的业务流信息进行匹配。
(一 )如果该五元组信息的各字段值和移动终端上保存的某一业务流中 的一个 Packet Filter的各属性都相同或相对应, 则表明匹配成功, 该数据 文 是该 Packet Filter所属业务流的数据报文,移动终端可以确定与该 Packet Filter 所属业务流的相对应的端到端承载 , 其中该端到端承载即为满足该上行数据 报文传输需要的 QoS的承载。
例如, 上行数据报文中的协议类型为 6 (即 TCP ), 源端口号为 1000, 目 的端口号为 1200 , 目的 IP地址为 201.2.2.1。 而一个 Packet Filter中的 Remote Address and Subnet Mask属性的内容为 {201.2.2.0 [255.255.255.0]} (中括号前 面是 IP地址, 中括号内部是网络掩码), Protocol Number属性的内容为 6 (表 示 TCP ), Local Port Range属性的下限为 900,上限为 1100, Remote Port Range 属性的值为 1200。 由于 文中目的 IP地址 201.2.2.1属于 Remote Address and Subnet Mask属性所表示的网段范围内, 源端口号 1000属于 Local Port Range 属性上下限范围内, 而报文中的其它字段与 Packet Filter中的其它对应属性取 值相同, 因此这份报文与这个 Packet Filter是匹配成功的。
(二)如果该五元组信息的各字段值和移动终端上保存的各业务流的 Packet Filter的属性都不相同或相对应, 则表明匹配失败, 即不存在与该数据 报文向对应的业务流; 进一步的, 该移动终端可以将没有匹配成功的数据报 文通过一次上下文激活时建立的承载或者建立的缺省承载来传输该数据报 文。
如果匹配成功, 则执行步骤 404; 如果匹配失败, 则参照步骤 304 305。 404、 GGSN接收通过如上所述的端到端承载传送的该数据报文, 并进行 相应的处理。
GGSN获知该数据报文是通过满足 QoS要求的端到端承载传输时, 直接 将该数据报文发送到外部网络, 也可以将该数据报文后进行 DPI解析后发送 给外部网络。
其中, GGSN接收上行数据报文后, 通过 DPI解析可以获知传输该数据 报文的承载的类型。
本发明实施例所提供的数据传输方法, 移动终端可以根据记录的规则与 接收到的上行数据报文进行匹配, 当匹配成功时, 根据记录的规则确定对对 应的端到端承载, 将接收到的上行数据报文通过确定的承载进行传输, 满足 了业务传输的需求, 同时也能实现基于流级别的 QoS控制。 参照附图 5 , 本发明另外一个实施例提供了一种网络地址端口转换设备, 包括
接收单元 501, 用于接收用户设备发送的数据报文;
转换单元 503 , 用于将接收单元 501接收到的数据报文的源端口号转换为 重新生成的源端口号;
发送单元 505 , 用于将转换后的数据报文发送给移动终端。
在本发明的另外一个实施例中, 该网絡地址端口转换设备还包括: 保存羊元, 用于保存所述用户设备发送的数据报文的五元组信息和转换 后的源端口号的对应关系。
在本发明的另外一个实施例中, 所述转换单元从预先生成的空闲链表中 抽取一个节点作为转换后的数据报文的源端口号。
本发明实施例提供的网络地址端口转换设备, 可以将用户设备发送的数 据报文进行转换, 转换后的数据报文的源端口号是唯一确定的, 因此可以根 据转换后的源端口号可以唯一确定一份数据报文, 使得移动终端能将转换后 的数据报文匹配到合适的承载上进行传输。 参照附图 6, 本发明的另外一个实施例中提供了一种移动终端, 包括: 第一获取单元 601 , 用于获取转换后的数据报文的字段信息;
匹配单元 603, 用于将获取单元 601获取的所述字段信息和记录的规则进 行匹配;
确定单元 605, 用于当匹配单元 603匹配成功时, 根据所述记录的规则确 定与所述数据报文相对应的承载;
传输单元 607, 用于将所述数据 文通过所述确定单元 605确定的承载进 行传输。 在本发明的另外一个实施例中, 该移动终端还包括:
第一接收单元, 用于接收网络地址端口转换设备发送的转换后的数据报 文; 第一获取单元 601从所述第一接收单元中接收到的数据报文中获取所述数 据报文的字段信息。
在本发明的另外一个实施例中, 该移动终端还包括:
第二接收单元, 用于接收用户设备发送的数据报文;
转换单元, 用于将第二接收单元接收到的数据报文的源端口号转换为重 新生成的源端口号;
第一获取单元 601从所述转换单元中转换后的数据报文中获取所述数据 报文的字段信息。
在本发明的另外一个实施例中 , 该移动终端还可以包括:
第二获取单元, 用于获取所述数据报文的业务流和 QoS的对应关系; 建立单元, 用于建立满足所述 QoS要求的端到端承载, 构建所述业务流和 所述端到端承载的对应关系。
在本发明的另外一个实施例中, 第一获取单元 601 , 还用于获取所述包过 滤器以及与所述包过滤器相对应的业务流信息标识, 将所述获取的包过滤器 添加到与所述业务流信息标识相对应的业务流信息中。
在本发明的另外一个实施例中,
所述传输单元 607, 还用于当匹配失败时将所述转换后数据报文通过第一 承栽进行传输。
在本发明的另外一个实施例中, 该移动终端还包括:
保存单元, 用于保存所述数据报文的五元组信息和转换后的源端口号的 对应关系。
本发明实施例提供的移动终端, 能获取接收到的数据报文的字段信息, 并根据获取的字段信息和记录的规则进行匹配, 如果匹配成功, 则将该接收 到的数据报文通过确定的承载进行传输, 实现了移动终端将接收到的通过合 适的承载进行传输, 满足了业务传输的需要, 实现了基于 QoS级别的控制。 参照附图 7, 本发明的另外一个实施例中提供了一种网络设备, 包括: 接收单元 701 , 用于接收移动终端发送的数据报文;
确定单元 703, 用于用于确定所述接收单元 701接收到的所述数据 文通 过第一承载进行传输, 确定是否存在与所述数据 4艮文对应的端到端承载; 构建单元 705, 用于如果确定单元 703确定不存在与所述数据报文对应的 端到端承载时, 构建所述上行数据报文所对应的业务流信息和 QoS的对应关 系, 并发送给移动终端, 其中所述业务流信息中包含根据所述数据报文的字 段信息生成的包过滤器;
承载建立单元 707,用于建立满足所述数据报文的 QoS要求的端到端承载。 在本发明的另外一个实施例中, 当确定单元 703确定存在与所述数据报文 对应的端到端承载, 所述构建单元 705将所述根据所述数据报文的字段信息生 成包过滤器, 将所述生成的包过滤器以及与所述包过滤器相对应的业务流信 息标识发送给移动终端 , 通知所述移动终端将所述包过滤器添加到与所述业 务流信息标识相对应的业务流信息中。
在本发明的另外一个实施例中, 该网络设备还可以包括:
配置单元, 用于在所述网络设备上配置业务类型和 QoS的对应关系。 本发明实施例所提供的网路设备可以根据接收到的上行数据报文生成对 应的 Packet Filter, 并构建业务流信息和 QoS的对应关系发送给移动终端, 同 时建立起满足该 QoS要求的端到端承载, 使得移动终端能够根据记录的规则 为接收到的数据报文选择合适的承载进行传输, 满足了业务传输的需要。
应用本发明实施例所提供的方法和装置, 能将用户设备发送的数据报文 进行转换, 转换后的数据 4艮文的源端口号唯一确定, 根据该源端口号即可唯 一确定属于相同业务流的数据 ^Jl, 避免了现有技术由于源端口号可能相同 所造成的为数据报文选择错误承载的问题。 网络设备也可以根据该数据报文 的五元组信息生成对应的 Packet Filter, 进而构建业务流 4言息和 QoS的对应关 系, 并发送给移动终端, 建立满足 QoS的端到端承载, 使移动终端建立业务 流信息和该端到端承载的对应关系 (记录的规则); 或网络设备可以根据该数 据 4艮文的五元组信息生成对应的 Packet Filter, 将该生成的 Packet Filter以及 与该 Packet Filter相对应的业务流信息的标识相发送给移动终端, 使移动终端 将该 Packet Filter添加到与该业务流信息的标识相对应的业务流信息中, 更新 业务流信息和端到端承载的对应关系 (记录的规则;)。 移动终端接收到数据报 文后,获取该数据报文的字段信息(包舍源端口号的字段信息是唯一确定的), 并根据获取的字段信息和记录的规则确定该数据 4艮文对应的业务流信息, 进 而确定传输该数据报文的承载, 实现了为不同的数据报文选择满足 QoS要求 的承载。 克服了现有技术中由于源端口号重复或由于移动终端不能识别用户 设备发送的数据报文所属的业务类型而不能为接收到的数据报文选择合适的 承载的问题, 满足了数据传输的需要。 本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于计算机可读取 存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的 存储介质包括: OM, RAM,磁碟或者光盘等各种可以存储程序代码的介质。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权利 要求 书
1、 一种数据传输方法, 其特征在于, 包括:
获取转换后的数据 文的字段信息;
根据获取的字段信息与记录的规则进行匹配;
如果匹配成功, 则根据所述记录的规则确定与所述数据报文相对应的承载; 将所述数据报文通过所述确定的承栽进行传输。
2、 如权利要求 1所述的数据传输方法, 其特征在于, 获取转换后的数据报 文的字段信息包括:
接收网络地址端口转换设备发送的所述转换后的数据报文, 获取转换后的 数据报文的字段信息, 其中所述网络地址端口转换设备将接收到的数据报文进 行转换; 或者
将接收到的所述数据报文进行转换, 获取转换后的数据报文的字段信息。
3、 如权利要求 2所述的数据传输方法, 其特征在于, 所述将接收到的所述 数据报文进行转换包括:
将所述数据报文的源端口号转换为重新生成的源端口号。
4、 如权利要求 3所述的数据传输方法, 其特征在于, 所述数据报文的源端 口号转换为重新生成的源端口号包括:
从预先生成的空闲链表中抽取一个节点作为转换后的数据报文的源端口
5、 如权利要求 2所述的数据传输方法, 其特征在于, 还包括:
保存所述数据报文的五元組信息和转换后的源端口号的对应关系。
6、 如权利要求 1所述的数据传输方法, 其特征在于, 所述记录的规则包括: 业务流信息和传输所述业务流的数据报文的承载的关联关系, 所述业务流 信息中包含根据所述业务流的数据报文的字段信息生成的包过滤器。
7、 如权利要求 6所述的数据传输方法, 其特征在于, 还包括: 获取所述业务流和服务质量 QoS的对应关系;
建立满足所述 QoS要求的端到端承载;
构建业务流信息和所述端到端承载的对应关系。
8、 如权利要求 6所述的数据传输方法, 其特征在于, 还包括:
获取所述包过滤器以及与所述包过滤器相对应的业务流信息标识; 将所述获取的包过滤器添加到与所述业务流信息标识对应的业务流信息 中。
9、 如权利要求 1所述的数据传输方法, 其特征在于, 根据获取的字段信息 和记录的规则进行匹配包括:
根据获取的数据报文的五元组信息与业务流信息中的包过滤器进行匹配, 如果所述数据报文的五元组信息的各字段值与业务流信息中包过滤器中的对应 属性分别相同, 或者所述数据 ·ί艮文的五元组信息的各字段值分别在所述包过滤 器的各对应属性取值范围内, 则匹配成功。
10、 如权利要求 1至 9任一所述的数据传输方法, 其特征在于, 还包括: 如果匹配失败, 将所述转换后的数据报文通过第一承载进行传输。
11、 一种数据传输的方法, 其特征在于, 包括:
接收移动终端发送的数据报文;
获知所述数据报文通过第一承载进行传输时, 确定是否存在与所述数据报 文对应的端到端^载;
如果不存在, 则构建所述数据报文的业务流信息和 QoS的对应关系, 并发送 给所述移动终端, 其中所述业务流信息中包含根据所述数据报文的字段信息生 成的包过滤器;
建立满足所述数据报文的 QoS要求的端到端承载。
12、 如权利要求 11所述的数据传输方法, 其特征在于, 还包括: 所述移动终端接收并保存所述业务流信息和 QoS的对应关系;
建立满足所述数据报文的 QoS要求的端到端承载。
13、 如权利要求 1 1所述的数据传输方法, 其特征在于, 还包括: 如杲存在与所述数据报文对应的端到端承载, 根据所述数据报文的字段信 息生成包过滤器, 并将所述包过滤器以及与该包过滤器相对应的业务流信息的 标识发送给移动终端, 以使所述移动终端将所述包过滤器添加到与所述业务流 信息的标识相对应的业务流信息中。
14、 如权利要求 11至 13任一所述的数据传输方法, 其特征在于, 还包括: 配置业务类型和 QoS的对应关系。
15、 一种网络地址端口转换设备, 其特征在于, 包括:
接收单元, 用于接收用户设备发送的数据报文;
转换单元, 用于将接收单元接收到的数据报文的源端口号转换为重新生成 的端口号;
发送单元, 用于将转换后的数据报文发送给移动终端。
16、 如权利要求 15所述的网络地址端口转换设备, 其特征在于, 还包括: 保存单元, 用于保存所述用户设备发送的数据报文的五元组信息和转换后 的源端口号的对应关系。
17、 如权利要求 15或 16所述的网络地址端口转换设备, 其特征在于, 所述转换单元从预先生成的空闲链表中抽取一个节点作为转换后的数据报 文的源端口号。
18、 一种移动终端, 其特征在于, 包括:
第一获取单元, 用于获取转换后的数据报文的字段信息;
匹配单元, 用于将获取单元获取的所述字段信息和记录的规则进行匹配; 确定单元, 用于当匹配成功时, 根据所述记录的规则确定与所述数据报文 相对应的 7^载;
19、 如权利要求 18所述的移动终端, 其特征在于, 还包括:
第一接收单元, 用于接收网络地址端口转换设备发送的所述转换后的数据 报文;
所述第一获取单元从所述第一接收单元中接收到的数据报文中获取所述数 据报丈的字段信息;
或者
第二接收单元, 用于接收用户设备发送的数据报文;
转换单元, 用于将第二接收单元接收到数据 ·ί艮文的源端口号转换为重新生 成的源端口号;
所述第一获取单元从所述转换单元中转换后的数据报文中获取所述数据报 文的字段信息。
20、 如权利要求 18所述的移动终端, 其特征在于, 还包括:
第二获取单元, 用于获取所述数据报文的业务流信息和 QoS的对应关系; 建立单元, 用于建立满足所述 QoS要求的端到端承载,构建所述业务流信息 和所述端到端承载的对应关系。
21、 如权利要求 18所述的移动终端, 其特征在于,
所述第一获取单元, 还用于获取所述包过滤器以及与所述包过滤器相对应 的业务流信息标识, 将所述获取的包过滤器添加到与所述业务流信息标识相对 应的业务流信息中。
22、 如权利要求 18所述的移动终端, 其特征在于,
所述传输单元, 还用于当匹配失败时将所述转换后的数据报文通过第一承 栽进行传输。
23、 如权利要求 18至 23任一所述的移动终端, 其特征在于, 还包括: 保存单元, 用于保存所述数据报文的五元组信息和转换后的源端口号的对 应关系。
24、 一种网络设备, 其特征在于, 包括:
接收单元, 用于接收移动终端发送的数据报文;
确定单元, 用于确定所述接收单元接收到的所述数据报文通过第一承载进 行传输时, 确定是否存在与所述数据报文对应的端到端承载; 构建单元, 用于如果所述确定单元确定不存在与所述数据报文对应的端到 端承载时, 构建所述数据 文的业务流信息和 QoS的对应关系, 并发送给所述移 动终端, 其中所述业务流信息中包含根据所述数据报文的字段信息生成的包过 滤器;
承载建立单元 , 用于建立满足所述数据报文的 QoS要求的端到端承载。
25、 如权利要求 24所述的网络设备, 其特征在于, 还包括:
如杲确定单元确定存在与所述数据 文对应的端到端承载, 所述构建单元 将所述根据所述数据报文的字段信息生成包过滤器, 将所述生成的包过滤器以 及与所述包过滤器相对应的业务流信息标识发送给所述移动终端, 通知所述移 动终端将所述包过滤器添加到与所述业务流信息标识相对应的业务流信息中。
26、 如权利要求 24或 25所述的网络设备, 其特征在于, 还包括: 配置单元, 用于在所述网络设备上配置业务类型和 QoS的对应关系。
PCT/CN2010/076494 2009-09-25 2010-08-31 数据传输方法及装置 WO2011035678A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910190747.7 2009-09-25
CN200910190747A CN101674606A (zh) 2009-09-25 2009-09-25 数据传输方法及装置

Publications (1)

Publication Number Publication Date
WO2011035678A1 true WO2011035678A1 (zh) 2011-03-31

Family

ID=42021533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/076494 WO2011035678A1 (zh) 2009-09-25 2010-08-31 数据传输方法及装置

Country Status (2)

Country Link
CN (1) CN101674606A (zh)
WO (1) WO2011035678A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674606A (zh) * 2009-09-25 2010-03-17 华为技术有限公司 数据传输方法及装置
CN102238743A (zh) * 2010-05-05 2011-11-09 联芯科技有限公司 一种多路承载管理方法和装置
JP5812373B2 (ja) * 2011-07-01 2015-11-11 ▲ホア▼▲ウェイ▼技術有限公司 ベアラ処理のための方法及び装置
CN104639457A (zh) * 2013-11-11 2015-05-20 中兴通讯股份有限公司 策略控制方法、装置及网关设备
CN104010050A (zh) * 2014-05-30 2014-08-27 北京航空航天大学 基于中间件实现网关napt功能的方法及装置
CN104158752B (zh) * 2014-09-01 2018-03-13 华为技术有限公司 业务流量的处理方法和装置
CN106033582A (zh) * 2016-04-29 2016-10-19 苏州奖多多科技有限公司 一种数据处理方法以及装置
CN107579807B (zh) * 2016-06-30 2020-11-27 电信科学技术研究院 数据传输的方法及装置
WO2018126488A1 (zh) * 2017-01-09 2018-07-12 华为技术有限公司 数据传输的控制方法和数据传输装置
CN111147422B (zh) * 2018-11-02 2021-08-13 华为技术有限公司 控制终端与网络连接的方法及装置
CN116582362B (zh) * 2023-07-11 2023-09-26 建信金融科技有限责任公司 网络访问的控制方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004084018A2 (en) * 2003-03-13 2004-09-30 Worldcom, Inc. Integrated customer premises equipment device
CN1602003A (zh) * 2003-09-27 2005-03-30 财团法人资讯工业策进会 提供虚拟主机服务快速查询置换的网络地址端口转换网关器与方法
CN1859292A (zh) * 2005-12-16 2006-11-08 华为技术有限公司 一种家庭网关及保障家庭内网络业务终端QoS的方法
CN101133625A (zh) * 2005-04-11 2008-02-27 国际商业机器公司 防止来自网络地址端口转换器服务的客户机的重复源
JP2009004851A (ja) * 2007-06-19 2009-01-08 Sharp Corp ゲートウェイ装置、アクセスゲートウェイ装置、コアネットワークシステム、プログラムおよびパケット転送方法
CN101674606A (zh) * 2009-09-25 2010-03-17 华为技术有限公司 数据传输方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004084018A2 (en) * 2003-03-13 2004-09-30 Worldcom, Inc. Integrated customer premises equipment device
CN1602003A (zh) * 2003-09-27 2005-03-30 财团法人资讯工业策进会 提供虚拟主机服务快速查询置换的网络地址端口转换网关器与方法
CN101133625A (zh) * 2005-04-11 2008-02-27 国际商业机器公司 防止来自网络地址端口转换器服务的客户机的重复源
CN1859292A (zh) * 2005-12-16 2006-11-08 华为技术有限公司 一种家庭网关及保障家庭内网络业务终端QoS的方法
JP2009004851A (ja) * 2007-06-19 2009-01-08 Sharp Corp ゲートウェイ装置、アクセスゲートウェイ装置、コアネットワークシステム、プログラムおよびパケット転送方法
CN101674606A (zh) * 2009-09-25 2010-03-17 华为技术有限公司 数据传输方法及装置

Also Published As

Publication number Publication date
CN101674606A (zh) 2010-03-17

Similar Documents

Publication Publication Date Title
WO2011035678A1 (zh) 数据传输方法及装置
US9137200B2 (en) Ice based NAT traversal
US20060117174A1 (en) Method of auto-configuration and auto-prioritizing for wireless security domain
WO2016034029A1 (zh) 业务流量的处理方法和装置
US10581735B2 (en) Packet processing method and apparatus
JP2012515479A (ja) 宅内ネットワーク内におけるプロキシモバイルIPv6のサポート
US20080037537A1 (en) Method and system for traversing network address translation or firewall device
US20140071907A1 (en) Method and Apparatus for Handling PDN Connections
WO2016180113A1 (zh) WiFi语音业务发起的方法、LTE通信设备、终端及通信系统
US11388202B2 (en) Network entity selection
WO2014101661A1 (zh) 业务流镜像方法及镜像设备
US8594062B2 (en) SIP server discovery in an interworking WLAN/IMS system
KR101952474B1 (ko) 실시간 통신 세션을 설정하기 위한 통신 시스템
JP4433206B2 (ja) コネクションを確立し維持する方法
US10771511B2 (en) Communication method to maintain an application session between a terminal and an application server
KR100581087B1 (ko) 인터넷 엣지 라우터에서의 인터넷 프로토콜 주소확장 방법
WO2008148422A1 (en) Method for providing quality-of-service in a network
JP4241806B2 (ja) 移動通信システム及びそれに用いる通信方法
JP5135257B2 (ja) ホームゲートウェイ及びセッション制御サーバによって異なる経路の複数のセッションを確立する方法及びシステム
JP2006287704A (ja) スイッチングハブ
JP5247534B2 (ja) ホームゲートウェイによって異なる経路の複数のセッションを確立する方法及びシステム
KR20130085515A (ko) 가상 네트워크에서 패킷 전송 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10818372

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10818372

Country of ref document: EP

Kind code of ref document: A1