CN110519402A - Entity home gateway access of virtual home gateway method, equipment and system - Google Patents
Entity home gateway access of virtual home gateway method, equipment and system Download PDFInfo
- Publication number
- CN110519402A CN110519402A CN201910677045.5A CN201910677045A CN110519402A CN 110519402 A CN110519402 A CN 110519402A CN 201910677045 A CN201910677045 A CN 201910677045A CN 110519402 A CN110519402 A CN 110519402A
- Authority
- CN
- China
- Prior art keywords
- home gateway
- virtual
- entity
- dns
- virtual home
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses entity home gateway access of virtual home gateway method, equipment and systems, are related to field of communication technology, and this method includes that virtual home gateway is arranged in the server of data center, and the virtual home gateway connects with backbone network.Virtual home gateway is established to connect with the virtual network of entity home gateway.The virtual home gateway, is classified as the next-hop dns server of the entity home gateway by the DNS relay function for opening virtual home gateway and entity home gateway.The routing rule of the entity home gateway is added, the IP packet for meeting the routing rule received is forwarded to the virtual home gateway by the entity home gateway.The present invention can reduce the cost of entity home gateway adaptation virtual home gateway and improve equipment service efficiency.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to entity home gateway access of virtual home gateway method, equipment
And system.
Background technique
Home access gateway experienced SFU (Single Family Unit, the family of living alone attached most importance to simple broadband services
Unit), with family connection center attach most importance to HGU (Home Gateway Unit, home gateway unit), in value-added service
The intelligent gateway that pivot is attached most importance to, to the virtual gateway development attached most importance to complicated cloud business.
Conventional entity home gateway (pRG:Physical Residential Gateway) is answered in customization home gateway
With it is middle exist provide that new business ability is poor, upgrade cycle is long, three layers of configuration complexity and that failure rate is higher, e-learning quality is difficult etc. is all
More problems.Virtual home gateway (vRG:Virtual Residential Gateway) be by traditional pRG three-layer routing,
Network address translators (NAT:Network Address Translator), user authentication, value-added service etc. functionally move on to net
Network side, client device only retain the functions such as two layers of forwarding, tunnel encapsulation and configuration, firewall based on two layers of information.The party
Formula simplifies the configuration difficulty of client-side device, to reduce user side failure rate, avoids event caused by frequently upgrading to gateway
Barrier and hardware, software cost increase, and are conducive to e-learning quality.
At present virtual home gateway be located vCPE (virtual Customer Premise Equipment, virtually
User side equipment) and two kinds of NERG (Network Enhanced Residential Gateway), the former can be in existing family
Channel progress is overlapped on the basis of the gateway of front yard, and the latter needs entity home gateway becoming two-layer equipment.And industry is current
Tend to the vCPE form realized on the basis of existing entity family gateway equipment by superposition channel, construct virtual platform,
It is mainly used for providing value-added service, while pays close attention to the NERG form in the case where accessing net reconstructed background.
As shown in Figure 1, can be retained on existing home gateway by way of being superimposed virtual channel on existing gateway
IPTV, VOIP, TR069 business.How superposition virtual channel is constructed on existing home gateway, there is a possibility that two kinds, one kind
It is routing mode, one is bridge joint modes, wherein routing mode building is three layers of channel, current with home gateway
Internet routing WAN connection is similar, routes WAN connection equivalent to increase an Internet, and bridges what mode constructed
It is a double layer channel, can be not only realized by increasing the bridge of a band VLAN on home gateway, but also foundation can be passed through
The bridge in the tunnel Overlay of L2in L3 realizes, such as: Internet being routed WAN interface channel and (or creates difference
The routing type WAN interface channel of VLAN) as the Underlay network for establishing virtual channel, it in this way can be by broadband services from original
Internet routing WAN connection water conservancy diversion to virtual channel where connection, provide possibility to provide value-added service.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide entity home gateway access of virtual families
Gateway approach, equipment and system can reduce the cost of entity home gateway adaptation virtual home gateway and improve equipment use
Efficiency.
To achieve the above objectives, in a first aspect, the embodiment of the present invention provides entity home gateway access of virtual home gateway
Method
Virtual home gateway is set in the server of data center, and the virtual home gateway connects with backbone network;
Virtual home gateway is established to connect with the virtual network of entity home gateway;
The DNS relay function for opening virtual home gateway and entity home gateway, the virtual home gateway is classified as
The next-hop dns server of the entity home gateway;
The routing rule of the entity home gateway is added, the entity home gateway meets the routing for what is received
The IP packet of rule is forwarded to the virtual home gateway.
As a preferred embodiment, before establishing the virtual network connection, further includes:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is connected to, and the void is then established in connection
Quasi- network connection.
As a preferred embodiment, the real-time detection is heartbeat detection.
As a preferred embodiment, after the routing rule for adding the entity home gateway, further includes:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is reachable, if unreachable:
It is next-hop dns server that DNS relaying, which restores the acquired dns server of Internet routing WAN connection,;
Routing rule reverts to the routing rule before access of virtual home gateway.
As a preferred embodiment, further include: enable the DHCP Server of virtual home gateway, virtual family
Front yard gateway is hung on the network equipment distribution IP of virtual home gateway under being, and dns address is arranged.
As a preferred embodiment, further include: the DHCP Server of disabling virtual home gateway, entity man
Front yard gateway is that all-network equipment distributes IP, and dns address is arranged.
As a preferred embodiment, the virtual home gateway is set to access net central office/data center, described
Entity home gateway passes through BRAS (Broadband Remote Access Server, Broadband Remote Access Server) and virtual
Home gateway is connected, and the virtual home gateway is connected by BRAS with backbone network.
As a preferred embodiment, the virtual network connection includes vlan network connection and VXLAN
(Virtual Extensible LAN, virtual expansible local area network) network connection.
Second aspect, the embodiment of the present invention also provide a kind of routing device set on user side comprising:
Link block, for establishing the virtual home gateway for being set to the server of data center and connecting with backbone network
Virtual network connection;
The virtual home gateway is classified as described by DNS module for the DNS relay function of open entity home gateway
The next-hop dns server of entity home gateway;
Routing module, for adding the routing rule of the entity home gateway, the entity home gateway will be received
The IP packet for meeting the routing rule be forwarded to the virtual home gateway.
As a preferred embodiment, further include:
Whether detection module, the link for entity home gateway described in real-time detection to virtual home gateway are connected to, even
General rule notice link block establishes the virtual network connection, and calls the DNS module and routing module.
As a preferred embodiment, the detection module is also used to real-time detection entity home gateway to virtual family
Whether the link of front yard gateway is connected to, if not being connected to:
Notify DNS module, it is next-hop that DNS module recovery Internet, which routes the acquired dns server of WAN connection,
Dns server;
Notify routing module, routing module that routing rule is reverted to the routing rule before access of virtual home gateway.
The third aspect, the embodiment of the present invention also provide a kind of system of entity home gateway access of virtual home gateway,
Including entity home gateway and the virtual home gateway that is set in the server of data center, and the entity home gateway and
Virtual home gateway is connected by virtual network, and opens DNS relay function;
The entity home gateway is used for: the virtual home gateway is classified as to the next-hop of the entity home gateway
Dns server, and routing rule is added,
The IP packet for meeting the routing rule received is forwarded to the virtual home by the entity home gateway
Gateway;
The virtual home gateway connects with backbone network, and receives the IP packet that the entity home gateway is sent.
As a preferred embodiment, the entity home gateway is also used to:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is connected to, and the void is then established in connection
Quasi- network connection.
As a preferred embodiment, the entity home gateway is also used to:
Whether the link of real-time detection entity home gateway to virtual home gateway is reachable, if unreachable:
It is next-hop dns server that DNS relaying, which restores the acquired dns server of Internet routing WAN connection,;
Routing rule reverts to the routing rule before access of virtual home gateway.
Compared with the prior art, the advantages of the present invention are as follows:
Entity home gateway access of virtual home gateway method, equipment and system of the present invention are in the server of data center
Virtual home gateway is set, and establishes the connection of the virtual home gateway and physics home network, by configuring these gateways, is realized
The message for meeting default routing rule can be done directly forwarding by virtual home gateway, and other messages still are able to pass through
Entity home gateway works normally.This working method ensure that home gateway in original Equipment Foundations, realizes original
Network routing it is constant, according to legacy network route implementing broadband services access business it is unaffected in the case where, it is pre- to meet object
If the value-added service of routing rule can be connected by virtual network and complete value-added service access.Further, due in data
Virtual home gateway is set in the server at center and forms it and is connected with the virtual network of entity home gateway, entity home network
Pass maintain two layers, three layers it is reachable.Finally, due to the server and entity home gateway of data center where virtual home gateway
Connection increases virtual network connection newly, loses in virtual home gateway in the case where ensure that the original connection of entity home gateway is constant
Effect, cancel when, entity home gateway delete the virtual network connection link information, can be completed entity home gateway and its
Divide into the recovery setting of equipment, business.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, a letter is made to the corresponding attached drawing of embodiment below
Singly introduce, it should be apparent that, drawings in the following description are some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 be traditional-family's gateway interface, under hang standby and link structure schematic diagram;
Fig. 2 is the step flow chart of entity home gateway access of virtual home gateway embodiment of the method for the present invention;
Fig. 3 is the structural schematic diagram of entity home gateway access of virtual home gateway embodiment of the method for the present invention;
Fig. 4 is the step flow chart of another embodiment of entity home gateway access of virtual home gateway method of the present invention;
Fig. 5 is the step flow chart of another embodiment of entity home gateway access of virtual home gateway method of the present invention;
Fig. 6 is the step flow chart of another embodiment of entity home gateway access of virtual home gateway method of the present invention.
Specific embodiment
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
The embodiment of the present invention provides entity home gateway access of virtual home gateway method, equipment and system, by
Virtual home gateway is set in the server of data center, and the virtual network for establishing virtual home gateway and entity home gateway connects
It connects, and carries out the setting of DNS and routing rule, while new value-added service capable of being provided using existing device, do not influence existing
There are the connection and use of business.
To reach above-mentioned technical effect, the general thought of the application is as follows:
Virtual home gateway is set in the server of data center, and the virtual home gateway connects with backbone network;
Virtual home gateway is established to connect with the virtual network of entity home gateway;
The DNS relay function for opening virtual home gateway and entity home gateway, the virtual home gateway is classified as
The next-hop dns server of the entity home gateway;
The routing rule of the entity home gateway is added, the entity home gateway meets the routing for what is received
The IP packet of rule is forwarded to the virtual home gateway.
In conclusion the present invention can provide a user increment in the case where not influencing existing business, not newly added equipment
Business.In existing virtual home gateway approach, need the home gateway of entity becoming two-layer equipment.This scheme needs make
With new home gateway, this replacement needs manpower and physics, is inconvenient, while higher cost, and present invention setting is virtual
Home gateway guarantees the constant situation of the original network connection of entity home gateway by way of newly-increased virtual network connection
Under, additionally it is possible to by virtual network connected reference broadband connection, selected in this way or newly-increased business can pass through virtual net
Network connection provides services to the user, and working condition can still be maintained in non-selected or original business, does not need more exchange device,
It needs to be configured existing entity home gateway.
It should be noted that the entity home gateway functionalities in the embodiment of the present invention relate generally to: TR069, IPTV,
VOIP, Internet etc. be the general service that has and IN service, for DHCP Server of the invention, DNS Relay,
Netfilter function, wherein DHCP Server, DNS Relay are used to provide IP address distribution, dns resolution function,
Netfilter is for providing policybased routing function.Wherein virtual home gateway function relates generally in embodiment of the present invention:
The functions such as DHCP Server, DNS Relay, NAT, wherein DNS Relay is for providing dns resolution function, and NAT is for providing
Address translation feature.
Further, home network is planned in embodiment of the present invention selection based on VXLAN, and entity home gateway is made
For endpoint of a tunnel, the tunnel VXLAN is established with home network data center.
It should also be noted that, above-mentioned virtual home gateway is not limited to current listed single VNF (Virtual
Network Feature, virtual network function), it may be incorporated into business chain layout and other third-party VNF;And virtual family
Front yard intra-gateway is also not necessarily limited to current listed DHCP, DNS, nat feature, may be incorporated into other home business functions.We
Method, which is not limited to all DNS Request messages being unconditionally sent to virtual home gateway, to be handled, can also will according to feature
Part DNS Request message is sent to virtual home gateway and is handled.This method is not limited to using interface, port as routing
The judgement mark of rule, can also use other message characteristics as mark.This method is not limited to by the way of ARP ping
Heart beat status between maintenance entity home gateway and virtual home gateway can also use other technical maintenance entity home networks
Close the heart beat status between virtual home gateway.The isolation method of this method entity home gateway jackshaft is not limited to current
The mode of br0, br1 can be other isolation technologies.
In order to better understand the above technical scheme, being described in detail With reference to embodiment.
Shown in Figure 2, the embodiment of the present invention provides entity home gateway access of virtual home gateway method comprising:
S1: being arranged virtual home gateway in the server of data center, and the virtual home gateway connects with backbone network.
Virtual home gateway is set directly in the server of data center, rather than in the equipment of entity home gateway
Setting can reduce the burden of the equipment, reduce the influence to entity home gateway, and then reduce the influence to existing business.
Further, the virtual home gateway in the server of data center can be directly accessed backbone network, so that passing through virtual family
The business that front yard gateway is serviced can more be rapidly performed by network access.
For example, as shown in figure 3, the virtual home gateway is set to BRAS, the entity home gateway passes through BRAS
It is connected with virtual home gateway, the virtual home gateway is connected by BRAS with backbone network.
Broadband Remote Access Server (Broadband Remote Access Server, abbreviation BRAS) is towards broadband
The novel access gateway of network application, it is located at the marginal layer of backbone network, can complete the data of the IP/ATM net of user bandwidth
(current access means are based primarily upon xDSL/Cable Modem/ fast Ethernet technology (LAN)/broadband wireless data and connect for access
Enter (WLAN) etc.), it realizes the broadband access network of business premises and neighbours living, be based on IPSec (IP Security Protocol)
IP VPN service, building enterprises Intranet, support ISP to user's wholesale business etc. apply.BAS Broadband Access Server
(BRAS) two aspect functions are mainly completed, first is that network carrying function: being responsible for the PPPoE (Point-to-Point of terminating subscriber
Protocol Over Ethernet is the mode that PPP session is transmitted on a kind of Ethernet) connection, convergence user flow function
Energy;Second is that function is realized in control: being matched with Verification System, charge system and client management system and service strategy control system
Realize certification, charging and the management function of user's access;
S2: it establishes virtual home gateway and is connect with the virtual network of entity home gateway.
The present invention connects using new network in the existing network connection on existing entity home gateway, is superimposed
It connects, and is provided with is connect with the virtual network that backbone network connects in step sl, therefore, it is also desirable to further complete entity family
Gateway is connect with the virtual network of virtual home gateway, can form entity home gateway-virtual home gateway-backbone network
Network path.On the basis of the path is formed, the access of part broadband services can be realized.
As an optional embodiment, before establishing the virtual network connection, entity man described in real-time detection
Whether the link of front yard gateway to virtual home gateway is connected to, and the virtual network connection is then established in connection.
Further, it is preferable to use entity home gateway, which detects chain road by heartbeat detection, whether there is virtual home
Gateway is then actively established connect with the virtual network of virtual home gateway if it exists.After being arranged in this way, administrative staff's setting is virtual
After home gateway, corresponding entity home gateway voluntarily can carry out virtual network connection with virtual home gateway.Heartbeat inspection
Survey ensure that the periodic real-time detection of entity home gateway, and virtual network connection can be established after detecting, more convenient
Fast.
S3: opening the DNS relay function of virtual home gateway and entity home gateway, and the virtual home gateway is arranged
For the next-hop dns server of the entity home gateway.
After the connection for completing virtual home gateway and entity home gateway, need that routing rule is arranged, so that entity family
" position " of gateway " understanding " virtual home gateway.Therefore, it is necessary to open DNS in virtual home gateway and entity home gateway
Relay function, and the next-hop that entity home gateway is arranged is virtual home gateway.In this way when entity home gateway needs to carry out
When dns resolution, access, it can directly pass through the dns server in virtual home gateway access backbone network.Preferably, institute
State virtual network connection and include that vlan network connection is connected to the network with VXLAN, but establish mode be not limited to it is current listed
VXLAN, VLAN can also be other L2in L3 tunneling techniques.
As a preferred embodiment, the DHCP Server of virtual home gateway is enabled, under virtual home gateway is
It is hung on the network equipment distribution IP of virtual home gateway, and dns address is set.
For example, when virtual home gateway enables DHCP Server, (BBF TR-317 specification is defined, this hair
It is bright not to be unfolded), LAN interface and VLAN interface or tunnel interface can be placed in a bridged link, lower extension device address is by void
DHCP Server distribution in quasi- home gateway, the DNS Server/Gateway got are set as 129.168.1.253/
254, on bound port under hang standby all messages and pass through virtual home gateway and be forwarded, on other ports under
It hangs for original channel on entity home gateway is walked.
As another preferred embodiment, the DHCP Server of virtual home gateway is disabled, entity home gateway is institute
There is the network equipment to distribute IP, and dns address is set.
For example, when virtual home gateway disables DHCP Server, VLAN interface or tunnel interface are placed on pRG's
In default bridge (such as: br0) (this hang between standby at present two layers reachable), lower extension device address is by the DHCP in entity home gateway
Server distribution, dns/gateway are set as 192.168.1.1, and DNS message and IP packet first pass through entity home gateway, by
Entity home gateway is responsible for forwarding, this hang between standby at present three layers it is reachable.
S4: adding the routing rule of the entity home gateway, and the entity home gateway is described by meeting for receiving
The IP packet of routing rule is forwarded to the virtual home gateway.
The present invention enables to newly-increased business or selected business to directly access network by virtual home gateway.It is complete
After connection at virtual home gateway and entity home gateway, routing rule is set on entity home gateway, meets the routing
The IP packet of rule can be forwarded from virtual home gateway.I.e., it is possible to be arranged in routing rule, newly-increased business or specified services
Deng selected business, the message issued can be forwarded from virtual home gateway by entity home gateway and access interconnection
Net.
As shown in figure 4, as a preferred embodiment, after the routing rule for adding the entity home gateway,
Further include:
A1: whether the link of entity home gateway described in real-time detection to virtual home gateway is reachable, if unreachable:
It is next-hop dns server that A2:DNS relaying, which restores the acquired dns server of Internet routing WAN connection,;
A3: routing rule reverts to the routing rule before access of virtual home gateway.
After the embodiment can guarantee that user no longer needs corresponding business, setting is voluntarily released, or in virtual home
After gateway breaks down, the business under home gateway still is able to operate normally by the access of original link.Work as user first
Cancel corresponding business, mistake occur in the corresponding virtual home gateway of operator's closing or virtual home gateway can not be normal
Operation.It is unreachable to the link of virtual home gateway for entity home gateway real-time detection, at this time by DNS and routing rule
Restore that the state before virtual home gateway is added, so that entity home gateway still is able to run in the way of before,
Upper business can also be run by original network connection.
For example, as shown in figure 5, the configuration process of entity home gateway is as follows when access is superimposed virtual channel:
Step 101, the business such as existing TR069, VOIP, IPTV, Internet are normal on entity home gateway, under hang
The standby DHCP Server by entity home gateway obtains IP address, Gateway (such as: 192.168.1.1), DNS
Server (such as: 192.168.1.1);
Step 102, after opening virtual service, virtual home gateway will be initialised, complete DNS Relay, NAT and its
The configuration of its network function, and establish the double layer channel with entity home gateway;
Step 103, entity home gateway establish with after the double layer channel of virtual home gateway, entity home gateway (such as:
192.168.1.1 unlatching arrives the heartbeat inspecting of virtual home gateway (such as: 192.168.1.254/253) (such as: ARP on)
ping);
Step 104, when between entity home gateway and virtual home gateway link up to when, on entity home gateway more
New rule:
The DNS Relay on virtual home gateway is classified as first DNS Server (such as: will in DNS Relay
192.168.1.253 be set as/etc/resolv.conf in first);
Be arranged routing rule, legal message by policybased routing to physical virtual gateway (such as:
192.168.1.254), remaining message will walk default route (such as: will stamp from wlan0 mouthfuls of message using ebtables
Mark, the message using iptables by destination port for 8080 TCP stamp mark, and the message for stamping mark will pass through vRG
It is routed);
Step 105, entity home gateway is received hangs standby data message under, and is handled and turned according to rule
Hair;
Step 106, when link is unreachable between entity home gateway and virtual home gateway, on entity home gateway
Update rule:
Restoring the acquired DNS Server of Internet routing WAN connection in DNS Relay is first DNS
Server;
Routing rule is deleted, all messages restore to walk default route;
Step 107, entity home gateway receives and hangs standby data message under, and is carried out according to updated rule
Processing and forwarding.
By the above method and implement to be able to solve entity home gateway to be smoothly linked into while retaining existing network service
The problem of virtual home gateway, simultaneously as the introducing of the business framework of virtual home gateway, provides for subsequent development new business
Guarantee and possibility.
Further, specifically, three kinds of messages can be divided into inside entity home gateway: DNS request, IP packet and its
His message.Wherein DNS message needs the dns server in gateway to be handled, and in this application, DNS message first passes around DNS
The gateway that Relay is opened is forwarded, and is forwarded from dns server;Further, IP packet is then by inquiring road in the application
It is legal by virtual home gateway access internet by table, be not inconsistent normally then by entity home gateway, according to
Original path access.It for other messages, is then handled in such a way that those skilled in the art note, the present invention is herein not
It does and is unfolded.
For example, as shown in fig. 6, DNS repeating process is as follows inside entity home gateway:
Step 201, entity home gateway is received hangs standby data message under, if the message is DNS message,
Go to step 202;If the message is IP packet, 206 are gone to step;If it is other messages, 210 are gone to step;
Step 202, the DNS Relay on entity home gateway receives DNS Request message;If in DNS Relay
First DNS Server is the address DNS Relay (such as: 192.168.1.253) in virtual home gateway, then turns 204;Such as
First DNS Server is the DNS Server acquired by Internet routing WAN connection in fruit DNS Relay, then turns
205;
Step 203, DNS Request will be sent to virtual home gateway by entity home gateway, by virtual home gateway
DNS Relay the DNS Request is further processed;
Step 204, DNS Request will be sent to acquired in Internet routing WAN connection by entity home gateway
DNS Server, is further processed;
Step 205, entity home gateway receives the IP packet for being not intended for the machine (such as: 192.168.1.1), query routing
Table;
Step 206, it if message is labeled with mark, and is then gone to step for the mark there are effective routing rule
208, otherwise go to step 209;
Step 207, IP packet is sent to virtual home gateway (192.168.1.254), and by virtual home gateway do into
The processing of one step;
Step 208, IP packet is sent to destination address by Internet routing WAN connection;
Step 209, it is handled in the way of defaulting in entity home gateway.
It should be noted that all DNS Request message defaults are sent to virtual family in above-mentioned entity home gateway
Front yard gateway is handled, when virtual home gateway is unreachable, according to the configuration method of step 106 in a upper example, DNS
Request message handles automatic fall-back to by the acquired DNS Server of Internet routing WAN connection.Entity man
Legal feature message default is sent to virtual home gateway in the gateway of front yard to handle, when virtual home gateway is unreachable
When, according to the configuration of step 106 in a upper example, such message by automatic fall-back to by Internet routing WAN connect into
Row processing.
IP is distributed by the network equipment that virtual home gateway is lower extension and virtual home gateway, and DNS network address is set.This
Inventive embodiments also provide a kind of routing device set on user side, characterized in that it comprises:
Link block, for establishing the virtual home gateway for being set to the server of data center and connecting with backbone network
Virtual network connection;
The virtual home gateway is classified as described by DNS module for the DNS relay function of open entity home gateway
The next-hop dns server of entity home gateway;
Routing module, for adding the routing rule of the entity home gateway, the entity home gateway will be received
The IP packet for meeting the routing rule be forwarded to the virtual home gateway.
By the routing device, new virtual network can be directly established on the basis of existing family gateway equipment
Connection provides network connection for selected, newly-increased business, i.e., is not increasing new equipment, do not changing existing entity man on a large scale
In the case that front yard gateway configures, it will be able to be configured, very simple and efficiently is and at low cost.
Further, the routing device further include:
Whether detection module, the link for entity home gateway described in real-time detection to virtual home gateway are connected to, even
General rule notice link block establishes the virtual network connection, and calls the DNS module and routing module.
It by examinations, and calls, after capable of guaranteeing operator's starting virtual home gateway, user side can be certainly
Row completes connection and setting work, it is no longer necessary to additionally send related personnel to carry out detailed configuration into user family, operator is only
It needs to manage the unlatching of virtual home gateway, can realize the management to newly-increased or selected business, it is very convenient.
Further, the detection module be also used to real-time detection entity home gateway to virtual home gateway link whether
Connection, if not being connected to:
Notify DNS module, it is next-hop that DNS module recovery Internet, which routes the acquired dns server of WAN connection,
Dns server;
Notify routing module, routing module that routing rule is reverted to the routing rule before access of virtual home gateway.
When user no longer needs corresponding virtual home gateway or operator to need to close corresponding virtual home gateway
When, also no longer need to send related personnel to carry out recovery setting into user family, detection module detect it is unreachable it
Afterwards, entity home gateway can be about to certainly and is configured to the initial state for being not added with virtual home gateway.
The embodiment of the present invention also provides a kind of system of entity home gateway access of virtual home gateway comprising:
Entity home gateway and the virtual home gateway being set in the server of data center, and the entity home network
Pass is connected with virtual home gateway by virtual network, and opens DNS relay function;
The entity home gateway is used for: the virtual home gateway is classified as to the next-hop of the entity home gateway
Dns server, and add routing rule;
The IP packet for meeting the routing rule received is forwarded to the virtual home by the entity home gateway
Gateway;
The virtual home gateway connects with backbone network, and receives the IP packet that the entity home gateway is sent.
The system that various change mode and specific example in preceding method embodiment are equally applicable to the present embodiment, passes through
The detailed description of preceding method, those skilled in the art are clear that the implementation method of system in the present embodiment, so
In order to illustrate the succinct of book, this will not be detailed here.
On the whole, entity home gateway access of virtual home gateway method provided in an embodiment of the present invention, equipment and it is
System establishes virtual home gateway and entity home gateway by the way that virtual home gateway is arranged in the server of data center
Virtual network connection, and the setting of DNS and routing rule is carried out, compared to traditional technology etc., existing device can be utilized
While new value-added service is provided, the connection and use of existing business are not influenced.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of method of entity home gateway access of virtual home gateway, characterized in that it comprises:
Virtual home gateway is set in the server of data center, and the virtual home gateway connects with backbone network;
Virtual home gateway is established to connect with the virtual network of entity home gateway;
The virtual home gateway is classified as described by the DNS relay function for opening virtual home gateway and entity home gateway
The next-hop dns server of entity home gateway;
The routing rule of the entity home gateway is added, the entity home gateway meets the routing rule for what is received
IP packet be forwarded to the virtual home gateway.
2. the method as described in claim 1, which is characterized in that before establishing the virtual network connection, further includes:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is connected to, and the virtual net is then established in connection
Network connection.
3. method according to claim 2, it is characterised in that: the real-time detection is heartbeat detection.
4. the method as described in claim 1, which is characterized in that after the routing rule for adding the entity home gateway, also
Include:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is reachable, if unreachable:
It is next-hop dns server that DNS relaying, which restores the acquired dns server of Internet routing WAN connection,;
Routing rule reverts to the routing rule before access of virtual home gateway.
5. the method as described in claim 1, which is characterized in that its further include: enable the DHCP of virtual home gateway
Server, virtual home gateway are hung on the network equipment distribution IP of virtual home gateway under being, and dns address is arranged.
6. the method as described in claim 1, which is characterized in that its further include: the DHCP of disabling virtual home gateway
Server, entity home gateway are that all-network equipment distributes IP, and dns address is arranged.
7. the method as described in claim 1, it is characterised in that: the virtual home gateway is set to access net central office/data
Center, the entity home gateway are connected by BRAS with virtual home gateway, and the virtual home gateway passes through BRAS and bone
Dry net is connected.
8. the method as described in claim 1, it is characterised in that: virtual network connection include vlan network connection with
VXLAN network connection.
9. a kind of routing device set on user side, characterized in that it comprises:
Link block, for establishing the void of virtual home gateway for being set to the server of data center and connecting with backbone network
Quasi- network connection;
The virtual home gateway is classified as the entity for the DNS relay function of open entity home gateway by DNS module
The next-hop dns server of home gateway;
Routing module, for adding the routing rule of the entity home gateway, the symbol that the entity home gateway will receive
The IP packet for closing the routing rule is forwarded to the virtual home gateway.
10. routing device as claimed in claim 9, which is characterized in that its further include:
Whether detection module, the link for entity home gateway described in real-time detection to virtual home gateway are connected to, and connection is then
Notice link block establishes the virtual network connection, and calls the DNS module and routing module.
11. routing device as claimed in claim 10, it is characterised in that:
The detection module is also used to whether real-time detection entity home gateway is connected to the link of virtual home gateway, if not connecting
General rule:
Notify DNS module, DNS module recovery Internet routes the acquired dns server of WAN connection as next-hop DNS clothes
Business device;
Notify routing module, routing module that routing rule is reverted to the routing rule before access of virtual home gateway.
12. a kind of system of entity home gateway access of virtual home gateway, which is characterized in that it include entity home gateway and
The virtual home gateway being set in the server of data center, and the entity home gateway and virtual home gateway pass through void
Quasi- network connection, and open DNS relay function;
The entity home gateway is used for: the next-hop DNS that the virtual home gateway is classified as the entity home gateway is taken
Business device, and routing rule is added,
The IP packet for meeting the routing rule received is forwarded to the virtual home gateway by the entity home gateway;
The virtual home gateway connects with backbone network, and receives the IP packet that the entity home gateway is sent.
13. system as claimed in claim 12, which is characterized in that the entity home gateway is also used to:
Whether the link of entity home gateway described in real-time detection to virtual home gateway is connected to, and the virtual net is then established in connection
Network connection.
14. system as claimed in claim 13, which is characterized in that the entity home gateway is also used to:
Whether the link of real-time detection entity home gateway to virtual home gateway is reachable, if unreachable:
It is next-hop dns server that DNS relaying, which restores the acquired dns server of Internet routing WAN connection,;
Routing rule reverts to the routing rule before access of virtual home gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677045.5A CN110519402B (en) | 2019-07-25 | 2019-07-25 | Method, device and system for accessing entity home gateway to virtual home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677045.5A CN110519402B (en) | 2019-07-25 | 2019-07-25 | Method, device and system for accessing entity home gateway to virtual home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110519402A true CN110519402A (en) | 2019-11-29 |
CN110519402B CN110519402B (en) | 2022-03-08 |
Family
ID=68623572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910677045.5A Active CN110519402B (en) | 2019-07-25 | 2019-07-25 | Method, device and system for accessing entity home gateway to virtual home gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519402B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262762A (en) * | 2020-01-20 | 2020-06-09 | 烽火通信科技股份有限公司 | vCPE tenant-based SFC service chain multi-WAN service realization method and system |
CN111314112A (en) * | 2020-01-19 | 2020-06-19 | 烽火通信科技股份有限公司 | Service acceleration method and system based on home gateway |
CN113472668A (en) * | 2021-07-26 | 2021-10-01 | 支付宝(杭州)信息技术有限公司 | Routing method and system in multi-party security computing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082979A (en) * | 2011-01-28 | 2011-06-01 | 中兴通讯股份有限公司 | Method and device for realizing home gateway function in passive optical network (PON) |
CN102217245A (en) * | 2011-05-24 | 2011-10-12 | 华为技术有限公司 | A method for processing message and a device thereof |
CN103701628A (en) * | 2013-10-12 | 2014-04-02 | 华为技术有限公司 | Home gateway configuration management method, virtual home gateway and optical network terminal |
CN107770010A (en) * | 2017-09-29 | 2018-03-06 | 烽火通信科技股份有限公司 | A kind of home intranet method and home networking system based on OpenFlow |
CN109861899A (en) * | 2019-01-30 | 2019-06-07 | 烽火通信科技股份有限公司 | Virtual home gateway and implementation method, home network center and data processing method |
-
2019
- 2019-07-25 CN CN201910677045.5A patent/CN110519402B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082979A (en) * | 2011-01-28 | 2011-06-01 | 中兴通讯股份有限公司 | Method and device for realizing home gateway function in passive optical network (PON) |
CN102217245A (en) * | 2011-05-24 | 2011-10-12 | 华为技术有限公司 | A method for processing message and a device thereof |
CN103701628A (en) * | 2013-10-12 | 2014-04-02 | 华为技术有限公司 | Home gateway configuration management method, virtual home gateway and optical network terminal |
CN107770010A (en) * | 2017-09-29 | 2018-03-06 | 烽火通信科技股份有限公司 | A kind of home intranet method and home networking system based on OpenFlow |
CN109861899A (en) * | 2019-01-30 | 2019-06-07 | 烽火通信科技股份有限公司 | Virtual home gateway and implementation method, home network center and data processing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314112A (en) * | 2020-01-19 | 2020-06-19 | 烽火通信科技股份有限公司 | Service acceleration method and system based on home gateway |
CN111262762A (en) * | 2020-01-20 | 2020-06-09 | 烽火通信科技股份有限公司 | vCPE tenant-based SFC service chain multi-WAN service realization method and system |
CN111262762B (en) * | 2020-01-20 | 2021-08-03 | 烽火通信科技股份有限公司 | vCPE tenant-based SFC service chain multi-WAN service realization method and system |
CN113472668A (en) * | 2021-07-26 | 2021-10-01 | 支付宝(杭州)信息技术有限公司 | Routing method and system in multi-party security computing |
CN113472668B (en) * | 2021-07-26 | 2023-06-20 | 支付宝(杭州)信息技术有限公司 | Routing method and system in multiparty security computation |
Also Published As
Publication number | Publication date |
---|---|
CN110519402B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Soares et al. | Toward a telco cloud environment for service functions | |
US7912936B2 (en) | Managing interworking communications protocols | |
CN110519402A (en) | Entity home gateway access of virtual home gateway method, equipment and system | |
CN102577330B (en) | Apparatus, logic and method for providing a translation mechanism in a network environment | |
JP4631961B2 (en) | Virtual access router | |
Tatipamula et al. | IPv6 integration and coexistence strategies for next-generation networks | |
CN104811393B (en) | Multicast message duplication method, device and open flow controller | |
CN109309618A (en) | Next-hop selection based on service-level agreement | |
US9112869B2 (en) | Method for operating multi-domain provider ethernet networks | |
CN106341255A (en) | Intelligent wide area network (iwan) | |
CN106797324A (en) | Method and system for supporting distributed relay control protocol (DRCP) operation when mismatching and putting | |
CN108023802B (en) | Data transmission system and method | |
CN105850080A (en) | Method and system to estimate the location of a transmitting device in an (asynchronous) wireless network | |
CN108173694A (en) | The secure resources pond cut-in method and system of a kind of data center | |
CN101461198A (en) | Relay network system and terminal adapter | |
CN107241454A (en) | A kind of method for realizing address administration, device, aaa server and SDN controllers | |
CN106059881B (en) | A kind of SDN and its flow lead-in and lead-out method | |
US7715429B2 (en) | Interconnect system for supply chain management of virtual private network services | |
CN103428252B (en) | A kind of method, equipment and the system of cloud computing virtual machine (vm) migration | |
CN106105129B (en) | Topology learning method and apparatus of the Openflow network across traditional IP | |
CN117424778B (en) | Method for realizing large two-layer communication across control domain SD-WAN network | |
CN106789670A (en) | The method and device that a kind of ARP updates | |
Braham et al. | The metamorphosing network (M-Net) | |
Śliwiński et al. | PL-LAB: Polish initiative to develop laboratory infrastructure for testing Future Internet solutions | |
WO2006061547A1 (en) | Interconnect system for supply chain management of virtual private network services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |