WO2017197582A1 - 一种家庭网关及其转发业务的方法 - Google Patents

一种家庭网关及其转发业务的方法 Download PDF

Info

Publication number
WO2017197582A1
WO2017197582A1 PCT/CN2016/082374 CN2016082374W WO2017197582A1 WO 2017197582 A1 WO2017197582 A1 WO 2017197582A1 CN 2016082374 W CN2016082374 W CN 2016082374W WO 2017197582 A1 WO2017197582 A1 WO 2017197582A1
Authority
WO
WIPO (PCT)
Prior art keywords
wan port
dhcp
home gateway
port
side device
Prior art date
Application number
PCT/CN2016/082374
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 EP16901967.6A priority Critical patent/EP3461226B1/en
Priority to CN202110896281.3A priority patent/CN113794609B/zh
Priority to CN201680085851.8A priority patent/CN109156046B/zh
Priority to HRP20221065TT priority patent/HRP20221065T1/hr
Priority to PCT/CN2016/082374 priority patent/WO2017197582A1/zh
Publication of WO2017197582A1 publication Critical patent/WO2017197582A1/zh

Links

Images

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/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a home gateway and a method for forwarding the same.
  • WAN Wide Area Network
  • LAN Local Area Network
  • RG Residential Gateway
  • IPTV Internet Protocol Television
  • HSI High Speed Internet
  • VoIP Voice over Internet Protocol
  • LAN & WAN binding solution also called port binding
  • the LAN port can access the services on the WAN side normally.
  • the other is the Any Port Any Service (APAS) solution.
  • APAS Any Port Any Service
  • the common method is to obtain the IP address through the Dynamic Host Configuration Protocol (DHCP). Protocol, network protocol) address, and carries the DHCP option field related to the service type.
  • DHCP Dynamic Host Configuration Protocol
  • the RG identifies the private network IP of a specific segment by identifying the DHCP option field of these devices, and distinguishes the private network IPs of these different segments.
  • Source IP policy routing select the routing WAN port. The application scenario is limited because only the WAN port can be selected.
  • the embodiment of the invention provides a home gateway and a method for forwarding the service, and implements a flexible selection of a routing WAN port or a bridged WAN port by the home gateway LAN side device.
  • an embodiment of the present invention provides a method for a home gateway to forward a service, where the home gateway receives a DHCP discovery packet that is sent by a LAN device, including a service request, where the DHCP discovery packet includes a DHCP Option field,
  • the DHCP Option field includes a value that identifies the location Determining the requested service; then, the home gateway selects a corresponding routing WAN port or a bridged WAN port according to the correspondence between the service identified by the value and the routing WAN port or the bridged WAN port; finally, the home gateway passes the selected The routing WAN port or the bridged WAN port establishes a link with the broadband access server.
  • the corresponding route between the service identified by the value and the routed WAN port or the bridged WAN port, the corresponding route WAN port or the bridged WAN port is selected to be:
  • the home gateway forwards the DHCP discovery message to the broadband access server from the bridge WAN port, and the home gateway receives the DHCP Offer response message returned by the broadband access server.
  • the binding relationship between the source MAC address of the LAN side device and the bridge WAN port is recorded.
  • the home gateway finds a corresponding LAN port according to the binding relationship between the source MAC address of the LAN side device and the bridge WAN port, and sends the DHCP Offer response message to the LAN side device through the LAN port.
  • the home gateway receives the DHCP request message sent by the LAN side device, and the home gateway finds a corresponding bridge WAN port according to the source MAC address of the LAN side device and the binding relationship of the bridged WAN port.
  • the establishing a link with the broadband access server by using the selected routing WAN port or the bridged WAN port includes: sending the DHCP request message to the broadband connection through the bridge WAN port Receiving a DHCP acknowledgment response message returned by the broadband access server; the home gateway sends the DHCP acknowledgment response message to the LAN side device through the LAN port; the LAN side device checks DHCP
  • the public network IP address allocated by the server may be used, and the LAN side device is connected to the broadband access server according to the public network IP through a corresponding bridge WAN port.
  • the corresponding route between the service identified by the value and the routed WAN port or the bridged WAN port, the corresponding route WAN port or the bridged WAN port is selected to be: If the WAN port is a route, the home gateway allocates a private network IP address to the LAN side device, and the LAN side device accesses the home gateway according to the IP address.
  • the establishing a link with the broadband access server by using the selected routing WAN port or the bridged WAN port includes: the home gateway querying a local routing table, and routing a corresponding routing WAN according to the source IP policy.
  • the LAN side device is connected to the broadband access server by using the corresponding routing WAN port.
  • one value of the DHCP Option field is the value of the DHCP Option 60 field.
  • an embodiment of the present invention provides a home gateway, where the home gateway includes: a LAN port, a routing WAN port, a DHCP server, and a bridge WAN port, where the LAN side device is connected to the home gateway through the LAN port.
  • the home gateway receives a DHCP discovery packet, including a service request, sent by the LAN device, where the DHCP discovery packet includes a DHCP Option field, and the DHCP Option field includes a value, where the value identifies the requested service; Corresponding relationship between the service identified by the value and the routing WAN port or the bridged WAN port, selecting a corresponding routing WAN port or a bridged WAN port; establishing a link with the broadband access server through the selected routing WAN port or the bridged WAN port .
  • the service identified by the value corresponds to a bridged WAN port
  • the home gateway forwards the DHCP discovery message from the bridge WAN port to the broadband access server, where the home gateway is Receiving a DHCP Offer response message returned by the broadband access server, and recording a binding relationship between a source MAC address of the LAN side device and a bridge WAN port;
  • the home gateway is configured according to a source MAC address and a bridge of the LAN side device
  • the WAN port binding relationship is found to be a corresponding LAN port, and the DHCP Offer response message is sent to the LAN side device through the LAN port;
  • the home gateway receives the DHCP request message sent by the LAN side device,
  • the home gateway finds a corresponding bridge WAN port according to the binding relationship between the source MAC address of the LAN side device and the bridge WAN port.
  • the home gateway sends the DHCP request message to the broadband access server through the bridge WAN port, and receives a DHCP acknowledgement response message returned by the broadband access server;
  • the home gateway sends the DHCP acknowledgment response message to the LAN side device through the LAN port;
  • the LAN side device checks that the public network IP address allocated by the DHCP server can be used, and the LAN side device is used according to the public network.
  • the IP is connected to the broadband access server through a corresponding bridged WAN port.
  • the service identified by the value corresponds to a routing WAN port
  • the home gateway allocates a private network IP address to the LAN side device, and the LAN side device accesses the information according to the IP address.
  • Home gateway allocates a private network IP address to the LAN side device, and the LAN side device accesses the information according to the IP address.
  • the home gateway queries the local routing table, and routes the corresponding routing WAN port according to the source IP policy, and the LAN side device connects to the broadband access server through the corresponding routing WAN port.
  • one value of the DHCP Option field is the value of the DHCP Option 60 field.
  • an embodiment of the present invention provides a communication device, where the communication device includes a processor, a memory and a bus system, the processor and the memory being coupled by the bus system, the memory for storing instructions, the processor for executing instructions stored by the memory,
  • the processor is configured to: receive a DHCP discovery packet that is sent by the LAN device, including a service request, where the DHCP discovery packet includes a DHCP Option field, and the DHCP Option field includes a value, where the value identifies the request According to the correspondence between the service identified by the value and the routing WAN port or the bridged WAN port, the corresponding routing WAN port or the bridged WAN port is selected; and the selected routing WAN port or the bridged WAN port and the broadband connection are selected. Enter the server to establish a link.
  • the processor is specifically configured to: receive a DHCP discovery packet that is sent by the LAN device, including a service request, where the DHCP discovery packet includes a DHCP Option field, and the DHCP Option field includes a value.
  • the value identifies the requested service; selects a corresponding routing WAN port or a bridged WAN port according to the correspondence between the service identified by the value and the routing WAN port or the bridged WAN port; and the selected routing WAN port Or bridge the WAN port to establish a link with the broadband access server.
  • the processor is specifically configured to: send the DHCP request message to the broadband access server by using the bridge WAN port; and receive a DHCP acknowledgement response report returned by the broadband access server. And sending, by the LAN port, the DHCP acknowledgment response message to the LAN side device; the LAN side device checking, that the public network IP address allocated by the DHCP server is available, the LAN side device according to the public network The IP is connected to the broadband access server through a corresponding bridged WAN port.
  • the processor is specifically configured to: the service identified by the value corresponds to a route WAN port, and the private device IP address is allocated to the LAN side device, and the LAN side device is configured according to the IP address. The address accesses the home gateway.
  • the processor is specifically configured to: query a local routing table, and select a corresponding routing WAN port according to the source IP policy, where the LAN side device connects to the broadband by using the corresponding routing WAN port. Access to the server.
  • one value of the DHCP Option field is the value of the DHCP Option 60 field.
  • the DHCP Option field is used to distinguish whether the LAN side device needs to access the routing WAN port or the bridge WAN port, and implement the home gateway LAN side device to flexibly select the routing WAN port or the bridge WAN port. Flexible deployment of services.
  • FIG. 1 is a schematic diagram of a home gateway according to an embodiment of the present invention
  • APAS Any port any service
  • FIG. 3 is a flowchart of a method for forwarding a home gateway service according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for forwarding a home gateway service according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an application scenario of a LAN side device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a communication device according to an embodiment of the present invention.
  • the LAN device of the home gateway can obtain the IP address through the dynamic host configuration protocol (DHCP).
  • DHCP dynamic host configuration protocol
  • the embodiment of the present invention provides a solution based on the communication system shown in FIG. 1A or FIG. 1B.
  • the DHCP option field is used to distinguish the WAN that the terminal LAN side device needs to access, and the home gateway LAN side device flexibly selects the routing WAN port. Or bridge the WAN port.
  • the home gateway in this embodiment may be a wireless router gateway, a digital set top box gateway, a PC home gateway, a digital subscriber line (DSL) router gateway, a VOIP broadband access gateway, and a wired multimedia gateway.
  • the LAN side device includes but is not limited to: a handheld device, an in-vehicle device, a wearable device, a computing device, a terminal, a terminal equipment, and may also include a subscriber unit, a cellular phone. , smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device (handheld), A laptop computer, a cordless phone, or a wireless local loop (WLL) station, a machine type communication (MTC) terminal, or the like.
  • PDA personal digital assistant
  • modem modem
  • WLL wireless local loop
  • MTC machine type communication
  • the present invention discloses a home gateway, which has both a LAN port and a WAN port.
  • the WAN port includes two different types of WAN ports: a routing WAN port and a bridge WAN port, and a routing WAN port.
  • the number and number of bridged WAN ports are based on actual needs.
  • the home gateway has a corresponding DHCP server.
  • the DHCP server is independent, and the home gateway does not have a corresponding DHCP server.
  • the LAN side device is connected to the home gateway through the LAN port, and the home gateway receives a DHCP discovery message that is sent by the LAN side device, including a service request, where the DHCP discovery message includes a DHCP Option field, and the DHCP Option field.
  • the value identifies the requested service; select a corresponding routing WAN port or a bridge WAN port according to the correspondence between the service identified by the value and the routing WAN port or the bridge WAN port;
  • the routing WAN port or the bridged WAN port establishes a link with the Broadband Remote Access Server (BRAS).
  • BRAS Broadband Remote Access Server
  • each DHCP discovery packet includes any number of DHCP Option fields, one less, and the other is not limited.
  • the DHCP Option 60 field is specified, that is, the value of the DHCP Option 60 field is selected, and the service requested by the LAN side device is identified.
  • the home gateway selects a corresponding routing WAN port or a bridged WAN port according to the correspondence between the service identified by the value of the DHCP Option 60 field and the routing WAN port or the bridged WAN port, and then the home gateway passes the selected routing WAN port or bridges.
  • the WAN port establishes a link with the broadband access server.
  • the LAN side device is connected to the broadband access server for service interaction.
  • the type of service it may include different types of services such as VoIP, video on demand, cable TV, high speed Internet access, and the like.
  • a scenario is that the service identified by the value corresponds to a bridged WAN port, and the home gateway forwards the DHCP discovery packet from the bridged WAN port ( DHCP discover) to the broadband access server, the home gateway receives a DHCP Offer response message returned by the broadband access server, and records a binding relationship between a source MAC address of the LAN side device and a bridged WAN port.
  • the home gateway is based on the source MAC address of the LAN side device and The binding relationship of the bridged WAN port is found to be a corresponding LAN port, and the DHCP Offer response message is sent to the LAN side device through the LAN port.
  • the home gateway receives the DHCP request message (DHCP request) sent by the LAN side device, and the home gateway finds the corresponding bridge WAN port according to the binding relationship between the source MAC address of the LAN side device and the bridged WAN port. Further, the home gateway sends the DHCP request message to the broadband access server through the bridge WAN port, and receives a DHCP acknowledgement response message (DHCP ack) returned by the broadband access server. The home gateway sends the DHCP acknowledgement response message to the LAN side device through the LAN port. The LAN side device checks that the public network IP address allocated by the DHCP server can be used, and the LAN side device connects to the broadband access server through the corresponding bridge WAN port according to the public network IP.
  • DHCP request DHCP request message
  • DHCP ack DHCP acknowledgement response message
  • the service identified by the value of the DHCP Option field corresponds to the route WAN port
  • the home gateway allocates a private network IP address to the LAN side device, and the LAN side device accesses the device according to the IP address.
  • the home gateway queries the local routing table, and the corresponding routing WAN port is selected according to the source IP policy, and the LAN side device is connected to the broadband access server by using the corresponding routing WAN port.
  • the DHCP Option field is used to distinguish whether the LAN side device is to access the routing WAN port or the bridge WAN port, and the home gateway LAN side device can flexibly select the routing WAN port or the bridge WAN port to connect to the WAN side, and the service is deployed flexibly.
  • the method for forwarding a service is disclosed in the embodiment of the present invention.
  • the method includes the following steps:
  • Step 301 The home gateway receives a DHCP discovery packet that is sent by the LAN device, including a service request, where the DHCP discovery packet includes a DHCP Option field, and the DHCP Option field includes a value, where the value identifies the requested service.
  • Step 302 The home gateway selects a corresponding routing WAN port or a bridged WAN port according to the correspondence between the service identified by the value and the routing WAN port or the bridged WAN port.
  • the DHCP Option 60 field is used as an example.
  • the DHCP discovery message carries the DHCP Option 60 string "STB".
  • the home gateway searches for the service relationship database corresponding to the different value of the string and finds that the "STB" represents the video on demand service.
  • the home gateway selects a routing WAN port according to the correspondence between the Internet service and the routing WAN port or the bridged WAN port.
  • the LAN side device is connected to the broadband access server through a routing WAN port.
  • the DHCP discovery packet carries the DHCP Option 60 string "VOIP”, and the home gateway searches for the number of service relationships corresponding to different values of the string. According to the database, it is found that "VOIP" represents the VoIP service, and the home gateway selects the bridge WAN port according to the correspondence between the VoIP service and the routing WAN port or the bridged WAN port.
  • Step 303 The home gateway establishes a link with the broadband access server by using the selected routing WAN port or the bridged WAN port.
  • a scenario is as shown in FIG. 4, which respectively accesses different services by using two LAN-side devices, Device A and Device A, as shown in the figure.
  • the requested service corresponds to the routing WAN port
  • the home gateway allocates the private network IP address to the device A, and the device A accesses the home gateway according to the IP address.
  • the home gateway queries the local routing table, and routes the WAN port according to the source IP policy.
  • Device A connects to the broadband access server through the routing WAN port.
  • Device A and Device A can also be the same device that supports different services.
  • the home gateway forwards the DHCP discovery message from the bridged WAN port to the broadband connection.
  • the home gateway receives the DHCP Offer response message returned by the broadband access server, and records the binding relationship between the source MAC address of the device B and the bridged WAN port.
  • the home gateway finds the corresponding LAN port according to the binding relationship between the source MAC address of the device B and the bridged WAN port, and sends the DHCP Offer response packet to the LAN side device through the corresponding LAN port.
  • the home gateway receives the DHCP request message sent by the LAN side device, and the home gateway finds the corresponding bridge WAN port according to the source MAC address of the device B and the binding relationship of the bridged WAN port. Further, the home gateway sends the DHCP request message to the broadband access server through the WAN port, and then receives the DHCP acknowledgement response message returned by the broadband access server. The home gateway sends the DHCP acknowledgment response message to the device B through the LAN port. The device B checks whether the public network IP address allocated by the DHCP server is available. If it is available, the device B connects to the broadband access server through the corresponding bridge WAN port according to the public network IP.
  • the DHCP Option field is used to distinguish whether the LAN side device is to access the routing WAN port or the bridge WAN port, and the home gateway LAN side device can flexibly select the routing WAN port or the bridge WAN port to connect to the WAN side, and the service is deployed flexibly.
  • the following is an example of connecting the service through the home gateway in Figure 5 with the set top box (STB) of the intelligent network set top box (STB).
  • the smart set top box is connected to the home gateway through the LAN 2 port, and the smart set top box (STB) is connected to the home.
  • the gateway broadcasts a DHCP discovery packet.
  • the DHCP discovery packet carries a specific DHCP Option 60 string, such as "STB”, and the home gateway passes. After searching for the business relationship database corresponding to the different values of the string, the search indicates that "STB" represents the video on demand service, and the home gateway selects the route WAN port according to the correspondence between the Internet service and the routing WAN port or the bridged WAN port.
  • the home gateway allocates a private network IP address to device A, and device A accesses the home gateway according to the IP address.
  • the home gateway queries the local routing table, and routes the WAN port according to the source IP policy.
  • Device A connects to the broadband access server through the routing WAN port.
  • the DHCP discovery packet carries a specific DHCP Option 60 string, such as "VOIP”, and the home gateway searches for a service relationship database corresponding to different values of the string to find out that "VOIP" represents the VoIP service.
  • the home gateway selects the bridged WAN port according to the correspondence between the network telephone service and the routing WAN port or the bridged WAN port. Further, the home gateway forwards the DHCP discovery message to the broadband access server from the bridge WAN port, and the home gateway receives the DHCP Offer response message returned by the broadband access server, and records the binding between the source MAC address of the device B and the bridged WAN port. relationship.
  • the home gateway finds the corresponding LAN port according to the binding relationship between the source MAC address of the device B and the bridged WAN port, and sends the DHCP Offer response packet to the LAN side device through the corresponding LAN port.
  • the home gateway receives the DHCP request message sent by the LAN side device, and the home gateway finds the corresponding bridge WAN port according to the source MAC address of the device B and the binding relationship of the bridged WAN port. Further, the home gateway sends the DHCP request message to the broadband access server through the WAN port, and then receives the DHCP acknowledgement response message returned by the broadband access server.
  • the home gateway sends the DHCP acknowledgment response message to the device B through the LAN port.
  • the device B checks whether the public network IP address allocated by the DHCP server is available. If it is available, the device B connects to the broadband access server through the corresponding bridge WAN port according to the public network IP.
  • the present invention also discloses a communication device, including a processor 601, a memory 602, and a bus system 603.
  • the processor 601 and the memory 602 are connected by the bus system 503, and the memory 602 is used by the memory 602.
  • the processor is configured to execute an instruction stored by the memory 602,
  • the processor 601 is configured to: receive a DHCP discovery packet that is sent by the LAN device, including a service request, where the DHCP discovery packet includes a DHCP Option field, and the DHCP Option field includes a value, where the value identifier is Determining the requested service; selecting a corresponding routing WAN port or a bridged WAN port according to the correspondence between the service identified by the value and the routing WAN port or the bridged WAN port; and using the selected routing WAN port or the bridged WAN port and The broadband access server establishes a link.
  • a scenario is that the service identified by the value corresponds to a bridged WAN port, and the home gateway is And transmitting, by the bridge WAN port, the DHCP discover message (DHCP discover) to the broadband access server, where the home gateway receives a DHCP Offer response message returned by the broadband access server, and records the LAN side device. Binding relationship between the source MAC address and the bridged WAN port. The home gateway finds a corresponding LAN port according to the binding relationship between the source MAC address of the LAN side device and the bridge WAN port, and sends the DHCP Offer response message to the LAN side device through the LAN port.
  • DHCP discover DHCP discover
  • the home gateway receives the DHCP request message (DHCP request) sent by the LAN side device, and the home gateway finds the corresponding bridge WAN port according to the binding relationship between the source MAC address of the LAN side device and the bridged WAN port. Further, the home gateway sends the DHCP request message to the broadband access server through the bridge WAN port, and receives a DHCP acknowledgement response message (DHCP ack) returned by the broadband access server. The home gateway sends the DHCP acknowledgement response message to the LAN side device through the LAN port. The LAN side device checks that the public network IP address allocated by the DHCP server can be used, and the LAN side device connects to the broadband access server through the corresponding bridge WAN port according to the public network IP.
  • DHCP request DHCP request message
  • DHCP ack DHCP acknowledgement response message
  • the service identified by the value of the DHCP Option field corresponds to the route WAN port
  • the home gateway allocates a private network IP address to the LAN side device, and the LAN side device accesses the device according to the IP address.
  • the home gateway queries the local routing table, and the corresponding routing WAN port is selected according to the source IP policy, and the LAN side device is connected to the broadband access server by using the corresponding routing WAN port.
  • the DHCP Option field is used to distinguish whether the LAN side device is to access the routing WAN port or the bridge WAN port, and the home gateway LAN side device can flexibly select the routing WAN port or the bridge WAN port to connect to the WAN side, and the service is deployed flexibly.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Medicines That Contain Protein Lipid Enzymes And Other Medicines (AREA)

Abstract

本发明实施例公开了一种家庭网关及其转发业务的方法,其中方法包括:接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。本发明实施例通过DHCP Option字段来区分LAN侧设备是要接入路由WAN口还是桥接WAN口,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口连接到WAN侧,灵活得进行业务部署。

Description

一种家庭网关及其转发业务的方法 技术领域
本发明涉及通信领域,尤其涉及一种家庭网关及其转发业务的方法。
背景技术
如图1所示,在家庭网关(Residential Gateway,RG)上有多个广域网(Wide Area Network,WAN)口以及局域网(Local Area Network,LAN)口,不同的WAN口通常表示不同的业务,如IPTV(Internet Protocol Television,网络协议电视)、HSI(High Speed Internet,高速网络)、VoIP(Voice over Internet Protocol,网络电话)等,不同的LAN口下可能下挂不同的设备。为了保证这些设备的数据流能够从对应的WAN口出去以使对应的业务正常执行,目前有两种方案,一种是LAN&WAN绑定方案(也称端口绑定),LAN侧设备只能连接特定的LAN口才能正常的访问WAN侧的服务。另一种是任意端口任意服务(Any Port Any Service,APAS)方案,如图2所示,常见的方式是LAN口下挂设备通过动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)获取IP(Internet Protocol,网络协议)地址,并携带和业务类型相关的DHCP option字段,RG通过识别这些设备的DHCP option字段,给这些设备分配特定段的私网IP,通过区分这些不同段的私网IP,配置源IP策略路由,选择路由WAN口。由于只能选择路由WAN口,导致应用场景受限。
发明内容
本发明实施例提供了一种家庭网关及其转发业务的方法,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口。
第一方面,本发明的实施例提供了一种家庭网关转发业务的方法,家庭网关接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所 述请求的业务;然后,家庭网关根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;最后,家庭网关通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
在一个可能的设计中,所述根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口包括:所述值标识的业务对应的是桥接WAN口,则所述家庭网关从所述桥接WAN口转发所述DHCP发现报文给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系。所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备。所述家庭网关接收所述LAN侧设备发送的DHCP请求报文,所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。
在一个可能的设计中,所述通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路包括:将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;所述家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口包括:所述值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
在一个可能的设计中,所述通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路包括:所述家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
另一方面,本发明的实施例提供一种家庭网关,该家庭网关包括:LAN口、路由WAN口、DHCP服务器和桥接WAN口,LAN侧设备通过所述LAN口连接到所述家庭网关,所述家庭网关接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
在一个可能的设计中,所述值标识的业务对应的是桥接WAN口,则所述家庭网关从所述桥接WAN口转发所述DHCP发现报文给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系;所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备;所述家庭网关接收所述LAN侧设备发送的DHCP请求报文,所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。
在一个可能的设计中,所述家庭网关将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;所述家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
在一个可能的设计中,所述家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
再一方面,本发明的实施例提供一种通信装置,该通信装置包括处理器、 存储器和总线系统,所述处理器和所述存储器通过该总线系统相连,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,
其中,所述处理器用于:接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
在一个可能的设计中,所述处理器具体用于:接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
在一个可能的设计中,所述处理器具体用于:将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述处理器具体用于:所述值标识的业务对应的是路由WAN口,则为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
在一个可能的设计中,所述处理器具体用于:查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
在一个可能的设计中,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
根据本发明实施例提供的技术方案,本发明实施例通过DHCP Option字段来区分LAN侧设备是要接入路由WAN口还是桥接WAN口,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口,灵活的进行业务部署。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种家庭网关示意图;
图2为现有技术中任意端口任意服务(Any port any service,APAS)方案流程图;
图3为本发明实施例公开的一种家庭网关业务转发方法流程图;
图4为本发明实施例公开的一种家庭网关业务转发方法流程图;
图5为本发明实施例公开的一种LAN侧设备应用场景图;
图6为本发明实施例公开的一种通信装置示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
为了解决现有技术家庭网关LAN侧设备通过动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)获取IP地址时,只能选择路由WAN口,应用场景受限。本发明实施例基于图1A或图1B所示的通信系统中提出了一种解决方案,针对DHCP option字段来区分终LAN侧设备需要接入的WAN,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口。
本实施例中的家庭网关可以是无线路由器网关、数字机顶盒网关,PC家庭网关,数字用户线(DSL)路由器网关,VOIP宽带接入网关,有线多媒体网关。LAN侧设备包括但不局限于:手持设备、车载设备、可穿戴设备、计算设备、终端(terminal),终端设备(terminal equipment),还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、 膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端等。
如图1所示,本发明公开了一种家庭网关,该家庭网关同时具备LAN口和WAN口,其中WAN口包括两种不同类型的WAN口:路由WAN口和桥接WAN口,路由WAN口的个数和桥接WAN口的个数根据实际需求而定。对于路由WAN口来说,家庭网关具有对应的DHCP服务器,对于桥接WAN口来说,DHCP服务器是独立的,家庭网关不具有对应的DHCP服务器。LAN侧设备通过所述LAN口连接到所述家庭网关,所述家庭网关接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器(BRAS,Broadband Remote Access Server)建立链路。
需要说明的是,对于DHCP发现报文而言,每一个DHCP发现报文包括任意多个DHCP Option字段,少则一个,多则不限制,比如DHCP Option 60字段、DHCP Option 77字段、DHCP Option 15字段、DHCP Option 16字段等等。优选的,本发明实施例中指定DHCP Option 60字段,即选择DHCP Option 60字段的值,标识LAN侧设备请求的业务。家庭网关根据所述DHCP Option 60字段的值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口,然后家庭网关通过选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。LAN侧设备连接到宽带接入服务器进行业务交互。
对于业务类型,可以包括网络电话、视频点播、有线电视、高速上网等等不同的业务类型。
针对图1以及本发明实施例公开的家庭网关,一种场景是,所述值标识的业务对应的是桥接WAN口,则所述家庭网关从所述桥接WAN口转发所述DHCP发现报文(DHCP discover)给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系。家庭网关根据所述LAN侧设备的源MAC地址和 桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备。家庭网关接收所述LAN侧设备发送的DHCP请求报文(DHCP request),家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。进一步的,家庭网关将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文(DHCP ack)。家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备。LAN侧设备检查DHCP服务器(DHCP server)分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
另一种场景是:DHCP Option字段的值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。接着,家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
本发明实施例通过DHCP Option字段来区分LAN侧设备是要接入路由WAN口还是桥接WAN口,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口连接到WAN侧,灵活得进行业务部署。
如图3所示,针对图1所示的家庭网关本发明实施例公开了一种转发业务的方法,包括步骤:
步骤301:家庭网关接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;
步骤302:家庭网关根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口。
以DHCP Option 60字段举例说明,一种方式是DHCP发现报文携带DHCP Option 60字符串“STB”,家庭网关通过查找字符串不同值对应的业务关系数据库,查找得知“STB”代表视频点播业务,家庭网关根据上网业务与路由WAN口或者桥接WAN口之间的对应关系,选择路由WAN口。LAN侧设备通过路由WAN口连接到宽带接入服务器。另一种方式是DHCP发现报文携带DHCP Option 60字符串“VOIP”,家庭网关通过查找符串不同值对应的业务关系数 据库,查找得知“VOIP”代表网络电话业务,家庭网关根据网络电话业务与路由WAN口或者桥接WAN口之间的对应关系,选择桥接WAN口。
步骤303:家庭网关通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
针对上述步骤302和303,一种场景是,如图4所示,分别以两种LAN侧设备,设备A(Device A)和设备B(Device A)分别访问不同的业务举例说明,如图中所示,对于设备A来说,请求的业务对应路由WAN口,则家庭网关为设备A分配私网IP地址,设备A根据IP地址访问家庭网关。家庭网关查询本地路由表,根据源IP策略路由选择路由WAN口,设备A通过路由WAN口连接到宽带接入服务器。当然,设备A(Device A)和设备B(Device A)也可以是支持不同业务的同一设备。
针对上述步骤302和303,另一种场景是,如图4所示,对于设备B来说,请求的业务对应桥接WAN口,则家庭网关从桥接WAN口转发所述DHCP发现报文给宽带接入服务器,家庭网关接收宽带接入服务器返回的DHCP Offer响应报文,记录设备B的源MAC地址和桥接WAN口的绑定关系。家庭网关根据设备B的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将DHCP Offer响应报文通过对应的LAN口发送给LAN侧设备。家庭网关接收LAN侧设备发送的DHCP请求报文,家庭网关根据设备B的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。进一步的,家庭网关将DHCP请求报文通过WAN口发送给宽带接入服务器,然后接收所述宽带接入服务器返回的DHCP确认响应报文。家庭网关通过LAN口将所述DHCP确认响应报文发送给设备B。设备B检查DHCP服务器分配的公网IP地址是否可以使用,如果可以使用,则设备B根据所述公网IP通过对应的桥接WAN口连接到宽带接入服务器。
本发明实施例通过DHCP Option字段来区分LAN侧设备是要接入路由WAN口还是桥接WAN口,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口连接到WAN侧,灵活得进行业务部署。
下面结合图4,以图5智能网络机顶盒(Set Top Box,STB)通过家庭网关连接业务举例说明,如图5中所示,智能机顶盒通过LAN2口连接到家庭网关,智能机顶盒(STB)向家庭网关广播DHCP发现报文,一种情况是,DHCP发现报文携带有特定的DHCP Option 60字符串,比如是“STB”,家庭网关通 过查找字符串不同值对应的业务关系数据库,查找得知“STB”代表视频点播业务,家庭网关根据上网业务与路由WAN口或者桥接WAN口之间的对应关系,选择路由WAN口。进一步,家庭网关为设备A分配私网IP地址,设备A根据IP地址访问家庭网关。家庭网关查询本地路由表,根据源IP策略路由选择路由WAN口,设备A通过路由WAN口连接到宽带接入服务器。
还一种情况是,DHCP发现报文携带有特定的DHCP Option 60字符串,比如是“VOIP”,家庭网关通过查找符串不同值对应的业务关系数据库,查找得知“VOIP”代表网络电话业务,家庭网关根据网络电话业务与路由WAN口或者桥接WAN口之间的对应关系,选择桥接WAN口。进一步,家庭网关从桥接WAN口转发所述DHCP发现报文给宽带接入服务器,家庭网关接收宽带接入服务器返回的DHCP Offer响应报文,记录设备B的源MAC地址和桥接WAN口的绑定关系。家庭网关根据设备B的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将DHCP Offer响应报文通过对应的LAN口发送给LAN侧设备。家庭网关接收LAN侧设备发送的DHCP请求报文,家庭网关根据设备B的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。进一步的,家庭网关将DHCP请求报文通过WAN口发送给宽带接入服务器,然后接收所述宽带接入服务器返回的DHCP确认响应报文。家庭网关通过LAN口将所述DHCP确认响应报文发送给设备B。设备B检查DHCP服务器分配的公网IP地址是否可以使用,如果可以使用,则设备B根据所述公网IP通过对应的桥接WAN口连接到宽带接入服务器。
如图6所示,本发明还公开了一种通信装置,包括处理器601、存储器602和总线系统603,所述处理器601和所述存储器602通过该总线系统503相连,所述存储器602用于存储指令,所述处理器用于执行所述存储器602存储的指令,
其中,所述处理器601用于:接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
一种场景是,所述值标识的业务对应的是桥接WAN口,则所述家庭网关 从所述桥接WAN口转发所述DHCP发现报文(DHCP discover)给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系。家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备。家庭网关接收所述LAN侧设备发送的DHCP请求报文(DHCP request),家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。进一步的,家庭网关将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文(DHCP ack)。家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备。LAN侧设备检查DHCP服务器(DHCP server)分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
另一种场景是:DHCP Option字段的值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。接着,家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
本发明实施例通过DHCP Option字段来区分LAN侧设备是要接入路由WAN口还是桥接WAN口,实现家庭网关LAN侧设备灵活选择路由WAN口或桥接WAN口连接到WAN侧,灵活得进行业务部署。
为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (18)

  1. 一种家庭网关转发业务的方法,其特征在于,包括:
    接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;
    根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;
    通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口包括:
    所述值标识的业务对应的是桥接WAN口,则所述家庭网关从所述桥接WAN口转发所述DHCP发现报文给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系;
    所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备;
    所述家庭网关接收所述LAN侧设备发送的DHCP请求报文,所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。
  3. 根据权利要求2所述的方法,其特征在于,所述通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路包括:
    将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;
    所述家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;
    所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口包括:
    所述值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
  5. 根据权利要求4所述的方法,其特征在于,所述通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路包括:
    所述家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
  6. 根据权利要求1-5任意一项所述的方法,其特征在于,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
  7. 一种家庭网关,其特征在于,包括:LAN口、路由WAN口、DHCP服务器和桥接WAN口,LAN侧设备通过所述LAN口连接到所述家庭网关,所述家庭网关接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
  8. 根据权利要求7所述的家庭网关,其特征在于,
    所述值标识的业务对应的是桥接WAN口,则所述家庭网关从所述桥接WAN口转发所述DHCP发现报文给所述宽带接入服务器,所述家庭网关接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系;
    所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备;
    所述家庭网关接收所述LAN侧设备发送的DHCP请求报文,所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。
  9. 根据权利要求8所述的家庭网关,其特征在于,所述家庭网关将所述 DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;所述家庭网关通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
  10. 根据权利要求7所述的家庭网关,其特征在于,所述值标识的业务对应的是路由WAN口,则所述家庭网关为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
  11. 根据权利要求10所述的家庭网关,其特征在于,所述家庭网关查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
  12. 根据权利要求7-11所述的家庭网关,其特征在于,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
  13. 一种通信装置,其特征在于,包括处理器、存储器和总线系统,所述处理器和所述存储器通过该总线系统相连,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,
    其中,所述处理器用于:接收LAN侧设备发送的包括业务请求的DHCP发现报文,所述DHCP发现报文包括DHCP Option字段,所述DHCP Option字段包括一个值,所述值标识所述请求的业务;根据所述值标识的业务与路由WAN口或者桥接WAN口之间的对应关系,选择对应的路由WAN口或者桥接WAN口;通过所述选择的路由WAN口或者桥接WAN口与宽带接入服务器建立链路。
  14. 根据权利要求13所述的通信装置,其特征在于,所述处理器具体用于:
    所述值标识的业务对应的是桥接WAN口,则从所述桥接WAN口转发所述DHCP发现报文给所述宽带接入服务器,接收所述宽带接入服务器返回的DHCP Offer响应报文,记录所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系;根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的LAN口,将所述DHCP Offer响应报文通过所述LAN口发送给所述LAN侧设备;接收所述LAN侧设备发送的DHCP请求报文,所述家庭网关根据所述LAN侧设备的源MAC地址和桥接WAN口的绑定关系找到对应的桥接WAN口。
  15. 根据权利要求14所述的通信装置,其特征在于,所述处理器具体用于:
    将所述DHCP请求报文通过所述桥接WAN口发送给所述宽带接入服务器;接收所述宽带接入服务器返回的DHCP确认响应报文;通过所述LAN口将所述DHCP确认响应报文发送给所述LAN侧设备;所述LAN侧设备检查DHCP服务器分配的公网IP地址可以使用,所述LAN侧设备根据所述公网IP通过对应的桥接WAN口连接到所述宽带接入服务器。
  16. 根据权利要求13所述的通信装置,其特征在于,所述处理器具体用于:
    所述值标识的业务对应的是路由WAN口,则为所述LAN侧设备分配私网IP地址,所述LAN侧设备根据所述IP地址访问所述家庭网关。
  17. 根据权利要求16所述的通信装置,其特征在于,所述处理器具体用于:
    查询本地路由表,根据源IP策略路由选择对应的路由WAN口,所述LAN侧设备通过所述对应的路由WAN口连接到所述宽带接入服务器。
  18. 根据权利要求13-17任意一项所述的通信装置,其特征在于,所述DHCP Option字段的一个值为DHCP Option 60字段的值。
PCT/CN2016/082374 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法 WO2017197582A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP16901967.6A EP3461226B1 (en) 2016-05-17 2016-05-17 Home gateway and forwarding service method thereof
CN202110896281.3A CN113794609B (zh) 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法
CN201680085851.8A CN109156046B (zh) 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法
HRP20221065TT HRP20221065T1 (hr) 2016-05-17 2016-05-17 Rezidencijalni pristupnik i postupak njegove usluge prosljeđivanja
PCT/CN2016/082374 WO2017197582A1 (zh) 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/082374 WO2017197582A1 (zh) 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法

Publications (1)

Publication Number Publication Date
WO2017197582A1 true WO2017197582A1 (zh) 2017-11-23

Family

ID=60324635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082374 WO2017197582A1 (zh) 2016-05-17 2016-05-17 一种家庭网关及其转发业务的方法

Country Status (4)

Country Link
EP (1) EP3461226B1 (zh)
CN (2) CN109156046B (zh)
HR (1) HRP20221065T1 (zh)
WO (1) WO2017197582A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350845B (zh) * 2019-08-09 2022-05-17 华为技术有限公司 广域网口配置方法、网络设备及计算机可读存储介质
CN110417603B (zh) * 2019-08-12 2022-09-23 上海市共进通信技术有限公司 基于pon上行家庭网关实现多wan连接业务处理的方法及其系统
CN114245226A (zh) * 2020-09-09 2022-03-25 中兴通讯股份有限公司 组播节目接收方法、管理方法、机顶盒、管理设备和介质
EP4206940A4 (en) * 2020-10-06 2024-01-24 Mitsubishi Electric Corporation CONTROL SYSTEM, SERVER, TERMINAL DEVICE, CONTROL DEVICE, COMMUNICATION CONTROL METHOD AND PROGRAM
CN112351344A (zh) * 2020-10-29 2021-02-09 成都长虹网络科技有限责任公司 家庭网关并行提供Internet和IPTV访问的方法及系统
CN112437355B (zh) * 2020-11-23 2022-07-01 深圳市友华软件科技有限公司 三层组播的实现方法及系统
CN113630480B (zh) * 2021-08-05 2024-02-09 芯河半导体科技(无锡)有限公司 一种实现多条上网通道dns数据隔离的方法
CN114024939A (zh) * 2021-11-24 2022-02-08 深圳市共进电子股份有限公司 网络地址分配方法、装置及路由器
CN114205192A (zh) * 2021-12-16 2022-03-18 青岛海信宽带多媒体技术有限公司 一种网关设备和网关通信方法
CN115460030B (zh) * 2022-08-03 2024-01-26 深圳市华迅光通信有限公司 融合网关及其数据处理方法、设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060280189A1 (en) * 2005-06-13 2006-12-14 Mcrae Matthew Residential gateway discovery
CN102316453A (zh) * 2011-08-31 2012-01-11 杭州华三通信技术有限公司 无线接入方法及设备
CN102480476A (zh) * 2010-11-30 2012-05-30 上海博路信息技术有限公司 一种基于dhcp协议扩展的多业务访问方法
CN104994113A (zh) * 2015-07-23 2015-10-21 上海斐讯数据通信技术有限公司 一种adsl无线路由器及使用该路由器在桥接模式下实现强制门户的方法和系统
US20160094488A1 (en) * 2014-09-30 2016-03-31 Arris Enterprises, Inc. Bridging Based Upon Media Access Control Address

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1892883A1 (en) * 2006-08-23 2008-02-27 Thomson Telecom Belgium Method and device for identifying and selecting an interface to access a network
US8458303B2 (en) * 2010-07-12 2013-06-04 Cisco Technology, Inc. Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
FR2983669B1 (fr) * 2011-12-05 2014-06-13 Sagemcom Broadband Sas Passerelle adaptee pour la vod
US9654377B2 (en) * 2014-01-30 2017-05-16 Thomson Licensing Per port ethernet packet processing mode by device type
US9521033B2 (en) * 2014-02-23 2016-12-13 Telefonaktiebolaget L M Ericsson (Publ) IPoE dual-stack subscriber for bridged residential gateway configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060280189A1 (en) * 2005-06-13 2006-12-14 Mcrae Matthew Residential gateway discovery
CN102480476A (zh) * 2010-11-30 2012-05-30 上海博路信息技术有限公司 一种基于dhcp协议扩展的多业务访问方法
CN102316453A (zh) * 2011-08-31 2012-01-11 杭州华三通信技术有限公司 无线接入方法及设备
US20160094488A1 (en) * 2014-09-30 2016-03-31 Arris Enterprises, Inc. Bridging Based Upon Media Access Control Address
CN104994113A (zh) * 2015-07-23 2015-10-21 上海斐讯数据通信技术有限公司 一种adsl无线路由器及使用该路由器在桥接模式下实现强制门户的方法和系统

Also Published As

Publication number Publication date
EP3461226A1 (en) 2019-03-27
CN109156046B (zh) 2021-08-13
HRP20221065T1 (hr) 2022-11-25
CN113794609B (zh) 2023-08-22
CN113794609A (zh) 2021-12-14
CN109156046A (zh) 2019-01-04
EP3461226A4 (en) 2019-03-27
EP3461226B1 (en) 2022-07-27

Similar Documents

Publication Publication Date Title
WO2017197582A1 (zh) 一种家庭网关及其转发业务的方法
CN102484639B (zh) 用于多个nat64环境的方法和主机节点
US8650312B2 (en) Connection establishing management methods for use in a network system and network systems using the same
WO2017143859A1 (zh) 数据传输方法、网络设备以及终端
EP2901630B1 (en) Method operating in a fixed access network and user equipments
WO2016008320A1 (zh) 获取终端在网络中的标识的方法、管理网元及存储介质
US11570093B2 (en) Data transmission method, node and system
KR100469718B1 (ko) 가상 사설 네트워크에서 서버가 이동 통신 단말기로데이터를 전송하는 방법
TWI674780B (zh) 網路服務系統及網路服務方法
CN107070790B (zh) 一种路由学习方法及路由设备
US20080080486A1 (en) SYSTEM AND METHOD FOR PERFORMING LOCATION MANAGEMENT USING HOME SUBSCRIBER SERVER IN VoIP SERVICE
US20080062910A1 (en) Relay apparatus, relay method, and recording medium storing relay program
US20110069701A1 (en) Gateway and method for processing packets utilized thereby
CN112333713A (zh) 5g自组网系统、自组网方法、计算机设备及存储介质
CN114125995A (zh) 数据传输方法及装置
KR20110120651A (ko) 멀티서비스 자동 식별 방법 및 이를 이용한 멀티서비스를 제공하는 방법
JP4600154B2 (ja) 携帯通信端末および通信経路選択方法と通信経路選択プログラム
JP4331253B2 (ja) VoIPサービスシステム、呼制御サーバ、および呼制御方法
CN105979405A (zh) 访问视频设备的方法及装置
JP2003060656A (ja) 無線lanにおけるvlan構築方法、無線中継機用vlanパケット処理プログラム、無線中継機用vlanパケット処理プログラムを記録した記録媒体、vlan機能を有する無線中継機及び無線vlanシステム
WO2013023465A1 (zh) 身份位置分离与传统网络互联互通方法、ilr和asr
CN107172378A (zh) 多媒体会议系统、网守服务器及路由配置方法
US20060002375A1 (en) Communication method between communication networks
JPWO2015145953A1 (ja) 通信端末、通信方法及びプログラム
JP7397396B2 (ja) 回線接続制御装置及び回線接続制御方法

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16901967

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016901967

Country of ref document: EP

Effective date: 20181217