WO2014114058A1 - Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés - Google Patents

Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés Download PDF

Info

Publication number
WO2014114058A1
WO2014114058A1 PCT/CN2013/078778 CN2013078778W WO2014114058A1 WO 2014114058 A1 WO2014114058 A1 WO 2014114058A1 CN 2013078778 W CN2013078778 W CN 2013078778W WO 2014114058 A1 WO2014114058 A1 WO 2014114058A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
interface
apn
feature
cpe
Prior art date
Application number
PCT/CN2013/078778
Other languages
English (en)
Chinese (zh)
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 WO2014114058A1 publication Critical patent/WO2014114058A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses

Definitions

  • the present invention relates to the field of communications, and in particular, to a data packet forwarding method, a user premises equipment, and a system. Background technique
  • LTE Long term evolution
  • 3rd-generation 3rd-generation
  • 4rd-generation 4rd-generation
  • the data packet sent by the terminal device carries an Internet Protocol (IP) address
  • IP Internet Protocol
  • the gateway needs to extract the data to obtain the destination IP address of the document, and then the destination IP address.
  • the corresponding access point name (APN) forwards the data packet, so that the terminal device accesses the corresponding APN according to the destination IP address, and some enterprise networks or home networks are established to provide network resources for specific users.
  • the user can access the APN interface corresponding to the destination IP address according to the destination IP address, for example, to obtain the enterprise network or the home network, as long as the user obtains the destination IP address.
  • the destination IP address can be used to access the APN interface of the enterprise network or the home network, and thus cannot control the access of different terminal devices to the APN interface.
  • Embodiments of the present invention provide a data packet forwarding method, a user premises equipment, and a system.
  • System can control the access of different terminal devices to the interface.
  • the first aspect of the present invention provides a data packet forwarding method, including: a user premises equipment CPE receives a first data packet, and the CPE accesses at least two packet data network gateways PGW;
  • the access point name of the CPE is the same as the type of the feature information in the mapping table, and the mapping table includes the correspondence between the feature information and the UI, and the feature information in the mapping table is obtained according to the access mode of the terminal device;
  • the method before the acquiring the first feature information of the first data packet, the method further includes:
  • the user feature of the terminal device is extracted according to the access mode of the terminal device, where the user features include: a calling number, a called number, an extended called number, and a user medium.
  • the user features include: a calling number, a called number, an extended called number, and a user medium.
  • the obtaining the feature information according to the user feature includes:
  • the first user feature is directly used as the feature information; or the preset feature identifier corresponding to the first user feature is obtained, and the preset feature identifier is used as the feature information.
  • the first achievable manner, and the third achievable manner the first data packet is sent from the first APN interface by using route forwarding or bridge forwarding.
  • To the network side includes:
  • the decapsulated first data packet is encapsulated in the radio frame and sent to the network side through the first APN interface;
  • the IP address of the private network is translated into the public network IP address.
  • the address-converted first data packet is encapsulated in the radio frame and sent to the network side through the first APN interface.
  • the method further includes: receiving, by the second APN interface, the second data packet sent by the network side;
  • the second data packet is sent from the user interface to the user side by using the route forwarding or the bridge forwarding.
  • the sending the second data packet from the user interface to the user side by using the route forwarding specifically includes:
  • the private network IP address is searched for the private network routing table to obtain the user interface; the second data packet after the address translation is encapsulated by the link layer; and the encapsulated second data packet is sent from the user interface to the user side. ;
  • the sending the second data packet from the user interface to the user side by using the bridge forwarding specifically includes:
  • an embodiment of the present invention provides a user premises equipment CPE, which accesses at least two packet data network gateways PGW, including:
  • a receiving unit configured to receive the first data packet
  • a first acquiring unit configured to acquire first feature information of the first data packet;
  • the first feature information is the same as a feature information type in an access point name mapping table of the CPE, where the mapping table is The corresponding information of the feature information and the UI interface is included, and the feature information in the UI mapping table is obtained according to the access mode of the terminal device;
  • a second acquiring unit configured to query the ⁇ mapping table according to the first feature information, and acquire a first ⁇ interface corresponding to the first feature information
  • a forwarding unit configured to send the first data packet from the first interface to the network side by using route forwarding or bridge forwarding.
  • the CPE further includes:
  • an extracting unit configured to: when the terminal device accesses the customer premises equipment CPE, extract the user feature of the terminal device according to the access mode of the terminal device, where the user features include: a calling number, a called number, and an extension One or more of a number, a user medium access control layer MAC address, a user virtual local area network VLAN tag, a username, a domain name, and a physical interface number;
  • a third acquiring unit configured to acquire a first user feature from a user feature of the terminal device, where the user feature type in the first user feature and the feature interface correspondence table is the same, and the feature interface correspondence table includes Corresponding relationship between the user feature and the APN interface;
  • the fourth obtaining unit configured to obtain, from the feature interface correspondence table, the first The APN interface corresponding to the user feature;
  • a fifth obtaining unit configured to obtain feature information according to the first user feature
  • a storage unit configured to store, in the APN mapping table, a correspondence between the feature information and an APN interface corresponding to the first user feature.
  • the fifth obtaining unit is specifically configured to:
  • the first user feature is directly used as the feature information; or the preset feature identifier corresponding to the first user feature is obtained, and the preset feature identifier is used as the feature information.
  • the receiving unit is further configured to receive, by the second APN interface, the second data packet sent by the network side;
  • the forwarding unit is further configured to: send the second data packet from the user interface to the user side by using route forwarding or bridge forwarding.
  • an embodiment of the present invention provides a data packet forwarding system, including: at least two packet data network gateways PGW, and any user premises equipment described above.
  • the data packet forwarding method provided by the embodiment of the present invention, the user premises equipment and the system, the method includes: the user premises equipment CPE receives the first data packet, and the CPE accesses at least two packet data network gateways PGW; First feature information of the first data packet; the first feature information is the same as the feature information type in the access point name APN mapping table of the CPE, and the APN mapping table includes the correspondence between the feature information and the APN interface. And obtaining the feature information in the APN mapping table according to the access mode of the terminal device; querying the APN mapping table according to the first feature information, and acquiring a first APN interface corresponding to the first feature information; The first data packet is sent from the first APN interface to the network side by route forwarding or bridge forwarding.
  • the first APN interface needs to be obtained by querying the APN mapping table according to the first feature information extracted from the first data packet.
  • the APN mapping table includes Correspondence between the feature information and the APN interface.
  • the feature information is obtained according to the access mode of each terminal device. Therefore, the APN mapping table sets the access rights of different terminal devices to the APN interface, and queries the APN mapping table. Packet forwarding can control access of different terminal devices to the APN interface.
  • FIG. 1 is a flowchart of a data packet forwarding method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another data packet forwarding method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a user premises equipment according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another user premises equipment according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a packet forwarding system according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of still another user premises equipment according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a data packet forwarding method, which is performed by a customer premises equipment (CPE), and the CPE accesses at least two packet data network (PDN) gateways (PDNs).
  • CPE customer premises equipment
  • PDNs packet data network gateways
  • Gateway referred to as PGW, as shown in Figure 1, includes:
  • the CPE receives the first data packet.
  • the CPE acquires first feature information of the first data packet.
  • the first feature information is the same as the feature information type in the access point name APN mapping table of the CPE, and the APN mapping table includes the correspondence between the feature information and the APN interface.
  • the feature information in the APN mapping table is obtained according to the access mode of the terminal device.
  • the first data packet is sent by the terminal device to the CPE through the user interface, and the CPE performs the parsing of the first data packet according to the APN mapping table to extract the first feature information of the first data packet.
  • the CPE may First, the APN mapping table is queried, and the type of the feature information recorded in the APN mapping table, such as the domain name and the physical interface number, is obtained, and then the specific type of feature information is extracted in the packet header and the physical interface of the first data packet.
  • the form, for example, the type of the feature information recorded in the mapping table is a domain name
  • the specific domain name is extracted in the first data packet, for example, the domain information carried in the first data packet is "abc@huawei.com", extracted.
  • the domain name "huawei", the "huawei” is the extracted first feature information.
  • the feature information carried in the first data packet may be different from the type of the feature information recorded in the APN mapping table, and may not be extracted in the first data packet in this embodiment.
  • the feature information of the same type as the feature information recorded in the APN mapping table is used, the first feature information is recorded as invalid feature information.
  • the CPE queries the APN mapping table according to the first feature information, and obtains a first APN interface corresponding to the first feature information.
  • the CPE sends the first data packet from the first APN interface to the network side by using route forwarding or bridge forwarding.
  • the CPE when the CPE uses the route forwarding mode to forward the first data packet, the CPE needs to forward the first data packet to the first APN interface after performing network address translation (NAT).
  • NAT network address translation
  • the CPE may first decapsulate the link layer of the first data packet, and then obtain the private network protocol IP address of the decapsulated first data packet; and obtain the corresponding corresponding to the first APN interface.
  • a public network IP address converting the private network IP address in the decapsulated first data packet to the public network IP address; and encapsulating the address-converted first data packet in the radio frame
  • the first APN interface is sent to the network side.
  • the CPE may first perform the The link layer of the first data packet is decapsulated; and then the first data packet that is decapsulated is encapsulated in the radio frame and sent to the network side through the first APN interface.
  • the first APN interface needs to be obtained by querying the APN mapping table according to the first feature information extracted from the first data packet.
  • the APN mapping table includes the mapping between the feature information and the APN interface.
  • the feature information is obtained according to the access mode of each terminal device. Therefore, the APN mapping table sets the access rights of different terminal devices to the APN interface, and the query is performed.
  • the APN mapping table performs packet forwarding to control access of different terminal devices to the APN interface.
  • the embodiment of the present invention provides a data packet forwarding method, as shown in FIG. 2, including:
  • the CPE establishes a feature interface correspondence table.
  • the feature interface correspondence table includes a correspondence between a user feature and an APN interface, and the user feature may include: a calling number, a called number, an extended called number, and a medium access control (MAC).
  • MAC medium access control
  • VLAN virtual local area network
  • any two feature parameter combinations may be selected as the user feature, as shown in Table 2.
  • the combination of the MAC and the VLAN tag is used as the user feature.
  • one or more of the feature interface correspondence tables may be established in the CPE, and each feature interface correspondence table in the CPE needs to ensure that each user feature is different. That is, duplicate feature parameter values do not appear.
  • the relationship between the different feature values and the APN under the same user feature may be a one-to-one relationship or a many-to-one relationship.
  • the present invention does not limit this.
  • different APN interfaces can be obtained, so that subsequent network access processes are accessed.
  • the feature interface correspondence table shown in Table 1 when the user feature is a user name, the user name includes different contents, such as: Zhang San, Li Si, etc., the relationship between each user name and the APN may be The one-to-one relationship, such as the APN interface corresponding to the user name Zhang San, is APN1, and can also be a many-to-one relationship.
  • the APN corresponding to the user name Li Si and Wang Wu is APN2.
  • one or more feature interface correspondence tables may be stored in the CRE. In practice, a feature interface correspondence table is usually saved.
  • the CPE establishes a connection with the preset PDN.
  • the CPE can establish a connection with the preset PDN through the dial-up mode, that is, the connection between the CPE and the corresponding PGW is established, and the APN interface corresponding to the preset PDN connection is turned on, and the APN interface can perform data service communication for subsequent data services. Communication provides a channel.
  • the CPE extracts the user feature of the terminal device according to the access mode of the terminal device.
  • the access mode of the terminal device may be pre-configured according to actual conditions, and may be a routing mode or a bridge mode.
  • the PGW allocates the CPE.
  • the private network IP address, the CPE can be used as the user side, that is, the gateway on the terminal device side.
  • multiple terminal devices can share an APN.
  • the PGW allocates an IP address to the CPE, and the CPE transparently transmits the IP address to the terminal device, so that the terminal device accesses the CPE according to the IP, that is, the CPE pair.
  • the IP address of the received PGW is forwarded to the corresponding terminal device.
  • the CPE can provide the bridge forwarding to forward the data service of the terminal device to the PGW.
  • the access mode may include: a telephone service access, a dynamic host configuration protocol (DHCP), an oint to point protocol over Ethernet (PPPoE), and a wireless fidelity (abbreviation). WIFI) Wait a minute.
  • DHCP dynamic host configuration protocol
  • PPPoE oint to point protocol over Ethernet
  • WIFI wireless fidelity
  • the VLAN tag it should be noted that if the VLAN tag is not extracted, the VLAN tag is invalid when the APN mapping table is established.
  • the user feature to be extracted may be the user MAC address. Address, VLAN tag, physical interface number and username, or user MAC address, VLAN tag, physical interface number, and domain name.
  • the CPE acquires a first user feature from a user feature of the terminal device.
  • the first user feature is the same as the user feature type in the feature interface correspondence table.
  • the CPE can obtain multiple user features of the terminal device, and the CPE can store one or more feature interface correspondence tables. Therefore, when acquiring the first user feature, the CPE can use the user characteristics of the terminal device. The user features in the feature interface correspondence table stored in the CPE are matched, and the first user feature with the same user feature type is obtained.
  • PPPoE can contain user MAC address, VLAN tag, username, and so on.
  • the corresponding extracted user features are user MAC address, VLAN tag, and user name, where the user MAC address is 0x00E001000003, the VLAN tag is VLAN1, and the user name is Zhang San, if preset As shown in Table 1, the CPE matches the user feature of the extracted terminal device with the user feature in the feature interface mapping table, and obtains the first user feature with the same user feature type: Zhang San.
  • the CPE matches the user feature of the extracted terminal device with the user feature in the feature interface correspondence table, that is, the user MAC address and the VLAN tag, and obtains the same user feature type.
  • the first user feature The user MAC address is 0x00E001000003 and the VLAN tag is VLAN 1.
  • the CPE obtains an APN interface corresponding to the first user feature from the feature interface correspondence table.
  • the user name is Zhang
  • the preset feature interface correspondence table is as shown in Table 1. If the corresponding APN interface corresponding to the user name Zhang is APN1, the corresponding user name can be obtained.
  • the APN interface corresponding to the first user feature is APN1.
  • the user MAC address is OxOOEOO 1000003 and the VLAN tag is VLAN 1
  • the preset feature interface correspondence table is as shown in Table 2, and the corresponding user MAC address is obtained in the corresponding interface correspondence table.
  • the APN interface corresponding to the first user feature is APN5, and the APN interface corresponding to the VLAN 1 is the APN5.
  • step 201 when the CPE is in the established feature interface correspondence table, the calling number, the called number, or the extended called number is selected as the user feature.
  • the CPE can extract the master.
  • the called number, the called number, or the extended called number is used as the first feature information to obtain a corresponding APN interface, such as 0777-12345, where 0777 is an extended part, and the corresponding APN interface is obtained by using 0777 as the first feature information.
  • the user name is selected.
  • the domain name is the first user feature.
  • the terminal device is a data user
  • the data user carries the user name or domain name, such as abc@huawei, where "abc" is the user name and "huawei" is the domain name.
  • the CPE can obtain the corresponding APN interface by extracting the username or the domain name as the first feature information.
  • the CPE obtains feature information according to the first user feature.
  • the CPE may directly use the first user feature as feature information, for example, when the first user feature is the calling number, the called number, the extended called number, the user MAC address, When the user VLAN tag or the physical interface number is described, the first user feature is used as the feature information.
  • the CPE may also obtain the preset feature identifier corresponding to the first user feature, and use the preset feature identifier as the feature information. For example, when the first user feature is a user name or a domain name, the user name or the domain name is obtained. a session identifier, the session identifier is used as the feature information.
  • the CPE allocates a corresponding session identifier for each user name, and the session identifiers are different, and are used to distinguish Different users.
  • the obtained session identifier is a session identifier corresponding to the user name.
  • the obtained session identifier is a username corresponding to the username under the domain name. The session identifier, therefore, when the first user feature is a domain name, the obtained session identifier may be one or more.
  • the CPE stores, in the APN mapping table, a correspondence between the feature information and an APN interface corresponding to the first user feature.
  • the CPE may obtain the first feature information according to the APN interface corresponding to the first user feature acquired in step 205 and the feature information corresponding to the first user feature in step 206.
  • the corresponding relationship between the APN interface and the APN mapping table is recorded, and the corresponding relationship between the feature information and the APN interface is recorded in the APN mapping table.
  • the terminal device accesses the CPE through the PPPoE
  • the user MAC address is 0x00E001000003
  • the VLAN tag is 1
  • the physical interface number is 1. If the preset feature interface correspondence table is as shown in Table 2, in step 204 and step 205.
  • the first user feature is obtained by querying the feature interface correspondence table: the user MAC address is 0x00E001000003, and the APN interface corresponding to the VLAN tag is VLAN 1 is APN5, and according to step 206, the first user feature is directly: If the MAC address is OxOOEOO 1000003 and the VLAN tag is VLAN 1 as the feature information, the user MAC address is 0x00E001000003 and the corresponding relationship between the VLAN tag and the APN5 is stored in the APN mapping table.
  • the feature information in the APN mapping table may include: a user MAC address and a VLAN tag, and a user MAC address of 0x00E001000003 and a VLAN tag as a correspondence between VLAN1 and the APN5 are stored in the APN mapping table.
  • the indication of 0 is invalid.
  • step 203 when the terminal device accesses the CPE, there may be multiple user features of the terminal device extracted by the CPE according to the access mode of the terminal device, and in actual application, step 206 may also be used.
  • the feature information is obtained by the plurality of user features obtained in step 203, the plurality of user features including the first user feature, and the correspondence between the feature information and the APN interface is stored in the APN in step 207.
  • the mapping table wherein the feature information corresponding to the first user feature is valid feature information, and the other feature information is invalid feature information.
  • the user feature extracted by the CPE is a physical interface number of 1, the phone number is 0777-12345, and the user is not extracted.
  • the user attributes such as the MAC address, the VLAN tag, the user name, and the domain name are recorded as 0.
  • the CPE obtains the first user feature as the physical interface number 1 in the feature interface mapping table.
  • the CPE obtains the first user feature in the feature interface correspondence table, that is, the physical interface number is 1, and the corresponding APN interface is APN1.
  • the CPE is based on the physical interface number.
  • the phone number is 0777-12345, and the user MAC address, VLAN tag, user name, and domain name are both 0.
  • the feature information is: physical interface number is 1, phone number is 0777-12345, user MAC address, VLAN tag, and session ID are 0. In the embodiment of the present invention, the indication of 0 is invalid.
  • the physical interface number is 1 and the phone number is 0777-12345.
  • the user MAC address, the VLAN tag, and the session identifier are 0, and the corresponding relationship between the APN interface and the APN1 is stored in the APN mapping table, that is, in Table 4.
  • the physical interface number is 1 for valid feature information, and the other feature information is invalid feature information.
  • the CPE receives the first data packet.
  • the CPE acquires first feature information of the first data packet.
  • the first feature information is the same as the feature information type in the access point name APN mapping table of the CPE, and the APN mapping table includes a mapping relationship between the feature information and the APN interface, and the feature information in the APN mapping table is based on The access method of the terminal device is obtained.
  • the first data packet is sent by the terminal device to the CPE through the user interface, and the CPE performs the parsing of the first data packet according to the APN mapping table to extract the first feature information of the first data packet.
  • the CPE may First, the APN mapping table is queried, and the type of the feature information recorded in the APN mapping table, such as the domain name and the physical interface number, is obtained, and then the specific type of feature information is extracted in the packet header and the physical interface of the first data packet.
  • the form, for example, the type of the feature information recorded in the mapping table is a domain name
  • the specific domain name is extracted in the first data packet, for example, the domain information carried in the first data packet is "abc@huawei.com", extracted.
  • the domain name "huawei", the "huawei” is the extracted first feature information.
  • the feature information carried in the first data packet may be different from the type of the feature information recorded in the APN mapping table, and may not be extracted in the first data packet in this embodiment.
  • the first feature information is recorded as invalid feature information.
  • the CPE queries the first data packet according to the APN mapping table shown in Table 3.
  • the feature information to be extracted is the user MAC address and the VLAN tag, and the CPE is in the packet header and physical interface of the first data packet. Extracting the feature information.
  • the CPE queries the APN mapping table according to the first feature information, and acquires a first APN interface corresponding to the first feature information.
  • the CPE extracts the feature information in the packet header and the physical interface of the first data packet, and the user MAC address is 0x00E001000001, and the VLAN tag is not extracted, that is, the VLAN tag is invalid feature information, and is recorded as 0.
  • the first characteristic information is: physical interface number is OxOOEOO 1000001, VLAN tag is 0, CPE is based on the physical interface number is OxOOEOOlOOOOl, and VLAN tag is 0.
  • the APN mapping table as shown in Table 3, the corresponding APN interface is APN2, so the first An APN interface is APN2.
  • the CPE establishes a PDN connection corresponding to the first APN interface.
  • the establishment of the PDN connection corresponding to the first APN interface may be implemented in two cases, one is pre-established, and the other is established in real time according to the access mode of the terminal device. of.
  • a PDN connection corresponding to all the first APN interfaces in the first APN interface corresponding to the first APN interface, and the PDN connection corresponding to the first APN interface obtained in the step 210 includes: the PDN connection corresponding to the first APN interface obtained in the step 210 .
  • the CPE obtains the corresponding first APN interface in step 211, and the CPE dials the first APN.
  • the PDN corresponding to the interface establishes a connection, so that the subsequent forwarding of the first data packet is performed on the PDN connection.
  • the CPE forwards the first data packet by using the first APN interface.
  • the first data packet may be forwarded according to the routing table or the bridge table. For example, if the first data packet is forwarded according to the routing table, the first data packet is sent to the network side by the user side.
  • the uplink packet the CPE needs to forward the first data packet to the first APN interface, and then the CPE can first decapsulate the link layer of the first data packet; Decapsulating the IP address of the private network protocol of the first data packet; obtaining the public network IP address corresponding to the first APN interface; converting the private network IP address in the decapsulated first data packet
  • the IP address of the public network is encapsulated in the radio frame and sent to the network side by using the first APN interface.
  • the CPE receives the second data packet sent by the network side to the user side, and the CPE needs to send the second data packet to the user side by using the route forwarding from the second APN interface.
  • Receiving, by the second APN interface, the second data packet sent by the network side, and sending the second data packet to the user side by using the route forwarding the method includes: acquiring the second data packet The IP address of the public network is translated into the pair according to the mapping between the public network IP address and the private network IP address. The private network IP address of the private network; the private network routing table is used to obtain the user interface; the second data packet after the address translation is encapsulated by the link layer; the second data after the encapsulation is performed. The message is sent from the user interface to the user side.
  • the link layer of the first data packet may be decapsulated; and then the decapsulated first data packet is encapsulated in the radio frame by using the The first APN interface is sent to the network side.
  • the CPE receives the second data packet sent by the network side to the user side, and the CPE needs to send the second data packet from the second APN interface to the user side by using the bridge forwarding;
  • the second APN interface receives the second data packet sent by the network side, and then the second data packet is sent from the user interface to the user side by using the bridge forwarding, and the method includes: acquiring, according to the corresponding relationship between the APN interface and the user interface, The user interface corresponding to the second APN interface; performing link layer encapsulation on the second data packet; and sending the encapsulated second data packet from the user interface to the user side.
  • the feature information corresponding to the user feature of the CPE extraction terminal device may be different.
  • the same terminal device such as a computer
  • the final feature information is the physical interface number, user MAC address, VLAN tag, and user session identifier.
  • the information is the user session identifier.
  • the physical interface number obtained by the DHCP access method is 1.
  • the user MAC address is 0x00E001000001
  • the VLAN tag is 10
  • the user session ID is 0.
  • the physical interface number obtained by PPPoE access is 1.
  • the user MAC address is 0x00E001000001, the VLAN tag is 10, and the user session ID is 2.
  • APN1 the APN interface corresponding to the user session ID of the APN mapping table
  • APN2 the APN interface corresponding to the user session ID
  • the same terminal device is accessed by the DHCP access CPE through the APN interface 1 to access the PGW1, or the PPPoE accessing the CPE to access the PGW2 through the APN interface 2, that is, the same terminal device can access through different APN interfaces.
  • Different PGWs access different PDN networks, thus improving the flexibility of the terminal device to access the PGW.
  • the data packet forwarding method is provided in the embodiment of the present invention.
  • the CPE extracts user features according to the terminal access mode, and selects the first user among the user features by querying the feature interface correspondence table. And storing an APN mapping table by storing the relationship between the first user feature and the corresponding APN interface to the APN mapping table, and extracting the first feature information from the first data packet when the first data packet is forwarded, and querying
  • the APN mapping table obtains the corresponding first APN interface, and the first data is forwarded from the first APN interface.
  • the APN mapping table records the correspondence between the feature information and the APN interface, and the feature information is according to each The access mode of the terminal device is obtained, so the APN mapping table sets the access rights of the different terminal devices to the APN interface, and the packet forwarding by the APN mapping table can control the access of the different terminal devices to the APN interface, thereby Control the terminal's access to the PDN.
  • the same terminal device can access different APN interfaces to improve the flexibility of the terminal device to access the APN interface.
  • the data packet forwarding method provided by the embodiment of the present invention is applicable to an application scenario in which a wireless data communication technology terminal such as 3G, LTE, and 4G is combined with a CPE.
  • the embodiment of the present invention provides a CPE 30, which is configured to access at least two PGWs, and is used to implement the data packet forwarding method shown in FIG. 1 or FIG. 2; as shown in FIG. 3, the CPE 30 includes:
  • the receiving unit 301 is configured to receive the first data packet.
  • the receiving unit 301 is further configured to receive, by the second APN interface, a second data packet sent by the network side.
  • the first acquiring unit 302 is configured to acquire first feature information of the first data packet, where the first feature information is the same as the feature information type in the access point name APN mapping table of the CPE 30, where the APN mapping is performed.
  • the table includes the mapping between the feature information and the APN interface, and the feature information in the APN mapping table is obtained according to the access mode of the terminal device.
  • the second obtaining unit 303 is configured to query the APN mapping table according to the first feature information, and obtain a first APN interface corresponding to the first feature information.
  • the forwarding unit 304 is configured to send the first data packet from the first APN interface to the network side by using route forwarding or bridge forwarding.
  • the forwarding unit is further configured to: send the second data packet from the user interface to the user side by using route forwarding or bridge forwarding.
  • the second acquiring unit needs to query the APN mapping table according to the first feature information extracted by the first acquiring unit from the first data packet.
  • the APN mapping table includes a correspondence between the feature information and the APN interface, and the feature information is obtained according to an access mode of each terminal device, so the APN mapping table sets different terminal device pairs.
  • the access rights of the APN interface can be controlled by querying the APN mapping table to control the access of different terminal devices to the APN interface.
  • the CPE 30 further includes:
  • the extracting unit 305 is configured to: when the terminal device accesses the CPE 30, extract the user feature of the terminal device according to the access mode of the terminal device, where the user features include: a calling number, a called number, and an extension One or more of the called number, the user medium access control layer MAC address, the user virtual local area network VLAN tag, the username, the domain name, and the physical interface number;
  • the third obtaining unit 306 is configured to obtain the first user feature from the user feature of the terminal device, where the user feature type in the first user feature and the feature interface correspondence table is the same, and the feature interface correspondence table is And the APN interface corresponding to the first user feature is obtained from the feature interface correspondence table;
  • the fifth obtaining unit 308 is configured to obtain feature information according to the first user feature.
  • the fifth acquiring unit is configured to directly use the first user feature as feature information, or obtain a preset feature identifier corresponding to the first user feature, and use the preset feature identifier as a special feature. Sign the information.
  • the storage unit 309 is configured to store the correspondence between the feature information and the APN interface corresponding to the first user feature in the APN mapping table.
  • the CPE provided by the embodiment of the present invention may establish a connection with multiple PDNs of the PDNs to access multiple PDNs, extract user features by using the terminal access mode, establish an APN mapping table, and query according to the feature information extracted in the data packet forwarding.
  • the APN mapping table obtains the APN interface forwarded by the corresponding packet, and the same terminal device can access different APN interfaces to access different PDNs, which improves the access flexibility of the terminal device and implements forwarding of multiple APN data packets.
  • the embodiment of the present invention provides a data message forwarding system 50, as shown in FIG. 5, comprising: a customer premises equipment CPE 30 and at least two packet data network gateways PGW 401 as shown in FIG. 3 or FIG. 4 of the present invention.
  • the CPE 30 can access the at least two PGWs, and the CPE 30 can establish a connection with the preset PDN by using a dialing manner, that is, establishing a connection with the at least two PGWs, and simultaneously setting the CPE 30 with the preset
  • the APN interface corresponding to the PDN connection is turned on, thereby achieving simultaneous access to multiple PDNs.
  • Data communication can be performed through the APN interface to provide a channel for communication of subsequent data services.
  • each PGW 401 allocates a private network IP address to the CPE 30; the CPE 30 can serve as a user side, that is, a gateway of the terminal device, and allocates a private network IP for each terminal device. address.
  • each of the PGWs 401 respectively assigns an IP address to the CPE 30, and the CPE 30 transparently transmits the IP address to the terminal device, so that the terminal device accesses the IP address according to the IP address.
  • the CPE 30, that is, the CPE 30 does not process the IP address assigned by the received PGW 401, and directly forwards it to the corresponding terminal device.
  • the CPE 30 can provide bridge forwarding and forward the data service of the terminal device to the PGW 401.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate.
  • the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the embodiment of the present invention provides a CPE, where the CPE accesses at least two packet data network gateways PGW. As shown in FIG. 6, the CPE includes:
  • the processor 601, the memory 602, and the communication interface 603 are connected to each other through a bus 604; the bus 604 may be an ISA bus, a PCI bus, or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the memory 602 is configured to store a program.
  • the program may include program code,
  • the program code includes computer operating instructions.
  • the memory 602 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 601 executes a program stored in the memory 602, and is configured to receive the first data packet, and obtain the first feature information of the first data packet.
  • the first feature information is mapped to the access point name of the CPE.
  • the feature information of the table is the same.
  • the mapping information includes the mapping between the feature information and the UI.
  • the feature information in the mapping table is obtained according to the access mode of the terminal device.
  • the first mapping interface is configured to obtain a first UI interface corresponding to the first feature information, and the first data packet is sent from the first UI interface to the network side by using route forwarding or bridge forwarding.
  • the processor 601 is further configured to: when the terminal device accesses the CPE, extract the terminal device according to the access mode of the terminal device
  • User characteristics include: one or more of a calling number, a called number, an extended called number, a user medium access control layer MAC address, a user virtual local area network VLAN tag, a user name, a domain name, and a physical interface number.
  • Obtaining a corresponding relationship obtaining an APN interface corresponding to the first user feature from the feature interface correspondence table; obtaining feature information according to the first user feature; and corresponding to the feature information and the first user feature
  • the corresponding relationship of the APN interface is stored in the APN mapping table.
  • the processor 601 is specifically configured to directly use the first user feature as the feature information, or obtain a preset feature identifier corresponding to the first user feature, and use the preset feature identifier as the Feature information.
  • the processor 601 is specifically configured to decapsulate the link layer of the first data packet; When the packet is forwarded by the bridge, the first data packet that is decapsulated is encapsulated in the radio frame and sent to the network through the first APN interface.
  • the IP address of the private network is translated into the public network IP address.
  • the address-converted first data packet is encapsulated in the radio frame and sent to the network side through the first APN interface.
  • the processor 601 is further configured to receive, by the second APN interface, a second data packet sent by the network side, and send the second data packet from the user interface to the user side by using route forwarding or bridge forwarding. .
  • the processor 601 is configured to obtain a public network IP address of the second data packet, and according to a correspondence between a public network IP address and a private network IP address recorded locally, Converting the public network IP address into a corresponding private network IP address; obtaining the user interface according to the private network IP address to find the private network routing table; performing link layer on the second data packet after the address translation Encapsulating; sending the encapsulated second data packet from the user interface to the user side;
  • the processor 601 is configured to acquire the user interface corresponding to the second APN interface according to the mapping between the APN interface and the user interface, and the second datagram.
  • the link layer encapsulation is performed; the encapsulated second data packet is sent from the user interface to the user side.

Landscapes

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

Abstract

L'invention concerne un procédé de réacheminement de messages de données, un équipement destiné aux abonnés (CPE) et un système qui est associé au domaine des communications et permet de contrôler l'accès de différents terminaux à une interface APN. Selon le procédé de réacheminement de messages de données de l'invention: un CPE reçoit un premier message de données et au moins deux PDN-GW sont accessibles au CPE; le procédé consiste à obtenir des premières informations caractéristiques du premier message de données; les premères informations caractéristiques étant identiques à un type d'informations caractéristiques dans une table de mise en correspondance des APN du CPE, ladite table de mise en correspondance des APN comprenant une relation correspondante entre les informations caractéristiques et l'interface APN, et les informations caractéristiques dans la table de mise en correspondance d'APN étant obtenues en fonction du mode d'accès de l'équipement terminal; le procédé consiste à rechercher dans la table de mise en correspondance des APN en fonction des premières informations caractéristiques, et à obtenir une première interface APN correspondant aux premières informations caractéristiques; puis à envoyer le premier message de données au côté réseau depuis la première interface APN par réacheminement par routage ou par réacheminement par pont.
PCT/CN2013/078778 2013-01-28 2013-07-04 Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés WO2014114058A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310031101.0 2013-01-28
CN201310031101.0A CN103973569B (zh) 2013-01-28 2013-01-28 一种数据报文转发方法、用户驻地设备和系统

Publications (1)

Publication Number Publication Date
WO2014114058A1 true WO2014114058A1 (fr) 2014-07-31

Family

ID=51226875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078778 WO2014114058A1 (fr) 2013-01-28 2013-07-04 Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés

Country Status (2)

Country Link
CN (1) CN103973569B (fr)
WO (1) WO2014114058A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314469A (zh) * 2022-07-29 2022-11-08 广州通则康威智能科技有限公司 一种cpe的业务分隔方法及装置
CN115811724A (zh) * 2022-11-22 2023-03-17 中国联合网络通信集团有限公司 数据传输方法、装置、电子设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106664237B (zh) * 2015-07-30 2020-04-14 华为技术有限公司 一种数据传输及生成地址映射表的方法、装置及设备
CN106982178B (zh) * 2016-01-15 2020-05-01 中国移动通信集团公司 一种资源分配方法、网络管理设备及系统
CN107529185B (zh) * 2017-07-06 2019-11-15 杭州敦崇科技股份有限公司 一种基于无线检测的cpe调优方法
CN108322909A (zh) * 2018-02-08 2018-07-24 中磊电子(苏州)有限公司 子网络决定参数设定方法
CN109195200B (zh) * 2018-08-27 2021-01-15 京信通信系统(中国)有限公司 Apn分配方法、装置、通信设备和系统
CN115226154A (zh) * 2021-04-20 2022-10-21 华为技术有限公司 报文处理方法、装置、系统、设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070036099A1 (en) * 2005-08-11 2007-02-15 Arturo Maria Automated provisioning, maintenance, and information logging of custom Access Point Names in packet-based mobile cellular networks
CN101197795A (zh) * 2007-12-26 2008-06-11 华为技术有限公司 网络业务保护方法和业务网关
CN101483585A (zh) * 2008-01-07 2009-07-15 华为技术有限公司 一种网关选择的方法
CN102111903A (zh) * 2011-01-13 2011-06-29 大唐移动通信设备有限公司 本地ip接入连接建立方法、系统和设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150772A (zh) * 2004-08-25 2008-03-26 华为技术有限公司 一种业务信息发布系统及方法
CN101001184A (zh) * 2006-01-09 2007-07-18 华为技术有限公司 一种接入分组数据网络的方法
CN101175283B (zh) * 2007-11-28 2010-08-04 中兴通讯股份有限公司 一种动态配置接入点名称的方法
CN101686191A (zh) * 2008-09-24 2010-03-31 华为技术有限公司 访问分组数据网业务的方法及系统、网关和终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070036099A1 (en) * 2005-08-11 2007-02-15 Arturo Maria Automated provisioning, maintenance, and information logging of custom Access Point Names in packet-based mobile cellular networks
CN101197795A (zh) * 2007-12-26 2008-06-11 华为技术有限公司 网络业务保护方法和业务网关
CN101483585A (zh) * 2008-01-07 2009-07-15 华为技术有限公司 一种网关选择的方法
CN102111903A (zh) * 2011-01-13 2011-06-29 大唐移动通信设备有限公司 本地ip接入连接建立方法、系统和设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314469A (zh) * 2022-07-29 2022-11-08 广州通则康威智能科技有限公司 一种cpe的业务分隔方法及装置
CN115314469B (zh) * 2022-07-29 2023-10-03 广州通则康威智能科技有限公司 一种cpe的业务分隔方法及装置
CN115811724A (zh) * 2022-11-22 2023-03-17 中国联合网络通信集团有限公司 数据传输方法、装置、电子设备及存储介质
CN115811724B (zh) * 2022-11-22 2024-04-09 中国联合网络通信集团有限公司 数据传输方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN103973569B (zh) 2017-04-26
CN103973569A (zh) 2014-08-06

Similar Documents

Publication Publication Date Title
WO2014114058A1 (fr) Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés
JP5499391B2 (ja) メッセージを転送するための方法、装置およびシステム
CN114124618B (zh) 一种报文传输方法及电子设备
US20120176932A1 (en) Communication method, method for forwarding data message during the communication process and communication node thereof
WO2016095534A1 (fr) Procédé et appareil d'accès à un réseau
WO2011137842A1 (fr) Procédé de transmission de données basé sur une entité cgn (carrier grade nat), entité cgn, passerelle et système associés
WO2011103840A2 (fr) Procédé de connexion de nuage privé virtuel et serveur mandataire de tunnel
WO2013170562A1 (fr) Procédé, dispositif et système pour sélectionner automatiquement un mode de transmission d'adresse ipv6
JP2013115819A (ja) Ethernetベース、ネットワークシステム及びデータ転送方法
CN104821904B (zh) 网络中继装置以及数据包中继方法
WO2006122502A1 (fr) Méthode de transmission de message en couche 2 et dispositif d’accès
WO2023125151A1 (fr) Système, procédé et appareil de migration de données pour dispositif de l'internet des objets, et support de stockage
KR20110060895A (ko) 다중 인터넷 액세스를 제공하기 위한 방법 및 게이트웨이
WO2011032492A1 (fr) Procédé d'identification d'identité, de communication en réseau et de migration de service, et architecture de réseau d'intercommunication d'informations
KR101901341B1 (ko) 사용자 장치의 이동성을 지원하는 네트워크 접속 방법 및 장치
WO2019047611A1 (fr) Procédé de transmission de données, contrôleur sdn pnf, contrôleur sdn vnf et système
WO2013164465A1 (fr) Procédé et appareil de gestion des connexions pdn
WO2015003393A1 (fr) Procédé et dispositif de traitement de message
WO2011032462A1 (fr) Procédé d'envoi et de réception de données, système et routeur correspondants
WO2014205700A1 (fr) Système et procédé d'attribution d'adresse ip
WO2014067450A1 (fr) Procédé et dispositif d'acheminement local à trois couches
WO2014063606A1 (fr) Procédé de transmission de paquets, et dispositif correspondant
WO2011032417A1 (fr) Procédé et système de déclenchement d'acheminement de message de communication, d'informations et de données et de configuration de routage
WO2012041168A1 (fr) Procédé de traitement pour une connexion à distance destinée à un réseau ipv6 et dispositif associé
WO2011032478A1 (fr) Procédé, dispositif et terminal pour obtenir un identifiant de terminal

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

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

Country of ref document: EP

Kind code of ref document: A1