WO2012130142A1 - 用户业务接入方法、***和接入设备 - Google Patents

用户业务接入方法、***和接入设备 Download PDF

Info

Publication number
WO2012130142A1
WO2012130142A1 PCT/CN2012/073204 CN2012073204W WO2012130142A1 WO 2012130142 A1 WO2012130142 A1 WO 2012130142A1 CN 2012073204 W CN2012073204 W CN 2012073204W WO 2012130142 A1 WO2012130142 A1 WO 2012130142A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
local area
area network
virtual local
network identifier
Prior art date
Application number
PCT/CN2012/073204
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 华为技术有限公司
Priority to EP12764005.0A priority Critical patent/EP2680495A4/en
Publication of WO2012130142A1 publication Critical patent/WO2012130142A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2898Subscriber equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2878Access multiplexer, e.g. DSLAM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags
    • H04L12/4654Details on frame tagging wherein a single frame includes a plurality of VLAN tags wherein a VLAN tag represents a customer VLAN, e.g. C-Tag
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags
    • H04L12/4658Details on frame tagging wherein a single frame includes a plurality of VLAN tags wherein a VLAN tag represents a service provider backbone VLAN, e.g. B-Tag, S-Tag

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a user service access method, system, and access device. Background technique
  • IPTV Internet Protocol Television
  • HSI High-speed Internet
  • VOIP Voice over Internet Protocol
  • a certain configuration is required to enable the service to reach the correct gateway or server, such as: Establishing a different user virtual local area network (CVM) for each service.
  • CVM virtual local area network
  • the service type is identified by the CVLAN, and the identified service type is bridged to the specified service virtual local area network (SVM).
  • SVM service virtual local area network
  • the CVLAN ID used for each service uplink is pre-configured on the home gateway, and the CVLAN identifier and the port associated with the user are configured on the access device.
  • the CVLAN is consistent. After the service port and the CVLAN identify another service flow on the access device, the service flow is bridged to the specified SVLAN.
  • the mapping relationship between the CVLAN and the SVLAN is pre-configured on the access device. After the configuration is complete, the mapping relationship is fixed. For example, when a service is enabled for a user's home, first, configure SVLANs of three service types on the access device, namely, HIS corresponding to "SVLAN 100", IPTV corresponding to "SVLAN 101", and VOIP corresponding to "SVLAN 102"; User port - configure these three on The CVLANs corresponding to the SVLANs are respectively "CVLAN10", “CVLAN 1 1”, and "CVLAN 12"; then, the three services of the user port are bridged to the corresponding SVLANs, for example: "PORT1 CVLAN 10 Bridge to SVLAN 100", “PORT1 CVLAN 1 1 bridge to SVLAN101", “PORT1 CVLAN 12 bridge to SVLAN 102".
  • each port (FE1, FE2, FE3) of the user's home gateway "FE1 add CVLAN 10", “FE2 add CVLAN 1 1”, “FE3 add CVLAN 12", where, correctly configured
  • the port FE1 is connected to the HSI service
  • the port FE2 is connected to the IPTV service
  • the port FE3 is connected to the VOIP service.
  • the service configuration of the home gateway is incorrect, the service will be blocked.
  • the CVLAN ID of the port FE1 is configured as CVLAN 15 on the home gateway, but the access device is configured. If there is no "CVLAN15" in the pre-configuration relationship, the HSI service on the port FE1 will fail. In addition, if the user inserts the wrong network cable, the service will be unreasonable. For example, the user inserts the network cable of the HSI service into the port FE2, and inserts the network cable of the IPTV service into the port FE1, so that the HSI service packet carries the "CVLAN1 1" and the IPTV service. The message carries "CVLAN 10". According to the pre-configured correspondence on the access device, the HSI service bridges to "SVLAN101" and the IPTV service bridges to "SVLAN 100", which will cause the HSI and IPTV services to fail.
  • the invention provides a user service access method, a system and an access device, which are used to solve the defects of the user service access configuration method in the prior art, which are complicated and error-prone, and configure the user service access configuration to reduce errors.
  • An embodiment of the present invention provides a user service access method, including:
  • An embodiment of the present invention provides an access device, including:
  • a receiving unit configured to receive a first packet sent by the home gateway, where the first packet carries a user virtual local area network identifier that matches the first MME;
  • mapping relationship establishing unit configured to establish, according to the user virtual local area network identifier and the service virtual local area network identifier, a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier;
  • a forwarding unit configured to send, according to the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier, the first packet to the network corresponding to the service virtual local area network identifier.
  • An embodiment of the present invention further provides a user service access system, including: a home gateway and an access device;
  • the home gateway is configured to receive, by the user terminal, the first packet, and send the first packet to the access device;
  • the access device is configured to receive a first packet sent by the home gateway, where the first packet carries a user virtual local area network identifier that matches the first packet; and according to the feature information of the first packet, Obtaining a service virtual local area network identifier that matches the first packet; establishing a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier according to the user virtual local area network identifier and the service virtual local area network identifier; The mapping between the user virtual local area network identifier and the service virtual local area network identifier is sent to the network corresponding to the service virtual local area network identifier.
  • the user service access method, system, and access device provided by the present invention, after the user port receiving the first packet obtains the service virtual local area network identifier matched by the first packet according to the feature information of the first packet, The mapping between the user's virtual local area network identifier and the service virtual local area network identifier is automatically established on the access device, and the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier is not pre-configured on the access device.
  • the access configuration when the user service is opened is enabled; and the user can plug in the network port on the home gateway at will, and the mapping relationship between the correct user virtual local area network identifier and the service virtual local area network identifier can be obtained, thereby avoiding the user being plugged into the wrong home gateway.
  • the service caused by the network port is unreasonable. Therefore, the configuration of the user service access method is not easy to make mistakes, and the service can be ensured.
  • FIG. 1 is a schematic diagram of a multi-service access scenario in an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for accessing a user service according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a user service access method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of applying a user service access method according to Embodiment 2 of the present invention to different service types;
  • FIG. 5 is a schematic diagram of a user service access method according to Embodiment 2 of the present invention applied to an IP address;
  • FIG. 6 is a schematic structural diagram of an access device according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of an access device according to Embodiment 4 of the present invention. detailed description
  • FIG. 1 is a schematic diagram of a multi-service access scenario according to an embodiment of the present invention.
  • a user may set a home gateway 20, where a personal computer (PC) can access through the home gateway 20 in an HSI service.
  • Internet Internet
  • IPTV service a set top box (Set Top Box; STB) can receive TV programs through the home gateway 20
  • IP PHONE IP phone
  • the access device 30 functions as an aggregation device and a bridge device, and the services on the user home gateway 20 can be aggregated and transmitted to the upper-layer network.
  • the virtual local area network identifier (VLANID) added to the packet sent by the home gateway to the access device is a CVLAN identifier. After the packet arrives at the access device, the access device adds the VLAN ID to the SVLAN identifier. .
  • FIG. 2 is a flowchart of a user service access method according to Embodiment 1 of the present invention. As shown in FIG. 2, the user service access method includes:
  • Step 201 Receive a first packet sent by the home gateway, where the first packet carries a user virtual local area network identifier that matches the first MME;
  • the service access mode of each user port on the access device may be pre-configured to be an automatic sensing mode.
  • the user port that is set to the auto-sensing mode initiates the automatic sensing process on the received packet: If the user port configured in the auto-sensing mode receives the first packet (for example: After the first packet of a certain service type is connected to the first packet after the error, the user port does not have the mapping relationship corresponding to the user virtual local area network identifier carried in the first packet, and the first 4 The mapping between the user's virtual local area network identifier and the service virtual local area network identifier; if it is not the first packet, it can directly forward the corresponding service virtual local area network identifier according to the user's virtual local area network identifier of the packet.
  • Step 202 Obtain a service that matches the first packet according to the feature information of the first packet.
  • Virtual network local area network identifier
  • the corresponding relationship between the service type and the service virtual local area network identifier may be configured on the access device in advance.
  • the corresponding relationship between the service type and the service virtual local area network identifier is stored on the access device through a corresponding relationship table.
  • the step 202 may include: analyzing, according to the feature information of the first packet, the service type of the first packet, and acquiring, according to the service type, the service virtual local area network identifier that matches the service type.
  • the feature information may be at least one of a user encapsulation type, a dialing message key, a message format, a version number, or an Ethernet type
  • the service type may preferably include a high-speed Internet service, a network television service, and a network telephone service. At least one of the Internet Protocol Version 4 (IPv4) service and the Internet Protocol Version 6 (IPv6) service.
  • Step 203 Establish a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier according to the user virtual local area network identifier and the service virtual local area network identifier.
  • Step 204 Send the first packet to the network corresponding to the service virtual local area network identifier according to the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier.
  • the method for forwarding the first packet according to the mapping relationship of the forwarding chip of the user port on the access device may be: the user port receiving the first packet may be mapped according to the mapping of the user virtual local area network identifier of the first packet. Adding the service virtual local area network identifier matched by the first packet to the first packet, and then forwarding the first packet; or: receiving the first packet, the user port corresponding to the user virtual local area network identifier of the first packet.
  • the mapping is performed by replacing the user virtual local area network identifier in the first packet with the service virtual local area network identifier that matches the first packet, and then forwarding the first packet.
  • the process of obtaining the service type of the packet is relatively complicated and can be performed by the CPU of the access device.
  • the user interface of the access device may be first by the CPU of the access device.
  • the packet is analyzed, and after the matching service virtual local area network identifier is obtained according to the feature information of the first packet, the user virtual local area network identifier and service virtual of the first packet are established. Mapping the mapping of the local area network identifier; the CPU may then instruct the forwarding chip of the user port to forward the second packet received by the user port according to the mapping relationship between the established user virtual local area network identifier and the service virtual local area network identifier.
  • the user's virtual local area network carrying a message carries the same message). Therefore, step 202 and step 203 can be performed by the CPU of the access device, and step 204 can be performed by the forwarding chip on the user port of the access device.
  • mapping between the user virtual local area network identifier and the service virtual local area network identifier corresponding to each user port on the access device may be checked to aging the unnecessary mapping relationship, which may be as follows:
  • Example 1 aging the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier when the packet carrying the user's virtual local area network identifier is not received within the set time; or
  • Example 2 Upon receiving the port drop notification sent by the home gateway, the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier is aged.
  • the access device receives the user packet of the first packet, and after obtaining the service virtual local area network identifier matched by the first packet according to the feature information of the first packet, the access device may automatically A mapping relationship between the user's virtual local area network identifier and the service virtual local area network identifier is established, and the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier is not pre-configured on the access device, and the access configuration when the user service is activated is completed; If the user is plugged in to the network port on the home gateway, the user can obtain the correct mapping between the user's virtual local area network identifier and the service virtual local area network identifier, so as to avoid the business failure caused by the user inserting the wrong network port on the home gateway.
  • the configuration of the service access method is simple, and it is not easy to make mistakes, which can ensure the smooth flow of the business.
  • FIG. 3 is a flowchart of a user service access method according to Embodiment 2 of the present invention. As shown in FIG. 3, the user service access method includes:
  • Step 301 Configure a service access mode of a user port on the access device as an auto-sensing mode.
  • the user port configured in the auto-sensing mode after receiving the packet sent by the home gateway, initiates the automatic sensing process.
  • the CVLAN identifier is in the mapping between the CVLAN ID and the SVLAN ID of the user port, the CVLAN ID carried in the packet exists.
  • the packet can be directly forwarded according to the mapping between the CVLAN identifier and the SVLAN identifier. Otherwise, the SVLAN identifier corresponding to the service type can be found according to the packet information or the dialing key.
  • the CVLAN carried in the packet identifies the mapping relationship of the SVLAN identifier.
  • Step 302 The home gateway sends different CVLAN identifiers to the packets of different Ethernet (ETH) ports.
  • ETH Ethernet
  • Step 303 After receiving the packet sent by the home gateway, the access device determines whether the CVLAN identifier carried in the packet is already stored in the user port. (The access device may save a mapping relationship table.
  • the mapping relationship table records the mapping relationship between the CVLAN identifier and the SVLAN identifier included in each user port of the access device.
  • the access device can determine whether the packet is carried in the mapping relationship of the user port saved in the mapping relationship table.
  • the CVLAN ID if it exists, indicates that the CVLAN ID carried in the packet is already stored in the user port. If yes, the packet can be directly forwarded according to the mapping between the CVLAN identifier and the SVLAN identifier.
  • the bridge of the CVLAN is connected to the corresponding SVLAN. If not, step 304 is performed.
  • the forwarding chip of the user port on the access device directly forwards the packet according to the mapping relationship between the CVLAN identifier and the SVLAN identifier, and the method may be: adding a corresponding SVLAN identifier to the packet carrying the CVLAN identifier, or adding the packet to the packet carrying the CVLAN identifier.
  • Replace the CVLAN ID with the broadband remote access service (Broadband Remote Access Server; BRAS) or server specified by the corresponding SVLAN label.
  • BRAS Broadband Remote Access Server
  • Step 304 The access device processes the packet as the first packet received by the user port (the first packet of a certain service type or the first packet after the error), and the first packet is processed.
  • the CPU sent to the access device performs analysis. To ensure that the CPU is not impacted, the first packet can be sent to the CPU. When the CPU analyzes the first packet, other packets that need to be sent to the CPU will be sent. Discard, CPU After the analysis of the first packet is completed, it is disabled.
  • the CPU first matches the corresponding SVLAN identifier of the user packet type or the dialed packet key of the first packet, and then extracts the CVLAN identifier of the first packet, and establishes a mapping relationship between the CVLAN identifier and the SVLAN identifier, thereby establishing a mapping relationship.
  • a bridge relationship between the CVLAN of the first packet and the corresponding SVLAN; the second packet with the same CVLAN identifier received by the user port can be bridged to the corresponding SVLAN.
  • Step 305 When the port of the home gateway is disconnected (shutdown) or the packet with the CVLAN identifier is not received for a long time, the mapping relationship corresponding to the CVLAN identifier may be aged.
  • the access device pre-configures the service access mode of a certain user port to be an auto-sensing mode connection, and the packet sent by the home gateway to the access device carries the CVLAN configured by a port on the home gateway. After the access device captures the first packet with the new CVLAN identifier or the second packet with the existing CVLAN identifier, the access device can map the CVLAN identifier to the corresponding SVLAN identifier.
  • FIG. 4 is a schematic diagram of application of a user service access method to different service types according to Embodiment 2 of the present invention.
  • the first service is high-speed Internet access (HSI).
  • HHI high-speed Internet access
  • PPOE Ethernet bearer point-to-point protocol
  • IPTV IPTV service
  • third service is VoIP service, using IP phone, through dynamic host setting protocol (Dynamic Host)
  • the configuration protocol; the cartridge is called: DHCP) to obtain the IP
  • the user encapsulation type is IP ⁇ E.
  • the three VLANs of the home gateway are the CVLAN IDs of the three ETH ports corresponding to HSK IPTV and VOIP are CVLAN1, CVLAN2, and CVLAN3.
  • the access device is configured with three automatic sensing modes (automatic sensing - 1, automatic sensing - 2, automatic sensing - 3) on the user port, and the SVLAN identifiers are "SVLAN1", "SVLAN2", "SVLAN3", respectively.
  • the SVLAN service matching mode is as follows: SVLAN1 matches the user encapsulation type to PPP0E packets, SVLAN2 matches the user encapsulation type to IGMP packets, and SVLAN3 matches the user encapsulation type to non-IGMP I P0E packets.
  • the PPP0E packet sent by the home gateway carries CVLAN 1.
  • the access device captures the PPPOE packet on a certain user port, it is assumed to be the first.
  • the PPPOE4 ⁇ text can be matched to the user encapsulation type of PPPOE, then the mapping relationship between CVLAN1 and SVLAN1 is established, and CVLAN1 is configured to the user port;
  • the IGMP message is sent to the access device through the Internet Group Management Protocol (IGMP).
  • IGMP Internet Group Management Protocol
  • the IGMP message carries the CVLAN2, and the access device After the IGMP message sent by a user port is identified, the user encapsulation type is IGMP.
  • the mapping between CVLAN2 and SVLAN2 is configured on the user port, and CVLAN2 is configured to the user port.
  • the DHCP request packet carries the CVLAN3, and the DHCP request packet is captured on the access device. If the user encapsulation type is IPOE, the mapping relationship between CVLAN3 and SVLAN3 is established. And configure CVLAN3 to the user port;
  • the mapping relationship corresponding to the CVLAN identifier may be aged.
  • the device may send a port drop notification to the access device, and the port drop notification may carry the CVLAN identifier corresponding to the dropped port, and the access device may drop the line.
  • the mapping relationship of the CVLAN ID corresponding to the port is aged.
  • FIG. 5 is a schematic diagram of the application of the user service access method to the IP packet according to the second embodiment of the present invention.
  • the packet when the user accesses the Internet through the home gateway, the packet may be an IPv4 packet or an IPv6 packet. Packets; IPv4 packets and IPv6 packets are all IP packets. Can the packets be encapsulated? ? ? The packet is encapsulated in an Ethernet packet.
  • the PPP0E packet is encapsulated in the Ethernet packet.
  • the IP packet can be encapsulated in the Ethernet packet.
  • the IP0E packet is encapsulated.
  • the operator is expected to transmit the IPv4 packet and the IPv6 packet to different transport networks. Therefore, the access device can identify the IP packet according to the version number (version) or the Ethernet type (ETHTYPE).
  • the IPv6 packet and the IPv6 packet are respectively bridged to different SVLANs.
  • the CVLAN identifier and the SVLAN label of the user are not pre-configured on the access device.
  • the mapping relationship is obtained by capturing the first packet (the CVLAN identifier and the SVLAN identifier of the first packet on the user port that receives the first packet).
  • the process of auto-sensing, the configuration process is completed; in addition, the user can freely connect the network port on the home gateway to obtain the correct mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier, which can avoid the user
  • the matching packet can be analyzed according to the feature ixnxi of the packet, so that the packet is bridged.
  • the configuration of the user service access method is not easy to make mistakes, and the service can be smoothed.
  • FIG. 6 is a schematic structural diagram of an access device according to Embodiment 3 of the present invention. As shown in FIG. 6, the access device includes:
  • the receiving unit 1 1 is configured to receive a first packet sent by the home gateway, where the first packet carries a user virtual local area network identifier that matches the first MME;
  • the obtaining unit 13 is configured to obtain a service virtual local area network identifier that matches the first packet according to the feature information of the first packet.
  • the mapping relationship establishing unit 15 is configured to establish, according to the user virtual local area network identifier and the service virtual local area network identifier, a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier;
  • the forwarding unit 17 is configured to send the first packet to the network corresponding to the service virtual local area network identifier according to the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier.
  • the mapping relationship establishing unit can automatically establish the user virtual local area network identifier carried in the packet.
  • the mapping between the user virtual local area network identifier and the service virtual local area network identifier does not need to pre-configure the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier on the access device, and the access configuration when the user service is opened, and User
  • the network port on the home gateway can be connected to the network port of the home gateway to obtain the correct mapping between the user's virtual local area network identifier and the service virtual local area network (LAN).
  • the configuration of the input method is simple, and it is not easy to make mistakes, which can ensure the smooth flow of the business.
  • FIG. 7 is a schematic structural diagram of an access device according to Embodiment 4 of the present invention.
  • the acquiring unit 13 of the access device is specifically configured to: according to the first packet.
  • the feature information is obtained by analyzing the service type of the first packet. According to the service type, the service virtual local area network identifier matching the service type is obtained.
  • the feature information may be at least one of a user encapsulation type, a dialing message key, a message format, a version number, or an Ethernet type, and the service type may include a high-speed Internet service, a network television service, a network telephone service, and an IPv4 service. At least one of business and IPv6 services.
  • the access device may further include: a configuration unit 21, configured to configure, on the access device, a correspondence between a service type and a service virtual local area network identifier.
  • the receiving unit 1 1 is further configured to receive a second packet sent by the home gateway, where the second packet carries a user virtual local area network identifier that matches the second packet;
  • the forwarding unit 17 is further configured to: according to the carried user virtual local area network identifier, search for a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier established by the mapping relationship establishing unit, and obtain the The service virtual local area network identifier corresponding to the second message is sent to the network corresponding to the service virtual local area network identifier according to the obtained service virtual local area network identifier.
  • the access device may further include: an aging unit 23, configured to: after receiving the packet carrying the user virtual local area network identifier, the user virtual local area network identifier and the service virtual local area network identifier are not received within a set time The mapping relationship is aged; or, after receiving the port drop notification sent by the home gateway, the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier is aged.
  • an aging unit 23 configured to: after receiving the packet carrying the user virtual local area network identifier, the user virtual local area network identifier and the service virtual local area network identifier are not received within a set time The mapping relationship is aged; or, after receiving the port drop notification sent by the home gateway, the mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier is aged.
  • the acquiring unit of the access device acquires the first report according to the feature information of the first packet.
  • the mapping relationship establishing unit can automatically establish a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier according to the user virtual local area network identifier carried in the packet, and does not need to be pre-configured on the access device.
  • the user can access the network port on the home gateway at any time to obtain the correct user virtual local area network identifier and service virtual.
  • the mapping relationship between the local area network identifiers so as to avoid the service failure caused by the user inserting the wrong network port on the home gateway. Therefore, the configuration of the user service access method is not easy to make mistakes, and the service can be ensured.
  • the fifth embodiment of the present invention provides a user service access system.
  • the user service access system may include: a home gateway 20 and an access device 30;
  • the home gateway 20 is configured to receive, by the user terminal, the first packet, and send the first packet to the access device.
  • the access device 30 is configured to receive a first packet sent by the home gateway, where the first packet carries a user virtual local area network identifier that matches the first packet; and according to the feature information of the first packet And obtaining a service virtual local area network identifier that matches the first packet; establishing, according to the user virtual local area network identifier and the service virtual local area network identifier, a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier; a mapping relationship between the user virtual local area network identifier and the service virtual local area network identifier; sending the first packet to a network corresponding to the service virtual local area network identifier.
  • the foregoing feature information may be at least one of a user encapsulation type, a dialing message key, a message format, a version number, or an Ethernet type
  • the service type may include a high-speed Internet service, a network television service, and an Internet phone.
  • the access device in this embodiment may adopt the access device of any one of the above embodiments of the present invention.
  • the user port after the access device receives the first packet, the user port obtains the service virtual local area network identifier that matches the first packet according to the feature information of the first packet, and may be carried according to the first packet.
  • the mapping between the user's virtual local area network identifier and the service virtual local area network identifier is not established on the access device, and the mapping between the user virtual local area network identifier and the service virtual local area network identifier is not required to be pre-configured on the access device.
  • the access configuration of the time; and the user can arbitrarily plug in the network port on the home gateway, and the mapping relationship between the correct user virtual local area network identifier and the service virtual local area network identifier can be obtained, thereby avoiding the user's insertion of the wrong network port on the home gateway.
  • the service is unreasonable. Therefore, the configuration of the user service access method is simple and error-free, and the service can be ensured.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

用户业务接入方法、 ***和接入 i殳备 本申请要求于 2011 年 3 月 28 日提交中国专利局、 申请号为 201110075547.4、 发明名称为"用户业务接入方法、 ***和接入设备"的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种用户业务接入方法、 系 统和接入设备。 背景技术
随着宽带业务的发展, 家庭宽带用户接入的业务种类越来越多, 如用户 通过一个家庭网关可以接入机顶盒、电脑、 电话,分别对应网络电视( Internet Protocol Television; 筒称: IPTV ) 、 高速上网 ( high speed internet; 筒称: HSI ) 、 网络电话(Voice over Internet Protocol; 筒称: VOIP )业务。
在现有应用场景中, 需要进行一定配置才能使业务到达正确的网关或服 务器, 如: 为每种业务建立不同的用户虚拟局域网 ( Customer Virtual Local Area Network; 筒称: CVLAN ) , 在接入设备上根据 CVLAN识别业务类型, 并将标识的业务类型桥接到指定的业务虚拟局域网 (Service Virtual Local Area Network; 筒称: SVLAN )上。 当运营商给某个用户家庭开通业务时, 需要在其家庭网关上预先配置每种业务上行时所使用的 CVLAN标识, 并且将 该 CVLAN标识和接入设备上与该用户关联的端口上配置的 CVLAN保持一致; 在接入设备上根据该用户端口和 CVLAN识另 出一条业务流后, 将该业务流桥 接到指定的 SVLAN上。
现有技术在接入设备上需要预先配置 CVLAN到 SVLAN的桥接对应关系, 配置完成后即为固定的映射关系。 例如: 为某个用户家庭开通业务时, 首先, 在接入设备上配置三种业务类型的 SVLAN, 分别为 HIS对应" SVLAN 100"、 IPTV对应" SVLAN 101"、 VOIP对应" SVLAN 102"; 在用户端口— 1上配置这三 种 SVLAN对应的 CVLAN分别为 "CVLAN10"、 "CVLAN 1 1", "CVLAN 12"; 然 后, 将该用户端口的三种业务分别桥接(bridge to )到对应的 SVLAN上, 如: "PORT1 CVLAN 10 bridge to SVLAN 100"、 "PORT1 CVLAN 1 1 bridge to SVLAN101 "、 "PORT1 CVLAN 12 bridge to SVLAN 102"。 最后, 在该用户的 家庭网关的各个端口(FE1、 FE2、 FE3 )上进行业务配置: "FE1 add CVLAN 10"、 "FE2 add CVLAN 1 1"、 "FE3 add CVLAN 12", 其中, 正确配置的情况 下端口 FE1连接 HSI业务, 端口 FE2连接 IPTV业务, 端口 FE3连接 VOIP业务。
但是, 如果运营商在开通业务时, 将家庭网关上的业务配置错误, 会导 致业务不通, 例如: 在家庭网关上将端口 FE1的报文 CVLAN标识配置为 "CVLAN 15", 但接入设备上预先配置对应关系中没有" CVLAN15", 将导致连 接端口 FE1的 HSI业务不通。 另外,如果用户将网线插错,也会导致业务不通, 例如:用户将 HSI业务的网线***端口 FE2,将 IPTV业务的网线***端口 FE1 , 使得 HSI业务的报文携带" CVLAN1 1"、 IPTV业务的报文携带" CVLAN 10", 根 据接入设备上预先配置的对应关系, HSI业务桥接到" SVLAN101", IPTV业务 桥接到 "SVLAN 100", 将导致 HSI和 IPTV业务都不通。
现有技术, 需要在接入设备预先配置 CVLAN和 SVLAN的关系, 并且接入 设备上配置的 CVLAN需要与家庭网关上的 CVLAN—致, 配置方法复杂, 容易 出错, 从而导致业务不通。 发明内容
本发明提供一种用户业务接入方法、 ***和接入设备, 用以解决现有技 术中用户业务接入配置方法复杂、 容易出错的缺陷, 筒化用户业务接入配置, 减少出错。
本发明实施例提供一种用户业务接入方法, 包括:
接收家庭网关发送的第一报文, 所述第一报文携带与所述第一报文匹配 的用户虚拟局域网标识;
根据所述第一报文的特征信息, 获取与所述第一报文匹配的业务虚拟局 域网标识;
根据所述用户虚拟局域网标识和所述业务虚拟局域网标识, 建立所述用 户虚拟局域网标识和所述业务虚拟局域网标识的映射关系;
根据所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关系; 将所述第一 4艮文发送到所述业务虚拟局域网标识对应的网络。
本发明实施例提供一种接入设备, 包括:
接收单元, 用于接收家庭网关发送的第一报文, 所述第一报文携带与所 述第一 4艮文匹配的用户虚拟局域网标识;
获取单元, 根据所述第一报文的特征信息, 获取与所述第一报文匹配的 业务虚拟局域网标识;
映射关系建立单元, 用于根据所述用户虚拟局域网标识和所述业务虚拟 局域网标识, 建立所述用户虚拟局域网标识和所述业务虚拟局域网标识的映 射关系;
转发单元, 用于根据所述用户虚拟局域网标识和所述业务虚拟局域网标 识的映射关系; 将所述第一报文发送到所述业务虚拟局域网标识对应的网络。
本发明实施例还提供一种用户业务接入***, 包括: 家庭网关和接入设 备;
所述家庭网关, 用于接收用户终端发送第一报文, 并将所述第一报文发 送给接入设备;
所述接入设备, 用于接收家庭网关发送的第一报文, 所述第一报文携带 与所述第一报文匹配的用户虚拟局域网标识; 根据所述第一报文的特征信息, 获取与所述第一报文匹配的业务虚拟局域网标识; 根据所述用户虚拟局域网 标识和所述业务虚拟局域网标识, 建立所述用户虚拟局域网标识和所述业务 虚拟局域网标识的映射关系; 根据所述用户虚拟局域网标识和所述业务虚拟 局域网标识的映射关系; 将所述第一报文发送到所述业务虚拟局域网标识对 应的网络。 本发明提供的用户业务接入方法、 ***和接入设备, 接收第一报文的用 户端口根据第一报文的特征信息获取该第一报文匹配的业务虚拟局域网标识 后, 可以根据该第一报文携带的用户虚拟局域网标识, 自动建立该用户虚拟 局域网标识和该业务虚拟局域网标识的映射关系, 不需要在接入设备上预先 配置用户虚拟局域网标识与业务虚拟局域网标识的映射关系, 筒化了用户业 务开通时的接入配置; 并且用户随意插接家庭网关上的网口, 都能够得到正 确的用户虚拟局域网标识与业务虚拟局域网标识的映射关系, 从而避免由于 用户插错家庭网关上的网口造成的业务不通, 因此该用户业务接入方法的配 置筒单、 不易出错, 可以保证业务畅通。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例中多业务接入场景的示意图;
图 2为本发明实施例一提供的用户业务接入方法的流程图;
图 3为本发明实施例二提供的用户业务接入方法的流程图;
图 4为本发明实施例二提供的用户业务接入方法的应用于不同业务类型 的示意图;
图 5为本发明实施例二提供的用户业务接入方法的应用于 IP ^艮文的示意 图;
图 6为本发明实施例三提供的接入设备的结构示意图;
图 7为本发明实施例四提供的接入设备的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明实施例中多业务接入场景的示意图, 如图 1所示, 一个用户 可以设置一个家庭网关 20, 其中, 在 HSI业务中, 个人电脑 ( PC ) 可以通过 该家庭网关 20访问互联网(internet ) ;在 IPTV业务中,机顶盒(Set Top Box; 筒称: STB )可以通过该家庭网关 20接收电视节目; 在 VOIP业务中, IP话机 ( IP PHONE )可以通过该家庭网关连接到软交换。 在多业务接入场景下, 接 入设备 30作为汇聚设备和桥接设备,可以将用户家庭网关 20上的业务汇聚后, 传入上层网络。 其中, 在家庭网关向接入设备发送的报文中被添加的虚拟局 域网标识(VLANID ) 为 CVLAN标识, 当报文到达接入设备后, 接入设备向 报文中添加 VLAN I D为 S VLAN标识。
针对上述图 1的结构图,对用户业务的接入方法进一步的描述如图 2所示。 图 2为本发明实施例一提供的用户业务接入方法的流程图, 如图 2所示, 该用 户业务接入方法包括:
步骤 201、接收家庭网关发送的第一报文, 所述第一报文携带与所述第一 4艮文匹配的用户虚拟局域网标识;
在步骤 201之前,可以将接入设备上各个用户端口的业务接入方式预先配 置为自动感知方式。 设置为自动感知方式的用户端口, 在接收到家庭网关发 送的报文后, 将对接收到的报文启动自动感知过程: 如果设置为自动感知方 式的用户端口收到第一报文(例如: 某一业务类型的首个报文后接入错误后 的第一个报文, 该用户端口上没有该第一报文携带的用户虚拟局域网标识对 应的映射关系) , 可以建立该第一 4艮文的用户虚拟局域网标识到业务虚拟局 域网标识的映射关系; 如果不是第一报文, 则可以直接根据该报文的用户虚 拟局域网标识查找对应的业务虚拟局域网标识后转发。
步骤 202、 根据所述第一报文的特征信息, 获取与所述第一报文匹配的业 务虚拟局域网标识;
其中, 可以预先在接入设备上配置业务类型与业务虚拟局域网标识的对 应关系, 例如: 在接入设备上通过一个对应关系表存储将业务类型与业务虚 拟局域网标识的对应关系。 进一步地, 步骤 202具体可以包括: 根据所述第一 报文的特征信息, 分析得到所述第一报文的业务类型; 根据所述业务类型, 获取所述业务类型匹配的业务虚拟局域网标识。 其中, 特征信息优选可以为 用户封装类型、 拨号报文关键字、 报文格式、 版本号或以太网类型的至少一 种, 所述业务类型优选可以包括高速上网业务、 网络电视业务、 网络电话业 务、 互联网协议第 4版(IPv4 ) 业务和互联网协议第 6版(IPv6 ) 业务的至少 一种。
步骤 203、 根据所述用户虚拟局域网标识和所述业务虚拟局域网标识, 建 立所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关系;
步骤 204、根据所述用户虚拟局域网标识和所述业务虚拟局域网标识的映 射关系; 将所述第一报文发送到所述业务虚拟局域网标识对应的网络。
其中, 接入设备上用户端口的转发芯片根据映射关系转发第一报文的方 法具体可以为: 接收第一报文的用户端口可以根据该第一报文的用户虚拟局 域网标识对应的映射关系, 在该第一报文中添加该第一报文匹配的业务虚拟 局域网标识, 然后转发该第一报文; 或者, 接收第一报文的用户端口根据该 第一报文的用户虚拟局域网标识对应的映射关系, 将该第一报文中的用户虚 拟局域网标识替换为与第一报文匹配的业务虚拟局域网标识, 然后转发所述 第一报文。
其中, 由于分析报文的特征信息, 获取报文的业务类型过程相对复杂, 可以由该接入设备的 CPU执行。 具体地, 接入设备的某一用户端口接收到第 一报文(一般可以为该用户端口收到的某一业务类型的首个报文)后, 可以 由该接入设备的 CPU对第一报文进行分析, 根据第一报文的特征信息获取匹 配的业务虚拟局域网标识后, 建立第一报文的用户虚拟局域网标识和业务虚 拟局域网标识的映射关系; 然后, CPU可以指示该用户端口的转发芯片根据 建立后的用户虚拟局域网标识和业务虚拟局域网标识的映射关系, 转发该用 户端口后续收到的第二报文(与第一报文携带的用户虚拟局域网标识相同的 报文) 。 因此, 步骤 202和步骤 203可以由接入设备的 CPU执行, 步骤 204则 可以由接入设备该用户端口上的转发芯片执行。
此外, 还可以对接入设备上各个用户端口对应的用户虚拟局域网标识和 业务虚拟局域网标识的映射关系进行检查, 对不必要的映射关系进行老化, 具体可以为以下示例:
示例一、 在设定时间内未接收到携带所述用户虚拟局域网标识的报文, 则将所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关系老化; 或
示例二、 接收到家庭网关发送的端口掉线通知, 则将所述用户虚拟局域 网标识和所述业务虚拟局域网标识的映射关系老化。
本实施例接入设备接收第一报文的用户端口, 根据第一报文的特征信息 获取该报文匹配的业务虚拟局域网标识后, 可以根据该第一报文携带的用户 虚拟局域网标识, 自动建立该用户虚拟局域网标识和该业务虚拟局域网标识 的映射关系, 不需要在接入设备上预先配置用户虚拟局域网标识与业务虚拟 局域网标识的映射关系, 筒化了用户业务开通时的接入配置; 并且用户随意 插接家庭网关上的网口, 都能够得到正确的用户虚拟局域网标识与业务虚拟 局域网标识的映射关系, 从而避免由于用户插错家庭网关上的网口造成的业 务不通, 因此该用户业务接入方法的配置筒单、 不易出错, 可以保证业务畅 通。
图 3为本发明实施例二提供的用户业务接入方法的流程图, 如图 3所示, 该用户业务接入方法包括:
步骤 301、 在接入设备上配置某用户端口的业务接入方式为自动感知 ( auto-sensing ) 方式。 其中, 设置为自动感知方式的用户端口, 在接收到家庭网关发送的报文 后, 将启动自动感知过程, 如果该用户端口上的 CVLAN标识与 SVLAN标识映 射关系中存在该报文携带的 CVLAN标识, 可以根据该 CVLAN标识与 SVLAN 标识的映射关系, 直接转发该报文; 否则, 可以根据该报文的特征信息例如: 某种封装或者拨号关键字查找到其业务类型对应的 SVLAN标识, 并建立该报 文携带的 CVLAN标识该 SVLAN标识的映射关系。
步骤 302、 家庭网关将从不同以太网(ETH )口的报文打上不同的 CVLAN 标识。
步骤 303、接入设备从该用户端口接收到家庭网关发送的报文后, 判断该 报文中携带的 CVLAN标识是否已经存于该用户端口 (其中, 接入设备中可以 保存一个映射关系表, 在映射关系表记录该接入设备的每一个用户端口包括 的 CVLAN标识与 SVLAN标识的映射关系。接入设备可以判断映射关系表保存 的该用户端口包括的映射关系中, 是否存在该报文携带的 CVLAN标识, 如果 存在, 说明该报文中携带的 CVLAN标识已经存于该用户端口中) , 如果是, 则可以根据该 CVLAN标识与 SVLAN标识的映射关系直接转发该报文(即将该 报文中 CVLAN的桥接到对应的 SVLAN上) ; 如果不是, 则执行步骤 304。
接入设备上该用户端口的转发芯片根据该 CVLAN标识与 SVLAN标识的 映射关系直接转发该报文的具体方法可以为: 向携带 CVLAN标识的报文中添 加对应的 SVLAN标识, 或将该报文中的 CVLAN标识替换成对应的 SVLAN标 指定的宽带远程接入服务( Broadband Remote Access Server;筒称: BRAS ) 或服务器。
步骤 304、接入设备将该报文作为该用户端口接收的第一报文(某一种业 务类型的首个报文或出错后的第一个报文)进行处理, 将该第一报文送到接 入设备的 CPU进行分析, 为了保证 CPU不受沖击, 可以将该第一报文送 CPU 使能, 在 CPU对该第一报文分析时其他需要送入 CPU的报文将被丢弃, CPU 对该第一报文分析结束后再去使能。 CPU先匹配得到该第一报文的用户封装 类型或者拨号报文关键字等对应的 SVLAN标识, 然后提取该第一报文的 CVLAN标识, 建立该 CVLAN标识到该 SVLAN标识的映射关系, 从而建立该 第一报文的 CVLAN到对应的 SVLAN的桥接关系;后续该用户端口收到的具有 同样 CVLAN标识的第二报文可以桥接到对应的 S VLAN。
步骤 305、 当家庭网关的端口掉线 (shutdown ) 或者该长时间未收到具 有该 CVLAN标识的报文时, 可以将该 CVLAN标识对应的映射关系老化。
具体地, 接入设备将某一用户端口的业务接入方式预先配置为自动感知 ( auto-sensing )方式的连接, 家庭网关向接入设备上行的报文携带有家庭网 关上某端口配置的 CVLAN标识;接入设备捕获具有新 CVLAN标识的第一报文 或具有已存在 CVLAN标识的第二报文后,在接入设备上可以将 CVLAN标识映 射到对应的 SVLAN标识。
图 4为本发明实施例二提供的用户业务接入方法的应用于不同业务类型 的示意图, 如图 4所示, 例如: 在家庭网关上配置三种业务, 第一种业务为高 速上网 (HSI ) 业务, 采用以太网承载点对点协议(PPPOE )拨号; 第二种 业务为网络电视( IPTV )业务; 第三种业务为网络电话(VOIP )业务, 采用 IP话机, 通过动态主机设置协议 ( Dynamic Host Configuration Protocol; 筒 称: DHCP ) 的方式获取 IP, 用户封装类型为 IP〇E。 在家庭网关的三种业务 HSK IPTV、 VOIP对应的三个 ETH口的 CVLAN标识分别为" CVLAN1"、 "CVLAN2"、 "CVLAN3"。 接入设备在用户端口上分别配置三种自动感知方式 (自动感知— 1、 自动感知— 2、 自动感知— 3 ) ,其 SVLAN标识分别为" SVLAN1"、 "SVLAN2", "SVLAN3"„ 其中, SVLAN的业务匹配方式为: SVLAN1匹配用 户封装类型为 PPP0E报文, SVLAN2匹配的用户封装类型为 IGMP报文, SVLAN3匹配的用户封装类型为非 IGMP的 I P0E报文;
当 HSI业务的用户采用 PPP0E拨号时, 家庭网关发出的 PPP0E报文带有 CVLAN 1 , 在接入设备在某一用户端口上捕获该 PPPOE报文后, 假设为第一 个 PPPOE4艮文, 可以匹配到用户封装类型为 PPPOE , 则建立 CVLAN1到 SVLAN1的映射关系, 并将 CVLAN1配置到该用户端口;
当 IPTV业务的用户通过机顶盒(STP )进行点播时, 通过互联网组管理 协议( Internet Group Management Protocol; 筒称: IGMP )发送 IGMP报文 到接入设备, 该 IGMP报文带有 CVLAN2, 接入设备识别出某一用户端口上送 的 IGMP报文后, 可以匹配到用户封装类型为 IGMP , 在该用户端口上配置 CVLAN2到 SVLAN2的映射关系, 并将 CVLAN2配置到该用户端口;
当 VOIP业务用户的 IP话机通过 DHCP获取 IP时, DHCP 请求报文携带 CVLAN3, 在接入设备上捕获该 DHCP 请求报文, 如果匹配到用户封装类型 为 IPOE, 则建立 CVLAN3到 SVLAN3的映射关系, 并将 CVLAN3配置到该用 户端口;
此外, 如果接入设备监控到该用户端口保存的某个 CVLAN标识在一段时 间内没有报文上行, 可以将该 CVLAN标识对应的映射关系老化。 或者家庭网 关上某个端口掉线 (shutdown ) 时, 可以向接入设备发送端口掉线通知, 在 端口掉线通知中携带掉线的端口对应的 CVLAN标识, 接入设备可以将该掉线 的端口对应的 CVLAN标识的映射关系老化。
图 5为本发明实施例二提供的用户业务接入方法的应用于 IP报文的示意 图, 如图 5所示, 用户通过家庭网关上网时, 其报文可能为 IPv4报文, 也可能 为 IPv6报文; IPv4报文、 IPv6报文都属于 IP报文, ^报文可以封装在???报文 中, 然后再封装到以太包中, 上述的 PPP0E报文就是这种封装形式; IP报文 也可以直接封装到以太包中, 上述的 IP0E报文就是这种封装形式; 实际应用 时, 运营商期望将 IPv4报文和 IPv6报文传送到不同的传输网, 因此, 本实施 例在接入设备上可以根据 IP报文的版本号 ( version ) 或者以太网类型 ( ETHTYPE )的识另 可以区分该 IP报文是 IPv4报文还是 IPv6报文, 将 IPv4 报文、 IPv6报文分别桥接到不同的 SVLAN上。
本实施例在接入设备上并没有预先配置用户的 CVLAN标识与 SVLAN标 识的映射关系, 而是通过对第一个报文(接收该第一报文的用户端口上不存 在该第一报文的 CVLAN标识与 SVLAN标识)捕获后分析得出的, 是一种自动 感知(auto-sensing )的过程, 筒化了配置过程; 此外, 用户随意插接家庭网 关上的网口, 都能够得到正确的用户虚拟局域网标识与业务虚拟局域网标识 的映射关系, 可以避免由于用户插错家庭网关上的网口造成的业务不通; 由 接入设备上捕获业务的第一个报文后, 可以根据该报文的特征 ixnxi分析得到 匹配的 SVLAN标识, 从而将该报文桥接到正确的 SVLAN上, 因此该用户业务 接入方法的配置筒单、 不易出错, 可以保证业务畅通。
图 6为本发明实施例三提供的接入设备的结构示意图, 如图 6所示, 该接 入设备包括:
接收单元 1 1 , 用于接收家庭网关发送的第一报文, 所述第一报文携带与 所述第一 4艮文匹配的用户虚拟局域网标识;
获取单元 13, 根据所述第一报文的特征信息, 获取与所述第一报文匹配 的业务虚拟局域网标识;
映射关系建立单元 15, 用于根据所述用户虚拟局域网标识和所述业务虚 拟局域网标识, 建立所述用户虚拟局域网标识和所述业务虚拟局域网标识的 映射关系;
转发单元 17, 用于根据所述用户虚拟局域网标识和所述业务虚拟局域网 标识的映射关系; 将所述第一报文发送到所述业务虚拟局域网标识对应的网 络。
本实施例接入设备的获取单元根据第一报文的特征信息, 获取该第一报 文匹配的业务虚拟局域网标识后, 映射关系建立单元可以根据该报文携带的 用户虚拟局域网标识, 自动建立该用户虚拟局域网标识和该业务虚拟局域网 标识的映射关系, 不需要在接入设备上预先配置用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 筒化了用户业务开通时的接入配置, 并且用户 随意插接家庭网关上的网口, 都能够得到正确的用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 从而避免由于用户插错家庭网关上的网口造成 的业务不通, 因此该用户业务接入方法的配置筒单、 不易出错, 可以保证业 务畅通。
图 7为本发明实施例四提供的接入设备的结构示意图, 如图 7所示, 在实 施例四的基础上, 该接入设备的获取单元 13具体用于, 根据所述第一报文的 特征信息, 分析得到所述第一报文的业务类型; 根据所述业务类型, 获取所 述业务类型匹配的业务虚拟局域网标识。
其中, 特征信息可以为用户封装类型、 拨号报文关键字、 报文格式、 版 本号或以太网类型的至少一种, 所述业务类型可以包括高速上网业务、 网络 电视业务、 网络电话业务、 IPv4业务和 IPv6业务的至少一种。
进一步地, 该接入设备还可以包括: 配置单元 21 , 用于在所述接入设备 上配置业务类型与业务虚拟局域网标识的对应关系。
再进一步地, 所述接收单元 1 1 , 还用于接收所述家庭网关发送的第二报 文, 所述第二报文携带与所述第二报文匹配的用户虚拟局域网标识;
所述转发单元 17, 还用于根据所述携带的用户虚拟局域网标识, 查找所 述映射关系建立单元建立的所述用户虚拟局域网标识和所述业务虚拟局域网 标识的映射关系, 获取与所述第二报文对应的业务虚拟局域网标识; 根据所 述获取的业务虚拟局域网标识, 将所述第二报文发送到所述业务虚拟局域网 标识对应的网络。
此外, 该接入设备还可以包括: 老化单元 23, 用于在设定时间内未接收 到携带所述用户虚拟局域网标识的报文, 则将所述用户虚拟局域网标识和所 述业务虚拟局域网标识的映射关系老化; 或, 接收到家庭网关发送的端口掉 线通知, 则将所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关 系老化。
本实施例接入设备的获取单元根据第一报文的特征信息, 获取该第一报 文匹配的业务虚拟局域网标识后, 映射关系建立单元可以根据该报文携带的 用户虚拟局域网标识, 自动建立该用户虚拟局域网标识和该业务虚拟局域网 标识的映射关系, 不需要在接入设备上预先配置用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 筒化了用户业务开通时的接入配置, 并且用户 随意插接家庭网关上的网口, 都能够得到正确的用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 从而避免由于用户插错家庭网关上的网口造成 的业务不通, 因此该用户业务接入方法的配置筒单、 不易出错, 可以保证业 务畅通。
本发明实施例五提供一种用户业务接入***, 具体可以参见图 1 , 该用户 业务接入***可以包括: 家庭网关 20和接入设备 30;
所述家庭网关 20, 用于接收用户终端发送第一报文, 并将所述第一报文 发送给接入设备;
所述接入设备 30, 用于接收家庭网关发送的第一报文, 所述第一报文携 带与所述第一报文匹配的用户虚拟局域网标识; 根据所述第一报文的特征信 息, 获取与所述第一报文匹配的业务虚拟局域网标识; 根据所述用户虚拟局 域网标识和所述业务虚拟局域网标识, 建立所述用户虚拟局域网标识和所述 业务虚拟局域网标识的映射关系; 根据所述用户虚拟局域网标识和所述业务 虚拟局域网标识的映射关系; 将所述第一报文发送到所述业务虚拟局域网标 识对应的网络。
具体地, 上述的特征信息可以为用户封装类型、 拨号报文关键字、 报文 格式、 版本号或以太网类型的至少一种, 所述业务类型可以包括高速上网业 务、 网络电视业务、 网络电话业务、 IPv4业务和 IPv6业务的至少一种。
本实施例中的接入设备可以采用本发明上述实施例中任意一种结构的接 入设备。
本实施例接入设备接收第一报文的用户端口, 根据第一报文的特征信息 获取该第一报文匹配的业务虚拟局域网标识后, 可以根据该第一报文携带的 用户虚拟局域网标识, 自动建立该用户虚拟局域网标识和该业务虚拟局域网 标识的映射关系, 不需要在接入设备上预先配置用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 筒化了用户业务开通时的接入配置; 并且用户 随意插接家庭网关上的网口, 都能够得到正确的用户虚拟局域网标识与业务 虚拟局域网标识的映射关系, 从而避免由于用户插错家庭网关上的网口造成 的业务不通, 因此该用户业务接入方法的配置筒单、 不易出错, 可以保证业 务畅通。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R〇M、 RAM、磁碟或光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权利要求书
1、 一种用户业务接入方法, 其特征在于, 包括:
接收家庭网关发送的第一报文, 所述第一报文携带与所述第一报文匹配的 用户虚拟局域网标识 ;
根据所述第一报文的特征信息, 获取与所述第一报文匹配的业务虚拟局域 网标识;
根据所述用户虚拟局域网标识和所述业务虚拟局域网标识, 建立所述用户 虚拟局域网标识和所述业务虚拟局域网标识的映射关系;
根据所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关系; 将 所述第一 4艮文发送到所述业务虚拟局域网标识对应的网络。
2、 根据权利要求 1所述的用户业务接入方法, 其特征在于, 所述获取与所 述第一报文匹配的业务虚拟局域网标识, 包括:
根据所述第一报文的特征信息, 分析得到所述第一报文的业务类型; 根据所述业务类型, 获取所述业务类型匹配的业务虚拟局域网标识。
3、 根据权利要求 2所述的用户业务接入方法, 其特征在于, 还包括: 在接入设备上配置业务类型与业务虚拟局域网标识的对应关系。
4、 根据权利要求 2或 3所述的用户业务接入方法, 其特征在于, 所述特征信 息为用户封装类型、 拨号报文关键字、 报文格式、 版本号或以太网类型的至少 一种, 所述业务类型包括高速上网业务、 网络电视业务、 网络电话业务、 互联 网协议第 4版 I Pv4业务和互联网协议第 6版 I Pv6业务的至少一种。
5、 根据权利要求 1 -3任一所述的用户业务接入方法, 其特征在于, 还包括: 接收所述家庭网关发送的第二报文, 所述第二报文携带与所述第二报文匹 配的用户虚拟局域网标识;
根据所述携带的用户虚拟局域网标识, 查找所述用户虚拟局域网标识和所 述业务虚拟局域网标识的映射关系, 获取与所述第二报文对应的业务虚拟局域 网标识; 根据所述获取的业务虚拟局域网标识, 将所述第二报文发送到所述业务虚 拟局域网标识对应的网络。
6、 根据权利要求 1 -3任一所述的用户业务接入方法, 其特征在于, 在所述 接收家庭网关发送的第一报文之前, 包括:
将接入设备上各个用户端口的业务接入方式预先配置为自动感知方式。
7、 根据权利要求 1 -3任一所述的用户业务接入方法, 其特征在于, 还包括: 在设定时间内未接收到携带所述用户虚拟局域网标识的报文, 则将所述用 户虚拟局域网标识和所述业务虚拟局域网标识的映射关系老化; 或
接收到家庭网关发送的端口掉线通知, 则将所述用户虚拟局域网标识和所 述业务虚拟局域网标识的映射关系老化。
8、 一种接入设备, 其特征在于, 包括:
接收单元, 用于接收家庭网关发送的第一报文, 所述第一报文携带与所述 第一报文匹配的用户虚拟局域网标识;
获取单元, 根据所述第一报文的特征信息, 获取与所述第一报文匹配的业 务虚拟局域网标识;
映射关系建立单元, 用于根据所述用户虚拟局域网标识和所述业务虚拟局 域网标识, 建立所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关 系;
转发单元, 用于根据所述用户虚拟局域网标识和所述业务虚拟局域网标识 的映射关系; 将所述第一报文发送到所述业务虚拟局域网标识对应的网络。
9、 根据权利要求 8所述的接入设备, 其特征在于, 所述获取单元具体用于, 根据所述第一报文的特征信息, 分析得到所述第一报文的业务类型; 根据所述 业务类型, 获取所述业务类型匹配的业务虚拟局域网标识。
10、 根据权利要求 9所述的接入设备, 其特征在于, 还包括:
配置单元, 用于在所述接入设备上配置业务类型与业务虚拟局域网标识的 对应关系。
1 1、 根据权利要求 9或 10所述的接入设备, 其特征在于, 所述特征信息为用 户封装类型、 拨号报文关键字、 报文格式、 版本号或以太网类型的至少一种, 所述业务类型包括高速上网业务、 网络电视业务、 网络电话业务、 互联网协议 第 4版 I Pv4业务和互联网协议第 6版 I Pv6业务的至少一种。
12、 根据权利要求 8-10任一所述的接入设备, 其特征在于:
所述接收单元, 还用于接收所述家庭网关发送的第二报文, 所述第二报文 携带与所述第二报文匹配的用户虚拟局域网标识;
所述转发单元, 还用于根据所述携带的用户虚拟局域网标识, 查找所述映 射关系建立单元建立的所述用户虚拟局域网标识和所述业务虚拟局域网标识的 映射关系, 获取与所述第二报文对应的业务虚拟局域网标识; 根据所述获取的 业务虚拟局域网标识, 将所述第二报文发送到所述业务虚拟局域网标识对应的 网络。
13、 根据权利要求 8-10任一所述的接入设备, 其特征在于, 还包括: 老化单元, 用于在设定时间内未接收到携带所述用户虚拟局域网标识的报 文, 则将所述用户虚拟局域网标识和所述业务虚拟局域网标识的映射关系老化; 或, 接收到家庭网关发送的端口掉线通知, 则将所述用户虚拟局域网标识和所 述业务虚拟局域网标识的映射关系老化。
14、 一种用户业务接入***, 其特征在于, 包括: 家庭网关和接入设备; 所述家庭网关, 用于接收用户终端发送第一报文, 并将所述第一报文发送 给接入设备;
所述接入设备, 用于接收家庭网关发送的第一报文, 所述第一报文携带与 所述第一报文匹配的用户虚拟局域网标识; 根据所述第一报文的特征信息, 获 取与所述第一报文匹配的业务虚拟局域网标识; 根据所述用户虚拟局域网标识 和所述业务虚拟局域网标识, 建立所述用户虚拟局域网标识和所述业务虚拟局 域网标识的映射关系; 根据所述用户虚拟局域网标识和所述业务虚拟局域网标 识的映射关系; 将所述第一报文发送到所述业务虚拟局域网标识对应的网络。
15、 根据权利要求 14所述的用户业务接入***, 其特征在于, 所述特征信 息为用户封装类型、 拨号报文关键字、 报文格式、 版本号或以太网类型的至少 一种, 所述业务类型包括高速上网业务、 网络电视业务、 网络电话业务、 互联 网协议第 4版 I Pv4业务和互联网协议第 6版 I Pv6业务的至少一种。
PCT/CN2012/073204 2011-03-28 2012-03-28 用户业务接入方法、***和接入设备 WO2012130142A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP12764005.0A EP2680495A4 (en) 2011-03-28 2012-03-28 METHOD, SYSTEM AND ACCESS DEVICE FOR USER SERVICE ACCESS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100755474A CN102710468A (zh) 2011-03-28 2011-03-28 用户业务接入方法、***和接入设备
CN201110075547.4 2011-03-28

Publications (1)

Publication Number Publication Date
WO2012130142A1 true WO2012130142A1 (zh) 2012-10-04

Family

ID=46903038

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073204 WO2012130142A1 (zh) 2011-03-28 2012-03-28 用户业务接入方法、***和接入设备

Country Status (3)

Country Link
EP (1) EP2680495A4 (zh)
CN (1) CN102710468A (zh)
WO (1) WO2012130142A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096398B (zh) 2011-11-08 2016-08-03 华为技术有限公司 一种网络切换的方法和装置
CN104065552B (zh) * 2014-06-26 2017-06-23 福建星网锐捷网络有限公司 一种数据传输方法及设备
CN106034061A (zh) * 2015-03-10 2016-10-19 中兴通讯股份有限公司 一种业务上行转发、下行转发的方法和相应装置
CN106559228A (zh) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 一种终端用户的放装方法及装置
CN106789168B (zh) * 2016-11-28 2020-03-20 华为技术有限公司 一种数据中心服务器管理网络的部署方法及架顶式交换机
CN108270638B (zh) * 2017-01-03 2022-10-28 中兴通讯股份有限公司 一种基于网口传输的纠错方法、装置及网口传输设备
CN108551422A (zh) * 2018-03-30 2018-09-18 青岛海信宽带多媒体技术有限公司 一种网关、其网络报文处理方法、装置及网关存储介质
CN109246135B (zh) * 2018-10-19 2020-08-07 视联动力信息技术股份有限公司 一种流媒体数据的获取方法和***
CN109639451A (zh) 2018-10-29 2019-04-16 盛科网络(苏州)有限公司 端口配置方法、装置、存储介质及电子装置
CN112449751B (zh) * 2019-06-28 2022-08-26 华为云计算技术有限公司 一种数据传输方法、交换机及站点
CN113382075A (zh) * 2021-06-13 2021-09-10 南京方数信息科技有限公司 企业信息管理平台、管理方法、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102273A (zh) * 2007-07-20 2008-01-09 中兴通讯股份有限公司 宽带接入设备及宽带接入方法
CN101150493A (zh) * 2006-09-20 2008-03-26 华为技术有限公司 一种在接入终端上实现业务分流的方法及***
CN101409685A (zh) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 基于虚拟局域网映射的转发方法及接入设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1695508B1 (en) * 2003-12-16 2008-08-27 Telefonaktiebolaget LM Ericsson (publ) Ethernet dsl access multiplexer and method providing dynamic service selection and end-user configuration
US7881198B2 (en) * 2005-04-25 2011-02-01 Telefonaktiebolaget L M Ericsson (Publ) Method for managing service bindings over an access domain and nodes therefor
CN101009627A (zh) * 2006-12-27 2007-08-01 华为技术有限公司 一种业务绑定的方法和设备
US20090010265A1 (en) * 2007-07-05 2009-01-08 Cisco Technology, Inc. Flexible mapping of virtual local area networks to Ethernet virtual circuits
US20090097492A1 (en) * 2007-10-12 2009-04-16 Telefonaktiebolaget Lm Ericsson (Publ) Support of triple play services in user devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150493A (zh) * 2006-09-20 2008-03-26 华为技术有限公司 一种在接入终端上实现业务分流的方法及***
CN101102273A (zh) * 2007-07-20 2008-01-09 中兴通讯股份有限公司 宽带接入设备及宽带接入方法
CN101409685A (zh) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 基于虚拟局域网映射的转发方法及接入设备

Also Published As

Publication number Publication date
EP2680495A1 (en) 2014-01-01
EP2680495A4 (en) 2014-02-19
CN102710468A (zh) 2012-10-03

Similar Documents

Publication Publication Date Title
WO2012130142A1 (zh) 用户业务接入方法、***和接入设备
US8711865B2 (en) Auto-provisioning of network services over an Ethernet access link
US9596211B2 (en) Cloud based customer premises equipment
CN100534055C (zh) 利用宽带路由器实现上网的方法
US9609035B2 (en) Compressed headers for encapsulated real-time communications
JP2019526983A (ja) ブロードバンドリモートアクセスサーバの制御プレーン機能と転送プレーン機能の分離
WO2012109917A1 (zh) 网络中的报文转发方法、装置和***
JP2010502067A (ja) ネットワークにアクセスするためにインターフェースを特定し選択する方法および装置
WO2012079473A1 (zh) 自动切换网络的方法和装置、无线接入设备和中间设备
WO2009067871A1 (fr) Procédé, système et dispositif de gestion de sécurité d'accès d'utilisateur
WO2011153679A1 (zh) 业务配置方法、设备和***
WO2006122502A1 (fr) Méthode de transmission de message en couche 2 et dispositif d’accès
CN108307694B (zh) 一种网络连接信息获取方法及路由器
US20130117460A1 (en) Data management methods for use in a network system and network systems using the same
CN103166854B (zh) 局域网与广域网业务绑定方法及***
WO2011035678A1 (zh) 数据传输方法及装置
US9172554B2 (en) Method and network access device for enabling data forwarding between different physical mediums
CN101212398A (zh) 一种接入***及方法
WO2015018069A1 (zh) 网络终端获取业务的方法、设备、***
WO2008058477A1 (fr) Procédé, appareil et système de gestion d'informations de localisation
WO2014153860A1 (zh) 一种网络接入的方法、网关及***
WO2014015786A1 (zh) 一种hfc网络中的二层接入方法、设备及***
WO2014114058A1 (zh) 一种数据报文转发方法、用户驻地设备和***
WO2017080335A1 (zh) 一种基于pppoe网络的拨号方法、拨号***及路由器
US20120076131A1 (en) Methods, systems and computer readable media for supporting a plurality of real-time transport protocol (rtp) multiplexing enablement methods in a media gateway

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012764005

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE