CN112887186A - Multi-plane network access method, device and computer storage medium - Google Patents

Multi-plane network access method, device and computer storage medium Download PDF

Info

Publication number
CN112887186A
CN112887186A CN201911207578.3A CN201911207578A CN112887186A CN 112887186 A CN112887186 A CN 112887186A CN 201911207578 A CN201911207578 A CN 201911207578A CN 112887186 A CN112887186 A CN 112887186A
Authority
CN
China
Prior art keywords
plane
gateway
access
message
terminal
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
Application number
CN201911207578.3A
Other languages
Chinese (zh)
Other versions
CN112887186B (en
Inventor
王玲
王波
武云飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911207578.3A priority Critical patent/CN112887186B/en
Publication of CN112887186A publication Critical patent/CN112887186A/en
Application granted granted Critical
Publication of CN112887186B publication Critical patent/CN112887186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes

Abstract

The embodiment of the invention provides a multi-plane network access method, a device and a computer storage medium, wherein a configuration protocol request message sent by a terminal is received by a gateway, and a response message is sent to the terminal; the terminal analyzes the response message and obtains the plane identification carried in the response message, generates access address information corresponding to the plane according to the plane identification, and sends the access message carrying the access address information to the gateway; the gateway receives an access message sent by a client, analyzes and acquires access address information carried in the access message, matches the access message according to the access address information and sends the access message to a corresponding plane; in some implementations, simultaneous access to multiple planes by a terminal through any port of the gateway may be achieved.

Description

Multi-plane network access method, device and computer storage medium
Technical Field
The embodiments of the present invention relate to, but are not limited to, the field of communications technologies, and in particular, to, but not limited to, a method and an apparatus for accessing a multi-plane network, and a computer storage medium.
Background
In IPv4(Internet Protocol Version 4 ) Network era, a home gateway generally has two modes of accessing a biplane, one is a bridge routing mixed mode, in this mode, the gateway has 2 WAN (Wide Area Network) connections, one is a three-layer routing type for accessing an Internet plane, the other is a two-layer bridge for accessing an IPTV (Internet Protocol Television) plane, a user equipment acquires an intranet address from the gateway, accesses the Internet plane using the intranet address, and simultaneously acquires a large Network address from an Access Network BRAS (Broadband Remote Access Server) through the bridge WAN connection, and accesses the IPTV plane using this address; the other is a full routing mode, which is a mode that a gateway provides a binding mode based on a user side VLAN (Virtual Local Area Network), 2 routing connections are established on the gateway, the gateway is respectively accessed to an internet access plane and an IPTV plane to perform VLAN binding on the IPTV connection, the gateway performs routing and routing according to a VLAN head of a user side message, and if the message carries a specified VLAN, the message is forwarded to the IPTV plane.
However, in the IPv6(Internet Protocol Version 6, Version 6 of the Internet Protocol) network era, the network address types and the allocation techniques are complex, and if the home gateway still uses the bridge routing hybrid mode to provide access to the user equipment, when the number of the user equipment increases, the load of the access network BRAS server and the router is inevitably increased; if the full routing mode is used, the home gateway needs to design a proper method for distinguishing messages of different service types of the user equipment and sending the messages to a specified plane.
Disclosure of Invention
The multi-plane network access method and the multi-plane network access device provided by the embodiment of the invention mainly solve the technical problems that in the prior art, the burden of an access network is increased by the bi-plane access of user equipment, services can be developed only under a specified user port, and the bi-plane access of any user port cannot be realized.
To solve the foregoing technical problem, an embodiment of the present invention provides a multi-plane network access method, applied to a gateway, including:
receiving a configuration protocol request message sent by a terminal, and sending a response message to the terminal, wherein the response message carries plane identifiers of at least two planes;
receiving an access message which is sent by the terminal and corresponds to the plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated by the terminal according to the plane identifier;
and matching the access message according to the access address information and sending the access message to a corresponding plane.
The embodiment of the invention provides a multi-plane network access method, which is applied to a terminal and comprises the following steps:
initiating a configuration protocol request message to a gateway, and receiving a response message sent by the gateway, wherein the response message carries plane identifiers of at least two planes;
analyzing the response message, acquiring a plane identifier carried in the response message, and generating access address information corresponding to the plane according to the plane identifier;
and sending the access message carrying the access address information to the gateway.
An embodiment of the present invention further provides a multi-plane network access apparatus, including: the system comprises a network side address protocol module, a user side address protocol module and a matching forwarding module;
the network side address protocol module is used for connecting with at least two planes and acquiring the plane identification of the planes;
the user side address protocol module is used for receiving a configuration protocol request message sent by a terminal and sending a response message to the terminal;
the matching forwarding module is used for receiving an access message which is sent by the terminal and corresponds to the plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated by the terminal according to the plane identifier;
and the matching forwarding module is also used for matching the access message according to the access address information and sending the access message to a corresponding plane.
An embodiment of the present invention further provides a multi-plane network access apparatus, including: an address protocol module and a service module;
the address protocol module is used for initiating a configuration protocol request message to a gateway and receiving a response message sent by the gateway, wherein the response message carries plane identifiers of at least two planes;
the address protocol module is further configured to analyze the response message, acquire a plane identifier carried in the response message, and generate corresponding access address information according to the plane identifier;
and the service module is used for sending the access message carrying the access address information to the gateway.
Embodiments of the present invention also provide a computer storage medium, which stores one or more programs that are executable by one or more processors to implement the steps of the multi-plane network access method as described above.
The invention has the beneficial effects that:
according to the multi-plane network access method, the device and the computer storage medium provided by the embodiment of the invention, a configuration protocol request message sent by a terminal is received through a gateway, and a response message is sent to the terminal; the terminal analyzes the response message and obtains the plane identification carried in the response message, generates access address information corresponding to the plane according to the plane identification, and sends the access message carrying the access address information to the gateway; the gateway receives an access message sent by a user side, analyzes and acquires access address information carried in the access message, matches the access message according to the access address information and sends the access message to a corresponding plane; in some implementations, simultaneous access to multiple planes by a terminal through any port of the gateway may be achieved.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic basic flow chart of a multi-plane network access method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an IPv6 dual-plane access device according to a first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an interaction flow of the DHCPv6 address protocol between the gateway and the terminal according to the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of an option16 of a DHCPv6 message according to a first embodiment of the present invention;
fig. 5 is a schematic diagram of an option X message structure of the expanded DHCPv6 according to a first embodiment of the present invention;
fig. 6 is a schematic diagram illustrating an RS-RA address protocol interaction flow between a gateway and a terminal according to a first embodiment of the present invention;
fig. 7 is a schematic diagram of a message structure of an RS-RA address protocol ICMPv6 according to a first embodiment of the present invention;
fig. 8 is an option Y structure diagram of an extended ICMPv6 message according to a first embodiment of the present invention;
fig. 9 is a schematic view of an option Z structure of an extended ICMPv6 message according to a first embodiment of the present invention;
fig. 10 is a schematic flowchart of a gateway generating an IPTV plane source prefix forwarding table according to a first embodiment of the present invention;
fig. 11 is a schematic flowchart of a gateway according to a source address of a message sent by a terminal in an embodiment of the present invention;
fig. 12 is a flowchart illustrating a bi-plane network access method according to a second embodiment of the present invention;
fig. 13 is a flowchart illustrating an example of a bi-plane network access method according to a second embodiment of the present invention;
fig. 14 is a flowchart illustrating a biplane network access method according to a third embodiment of the present invention;
fig. 15 is a flowchart illustrating an example of a biplane network access method according to a third embodiment of the present invention;
fig. 16 is a schematic structural diagram of a multi-plane network access device according to a fourth embodiment of the present invention;
fig. 17 is a schematic structural diagram of a set top box implementing service flow distribution through a gateway according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
in order to solve the problem that the biplane access of the user equipment in the related technology can increase the burden of an access network, can only carry out services under a specified user port and cannot realize the biplane access of any user port, the embodiment of the invention provides a multi-plane network access method.
Referring to fig. 1, fig. 1 is a basic flow diagram of a multi-plane network access method provided by an embodiment of the present invention, and the specific steps are as follows:
s101, receiving a configuration protocol request message sent by a terminal, and sending a response message to the terminal, wherein the response message carries plane identifiers of at least two planes.
In the embodiment of the present invention, the terminal accesses the IPv6 network through the gateway to develop services, the bi-plane access is a common use scenario at present, and the following description specifically describes a method for providing the bi-plane access for the terminal by using the gateway as an example.
It should be understood that the terminal includes, but is not limited to, a smart set-top box, a mobile phone, a tablet computer, a notebook computer, and other user devices; the bi-plane refers to a network architecture in which an internet service plane and a video service plane are separated.
In the embodiment of the present invention, the adopted configuration protocols are two IPv6 address allocation protocols, namely, a Router Advertisement (RA) of an extended ICMPv6 and an extended DHCPv6, message interaction methods of the two protocols are different, and a biplane access mode is also different, in order to implement switching between the two modes, a terminal includes an RA client module and a DHCPv6 client module, and a gateway includes an RA service module and a DHCPv6 server module, which is specifically shown in fig. 2.
In the embodiment of the present invention, a process of a gateway interacting with a terminal through a DHCPv6 address assignment protocol, please refer to fig. 3, which specifically includes the following steps:
s301, a gateway receives a first request message which is sent by a terminal and carries a terminal identifier;
s302, the gateway analyzes the terminal identification information and sends a first response message carrying the plane identifications of at least two planes to the terminal;
s303, the gateway receives a second request message sent by the terminal;
s304, the gateway sends a second response message to the terminal.
In step S301, in the DHCPv6 address assignment protocol, the first request message sent by the terminal is a Solicit request message, which is used to determine the location of the DHCPv6 server. In the embodiment of the present invention, the Solicit request packet carries an Option16, the Option16 fills a terminal special identifier, such as a "Smart STB" identifier, and the Option16 structure is shown in fig. 4.
In step S302, the gateway parses the terminal identification information, determines the terminal sending the first request packet, specifically, reads the "Smart STB" identification, and recognizes that the request is sent by the intelligent set-top box.
And the gateway then sends a first response message to the terminal, wherein in the DHCPv6 address allocation protocol, the first response message is an advertisement message and is used for responding to the Solicit request message and announcing that the DHCPv6 server can provide the DHCPv6 service. The advertisement message includes an Option X, the Option X carries a plane identifier specific to a plane, specifically, the plane identifier specific to a biplane is two pieces of IANA (reserved address) information, the first is an address of an internet plane, the second is an address of an IPTV plane, and a structure of the Option X in the advertisement message is shown in fig. 5, where a field from an identifier IAID _ internet to a field from an identifier IA _ NA-options _ internet is address information of the internet plane, and a field from an identifier IAID _ IPTV to a field from an identifier IA _ NA-options _ IPTV is address information of the IPTV plane.
It should be noted that the Option X is a new customized Option, and does not occupy the existing Option.
In step S303, the second Request message is a Request message, and is used to Request the DHCPv6 server for an IPv6 address and other configuration information; in step S304, the second response packet is a Reply packet. The Request message and the Reply message both carry the plane identifier of the plane to be accessed.
According to the DHCPv6 address allocation protocol specification, after the terminal and the gateway finish the Request message and the Reply message, the terminal generates access address information corresponding to the plane according to the plane identifier, and the access address information is used for the terminal to access different planes.
In the embodiment of the present invention, a process of a gateway interacting with a terminal through an RA address assignment protocol, please refer to fig. 6, which specifically includes the following steps:
s601, a gateway receives a request message which is sent by a terminal and carries a terminal identifier;
s602, the gateway analyzes the terminal identification information and sends a response message containing the plane identification of at least two planes to the terminal.
In the embodiment of the present invention, the RA address allocation protocol is an extended RA address allocation protocol of ICMPv6, the request message is a Route Solicitation message of ICMPv6, the structure of the Route Solicitation message is shown in fig. 7, the last Options information of the message is a self-defined Option Y message structure, as shown in fig. 8, terminal identification information is filled in the Option of the Option Y, and specifically, the terminal identification information is "Smart STB" identification.
In step S602, the gateway parses the terminal identification information, determines the terminal that starts the request packet, and specifically reads the "Smart STB" identification to identify the request sent by the Smart set-top box.
The gateway then sends a response message to the terminal, where the response message is a Route advertisement message, the Route advertisement message includes an Option Z Option, and the Option Z structure is shown in fig. 9, where the Option Z Option carries a plane identifier specific to a plane, specifically, the plane identifier specific to a bi-plane is two prefixes, the first is a Prefix of an internet plane, from a field identified as Prefix _ internet to a field identified as Prefix _ internet, and the second is a Prefix of an IPTV plane, from a field identified as Prefix _ len _ IPTV to a field identified as Prefix _ IPTV.
In the embodiment of the invention, after receiving the Route advertisement message, the terminal generates the access address information corresponding to the plane according to the plane identifier, and the access address information is used for the terminal to access different planes.
It should be noted that, before receiving a configuration protocol request message sent by a terminal, a gateway is connected to all plane routes, obtains a plane identifier of each plane, and generates a corresponding plane source identifier forwarding table according to the plane identifier of one of the planes. In the embodiment of the invention, the plane identifier is a PD prefix.
Specifically, the gateway configures two routes WAN for connection and start, generates corresponding interfaces, connects the internet plane and the IPTV plane, respectively, obtains the PD prefix of the internet plane and the PD prefix of the IPTV plane, and generates an IPTV plane source prefix forwarding table, where the table structure is shown in table 1.
TABLE 1
IPTV plane source prefix Outlet interface
4001::1/56 nbif2
In the embodiment of the present invention, referring to fig. 10, a process of generating an IPTV plane source prefix forwarding table by a gateway specifically includes the following steps:
s1001, configuring an IPTV service type WAN connection on a gateway to obtain a global unique PD prefix;
s1002, generating a source prefix forwarding table;
s1003, updating the forwarding table information when the IPTV WAN connection is changed.
S102, receiving an access message which is sent by a terminal and corresponds to a plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated for the terminal according to a plane identifier.
In the embodiment of the invention, a terminal receives a response message sent by a gateway, analyzes the response message and obtains a plane identifier carried in the response message, generates access address information corresponding to a plane according to the plane identifier, and sends the access message carrying the access address information to the gateway.
The gateway receives the access message for accessing the internet access plane and the access message for accessing the IPTV plane, analyzes and acquires the source address of the access message, namely the address of the internet access plane and the address of the IPTV plane.
S103, matching the access message according to the access address information and sending the access message to a corresponding plane.
In the embodiment of the invention, the gateway matches the access address information obtained by analysis with a plane source identifier forwarding table, if the matching is successful, the gateway sends the access message to a plane corresponding to a plane source identifier in the plane source identifier forwarding table, and if the matching is unsuccessful, the gateway sends the access message to the corresponding plane from a default path.
Specifically, the gateway receives an access packet for accessing the internet plane and an access packet for accessing the IPTV plane, matches the analyzed source address of the access packet with an IPTV plane source prefix forwarding table, finds an outgoing interface of the IPTV plane if the matching is hit, and sends the outgoing interface to the IPTV plane, and if the matching is not found, sends the outgoing interface to the internet plane from a default routing interface, where a specific flow please refer to fig. 11, and includes the following steps:
s1101, receiving an access message for accessing the internet access plane and an access message for accessing the IPTV plane;
s1102, extracting an address of an access message source;
s1103, matching the extracted access message source address with an IPTV plane source prefix forwarding table;
s1104, judging whether the matching result is hit, if yes, executing S1105, and if not, executing S1106;
s1105, finding out the output interface of the IPTV plane, and sending the corresponding access message to the IPTV plane;
and S1106, sending the corresponding access message to the internet access plane from the default routing interface.
In the embodiment of the invention, after the gateway sends the access message to the corresponding plane, the gateway receives the reply message sent back by the corresponding plane and then sends the reply message to the terminal. Specifically, after receiving the reply message from the network side, the gateway queries the routing information, sends the reply message to the corresponding user side port, and then sends the reply message to the terminal, so that one-time message interaction is completed.
The multi-plane network access method provided by the embodiment of the invention receives a configuration protocol request message sent by a terminal through a gateway and sends a response message to the terminal; the terminal analyzes the response message and obtains the plane identification carried in the response message, generates access address information corresponding to the plane according to the plane identification, and sends the access message carrying the access address information to the gateway; the gateway receives an access message sent by a client, analyzes and acquires access address information carried in the access message, matches the access message according to the access address information and sends the access message to a corresponding plane; the address allocation is carried out through the gateway, at least two addresses can be allocated after one-time message interaction is completed, and the terminal can simultaneously access a plurality of planes through any port of the gateway.
Example two:
based on the above embodiment of the present invention, the embodiment of the present invention takes a method for a gateway to implement a bi-plane access through a DHCPv6 address assignment protocol as an example for detailed description, and a specific flowchart is shown in fig. 12, which includes the following steps:
s1201, two routes are configured on the gateway to respectively connect the internet access plane and the IPTV plane, a plane identifier of the internet access plane and a plane identifier of the IPTV plane are obtained, and a source plane identifier forwarding table of the PTV plane is generated.
In the embodiment of the present invention, a gateway is connected to an internet plane and an IPTV plane through a WAN, a gateway device is started, the connection of the internet service type WAN and the connection of the IPTV service type WAN are initialized, and a corresponding interface is generated, so as to obtain a plane identifier of the internet plane and a plane identifier of the IPTV plane, respectively.
It should be appreciated that the source prefix forwarding table is updated as the IPTV WAN connection changes.
S1202, the terminal sends a Solicit message carrying the terminal identification to the gateway.
In the embodiment of the invention, the Solicit request message sent by the terminal is used for determining the position of the DHCPv6 server. In the embodiment of the present invention, the Solicit request packet carries an Option16, the Option16 fills a terminal special identifier, such as a "Smart STB" identifier, and the Option16 structure is shown in fig. 4.
S1203, the gateway analyzes the terminal identification information in the Solicit request message and sends an advertisement message carrying the plane identification of the internet access plane and the plane identification of the IPTV plane to the terminal.
In some application scenarios of the embodiment of the present invention, the terminal identification information may be a "Smart STB" identification, and the gateway analyzes the "Smart STB" identification to identify that the Solicit request packet is a request sent by the Smart STB. The gateway then sends an Advertise message to the terminal, and the Advertise message is used for responding to the Solicit request message and announcing that the DHCPv6 server can provide the DHCPv6 service.
It should be noted that the advertisement message includes an Option X Option, where the Option X Option carries a plane identifier specific to a plane, and specifically, the plane identifier specific to a biplane is two IANA (reserved address) information, the first is a PD prefix of an internet plane, the second is a PD prefix of an IPTV plane, and a structure of the Option X Option in the advertisement message is shown in fig. 5, where a prefix of the internet plane is from a field identified as IAID _ internet to a field identified as IA _ NA-options _ internet, and a prefix of the IPTV plane is from the field identified as IAID _ IPTV to the field identified as IA _ NA-options _ IPTV.
S1204, the gateway receives the Request message sent by the terminal and sends the Reply message to the terminal.
S1205, after receiving the Reply message, the terminal generates an address for accessing the internet access plane according to the plane identifier of the internet access plane, and generates an address for accessing the IPTV plane according to the plane identifier of the IPTV plane.
S1206, the terminal sends the access message to the gateway by using the access internet plane address and the access IPTV plane address as source addresses respectively.
S1207, the gateway receives the access message and analyzes the source address of the access message.
S1208, the gateway matches the extracted access message source address with an IPTV plane source plane identifier forwarding table.
S1209, determine whether the matching result is hit, if yes, execute S1210, otherwise execute S1211.
S1210, finding an output interface of the IPTV plane, and sending a corresponding access message to the IPTV plane.
S1211, sending the corresponding access message to the internet access plane from the default routing interface.
S1212, the gateway receives the reply message sent back by the corresponding plane, inquires the routing information, and sends the reply message to the terminal.
Taking the terminal as an example, the method for the intelligent set-top box to obtain the address to carry out the service through the DHCPv6 will be further described in detail below, and as shown in fig. 13, the specific flow is as follows:
s1301, starting gateway equipment, initializing Internet access service type WAN connection and IPTV service type WAN connection, generating corresponding interfaces nbif1 and nbif2, and respectively acquiring a PD prefix of an Internet access plane and a PD prefix of an IPTV plane.
In this example, the PD prefix of the Internet plane is 3001:::/56, and the PD prefix of the IPTV plane is 4001::/56.
S1302, generating an IPTV plane source prefix forwarding table.
In this example, the IPTV plane source prefix forwarding table is shown in table 1.
S1303, the intelligent set-top box is connected to a LAN2 port of the gateway, and sends out a Solicit message of DHCPv6 to the gateway to request an address, wherein the Solicit message carries a special identifier of the intelligent set-top box.
In this example, the Solicit request packet carries an Option16, the special identifier of the intelligent set-top box is filled in the Option16, and the Option16 structure is shown in fig. 4.
S1304, the gateway analyzes the special identifier of the intelligent set top box in the Solicit request message, and sends an advertisement message carrying the PD prefix of the internet plane and the PD prefix of the IPTV plane to the intelligent set top box.
Specifically, the advertisement message includes an Option X, and the PD prefix of the internet plane and the PD prefix of the IPTV plane are filled in the Option X; for example, the Option Type is 101, the carried IAID _ internet is 01, the carried T1_ internet is 1800, the carried T2_ internet is 2800, the address information filled in the IA _ NA-options _ internet is 3001::1, the IAID _ internet is 02, the T1_ internet is 2800, the T2_ internet is 3800, and the address information filled in the IA _ NA-options _ internet is 4001:: 1.
S1305, the intelligent set-top box and the gateway generate an access address for accessing the Internet plane and the IPTV plane after completing interaction of request and reply messages of DHCPv 6.
In this example, two addresses 3001::1 and 4001::1 are generated.
And S1306, the intelligent set top box sends an http message for accessing the Internet plane to the gateway by taking the address for accessing the Internet plane as a source address, and sends the http message for accessing the IPTV plane to the gateway by taking the address for accessing the IPTV plane as the source address.
In this example, the source address of the http message is 3001::1, and the source address of the http message is 4001:: 1.
S1307, the gateway respectively analyzes the source addresses of the http message and the http message, searches for matching in an IPTV plane source prefix forwarding table by using the source addresses as indexes, sends the missed http message to an internet plane through a default route after matching is completed, and sends the missed http message to the IPTV plane through an output interface of nbif 2.
S1308, the gateway receives the reply message of the Internet access plane, inquires routing information, sends the reply message to a corresponding user side port, and then sends the reply message to the intelligent set top box.
Specifically, a reply message of the internet plane is received, the destination address is 3001::1, the reply message is forwarded to a lan2 port, and finally sent to the set-top box; and receiving a reply message of the internet plane, wherein the destination address is 4001::1, forwarding the reply message to a lan2 port, and finally sending the reply message to the set-top box.
According to the method for the biplane access provided by the embodiment of the invention, the gateway distributes two IP addresses belonging to the internet and the IPTV plane respectively to the intelligent set top box, so that the intelligent set top box uses different IP addresses to communicate with the two planes respectively, and the gateway realizes the distribution of the services of the intelligent set top box by analyzing the IP address of the message source, thereby facilitating the terminal equipment to realize the simultaneous operation of the internet and the IPTV service under the network architecture with the internet plane and the IPTV plane separated.
Example three:
the embodiment of the present invention is described in detail by taking a method for a gateway to implement a bi-plane access through a router advertisement address assignment protocol as an example, and a specific flow diagram please refer to fig. 14, which includes the following steps:
s1401, two routes are configured on the gateway to respectively connect the internet access plane and the IPTV plane, a plane identifier of the internet access plane and a plane identifier of the IPTV plane are obtained, and a source plane identifier forwarding table of the PTV plane is generated.
In the embodiment of the present invention, a gateway is connected to an internet plane and an IPTV plane through a WAN, a gateway device is started, the connection of the internet service type WAN and the connection of the IPTV service type WAN are initialized, and a corresponding interface is generated, so as to obtain a plane identifier of the internet plane and a plane identifier of the IPTV plane, respectively.
It should be appreciated that the source prefix forwarding table is updated as the IPTV WAN connection changes.
S1402, the terminal sends a Route Solicitation request message of ICMPv6 carrying the terminal identification to the gateway.
In the embodiment of the present invention, referring to fig. 7, the structure of a Route Solicitation message is shown, the last Options information of the message is a customized Option Y message structure, as shown in fig. 8, terminal identification information is filled in an Option of Option Y, for example, an intelligent set top box special identification "Smart STB" is filled in the Option of Option Y.
S1403, the gateway analyzes the terminal identification information in the Route Solicitation request message and sends a Route Advertisement message carrying the plane identification of the internet plane and the plane identification of the IPTV plane to the terminal.
In some application scenarios of the embodiment of the present invention, the terminal identification information may be a "Smart STB" identification, the gateway parses the "Smart STB" identification, recognizes that the Route Solicitation request message is a request sent by the intelligent set top box, and then the gateway sends a Route Advertisement message to the terminal for responding to the Route Solicitation request message.
It should be noted that the Route advertisement message includes an Option Z Option, and the Option Z structure is shown in fig. 9, where the Option Z Option carries a plane identifier specific to a plane, specifically, the plane identifier specific to a biplane is two prefixes, a first one is a Prefix of a network plane, from a field identified as Prefix _ internet to a field identified as Prefix _ internet, and a second one is a Prefix of an IPTV plane, from a field identified as Prefix _ IPTV to a field identified as Prefix _ IPTV. .
S1404, the terminal receives and analyzes the Route advertisement message, generates an internet access plane address according to the plane identifier of the internet access plane, and generates an IPTV access plane address according to the plane identifier of the IPTV plane.
S1405, the terminal respectively uses the access internet plane address and the access IPTV plane address as source addresses to send access messages to the gateway.
S1406, the gateway receives the access message and analyzes the source address of the access message.
S1407, the gateway matches the extracted source address of the access message with the IPTV plane source plane identifier forwarding table.
S1408, determine whether the matching result is hit, if yes, execute S1409, and if not, execute S1410.
S1409, finding the output interface of the IPTV plane, and sending the corresponding access message to the IPTV plane.
And S1410, sending the corresponding access message to the internet access plane from the default routing interface.
S1411, the gateway receives the reply message sent back by the corresponding plane, inquires routing information and sends the reply message to the terminal.
In the following, taking the terminal as an example of the intelligent set-top box, a method for the intelligent set-top box to obtain an address to perform a service in an RS-RA manner is further described in detail, and as shown in fig. 15, a specific flow is as follows:
s1501, starting the gateway equipment, initializing Internet service type WAN connection and IPTV service type WAN connection, generating corresponding interfaces nbif1 and nbif2, and respectively acquiring a PD prefix of an Internet plane and a prefix of an IPTV plane.
In this example, the PD prefix of the Internet plane is 3001:::/56, and the PD prefix of the IPTV plane is 4001::/56.
S1502, generating an IPTV plane source prefix forwarding table.
In this example, the IPTV plane source prefix forwarding table is shown in table 1.
S1503, the intelligent set-top box is connected to the LAN2 port of the gateway, and sends out a Route Solicitation request message to the gateway to request a prefix, wherein the Route Solicitation request message carries the special identifier of the intelligent set-top box.
In this example, the Route Solicitation request packet carries an Option Y Option, and the special identifier of the intelligent set-top box is filled in the Option Y Option, and the Option Y structure is shown in fig. 8.
S1504, the gateway analyzes the special identifier of the intelligent set top box in the Route Solicitation request message, and sends a Route Advertisement message carrying the PD prefix of the internet plane and the PD prefix of the IPTV plane to the intelligent set top box.
Specifically, the Route Advertisement message includes an Option Z Option, and the PD prefix of the internet plane and the PD prefix of the IPTV plane are filled in the Option Z Option; for example, the Option Type in the message is 101, the Prefix _ internet carried in the message is 64, the Valid Lifetime _ internet is 2500000, the Preferred Lifetime _ internet is 604800, and the Prefix information filled in the Prefix _ internet is 3001:: 1:. Prefix Len _ IPTV is 64, Valid Lifetime _ IPTV is 2600000, Preferred Lifetime _ IPTV is 600500, and Prefix information filled in the Prefix _ IPTV is 4001:: 1.
S1505, the intelligent set-top box analyzes the Route Advertisement message to generate the access address for accessing the Internet plane and the IPTV plane.
In this example, two addresses of 3001:: 34:56:34: c1 and 4001::1:34:56:34: c1 are generated.
And S1506, the intelligent set top box sends the http message for accessing the Internet plane to the gateway by taking the address for accessing the Internet plane as a source address, and sends the http message for accessing the IPTV plane to the gateway by taking the address for accessing the IPTV plane as a source address.
In this example, the source address of the http message is 3001::1: 34:56:34: c1, and the source address of the http message is 4001::1:34:56:34: c 1.
S1507, the gateway respectively analyzes the source addresses of the https messages and the http messages, the source addresses are used as indexes to search and match in an IPTV plane source prefix forwarding table, after matching is completed, the missed https messages are sent to an internet access plane through a default route, and the hit http messages are sent to the IPTV plane through an output interface of nbif 2.
S1508, the gateway receives the reply message of the internet plane, queries the routing information, and sends the reply message to the corresponding user side port, and further sends the reply message to the intelligent set-top box.
Specifically, the reply message of the internet plane is received, the destination address is 3001: 1:34:56:34: c1, the reply message is forwarded to the lan2 port, and finally the reply message is sent to the set-top box; and receiving a reply message of the internet plane, wherein the destination address is 4001: 1:34:56:34: c1, forwarding the reply message to a lan2 port, and finally sending the reply message to the set-top box.
According to the method for the biplane access provided by the embodiment of the invention, the gateway distributes two IP prefixes respectively belonging to the internet and the IPTV plane to the intelligent set top box, so that the intelligent set top box uses different IP addresses to respectively communicate with the two planes, and the gateway realizes the distribution of the services of the intelligent set top box by analyzing the IP address of the message source, thereby facilitating the terminal equipment to realize the simultaneous operation of the internet and the IPTV service under the network architecture of the separation of the internet plane and the IPTV plane.
Example four:
the embodiment of the invention also provides a multi-plane network access device which is used for realizing at least one step in the method, the device comprises a gateway and a terminal, and the inside of the gateway comprises a network side address protocol module, a user side address protocol module and a matching forwarding module; the address protocol module and the service module, please refer to fig. 16.
The network side address protocol module is used for connecting with at least two planes and acquiring plane identifiers of the planes;
the user side address protocol module is used for receiving a configuration protocol request message sent by the terminal and sending a response message to the terminal;
the matching forwarding module is used for receiving an access message which is sent by the terminal and corresponds to the plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated for the terminal according to the plane identifier;
and the matching forwarding module is also used for matching the access message according to the access address information and sending the access message to a corresponding plane.
The address protocol module is used for initiating a configuration protocol request message to the gateway and receiving a response message sent by the gateway, wherein the response message carries plane identifiers of at least two planes;
the address protocol module is also used for analyzing the response message, acquiring the plane identifier carried in the response message and generating corresponding access address information according to the plane identifier;
and the service module is used for sending the access message carrying the access address information to the gateway.
In the embodiment of the present invention, the terminal accesses the IPv6 network through the gateway to develop services, the bi-plane access is a common use scenario at present, and a method for providing the bi-plane access for the terminal by the gateway is taken as an example to be specifically described.
It should be understood that the terminal includes, but is not limited to, a smart set-top box, a mobile phone, a tablet computer, a notebook computer, and other user devices; the bi-plane refers to a network architecture in which an internet service plane and a video service plane are separated.
In the embodiment of the invention, the adopted configuration protocols are two IPv6 address allocation protocols, namely a Router Advertisement (RA) of an expanded ICMPv6 and an expanded DHCPv6, message interaction methods of the two protocols are different, biplane access modes are different, in order to realize switching of the two modes, a terminal internally comprises an RA client module and a DHCPv6 client module, and a gateway internally comprises an RA service module and a DHCPv6 server module.
In the embodiment of the present invention, please refer to fig. 2 for an IPv6 bi-plane access device, where a gateway includes an RA service module, a DHCPv6 server module, and a service flow matching and forwarding module; the terminal internally comprises an RA client module and a DHCPv6 client module.
In the embodiment of the invention, the terminal can realize plug and play on the user interface of the gateway.
In some application scenarios of the embodiment of the present invention, when the terminal is an intelligent set-top box, a schematic structural diagram of the set-top box for implementing service flow distribution through a gateway is shown in fig. 17, which specifically includes the following steps:
the Internet access service module WAN connection and the IPTV service module WAN connection are initialized to generate corresponding interfaces nbif1 and nbif2 respectively, the intelligent set-top box is connected to a LAN2 port of the gateway, and the gateway is connected with a network through the WAN interface.
The gateway receives the two messages, the route forwarding module analyzes the source address of the message, the source address is used as an index to inquire in a source prefix forwarding table and is matched with source prefix forwarding table information, if the source prefix forwarding table information is matched, an outlet interface of the IPTV plane is found, the route forwarding module sends the corresponding message to the IPTV plane, and if the source prefix forwarding table information is not matched, the route forwarding module sends the corresponding message to the Internet plane from a default route interface. The gateway receives the reply message of the internet plane, forwards the reply message to the LAN2 port through the routing module, and finally sends the reply message to the set-top box.
Example five:
the present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in this embodiment may be used to store one or more computer programs, and the stored one or more computer programs may be executed by a processor to implement at least one step of the multi-plane access method in the first and third embodiments.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (12)

1. A multi-plane network access method is applied to a gateway and comprises the following steps:
receiving a configuration protocol request message sent by a terminal, and sending a response message to the terminal, wherein the response message carries plane identifiers of at least two planes;
receiving an access message which is sent by the terminal and corresponds to the plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated by the terminal according to the plane identifier;
and matching the access message according to the access address information and sending the access message to a corresponding plane.
2. The multi-plane network access method of claim 1, wherein before the gateway receives the configuration protocol request message sent by the terminal, the method comprises:
the gateway is connected with all plane routes and acquires the plane identification of each plane;
and the gateway generates a corresponding plane source identifier forwarding table according to the plane identifier of one plane.
3. The multi-plane network access method of claim 1, wherein when the configuration protocol is DHCPv6 address assignment protocol, the gateway receives a configuration protocol request message sent by a terminal, and sending a response message to the terminal comprises:
the gateway receives a first request message which is sent by a terminal and carries a terminal identifier;
the gateway analyzes the terminal identification information and sends a first response message to the terminal, wherein the first response message comprises plane identifications of at least two planes;
the gateway receives a second request message sent by the terminal;
and the gateway sends a second response message to the terminal.
4. The multi-plane network access method of claim 1, wherein when the configuration protocol is a routing advertisement protocol, the gateway receives a configuration protocol request message sent by a terminal, and sends a response message to the terminal comprises:
the gateway receives a request message which is sent by a terminal and carries a terminal identification;
the gateway analyzes the terminal identification information and sends a response message to the terminal, wherein the response message comprises plane identifications of at least two planes.
5. The multi-plane network access method of claim 2, wherein the matching the access packet according to the access address information and sending to the corresponding plane comprises:
the gateway matches the access address information with the plane source identifier forwarding table;
if the matching is successful, the gateway sends the access message to a plane corresponding to a plane source identifier in the plane source identifier forwarding table;
and if the matching is unsuccessful, the gateway sends the access message to a corresponding plane from a default path.
6. The multi-plane network access method of any of claims 1-5, wherein the gateway sending the access packet to the corresponding plane according to the access address information further comprises:
the gateway receives a reply message of a corresponding plane;
and the gateway sends the reply message to the terminal.
7. A multi-plane network access method is applied to a terminal and comprises the following steps:
initiating a configuration protocol request message to a gateway, and receiving a response message sent by the gateway, wherein the response message carries plane identifiers of at least two planes;
analyzing the response message, acquiring a plane identifier carried in the response message, and generating access address information corresponding to the plane according to the plane identifier;
and sending the access message carrying the access address information to the gateway.
8. The multi-plane network access method of claim 7, wherein when the configuration protocol is DHCPv6 address assignment protocol, the initiating a configuration protocol request message to a gateway, and the receiving a response message sent by the gateway includes:
sending a first request message carrying the terminal identifier to the gateway;
receiving an announcement message sent by the gateway, wherein the announcement message comprises plane identifiers of at least two planes;
sending a second request message to the gateway;
and receiving a response message sent by the gateway.
9. The multi-plane network access method of claim 7, wherein when the configuration protocol is a routing advertisement protocol, the initiating a configuration protocol request message to a gateway and receiving a response message sent by the gateway comprises;
sending a request message carrying the terminal identification to the gateway;
and receiving an announcement message sent by the gateway, wherein the announcement message comprises plane identifiers of at least two planes.
10. A multi-plane network access apparatus, comprising: the system comprises a network side address protocol module, a user side address protocol module and a matching forwarding module;
the network side address protocol module is used for connecting with at least two planes and acquiring the plane identification of the planes;
the user side address protocol module is used for receiving a configuration protocol request message sent by a terminal and sending a response message to the terminal;
the matching forwarding module is used for receiving an access message which is sent by the terminal and corresponds to the plane, analyzing and acquiring access address information carried in the access message, wherein the access address information is generated by the terminal according to the plane identifier;
and the matching forwarding module is also used for matching the access message according to the access address information and sending the access message to a corresponding plane.
11. A multi-plane network access apparatus, comprising: an address protocol module and a service module;
the address protocol module is used for initiating a configuration protocol request message to a gateway and receiving a response message sent by the gateway, wherein the response message carries plane identifiers of at least two planes;
the address protocol module is further configured to analyze the response message, acquire a plane identifier carried in the response message, and generate corresponding access address information according to the plane identifier;
and the service module is used for sending the access message carrying the access address information to the gateway.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more computer programs executable by one or more processors to implement the steps of the multi-plane network access method of any of claims 1 to 9.
CN201911207578.3A 2019-11-29 2019-11-29 Multi-plane network access method, device and computer storage medium Active CN112887186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911207578.3A CN112887186B (en) 2019-11-29 2019-11-29 Multi-plane network access method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911207578.3A CN112887186B (en) 2019-11-29 2019-11-29 Multi-plane network access method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN112887186A true CN112887186A (en) 2021-06-01
CN112887186B CN112887186B (en) 2024-03-22

Family

ID=76039205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911207578.3A Active CN112887186B (en) 2019-11-29 2019-11-29 Multi-plane network access method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN112887186B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339384A (en) * 2021-12-23 2022-04-12 天翼视讯传媒有限公司 Short link signaling channel realization method for realizing remote multi-screen interaction under public network
CN116155680A (en) * 2023-04-18 2023-05-23 北京天辰合创科技有限公司 Broadband biplane multi-redundancy communication architecture and communication method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025604A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Carrying network and data transmission method
CN102143036A (en) * 2010-06-07 2011-08-03 华为技术有限公司 Prefix sending method, prefix appointing method and corresponding devices
WO2012041168A1 (en) * 2010-09-29 2012-04-05 华为终端有限公司 Processing method for network connection for ipv6 network and device thereof
WO2012122710A1 (en) * 2011-03-16 2012-09-20 中兴通讯股份有限公司 Bearer network and data transmission method thereof
WO2012139283A1 (en) * 2011-04-12 2012-10-18 华为技术有限公司 Method and appratus for address allocation
CN103916484A (en) * 2012-12-31 2014-07-09 华为技术有限公司 IP-address configuring method and device
WO2016202059A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Ipv6 network access method and gateway

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025604A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Carrying network and data transmission method
CN102143036A (en) * 2010-06-07 2011-08-03 华为技术有限公司 Prefix sending method, prefix appointing method and corresponding devices
WO2012041168A1 (en) * 2010-09-29 2012-04-05 华为终端有限公司 Processing method for network connection for ipv6 network and device thereof
WO2012122710A1 (en) * 2011-03-16 2012-09-20 中兴通讯股份有限公司 Bearer network and data transmission method thereof
WO2012139283A1 (en) * 2011-04-12 2012-10-18 华为技术有限公司 Method and appratus for address allocation
CN103916484A (en) * 2012-12-31 2014-07-09 华为技术有限公司 IP-address configuring method and device
WO2016202059A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Ipv6 network access method and gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
THE RIFT AUTHORS;: "RIFT: Routing in Fat Trees draft-ietf-rift-rift-04", IETF, 3 March 2019 (2019-03-03) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339384A (en) * 2021-12-23 2022-04-12 天翼视讯传媒有限公司 Short link signaling channel realization method for realizing remote multi-screen interaction under public network
CN116155680A (en) * 2023-04-18 2023-05-23 北京天辰合创科技有限公司 Broadband biplane multi-redundancy communication architecture and communication method

Also Published As

Publication number Publication date
CN112887186B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
US11716262B2 (en) Control method, apparatus, and system for collecting traffic statistics
US9438679B2 (en) Method, apparatus, name server and system for establishing FCOE communication connection
JP5439036B2 (en) COMMUNICATION SYSTEM, COMMUNICATION MANAGEMENT DEVICE, COMMUNICATION MANAGEMENT METHOD, AND COMMUNICATION MANAGEMENT PROGRAM
US11146531B2 (en) Separating CGN forwarding and control
WO2010069181A1 (en) Method and system for configuring ipv6 address
CN102821028B (en) Support the method that virtual machine moves in multiprotocol label network and corresponding equipment
CN114039947B (en) Terminal address allocation method, UPF, system and storage medium
CN106559292A (en) A kind of broad band access method and device
CN112887186B (en) Multi-plane network access method, device and computer storage medium
JP2014007681A (en) Network system, and management device thereof, switch thereof
CN102307247B (en) Dynamic address allocation method for dynamic host configuration protocol (DHCP) and system
CN107968749B (en) Method for realizing QinQ route termination, switching chip and switch
CN112218386B (en) Application program service path establishing method and device for multi-card terminal, storage medium and terminal
EP3125504A1 (en) Resource allocation method, packet communication method and device
US8909787B2 (en) Method, device, and system for allocating address in IP network
US10952228B2 (en) Traffic scheduling and processing method, user side translator and core translator
US20200274948A1 (en) Service flow configuration method and apparatus
WO2017032145A1 (en) Domain name forwarding method and apparatus
CN109922074A (en) Access method and apparatus, management method, the equipment, medium of outband management network
CN105208140A (en) Method used for sending data, apparatus and system thereof
CN112019367B (en) Network topology generation method, device, equipment and storage medium
CN106375489B (en) Method and device for processing Media Access Control (MAC) address
US20150109957A1 (en) Transmission path control system
CN114221895A (en) Data transmission method, device and network equipment
CN113055191A (en) Forwarding method and device, and forwarding plane of broadband remote access server

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