WO2013082975A1 - 一种数据旁路的标识方法和装置 - Google Patents

一种数据旁路的标识方法和装置 Download PDF

Info

Publication number
WO2013082975A1
WO2013082975A1 PCT/CN2012/082686 CN2012082686W WO2013082975A1 WO 2013082975 A1 WO2013082975 A1 WO 2013082975A1 CN 2012082686 W CN2012082686 W CN 2012082686W WO 2013082975 A1 WO2013082975 A1 WO 2013082975A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
data packet
identifier information
port list
port
Prior art date
Application number
PCT/CN2012/082686
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 WO2013082975A1 publication Critical patent/WO2013082975A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/082Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method and apparatus for identifying data bypass.
  • An AP is a network device that provides wireless access services for homes/enterprises based on a fixed IP transport network.
  • a user equipment UE
  • the AP needs to access the AP through the air interface, and the AP accesses the IP transmission network through the home gateway (the AP may integrate the home gateway), and then The IP transport network is connected to the mobile core network for network access.
  • the UE accessing the Internet data needs to pass the mobile core network, which wastes the bandwidth of the mobile core network.
  • the data can be bypassed from the AP and directly enter the Internet, so that the traffic impact on the mobile core network device can be well reduced.
  • the data sent by all the UEs under the AP may be mixed together, and data from different UEs cannot be distinguished in the Internet, and thus, different UEs cannot be The traffic is counted separately, and thus cannot be separately charged according to the traffic.
  • Embodiments of the present invention provide a method and apparatus for identifying data bypass, which can identify the UE from which the data of the bypass is derived.
  • a method for identifying data bypass including:
  • a method for identifying data bypass including:
  • a data bypass identification device including:
  • a receiving unit configured to receive a data packet that is bypassed by the UE
  • a adding unit configured to add identifier information of the UE to the received data packet
  • a sending unit configured to send the data packet to which the identifier information of the UE is added, to the gateway, to enable the gateway And determining, according to the identifier information of the UE carried in the data packet, that the data packet is from the UE.
  • a gateway device including:
  • a receiving unit configured to receive a data packet bypassed by the UE, where the identifier information of the UE is added to the data packet;
  • an identifying unit configured to identify, according to the identifier information of the UE carried in the data packet, that the data packet is from the UE.
  • the data bypass identification method, the data bypass identification device, and the gateway device provided by the present invention pass the received data after receiving the data bypass data packet of the UE.
  • the identifier information of the UE is added to the packet, and then sent to the gateway, so that after receiving the data packet bypassed by the UE, the gateway may be configured according to the UE included in the data packet.
  • the identification information identifies the UE, that is, the data packet is learned from the UE, so that the gateway can separately collect traffic of different UEs according to the identification information in each data packet, and perform charging separately.
  • FIG. 1 is a flow chart of an embodiment of a method of data bypass according to the present invention.
  • FIG. 2 is a flow chart of another embodiment of a method of data bypassing according to the present invention.
  • FIG. 3 is a flow chart of a specific embodiment of a method for data bypass according to the present invention.
  • FIG. 4 is a flow chart of another embodiment of a method for data bypass according to the present invention.
  • FIG. 5 is a flow chart of another embodiment of a method for data bypass according to the present invention.
  • 6A is a structural block diagram of an embodiment of an apparatus for data bypass according to the present invention.
  • FIG. 6B is a structural block diagram of another embodiment of the apparatus for data bypass according to the present invention
  • FIG. 6C is a structural block diagram of another embodiment of the apparatus for data bypass of the present invention
  • FIG. 7 is another diagram of the apparatus for bypassing data according to the present invention.
  • FIG. 1 is a flowchart of an embodiment of a method for data bypass according to the present invention. As shown in FIG. 1, the method for identifying data bypass according to this embodiment, based on an AP, includes:
  • a plurality of UEs may exist at the same time, and the AP needs to bypass data of the data of the multiple UEs. At this time, the AP will receive the data packet that is sent by each UE of the multiple UEs and needs to be bypassed. .
  • the identification information refers to information that can uniquely identify the UE, and the UE can be uniquely identified by the identification information.
  • the identification information of the UE may be added in an optional field of the data packet header.
  • the identification information may be, for example, an IMSI (International Mobile Subscriber Identification Number) or a MAC (Medium Access). Control, media access control) address, etc.
  • the data packet that is added with the identifier information of the UE is sent to the gateway, so that the gateway identifies, according to the identifier information of the UE that is carried in the data packet, that the data packet is from the Said UE.
  • the AP After receiving the data packet bypassed by the UE, the AP adds the identifier information corresponding to the UE in the received data packet, and uniquely identifies the UE by using the identifier information, and The gateway sends the data packet to which the identifier information of the UE is added, so that the gateway may identify that the data packet is from the UE according to the identifier information in the data packet, and thus, according to the The data packet of the UE correspondingly counts the traffic of the UE, and correspondingly charges. Similarly, when receiving the data packets sent by multiple UEs, the gateway may also identify which UE the data packet is from according to the identification information in each data packet, thereby implementing statistical traffic statistics for each UE. Billing.
  • the embodiment of the present invention further provides a data bypass identification method, which is based on a gateway, such as a BRAS (Broadband Remote Access Server), as shown in FIG. 2, and includes:
  • a gateway such as a BRAS (Broadband Remote Access Server), as shown in FIG. 2, and includes:
  • the gateway after receiving the data packet bypassed by the UE, the gateway identifies the UE uniquely because the identifier information corresponding to the UE has been added to the received data packet, so that the identifier uniquely identifies the UE.
  • the gateway may identify that the data packet is from the UE according to the identifier information in the data packet, and accordingly, the traffic of the UE may be correspondingly counted according to the data packet of the UE, and the corresponding charging is performed.
  • the gateway when receiving the data packets sent by multiple UEs, the gateway may also identify which UE the data packet is from according to the identification information in each data packet, thereby implementing statistical traffic statistics for each UE. Billing.
  • FIG. 3 is a flow chart of a specific embodiment of the method for identifying data bypass according to the present invention. Such as As shown in FIG. 3, this embodiment includes:
  • the AP receives an IP packet that is bypassed by the first UE.
  • the AP adds IMSI information (identification information) of the first UE to an optional field of the IP data packet header.
  • the IMSI information of the first UE is written into an optional field in the data packet, so that the optional field of the IP data packet carries the IMSI information of the first UE. Since the IMSI is a number assigned internationally to uniquely identify a mobile subscriber, the identity information using the IMSI as the first UE can uniquely identify the first UE.
  • the AP After identifying the first UE by using the IMSI information, the AP sends, to the gateway, an IP data packet that is bypassed by the first UE, where the IP data packet includes the first
  • the gateway receives an IP data packet bypassed by the first UE sent by the AP.
  • the gateway identifies, according to the identifier information carried in the IP data packet, that the data packet is from the first UE.
  • the gateway parses the IP data packet of the first UE, learns the IMSI information in the optional field in the IP data packet, and identifies the IMSI information carried in the IP data packet of the first UE.
  • the bypassed data packet is from the first UE. In this way, the gateway can count the traffic of the UE, thereby implementing charging for the UE.
  • the AP and the gateway also repeat the above process to implement statistics and charging for other UE traffic.
  • these different APs When the UE moves between different APs, these different APs also add the IMSI information of the UE in the optional field of the data bypassed IP data packet of the UE, and thus, the gateway can also according to the IMSI information. Identify the user equipment from which the data comes from, and then count the traffic of the user equipment and perform corresponding billing.
  • the AP after receiving the data packet bypassed by the UE, the AP adds the IMSI information corresponding to the UE to the received data packet, and the IMSI information is used to uniquely identify the UE, and Transmitting, by the gateway, the data packet to which the IMSI information of the UE is added, so that the gateway may identify that the data packet is from the UE according to the IMSI information in the data packet, and thus, according to the data packet of the UE The traffic of the UE is counted accordingly, and the corresponding charging is performed.
  • the gateway when receiving the data packets sent by multiple UEs, the gateway may also identify the data packets of each UE according to the IMSI information in each data packet. Thereby, the traffic and charging are separately calculated for each UE.
  • the IMSI information is added in an optional field of the data packet header, but the embodiment is not limited thereto, and the IMSI information may also be added to other locations of the IP data packet.
  • FIG. 4 is a flow chart of another embodiment of the method for identifying data bypass according to the present invention. As shown in FIG. 4, this embodiment includes:
  • the AP receives an IP packet that is bypassed by the first UE.
  • the AP determines a port list calculation parameter corresponding to the first UE.
  • the AP may allocate a port list calculation parameter to the first UE.
  • the first UE is allocated a port list calculation parameter by using a preset allocation rule.
  • the first UE may be allocated port list calculation parameters, such as random allocation.
  • the port list calculation parameter is used to identify the UE. Therefore, it is required to ensure that the port list calculation parameters allocated to each UE are different from each other.
  • the port list calculation parameter is a value that the AP allocates to the first UE.
  • the value may be a number of the AP for each UE, and may also be a sequence number for other purposes. Not limited.
  • the AP calculates a parameter according to the determined port list of the first UE, and determines a port list that is available to the first UE.
  • the AP may determine a list of ports available to the UE by using the following formula:
  • A is the number of ports that have been occupied
  • N is the total number of UEs
  • k is the port list calculation parameter determined by the AP for the first UE in step S42
  • is the port number available to the first UE
  • is an integer
  • n 0, l ... (MA)/N
  • is the total number of ports
  • the specific value can be 65535.
  • the port list of the UE whose port list calculation parameter is 2 is:
  • each adjacent two ports of the same UE differs by the total number of UEs, that is, 10 intervals.
  • each UE can also take 6348 consecutive ports.
  • the AP adds the determined port list calculation parameter (identification information) corresponding to the first UE to an optional field of the IP packet header of the data bypass that is received by the first UE.
  • the port list calculation parameter determined by the AP as the first UE is used as the identifier information of the first UE.
  • the AP transmits, by using the at least one port in the determined port list, an IP data packet with a port list calculation parameter of the first UE to the gateway.
  • the gateway receives an IP data packet bypassed by the first UE that is sent by the AP, where the IP data packet carries a port list calculation parameter corresponding to the first UE.
  • the gateway calculates a parameter according to the port list included in the IP data packet, determines a port list of the first UE according to the same calculation method as the AP, and identifies that the data packet that uses at least one port in the port list is from At the first UE.
  • the port list and the AP are the same as the port list determined by the same UE, and since the port list available to each UE is different, the gateway can separately determine the traffic of the port list used by each UE. The traffic of each UE is sent out, and then the corresponding billing is performed.
  • the AP and the gateway in order to make the AP and the gateway have the same port list determined according to the same port list calculation parameter, the AP and the gateway need to be configured with the same calculation method, thereby calculating the available UE according to the port list calculation parameter.
  • the port list, and then the statistics and accounting of the UE traffic are implemented through the port list available to the UE.
  • the AP and the gateway also repeat the above process to implement statistics and charging for other UE traffic.
  • the AP after receiving the data packet bypassed by the UE, the AP adds a port list calculation parameter corresponding to the UE in the received data packet, and uniquely identifies the UE by using the parameter.
  • the gateway may determine the port list of the UE according to the port list calculation parameter, and further The data packet sent by the at least one port in the determined port list is from the UE, and the traffic of the UE may be correspondingly counted according to the port list of the UE, and the corresponding charging is performed.
  • the gateway may also calculate parameters according to the port list in each data packet, and correspondingly identify the data packets of each UE, thereby implementing separate statistics and calculations for each UE. fee.
  • FIG. 5 is a flow chart of another specific embodiment of the method for identifying data bypass according to the present invention. As shown in FIG. 5, this embodiment includes:
  • the AP receives an IP data packet that is bypassed by the first UE.
  • the AP is configured to generate a MAC address corresponding to the first UE.
  • the AP may be configured to generate a MAC address corresponding to the first UE according to a preset rule, where the preset rule may be any rule that can generate a MAC address, as long as it is guaranteed to be generated according to the preset rule.
  • the MAC address is only S53, and the AP applies for an IP address according to the generated MAC address.
  • the AP may apply for an IP address to a DHCP (Dynamic Host Configuration Protocol) server according to the generated MAC address.
  • the MAC address corresponds to the IP address.
  • the AP adds a MAC address and/or an IP address (identification information) corresponding to the first UE to the optional field of the IP packet header of the received first UE.
  • the MAC address and/or the IP address corresponding to the first UE is used as the identifier information of the first UE.
  • the MAC address corresponding to the first UE may be added to the IP data packet of the first UE, and the MAC address is used as the identifier information, and the IP address corresponding to the first UE may be added only to the IP data packet of the first UE.
  • the address, using the IP address as the identification information, may also add the MAC corresponding to the first UE in the IP data packet of the first UE. Address and IP address, with either or both of them as identification information.
  • the MAC address and/or the IP address corresponding to the first UE may be added to the data packet of the first UE, where the generated MAC address and/or IP address is the UE.
  • the identification information is used to identify the UE.
  • the AP sends, to the gateway, a MAC address corresponding to the first UE, and/or
  • IP packet for IP address IP address
  • the gateway receives an IP data packet bypassed by the first UE sent by the AP, where a MAC address and/or an IP address of the first UE is added to the IP data packet.
  • the gateway identifies, according to the MAC address and/or the IP address carried in the IP data packet, that the IP data packet is from the first UE.
  • the gateway can count the traffic of the first UE by using the MAC address and/or the IP address in the data packet to perform charging.
  • the gateway may identify, according to at least one of the two, that the IP data packet is from the first UE.
  • the AP and the gateway also repeat the above process to implement statistics and charging for other UE traffic.
  • the AP after receiving the data packet bypassed by the UE, the AP adds the MAC address and/or the IP address corresponding to the UE in the received data packet, by using the MAC address and/or The IP address to uniquely identify the UE, and send the data packet to which the MAC address and/or IP address of the UE is added, so that the gateway is based on the MAC address and/or The IP address can identify that the data packet is from the UE, and therefore, the traffic of the UE can be counted according to the MAC address and/or the IP address of the UE, and the corresponding charging is performed.
  • the gateway when receiving the data packet sent by multiple UEs, may also identify each UE according to the MAC address and/or IP address corresponding to the multiple UEs included in each data packet.
  • the data packet is used to separately calculate traffic and charging for each UE.
  • the gateway may be a BRAS.
  • the present invention further provides a data bypass identification device, as shown in FIG. 6A, including:
  • the receiving unit 61 is configured to receive a data packet of the UE that performs data bypassing
  • the adding unit 62 is configured to add the identifier information of the UE to the data bypass data packet received by the receiving unit 61.
  • a sending unit 63 configured to send, after the adding unit 62 adds the identifier information of the UE, the data packet to which the identifier information of the UE is added, to enable the gateway to carry according to the data packet.
  • the identification information of the UE identifies that the data packet is from the UE.
  • the adding unit 62 adds the identifier information corresponding to the UE in the received data packet, and the identifier information is uniquely identified by the identifier information.
  • the gateway may also identify which UE the data packet is from according to the identification information in each data packet, thereby implementing separate statistics and charging for each UE. .
  • the identifier information is an International Mobile Subscriber Identity (IMSSI) information
  • the adding unit 62 is specifically configured to:
  • the International Mobile Subscriber Identity (IMS) information of the UE is added to the data packet.
  • the identifier information is a port list calculation parameter; as shown in FIG. 6B, the device further includes:
  • a determining unit 64 configured to determine a port list calculation parameter corresponding to the UE after the receiving unit 61 receives the data packet bypassed by the UE, and determine the parameter according to the determined port list corresponding to the UE, and determine a list of ports available to the UE;
  • the adding unit 62 is specifically used for:
  • the sending unit 63 is specifically configured to:
  • the determining unit 64 is configured to:
  • the list of ports available to the UE is determined by the following formula:
  • A is the number of ports that have been occupied
  • N is the total number of UEs
  • k is the port list calculation parameter of the UE
  • n is the port number available to the UE
  • n is an integer
  • n 0, ... (MA)/N
  • M is the total number of ports.
  • the identifier information of the UE is a MAC address and/or an IP address corresponding to the UE; as shown in FIG. 6C, the apparatus further includes: a generating unit 65, After the receiving unit 61 receives the data packet bypassed by the UE, generating a media access control MAC address corresponding to the UE;
  • the application unit 66 is configured to apply for an IP address according to the medium access control MAC address generated by the generating unit 65;
  • Adding unit 62 is used to:
  • the present invention further provides a gateway device, as shown in FIG. 7, comprising:
  • the receiving unit 71 is configured to receive a data packet bypassed by the UE, where the identifier information of the UE is added to the data packet;
  • the identifying unit 72 is configured to identify, according to the identifier information of the UE that is carried in the data packet that is received by the receiving unit 71, that the data packet is from the UE.
  • the identification unit 72 identifies the identification information corresponding to the UE that has been added in the received data packet, and thus, the gateway
  • the data packet may be identified from the UE according to the identifier information in the data packet. Therefore, the traffic of the UE may be correspondingly counted according to the data packet of the UE, and the corresponding charging is performed.
  • the gateway may also separately collect statistics and charges for each UE according to the identification information in each data packet.
  • the identifier information is an International Mobile Subscriber Identity (IMSI) information; and the identifying unit 72 is configured to:
  • IMSI International Mobile Subscriber Identity
  • the packet comes from the UE.
  • IMSI International Mobile Subscriber Identity
  • the identifier information is a port list calculation parameter; the identification unit 72 is configured to:
  • the identification unit 72 is configured to:
  • the list of ports available to the UE is determined by the following formula:
  • A is the number of ports that have been occupied
  • N is the total number of UEs
  • k is the port list calculation parameter of the UE
  • n is the port number available to the UE
  • n is an integer
  • n 0, 1 ... ( MA ) /N
  • M is the total number of ports.
  • the identifier information is a MAC address and/or an IP address; and the identifying unit 72 is configured to:
  • the data packet is identified to be from the UE.
  • the method and the device for bypassing the data provided by the present invention, after receiving the data packet bypassed by the UE, adding the identification information of the UE to the received data packet, and then sending the information to the gateway, so that After receiving the data packet of the UE, the gateway may identify the UE according to the identifier information of the UE included in the data packet, that is, learn that the data packet is from the UE, and thus, the gateway The traffic of different UEs can be separately counted according to the identification information in each data packet, and then the charging is performed.

Landscapes

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

Abstract

本发明提供一种数据旁路的标识方法和装置,涉及无线通信领域,能够识别出旁路的数据所来自的UE,所述方法包括:接收UE的进行数据旁路的数据包;在所述接收的数据包中添加所述UE的标识信息;向网关发送所述添加有所述UE的标识信息的所述数据包,以使所述网关根据所述数据包中携带的所述UE的标识信息,识别出所述数据包来自于所述UE。本发明还提供一种数据旁路的装置。本发明用于因特网访问。

Description

说 明 书 一种数据旁路的标识方法和装置 本申请要求于 2011年 12月 9 日提交中国专利局、 申请号为
201110409480. 3 、 发明名称为 "一种数据旁路的标识方法和装置" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及无线通信领域, 尤其涉及一种数据旁路的标识方法和 装置。
背景技术
AP(Access Point, 接入点)是基于固定 IP传输网, 为家庭 /企业提供 无线接入服务的网络设备。 在无线网络环境中, UE(User Equipment, 用户设备)访问网络时, 需先通过空中接口接入 AP, 并由 AP通过家庭 网关接入 IP传输网 (AP有可能集成家庭网关) , 然后再经由 IP传输 网连接到移动核心网, 实现网络访问。 在此种网络访问方式下, UE访 问因特网的数据需要通过移动核心网, 会浪费移动核心网的带宽。
为避免 UE 访问因特网的数据通过移动核心网而造成对移动核心 网带宽的浪费, 可以将数据从 AP旁路而直接进入因特网, 从而, 可以 很好的减轻对移动核心网设备的流量冲击。 但是, 在 UE 的数据通过 AP旁路并经由网关直接访问因特网时, AP下所有 UE发出的数据会混 合在一起, 在因特网中无法区别出来自不同 UE的数据, 因而, 无法对 这些不同的 UE分别统计流量, 进而无法根据流量分别计费。
发明内容
本发明的实施例提供一种数据旁路的标识方法和装置, 能够识另 'J 出旁路的数据所来自的 UE。
一方面, 提供一种数据旁路的标识方法, 包括:
接收 UE的进行数据旁路的数据包; 在所述接收的数据包中添加所述 UE的标识信息;
向网关发送所述添加有所述 UE的标识信息的所述数据包,以使所 述网关根据所述数据包中携带的所述 UE的标识信息,识别出所述数据 包来自于所述 UE。
另一方面, 提供一种数据旁路的标识方法, 包括:
接收 UE的进行数据旁路的数据包, 所述数据包中添加有所述 UE 的标识信息;
根据所述数据包中携带的所述 UE的标识信息 ,识别出所述数据包 来自于所述 UE。
另一方面, 提供一种数据旁路的标识装置, 包括:
接收单元, 用于接收 UE的进行数据旁路的数据包;
添加单元, 用于在所述接收的数据包中添加所述 UE的标识信息; 发送单元,用于向网关发送所述添加有所述 UE的标识信息的所述 数据包, 以使所述网关根据所述数据包中携带的所述 UE的标识信息 , 识别出所述数据包来自于所述 UE。
另一方面, 提供一种网关装置, 包括:
接收单元, 用于接收 UE的进行数据旁路的数据包, 所述数据包中 添加有所述 UE的标识信息;
识别单元, 用于根据所述数据包中携带的所述 UE的标识信息, 识 别出所述数据包来自于所述 UE。
釆用上述技术方案后, 本发明提供的数据旁路的标识方法、 数据 旁路的标识装置、 和网关装置, 在接收到 UE的进行数据旁路的数据包 后, 通过在所述接收的数据包中添加所述 UE 的标识信息后再发向网 关, 这样, 所述网关在接收到所述 UE的进行数据旁路的数据包后, 就 可以根据所述数据包中包含的所述 UE的标识信息识别所述 UE, 即获 知数据包来自于所述 UE, 这样, 所述网关能够依据各数据包中的标识 信息来分别统计不同 UE的流量, 进而分别进行计费。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面 将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而 易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域 普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些 附图获得其他的附图。
图 1是本发明数据旁路的方法的一实施例的流程图;
图 2是本发明数据旁路的方法的另一实施例的流程图;
图 3是本发明数据旁路的方法的一具体实施例的流程图;
图 4是本发明数据旁路的方法另一具体实施例的流程图;
图 5是本发明数据旁路的方法另一具体实施例的流程图;
图 6 A是本发明数据旁路的装置的一实施例的结构框图;
图 6B是本发明数据旁路的装置的另一实施例的结构框图; 图 6C是本发明数据旁路的装置的另一实施例的结构框图; 图 7是本发明数据旁路的装置的另一实施例的结构框图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例的技术方案 进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有做出创造性劳动的前提下所获得的所有其它实施 例, 都属于本发明保护的范围。
图 1是本发明数据旁路的方法的一实施例的流程图, 如图 1所示, 本实施例的数据旁路的标识方法, 基于 AP, 包括:
511 , 接收 UE的进行数据旁路的数据包;
在一个 AP下可能同时存在多个 UE, AP需要对这多个 UE的数据 进行数据旁路, 此时, AP将接收该多个 UE中每个 UE所发送的、 需 要进行旁路的数据包。
512 , 在所述接收的数据包中添加所述 UE的标识信息;
所述标识信息是指可以唯一地标识 UE的信息,通过所述标识信息 可唯一地识别出所述 UE。
具体地, 可在数据包包头的可选字段中添加所述 UE的标识信息。 所述标识信息, 举例而言, 可以为 IMSI(International Mobile Subscriber Identification Number , 国际移动用户识别码)、 MAC(Medium Access Control, 介质访问控制)地址等。
S13 , 向网关发送所述添加有所述 UE的标识信息的所述数据包, 以使所述网关根据所述数据包中携带的所述 UE的标识信息,识别出所 述数据包来自于所述 UE。
本实施例 AP在接收到 UE的进行数据旁路的数据包后, 在所接收 的数据包中相应地添加所述 UE对应的标识信息,通过此标识信息来唯 一地标识所述 UE, 并向所述网关发送所述添加有所述 UE的标识信息 的所述数据包, 这样一来, 所述网关可根据数据包中的标识信息识别 出数据包来自所述 UE, 因而, 可根据所述 UE的数据包相应地统计所 述 UE的流量, 相应计费。 同样地, 所述网关在接收到多个 UE发来的 数据包时, 也可根据各个数据包中的标识信息, 相应地识别出数据包 来自哪一个 UE, 从而实现对各个 UE分别统计流量和计费。
与前述方法相对应, 本发明实施例还提供一种数据旁路的标识方 法, 基于网关, 例如 BRAS(Broadband Remote Access Server, 宽带远 程接入服务器), 如图 2所示, 包括:
521 , 接收 UE的进行数据旁路的数据包, 所述数据包中添加有所 述 UE的标识信息;
522 , 根据所述数据包中携带的所述 UE的标识信息, 识别出所述 数据包来自于所述 UE。
本实施例网关在接收到 UE的进行数据旁路的数据包后,由于在所 接收的数据包中已添加有所述 UE对应的标识信息 ,此标识信息唯一地 标识所述 UE, 这样一来, 所述网关可根据数据包中的标识信息识别出 数据包来自所述 UE, 因而, 可根据所述 UE的数据包相应地统计所述 UE的流量, 相应计费。 同样地, 所述网关在接收到多个 UE发来的数 据包时, 也可根据各个数据包中的标识信息, 相应地识别出数据包来 自哪一个 UE, 从而实现对各个 UE分别统计流量和计费。
行进一步说明。 亦须注意, 以下所列举的实施例只是本发明的一部分 实施例, 本领域技术人员由本发明所述内容, 可易于想到其他实施例, 它们都在本发明的范围内。
图 3 是本发明数据旁路的标识方法的一具体实施例的流程图。 如 图 3所示, 本实施例包括:
531 , AP接收第一 UE的进行数据旁路的 IP数据包。
532 , 所述 AP在所述 IP数据包包头的可选字段中添加第一 UE的 IMSI信息 (标识信息) 。
即将第一 UE的 IMSI信息写入所述数据包中的可选字段, 使得所 述 IP数据包的可选字段中携带有第一 UE的 IMSI信息。 由于 IMSI是 国际上为唯一识别一个移动用户而分配的号码, 故用 IMSI 作为第一 UE的标识信息可唯一地标识第一 UE。
533 , 所述 AP在用 IMSI信息对第一 UE进行标识后, 向网关发送 第一 UE 的进行数据旁路的 IP数据包, 所述 IP数据包中包含有第一
UE的 IMSI信息。
534 , 所述网关接收所述 AP发来的第一 UE的进行数据旁路的 IP 数据包。
535 , 所述网关根据所述 IP 数据包中携带的标识信息, 识别出所 述数据包来自于第一 UE。
具体而言, 所述网关对第一 UE的 IP数据包进行解析, 获知所述 IP数据包内可选字段中的 IMSI信息, 并根据第一 UE的 IP数据包中 携带的 IMSI信息, 识别出所述旁路的数据包来自第一 UE。 这样, 网 关就可以统计该 UE的流量, 进而实现对该 UE的计费。
当然, 对于其他 UE发出的进行数据旁路的 IP数据包, AP和网关 亦重复上述过程, 以实现对其他 UE流量的统计和计费。
当 UE在不同的 AP之间移动时, 这些不同的 AP也在所述 UE的 进行数据旁路的 IP数据包的可选字段中添加所述 UE的 IMSI信息,因 而, 网关同样可以根据 IMSI信息识别数据所来自的用户设备, 进而统 计该用户设备的流量并进行相应计费。
本实施例中, AP在接收到 UE的进行数据旁路的数据包后, 在所 接收的数据包中添加所述 UE对应的 IMSI信息, 通过此 IMSI信息来 唯一地标识所述 UE, 并向网关发送所述添加有所述 UE的 IMSI信息 的所述数据包, 这样一来, 网关可根据数据包中的 IMSI信息识别出数 据包来自所述 UE, 因而, 可根据所述 UE的数据包相应地统计所述 UE 的流量, 相应计费。 相应地, 网关在接收到多个 UE发来的数据包时, 也可根据各个数据包中的 IMSI信息,相应地识别出各个 UE的数据包, 从而实现对各个 UE分别统计流量和计费。
需要说明的是, 本实施例中, IMSI信息添加在数据包包头的可选 字段, 但本实施例不限于此, IMSI信息也可以被添加在 IP数据包的其 他位置。
图 4 是本发明数据旁路的标识方法另一具体实施例的流程图。 如 图 4所示, 本实施例包括:
541 , AP接收第一 UE的进行数据旁路的 IP数据包。
542 , 所述 AP确定第一 UE对应的端口列表计算参数。
具体而言, AP在接收到第一 UE的 IP数据包后, 可为第一 UE分 配一个端口列表计算参数。 例如, 通过预先设定的分配规则为第一 UE 分配一个端口列表计算参数,当然还可以通过其它方式为第一 UE分配 端口列表计算参数, 例如随机分配。 需要注意的是, 本实施例中, 端 口列表计算参数将用于标识 UE, 因此, 需要保证为各 UE分配的端口 列表计算参数互不相同。 具体地, 所述端口列表计算参数是 AP为第一 UE分配的一个数值, 举例而言, 该数值可为 AP对其下各个 UE的编 号, 当然还可为其他用途的序号, 本发明对此不作限定。
543 , 所述 AP根据所述确定的第一 UE的端口列表计算参数, 确 定第一 UE可用的端口列表。
具体地, AP可通过以下公式确定所述 UE可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为 UE的总数, k为 S42步骤中 AP为第一 UE确定的端口列表计算参数,η为第一 UE可用的端口序号, η为整数, 且 n=0、 l ... (M-A)/N, Μ为端口总数, 具体值可为 65535。
举例而言, 当系统已占用的端口数为 2048 , 即 Α=2048, 一个 AP 下的 UE的总数为 10 , 即 N=10 , 端口列表计算参数为 2 , 即 k=2时, 该 AP下每一 UE可用的端口数量为(M-A)/N=(65535 - 2048)/10=6348 , 即每一 UE可用 6348个端口。
端口列表计算参数为 2的 UE的端口列表为:
n=0时, 2048+0χ 10+(2-1)=2049; n= l时, 2048+1 χ 10+(2-1)=2059;
n=6437时, 2048+6347χ 10+(2-1)=65519
依次类推, 同一 UE的每相邻的两个端口之值相差 UE总数, 即相 隔 10。
以上只是以举例方式列出的根据端口列表计算参数确定端口列表 的一种方法, 还可釆用其他方法来确定端口列表。 例如, AP下的所有 UE总数为 10时, 每一 UE也可取连续的 6348个端口。
544 , 所述 AP在所接收的第一 UE的进行数据旁路的 IP数据包包 头的可选字段中添加所述确定的第一 UE对应的端口列表计算参数(标 识信息) 。
本实施例中, 以所述 AP为第一 UE确定的端口列表计算参数作为 第一 UE的标识信息。
545 , 所述 AP通过所述确定出的端口列表中的至少一端口将添加 有第一 UE的端口列表计算参数的 IP数据包传输至网关。
546 , 所述网关接收所述 AP传送过来的第一 UE的进行数据旁路 的 IP数据包, 所述 IP数据包中携带有第一 UE对应的端口列表计算参 数。
547 , 所述网关根据所述 IP 数据包中包含的端口列表计算参数, 按照与 AP相同的计算方法确定第一 UE的端口列表, 识别出使用所述 端口列表中的至少一端口的数据包来自于第一 UE。
如此, 所述网关和所述 AP针对同一 UE确定出的端口列表相同, 又由于各个 UE可用的端口列表不相同, 因而, 所述网关能够分别统计 出各个 UE使用的端口列表的流量即可确定出各个 UE的流量, 进而相 应计费。
需注意的是, 在本实施例中, 为使 AP与网关根据相同的端口列表 计算参数所确定的端口列表相同, AP与网关需配置相同的计算方法, 从而根据端口列表计算参数计算 UE的可用的端口列表, 进而通过 UE 可用的端口列表实现对该 UE流量的统计和计费。
显然, 对于其他 UE发出的进行数据旁路的 IP数据包, AP和网关 亦重复上述过程, 以实现对其他 UE流量的统计和计费。 本实施例中, AP在接收到 UE的进行数据旁路的数据包后, 在所 接收的数据包中相应地添加所述 UE对应的端口列表计算参数,通过此 参数来唯一地标识所述 UE, 并向网关发送所述添加有所述 UE的端口 列表计算参数的所述数据包, 这样一来, 网关可根据端口列表计算参 数相应确定所述 UE的端口列表,进而可识别出通过所述确定的端口列 表中的至少一端口发送的数据包来自所述 UE, 因而, 可根据所述 UE 的端口列表相应地统计所述 UE的流量, 相应计费。 相应地, 网关在接 收到多个 UE发来的数据包时,也可根据各个数据包中的端口列表计算 参数, 相应地识别出各个 UE的数据包, 从而实现对各个 UE分别统计 流量和计费。
图 5 是本发明数据旁路的标识方法另一具体实施例的流程图。 如 图 5所示, 本实施例包括:
S51 , AP接收第一 UE的进行数据旁路的 IP数据包。
S52 , 所述 AP仿造生成第一 UE对应的 MAC地址。
具体而言, AP可按照预先设置的规则来仿造生成第一 UE对应的 MAC地址, 所述预先设置的规则可以为任何可以仿造生成 MAC地址 的规则, 只要保证按照所述预先设置的规则仿造生成的 MAC 地址唯 S53 , 所述 AP根据所述生成的 MAC地址, 申请 IP地址。
具体而言, 在得到仿造生成的 MAC地址之后, AP就可根据所述 生成的 MAC地址向 DHCP(Dynamic Host Configuration Protocol , 动态主 机设置协议)服务器申请 IP地址。 其中, 所述 MAC地址与所述 IP地址 ——对应。
S54 , 所述 AP在所接收的第一 UE的 IP数据包包头的可选字段中 添加第一 UE对应的 MAC地址和 /或 IP地址 (标识信息 ) 。
在本实施例中, 以第一 UE对应的 MAC地址和 /或 IP地址作为第 一 UE的标识信息。 本步骤中, 可以仅在第一 UE的 IP数据包中添加 第一 UE对应的 MAC地址, 以 MAC地址作为标识信息, 还可以仅在 第一 UE的 IP数据包中添加第一 UE对应的 IP地址,以 IP地址作为标 识信息, 也可同时在第一 UE的 IP数据包中添加第一 UE对应的 MAC 地址和 IP地址, 以两者或者两者之一作为标识信息。
具体而言, 在 IP地址申请成功之后, 就可在第一 UE的数据包中 添加第一 UE对应的 MAC地址和 /或 IP地址, 所述生成的 MAC地址 和 /或 IP地址为所述 UE的标识信息, 用以对所述 UE进行标识。
S55 , 所述 AP向网关发送添加有第一 UE对应的 MAC地址和 /或
IP地址的 IP数据包。
556 , 所述网关接收所述 AP发来的第一 UE的进行数据旁路的 IP 数据包, 所述 IP数据包中添加有第一 UE的 MAC地址和 /或 IP地址。
557 , 所述网关根据所述 IP数据包中携带的 MAC地址和 /或 IP地 址, 识别出所述 IP数据包来自于第一 UE。
如此, 所述网关就可以 居数据包中的所述 MAC地址和 /或 IP地 址统计第一 UE的流量, 进行计费。
可选地, 当 IP数据包中同时携带有 MAC地址和 IP地址时, 所述 网关可根据这两者中的至少一者识别出所述 I P数据包来自于第一 UE。
显然, 对于其他 UE发出的进行数据旁路的 IP数据包, AP和网关 亦重复上述过程, 以实现对其他 UE流量的统计和计费。
本实施例中, AP在接收到 UE的进行数据旁路的数据包后, 在所 接收的数据包中相应地添加所述 UE对应的 MAC地址和 /或 IP地址, 通过此 MAC地址和 /或 IP地址来唯一地标识所述 UE, 并向网关发送 所述添加有所述 UE的 MAC地址和 /或 IP地址的所述数据包, 这样一 来, 所述网关根据所述 MAC地址和 /或 IP地址可识别出数据包来自所 述 UE, 因而, 可 居所述 UE的 MAC地址和 /或 IP地址统计所述 UE 的流量, 相应计费。 相应地, 所述网关在接收到多个 UE发来的数据包 时, 也可根据各个数据包中包含的所述多个 UE对应的 MAC地址和 / 或 IP地址, 相应地识别出各个 UE的数据包, 从而实现对各个 UE分 别统计流量和计费。
需要指出的是, 在上面各实施例中所提及的各步骤的顺序未必是 固定的, 在本发明的范围内, 可对各实施例中的步骤的顺序进行相应 的调整, 这些都在本发明的范围之内, 例如, 上面说明中所提及的 S44 可调整至 S42与 S43之间。
还需指出的是, 在上面各实施例中, 所述网关可为 BRAS。 与本发明提供的一种数据旁路的方法相对应, 本发明还提供一种 数据旁路的标识装置, 如图 6A所示, 包括:
接收单元 61 , 用于接收 UE的进行数据旁路的数据包;
添加单元 62 ,用于在接收单元 61接收的所述进行数据旁路的数据 包中添加所述 UE的标识信息;
发送单元 63 , 用于在添加单元 62添加所述 UE的标识信息之后, 向网关发送所述添加有所述 UE的标识信息的所述数据包,以使所述网 关根据所述数据包中携带的所述 UE的标识信息 ,识别出所述数据包来 自于所述 UE。
本实施例在接收单元 61接收到 UE的进行数据旁路的数据包后, 由添加单元 62在所接收的数据包中相应地添加所述 UE对应的标识信 息, 通过此标识信息来唯一地标识所述 UE, 并由发送单元 63 向网关 发送所述添加有所述 UE的标识信息的所述数据包, 这样一来, 网关可 根据数据包中的标识信息识别出数据包来自所述 UE, 因而, 可根据所 述 UE的数据包相应地统计所述 UE的流量, 相应计费。 相应地, 网关 在接收到多个 UE 发来的数据包时, 也可根据各个数据包中的标识信 息, 相应地识别出数据包来自哪一个 UE, 从而实现对各个 UE分别统 计流量和计费。
可选地, 在本发明的一实施例中, 所述标识信息为国际移动用户 识别码 IMSI信息; 添加单元 62具体用于:
在所述数据包中添加所述 UE的国际移动用户识别码 IMSI信息。 可选地, 在本发明的另一实施例中, 所述标识信息为端口列表计 算参数; 如图 6B所示, 所述装置还包括:
确定单元 64 , 用于在接收单元 61接收到 UE的进行数据旁路的数 据包后, 确定所述 UE对应的端口列表计算参数; 根据所述确定的所述 UE对应的端口列表计算参数, 确定所述 UE可用的端口列表;
添加单元 62具体用于:
在所述接收的数据包中添加确定单元 64确定的所述 UE对应的端 口列表计算参数;
发送单元 63具体用于:
通过确定单元 64确定出的端口列表中的至少一个端口向网关发送 所述添加有所述 UE的标识信息的所述数据包。
具体地, 确定单元 64用于:
通过以下公式确定所述 UE可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为 UE的总数, k为所述 UE的 端口列表计算参数, n为所述 UE可用的端口序号, n为整数, 且 n=0、 l ... (M-A)/N, M为端口总数。
可选地, 在本发明的另一实施例中, 所述 UE 的标识信息为所述 UE对应的 MAC地址和 /或 IP地址; 如图 6C所示, 所述装置还包括: 生成单元 65 , 用于在接收单元 61接收到 UE的进行数据旁路的数 据包后, 生成所述 UE对应的介质访问控制 MAC地址;
申请单元 66 , 用于根据生成单元 65生成的介质访问控制 MAC地 址, 申请 IP地址;
添加单元 62用于:
在接收单元 61接收的数据包中添加所述 UE对应的 MAC地址和 / 或 IP地址。 与本发明提供的一种数据旁路的方法相对应, 本发明还提供一种 网关装置, 如图 7所示, 包括:
接收单元 71 , 用于接收 UE的进行数据旁路的数据包, 所述数据 包中添加有所述 UE的标识信息;
识别单元 72 ,用于根据接收单元 71接收的所述数据包中携带的所 述 UE的标识信息, 识别出所述数据包来自于所述 UE。
本实施例在接收单元 71接收到 UE的进行数据旁路的数据包后, 由识别单元 72识别在所接收的数据包中已添加的所述 UE对应的标识 信息, 这样一来, 所述网关可根据数据包中的标识信息识别出数据包 来自所述 UE, 因而, 可根据所述 UE的数据包相应地统计所述 UE的 流量,相应计费。相应地,所述网关在接收到多个 UE发来的数据包时, 也可根据各个数据包中的标识信息,实现对各个 UE分别统计流量和计 费。
可选地, 在本发明的一实施例中, 所述标识信息为国际移动用户 识别码 IMSI信息; 识别单元 72用于:
根据所述 UE的国际移动用户识别码 IMSI信息, 识别出所述数据 包来自于所述 UE。
可选地, 在本发明的一实施例中, 所述标识信息为端口列表计算 参数; 识别单元 72用于:
根据所述数据包中携带的端口列表计算参数,确定所述 UE可用的 端口列表;
根据所述确定的 UE的端口列表,识别出使用所述端口列表中的端 口的数据包来自于所述 UE。
具体地, 识别单元 72用于:
通过以下公式确定所述 UE可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为 UE的总数, k为所述 UE的 端口列表计算参数, n为所述 UE可用的端口序号, n为整数, 且 n=0、 1 ... ( M-A ) /N, M为端口总数。
可选地, 在本发明的另一实施例中, 所述标识信息为 MAC地址和 /或 IP地址; 识别单元 72用于:
根据所述 UE的 MAC地址和 /或 IP地址, 识别出所述数据包来自 于所述 UE。
本发明提供的数据旁路的方法和装置,在接收到 UE的进行数据旁 路的数据包后,通过在所述接收的数据包中添加所述 UE的标识信息后 再发向网关, 这样, 所述网关在接收到所述 UE的数据包后, 就可以根 据所述数据包中包含的所述 UE的标识信息识别所述 UE, 即获知数据 包来自于所述 UE, 这样, 所述网关能够依据各数据包中的标识信息来 分别统计不同 UE的流量, 进而进行计费。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步 骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算 机可读存储介质中, 所述存储介质可以是只读存储器、 磁盘或光盘等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种数据旁路的标识方法, 其特征在于, 包括:
接收用户设备的进行数据旁路的数据包;
在所述接收的数据包中添加所述用户设备的标识信息;
向网关发送所述添加有所述用户设备的标识信息的所述数据包, 以使所述网关根据所述数据包中携带的所述用户设备的标识信息, 识 别出所述数据包。
2、 根据权利要求 1所述的方法, 其特征在于,
所述用户设备的标识信息为国际移动用户识别码 IMSI信息; 所述在所述接收的数据包中添加所述用户设备的标识信息具体 为:
在所述数据包中添加所述用户设备的国际移动用户识别码 IMSI信 息。
3、 根据权利要求 1所述的方法, 其特征在于,
所述用户设备的标识信息为端口列表计算参数;
在接收用户设备的进行数据旁路的数据包后, 所述方法还包括: 确定所述用户设备对应的端口列表计算参数;
根据所述确定的所述用户设备对应的端口列表计算参数, 确定所 述用户设备可用的端口列表;
所述在所述接收的数据包中添加所述用户设备的标识信息包括: 在所述接收的数据包中添加所述确定的所述用户设备对应的端口 列表计算参数;
所述向网关发送所述添加有所述用户设备的标识信息的所述数据 包包括:
通过所述确定出的端口列表中的至少一个端口向网关发送所述添 加有所述用户设备的标识信息的所述数据包。
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述确定 的所述用户设备对应的端口列表计算参数, 确定所述用户设备可用的 端口列表包括:
通过以下公式确定所述用户设备可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为用户设备的总数, k为所述用 户设备的端口列表计算参数, n为所述用户设备可用的端口序号, n为 整数, 且 n=0、 1 ... ( M-A ) /N, M为端口总数。
5、 根据权利要求 1所述的方法, 其特征在于,
所述用户设备的标识信息为所述用户设备对应的介质访问控制 MAC地址和 /或因特网协议 IP地址;
在接收用户设备的进行数据旁路的数据包后, 所述方法还包括: 生成所述用户设备对应的介质访问控制 MAC地址;
根据所述生成的介质访问控制 MAC地址, 申请因特网协议 IP地 址;
所述在所述接收的数据包中添加所述用户设备的标识信息具体 为:
在所述接收的数据包中添加所述用户设备对应的介质访问控制
MAC地址和 /或因特网协议 IP地址。
6、 一种数据旁路的标识方法, 其特征在于, 包括:
接收用户设备的进行数据旁路的数据包, 所述数据包中添加有所 述用户设备的标识信息;
根据所述数据包中携带的所述用户设备的标识信息, 识别出所述 数据包来自于所述用户设备。
7、 根据权利要求 6所述的方法, 其特征在于,
所述标识信息为国际移动用户识别码 IMSI信息;
所述根据所述数据包中携带的所述用户设备的标识信息, 识别出 所述数据包来自于所述用户设备包括:
根据所述用户设备的国际移动用户识别码 IMSI信息, 识别出所述 数据包来自于所述用户设备。
8、 根据权利要求 6所述的方法, 其特征在于,
所述标识信息为端口列表计算参数;
所述根据所述数据包中携带的所述用户设备的标识信息, 识别出 所述数据包来自于所述用户设备包括:
根据所述数据包中携带的端口列表计算参数, 确定所述用户设备 可用的端口列表;
根据所述确定的用户设备的端口列表, 识别出使用所述端口列表 中的至少一端口的数据包来自于所述用户设备。
9、 根据权利要求 8所述的方法, 其特征在于, 所述根据所述确定 的所述用户设备对应的端口列表计算参数, 确定所述用户设备可用的 端口列表包括:
通过以下公式确定所述用户设备可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为用户设备的总数, k为所述用 户设备的端口列表计算参数, n为所述用户设备可用的端口序号, n为 整数, 且 n=0、 1 ... ( M-A ) /N, M为端口总数。
10、 根据权利要求 6所述的方法, 其特征在于,
所述标识信息为介质访问控制 MAC地址和 /或因特网协议 IP地址; 根据所述数据包中携带的所述用户设备的标识信息, 识别出所述 数据包来自于所述用户设备包括:
根据所述用户设备的介质访问控制 MAC地址和 /或因特网协议 IP 地址, 识别出所述数据包来自于所述用户设备。
11、 一种数据旁路的标识装置, 其特征在于, 包括:
接收单元, 用于接收用户设备的进行数据旁路的数据包;
添加单元, 用于在所述接收的数据包中添加所述用户设备的标识 信息;
发送单元, 用于向网关发送所述添加有所述用户设备的标识信息 的所述数据包, 以使所述网关根据所述数据包中携带的所述用户设备 的标识信息, 识别出所述数据包来自于所述用户设备。
12、 根据权利要求 11所述的装置, 其特征在于,
所述标识信息为国际移动用户识别码 IMSI信息;
所述添加单元用于:
在所述数据包中添加所述用户设备的国际移动用户识别码 IMSI信 息。
13、 根据权利要求 11所述的装置, 其特征在于,
所述标识信息为端口列表计算参数;
所述装置还包括:
确定单元, 用于确定所述用户设备对应的端口列表计算参数; 根 据所述确定的所述用户设备对应的端口列表计算参数, 确定所述用户 设备可用的端口列表;
所述添加单元用于: 在所述接收的数据包中添加所述确定的所述用户设备对应的端口 列表计算参数;
所述发送单元用于:
通过所述确定出的端口列表中的至少一个端口向网关发送所述添 加有所述用户设备的标识信息的所述数据包。
14、 根据权利要求 13所述的装置, 其特征在于, 所述确定单元用 于:
通过以下公式确定所述用户设备可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为用户设备的总数, k为所述用 户设备的端口列表计算参数, n为所述用户设备可用的端口序号, n为 整数, 且 n=0、 1 ... ( M-A ) /N, M为端口总数。
15、 根据权利要求 11所述的装置, 其特征在于,
所述用户设备的标识信息为所述用户设备对应的介质访问控制 MAC地址和 /或因特网协议 IP地址;
所述装置还包括:
生成单元, 用于生成所述用户设备对应的介质访问控制 MAC 地 址;
申请单元, 用于根据所述生成的介质访问控制 MAC地址, 申请因 特网协议 IP地址;
所述添加单元用于:
在所述接收的数据包中添加所述用户设备对应的介质访问控制 MAC地址和 /或因特网协议 IP地址。
16、 一种网关装置, 其特征在于, 包括:
接收单元, 用于接收用户设备的进行数据旁路的数据包, 所述数 据包中添加有所述用户设备的标识信息;
识别单元, 用于根据所述数据包中携带的所述用户设备的标识信 息, 识别出所述数据包来自于所述用户设备。
17、 根据权利要求 16所述的装置, 其特征在于,
所述标识信息为国际移动用户识别码 IMSI信息;
所述识别单元用于:
根据所述用户设备的国际移动用户识别码 IMSI信息, 识别出所述 数据包来自于所述用户设备。
18、 根据权利要求 16所述的装置, 其特征在于,
所述标识信息为端口列表计算参数;
所述识别单元用于:
根据所述数据包中携带的端口列表计算参数, 确定所述用户设备 可用的端口列表;
根据所述确定的用户设备的端口列表, 识别出使用所述端口列表 中的端口的数据包来自于所述用户设备。
19、 根据权利要求 18所述的装置, 其特征在于, 所述识别单元用 于:
通过以下公式确定所述用户设备可用的端口列表:
A+nxN+(k-l)
其中, A为已经占用的端口数, N为用户设备的总数, k为所述用 户设备的端口列表计算参数, n为所述用户设备可用的端口序号, n为 整数, 且 n=0、 1 ... ( M-A ) /N, M为端口总数。
20、 根据权利要求 16所述的装置, 其特征在于,
所述标识信息为介质访问控制 MAC地址和 /或因特网协议 IP地址; 根据识别单元用于:
根据所述用户设备的介质访问控制 MAC地址和 /或因特网协议 IP 地址, 识别出所述数据包来自于所述用户设备。
PCT/CN2012/082686 2011-12-09 2012-10-10 一种数据旁路的标识方法和装置 WO2013082975A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110409480.3A CN102523313B (zh) 2011-12-09 2011-12-09 一种数据旁路的标识方法和装置
CN201110409480.3 2011-12-09

Publications (1)

Publication Number Publication Date
WO2013082975A1 true WO2013082975A1 (zh) 2013-06-13

Family

ID=46294100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/082686 WO2013082975A1 (zh) 2011-12-09 2012-10-10 一种数据旁路的标识方法和装置

Country Status (2)

Country Link
CN (1) CN102523313B (zh)
WO (1) WO2013082975A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523313B (zh) * 2011-12-09 2015-03-18 华为技术有限公司 一种数据旁路的标识方法和装置
CN104125621A (zh) * 2014-08-11 2014-10-29 上海云联计算机系统有限公司 无线路由器对移动终端数据包的追踪识别方法及其装置
CN104618360B (zh) * 2015-01-22 2019-05-31 盛科网络(苏州)有限公司 基于802.1X协议的bypass认证方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765218A (zh) * 2009-12-23 2010-06-30 华为技术有限公司 数据传输方法及相关设备和系统
CN101789896A (zh) * 2009-01-24 2010-07-28 华为技术有限公司 一种用户设备访问因特网的方法及系统
CN101795478A (zh) * 2010-03-31 2010-08-04 华为技术有限公司 数据旁路的方法、网络侧设备和接入网关
CN102523313A (zh) * 2011-12-09 2012-06-27 华为技术有限公司 一种数据旁路的标识方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789896A (zh) * 2009-01-24 2010-07-28 华为技术有限公司 一种用户设备访问因特网的方法及系统
CN101765218A (zh) * 2009-12-23 2010-06-30 华为技术有限公司 数据传输方法及相关设备和系统
CN101795478A (zh) * 2010-03-31 2010-08-04 华为技术有限公司 数据旁路的方法、网络侧设备和接入网关
CN102523313A (zh) * 2011-12-09 2012-06-27 华为技术有限公司 一种数据旁路的标识方法和装置

Also Published As

Publication number Publication date
CN102523313B (zh) 2015-03-18
CN102523313A (zh) 2012-06-27

Similar Documents

Publication Publication Date Title
JP5982690B2 (ja) ネットワークコンバージェンスの方法、デバイス、および通信システム
EP2750437A1 (en) Method and device for performing policy control on data packet
TW200847715A (en) Method and system of providing IP-based packet communications in a utility network
US20200329360A1 (en) Method and system for discovering user equipment in a network
WO2009033382A1 (fr) Procédé et dispositif d'élément de réseau destinés à acquérir l'information de contrôle des règles d'une session d'accès ip
JP5816293B2 (ja) パブリックネットワークにおけるプライベート装置の識別
CN101562807A (zh) 移动虚拟专用网通信的方法、装置及系统
WO2011143880A1 (zh) 一种无线组播数据的传输方法及系统
WO2011144083A2 (zh) 策略控制方法及设备
WO2014026545A1 (zh) 一种固定宽带网络的资源分配方法、装置及系统
CN109495594B (zh) 一种数据传输方法、pnf sdn控制器、vnf sdn控制器及系统
KR101358775B1 (ko) 사용자 액세스 방법, 시스템, 및 액세스 서버, 액세스 장치
WO2011144152A1 (zh) 信息提供方法及家庭网关、家庭网络系统
WO2014063629A1 (zh) 漫游用户数据业务的计费控制方法、设备和系统
WO2012109849A1 (zh) Mac地址分配方法和设备
CN101656964B (zh) Wi-Fi城域网的实现方法及家庭网关
CN102340548B (zh) 一种IPv6用户接入的控制方法和装置
WO2013082975A1 (zh) 一种数据旁路的标识方法和装置
WO2011134102A1 (zh) 关联会话的方法、装置及系统
CN102244620A (zh) 一种确定网关与设备关联关系的方法和系统
CN101087232B (zh) 一种基于以太网上点对点协议的接入方法、系统和设备
EP2566139A1 (en) Method and device for obtaining remote ip address
WO2015131327A1 (zh) IPv6地址分配方法及装置
WO2010091562A1 (zh) 用于固定网络与第三方网络或应用服务器交互的方法及装置
WO2017101028A1 (zh) 数据传输方法、m2m服务器、pgw、sgw及服务网络节点

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

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

Country of ref document: EP

Kind code of ref document: A1