CN103220276A - Method and system for network access, and gateway - Google Patents

Method and system for network access, and gateway Download PDF

Info

Publication number
CN103220276A
CN103220276A CN2013101100695A CN201310110069A CN103220276A CN 103220276 A CN103220276 A CN 103220276A CN 2013101100695 A CN2013101100695 A CN 2013101100695A CN 201310110069 A CN201310110069 A CN 201310110069A CN 103220276 A CN103220276 A CN 103220276A
Authority
CN
China
Prior art keywords
message
pppoed
access
terminal
session
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
CN2013101100695A
Other languages
Chinese (zh)
Other versions
CN103220276B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310110069.5A priority Critical patent/CN103220276B/en
Priority to PCT/CN2013/077488 priority patent/WO2014153860A1/en
Publication of CN103220276A publication Critical patent/CN103220276A/en
Application granted granted Critical
Publication of CN103220276B publication Critical patent/CN103220276B/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/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
    • H04L12/2872Termination of subscriber connections
    • 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/2858Access network architectures
    • H04L12/2859Point-to-point connection between the data network and the subscribers

Abstract

The embodiment of the invention discloses a method for network access, which comprises the following steps of detecting a message type of a PPPoE (Point To Point Protocol Over Ethernet) message when receiving the PPPoE message sent by a terminal, wherein the message type comprises sending stage message PPPoED (Point To Point Protocol Over Ethernet Discovery) or session stage message PPP and the PPPoED carries access identification data; if the message type of the PPPoE message is the PPPoED, acquiring an exit network channel matched with the PPPoE message according to the access identification data carried by the PPPoED; and enabling the terminal to access the network by the exit network channel. The embodiment of the invention also discloses a gateway and a system. Due to adoption of the method and the system for network access, and the gateway, a function of accessing various networks by a single port can be implemented and the hardness cost and the network maintenance cost are saved.

Description

A kind of method of network insertion, gateway and system
Technical field
The present invention relates to a kind of communication technology, relate in particular to a kind of method, gateway and system of network insertion.
Background technology
Development along with broadband technology, and the internet television business is flourish, original simple IPTV(Internet Protocol TV, IPTV) end product can not satisfy the business development demand of bandwidth operator, and operator presses for and introduce the internet television business under the IPTV Technical Architecture.Present Chinese main flow bandwidth operator (China Telecom, CHINAUNICOM) in order to guarantee service quality, has been set up IPTV service-specific network when carrying out the IPTV business, and set-top box is linked into IPTV service-specific network by modes such as PPPoE.And the internet television business, need be by arriving that traditional public the Internet could be visited.Therefore, for compatible these two kinds of business on terminal, set-top box need possess following network insertion and service ability: can insert public the Internet and can insert IPTV service-specific business network.
But the IPTV set-top box of selling on the market has only the fixing IPTV of access of port service-specific business network usually at present, there are not compatible IPTV business and Internet service simultaneously, the user can't connect other network type by set-top box, for example: by set-top box visit public the Internet.This has brought bottleneck for the business development of bandwidth operator, also can't provide more network to use for the user.But if a plurality of ports are installed so that set-top box can insert multiple network for solving described problem by operator on set-top box, this has but increased hardware cost, and needs to connect two physics netting twines, and is neither attractive in appearance, has also increased the maintenance cost of network.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of method and gateway of network insertion is provided.Can realize that single port inserts the function of multiple network, has saved hardware cost, network operation cost.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of method of network insertion, comprise: when receiving the PPPoE message of terminal transmission, detect the type of message of described PPPoE message, described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data;
Type of message as if described PPPoE message is PPPoED, then the outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED;
By described outlet network channel, with described accessing terminal to network.
Wherein, the described outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED comprises:
Resolve described PPPoED, obtain the access identification data that described PPPoED carries, described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data;
According to described access identification data, determine the dialing account type of described terminal, described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type;
According to described dialing account type, select the outlet network channel that is complementary with described dialing account type.
Wherein, described by described outlet network channel, with described accessing terminal to network, comprising:
By described outlet network channel, to the described PPPoED of Web broadcast;
Receive the response message that at least one server in the described network returns;
According to described response message, from described at least one server, select a server as access server;
Described access server by selecting inserts described network with described terminal.
Wherein, it is characterized in that described described access server by selecting inserts described terminal after the described network, also comprises:
According to the Session ID that described access server distributes, write down the mapping relations of described Session ID and described outlet network channel;
Described Session ID comprises: the MAC Address of described access server; Perhaps, the unique identification sign indicating number of described access server generation.
Wherein, also comprise:
If the type of message of described PPPoE message is PPP, then determine access server according to the Session ID that PPP carries, and definite outlet network channel that shines upon mutually with described Session ID;
By described outlet network channel, described PPPoE message is sent to described access server, make described terminal and described access server carry out session;
Wherein, described when receiving the PPPoE message that terminal sends, detect before the type of message of described PPPoE message, also comprise:
Create at least one outlet network channel that is used for accessing terminal to network.
Correspondingly, the embodiment of the invention also provides a kind of gateway, comprising:
Detecting unit is used for detecting the type of message of described PPPoE message when receiving the PPPoE message of terminal transmission, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data;
Matching unit is used for if the type of message of described PPPoE message is PPPoED, then the outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED;
Access unit is used for by described outlet network channel, with described accessing terminal to network.
Wherein, described matching unit comprises:
Resolution unit is used to resolve described PPPoED, obtains the access identification data that described PPPoED carries, and described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data;
First determining unit is used for determining the dialing account type of described terminal according to described access identification data, and described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type;
Selected cell is used for according to described dialing account type, selects the outlet network channel that is complementary with described dialing account type.
Wherein, described access unit comprises:
The broadcasting subelement is used for by described outlet network channel, to the described PPPoED of Web broadcast;
Receive subelement, be used for receiving the response message that at least one server of described network returns;
The chooser unit is used for according to described response message, selects a server as access server from described at least one server;
Access subunit is used for the described access server by selecting, and described terminal is inserted described network.
Wherein, described access unit also comprises:
The record subelement is used for the Session ID according to described access server distribution, writes down the mapping relations of described Session ID and described outlet network channel;
Described Session ID comprises: the MAC Address of described access server; Perhaps, the unique identification sign indicating number of described access server generation.
Wherein, it is characterized in that described gateway also comprises:
Second determining unit is used for when the type of message of described PPPoE message is PPP, and then the Session ID that carries according to PPP is determined access server, and definite outlet network channel that shines upon mutually with described Session ID;
Transmitting element is used for by described outlet network channel described PPPoE message being sent to described access server, makes described terminal and described access server carry out session;
Wherein, the described gateway that connects also comprises:
Creating unit is used to create at least one outlet network channel that is used for accessing terminal to network.
The present invention also provides a kind of system of network insertion, comprising: terminal and server and the as above described gateway of summary of the invention.
Implement the embodiment of the invention, have following beneficial effect:
The embodiment of the invention is under existing digital TV terminal and home media gateway hardware structure, by expansion to the transmission stage message PPPoED in the PPPoE message, make transmission stage message PPPoED carry the access identification data that to distinguish network type, and make digital TV terminal can insert corresponding outlet network channel by resolving described access identification data.This makes digital TV terminal can support the access of multiple network, make existing digital TV terminal only can insert the multiple network type by the software upgrading of digital TV terminal and gateway, make the user need can not realize inserting the function of multiple network type by changing the single port digital TV terminal, this has not only saved hardware cost, user's use cost, has also saved the network operation cost.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the existing ADSL system group network of a present invention structural representation;
Fig. 2 is the first embodiment schematic flow sheet of the method for a kind of network insertion of the present invention;
Fig. 3 is the second embodiment schematic flow sheet of the method for a kind of network insertion of the present invention;
Fig. 4 is the 3rd an embodiment schematic flow sheet of the method for a kind of network insertion of the present invention;
Fig. 5 is the 4th an embodiment schematic flow sheet of the method for a kind of network insertion of the present invention;
Fig. 6 is the 5th an embodiment schematic flow sheet of the method for a kind of network insertion of the present invention;
Fig. 7 is the first example structure schematic diagram of a kind of gateway of the present invention;
Fig. 8 is the second example structure schematic diagram of a kind of gateway of the present invention;
Fig. 9 is the 3rd an example structure schematic diagram of a kind of gateway of the present invention;
Figure 10 is the 4th an example structure schematic diagram of a kind of gateway of the present invention;
Figure 11 is the 5th an example structure schematic diagram of a kind of gateway of the present invention;
Figure 12 is the first example structure schematic diagram of the system of a kind of network insertion of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
In the embodiment of the invention, terminal can be a digital TV set-top box, and digital TV integrated machine etc. possess digital TV terminal unidirectional or the bi-directional digital television function.
Please refer to Fig. 1, be the existing ADSL(Asymmetric Digital of the present invention Subscriber Line, ADSL (Asymmetric Digital Subscriber Line)) the system group network structure first embodiment flow chart.Below in conjunction with Fig. 1 existing ADSL system group network structure being described in detail, and to PPPoE(Point to Point Protocol over Etherne, based on the point-to-point protocol of Ethernet) agreement describes in detail.
In the specific embodiment, at present, the domestic consumer adopts the ADSL mode to be linked into the network of operator usually.Existing ADSL system group network structure generally can be divided into ADSL transfer system 001, ATM(Asynchronous Transfer Mode, asynchronous transfer mode) net 002 and access server 003 3 parts, wherein, ADSL transfer system 001 comprises terminal 10, demodulator 11 and local side apparatus 12, and ADSL transfer system 001 is responsible for the adsl line encoding and decoding and the transmission of phone line segment.ATM net 002 is responsible for and will be pooled to access server 003 in ATM PVC mode from the user data of local side apparatus 12.Access server 003 is the access server that local side is realized pppoe feature, the PPPoE process that its termination is initiated by user side.For example: descending Ether frame is delivered to access server 003 from the IP metropolitan area network through router, deliver to local side apparatus 003 and be packaged into the AAL5 frame after being coupled with the head of PPPoE, send to demodulator 11 through Cross module, finish AAL5(ATM Adaptation Layer5 by demodulator 11, ATM Adaptation Layer 5) frame is recombinated and is solved Ether frame and sends to terminal 10, and terminal 10 is taken out the IP packet from the PPPoE bag; Up PPPoE bag originates from terminal 10, is packaged into the AAL5 frame in demodulator 11, is transferred to local side apparatus 12 by ATM cell, and the PVC(Permanent Virtual Circuit by establishing, PVC) be sent in the access server 003 and handle.Between the descending and demodulator 11 of local side apparatus 12 is ATM, also is ATM between the up and access server 003 of local side apparatus 12, and ATM PVC rises and terminates between demodulator 11 and the access server 003.The local devices kernel adopts ATM cell multiplexing, and structure is single, does not need protocol conversion.Because local devices is based on the mature technology design of ATM, can support multiple business, provide different treatment measures and different spatial caches to these business, different types of service is provided the priority and the Flow Control of different stage, make different atm service categorys in the whole service transmission line, obtain the bandwidth that adapts with this business, thereby guaranteed from demodulator 11 to access server high-performance quality support 003.
At present, the home media gateway of telecom operators can dispose nearly 8 road PVC, supports AUTO PVC and PVC sharing functionality, also supports many sessions of single PVC and many PVC.In order to guarantee that Internet and IPTV business do not disturb mutually, and the user quality that ensures IPTV, adopt the different PVC of two-way to be used for Internet usually and the IPTV dedicated network inserts, and every road PVC adopt independently pppoe session.In addition, because ATM PVC has natural safe isolation mech isolation test, when adopting the PPPoE authentication, also be to isolate mutually to the PPP session that inserts the access server 003 from each terminal 10, further strengthened security mechanism.For example: possess the terminal of two physical networks, and adopt the mode of two PPPoE dialing to be connected to the Internet and IPTV private network simultaneously, realize dual-network and dual-standby.Network port type is two RJ45 ports generally speaking, perhaps a RJ45 port and a WLAN port.When set-top box adopts two RJ45 ports, one of them special I PTV port that connects home media gateway uses the PPPoE dial-up access to the IPTV dedicated network, another one is connected on the home media gateway internet side mouth, also adopts the PPPoE dial mode to be linked into public the Internet.Thereby realize that the user inserts the function of polytype network.
Wherein, the user dials on the digital line of ADSL, adopts special dialing protocol PPPoE, is directly tested by authentication server after the dialing, the user need input user name and password, just sets up the number of a high speed after upchecking and distributes corresponding dynamic IP.The workflow of PPPoE agreement comprises finds and two stages of session that the discovery stage is stateless, and purpose is the ethernet mac address that obtains access server 003, and sets up a unique pppoe session identifier.The discovery stage just enters the PPP session stage of standard after finishing.
When a terminal 10 beginning pppoe session of looking on the bright side of things, it must at first carry out the discovery stage, with the ethernet mac address of identification access server 003, and sets up a pppoe session identifier.In the discovery stage, based on network topology, main frame can be found a plurality of access servers 003, allows the user to select one then.Complete successfully when the discovery stage, terminal 10 has all had them to set up the information that PPP is connected on Ethernet with the access server of selecting 003.Set up up to the PPP session, the discovery stage keeps stateless Client always.In case the PPP session is set up, terminal 10 and access server 003 all are necessary for PPP virtual interface Resources allocation.
Further, the PPPoE message is to be encapsulated in the data field of ethernet frame.The Ethernet frame head comprises: the destination server MAC Address is thereafter address, client mac address and the Ethernet protocol type of access server.Wherein, the form of PPPoE data message comprises: 4 of beginning most of PPPoE data message are version field, and the content that fill in this territory is 0x01; Be 4 type field after the version field, according to the agreement regulation, the content that fill in this territory also is 0x01; Code domain takies a byte, and is also different for this territory content of different phase of PPPoE; Session ID takies two bytes, does not also distribute unique session id to give subscriber's main station when LAC, and the content that changes the territory must be filled to 0x0000; In case after main frame has obtained session id, must fill that unique Session ID in all follow-up message the insides so; The Payload length of PPPoE accounts for two bytes, and the Payload of PPPoE can be made up of a plurality of TLV, and each TLV comprises Tag_Type, Tag_Length, Tag_Vlaue.
Wherein, can comprise following four-stage in the processing procedure of PPPoE discovery stage PPPoED: at first PADI frame of terminal 10 transmissions is used for initialization.This frame will be broadcasted by Ethernet, and access service is sought in expression; It is that response signal responds to terminal 10 that secondly one or more access servers 003 are replied a PADO frame, and whether expression access server 003 is responding and will connect; When terminal 10 does not receive PADO in the time in appointment, it can retransmit the PADI grouping, and doubles the stand-by period, and this process is general to be repeated four times; The PADR of access server 003 of terminal 10 selections, and transmission clean culture once more frame is the access server 003 of connection request signal to this response, and expression is wished to connect; It is that PPPoE connects confirmation signal that last access server 003 sends the PADS frame, and expression can connect and distribute hyphen.This hyphen is together with the ethernet address of terminal and access server 003, with pppoe session of unique identification.The transmission stage, message PPPoED was stateless, purpose is to obtain PPPoE access server 003, be the ethernet mac address of access server 003 or a unique pppoe session identifier of setting up by access server 003, among the SESSION_ID of this Session ID storage in the PPPoE message.Wherein, find in four steps in stage the TLV:Host-Uniq that to contain a Tag_Type all the time among the Payload of PPPoE head be 0x0103 at PPPoE.Host-Uniq is the main frame unique identification, by the random number that produces at random of dialing main frame.Host-Uniq is similar to the identification field in the PPP information message, mainly is used for mating sending and receiving terminal.Because for the data message that can have a lot of PPPoE in the network of broadcast type simultaneously.
Further, in the processing procedure of pppoe session stage PPP, comprise: send some configuration messages and come the configuration data link; Authentication; The configuration network layer protocol; IP traffic transmission and termination pppoe session.At this moment, the user sends or receives data by access server.
Please refer to Fig. 2, be the first embodiment flow chart of the method for a kind of network insertion of the present invention.As shown in Figure 2, the step of the described a kind of method for network access of present embodiment comprises:
S100 when receiving the PPPoE message of terminal transmission, detects the type of message of described PPPoE message, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
In the specific embodiment, the setting gateway port is a bridge mode, supports the PPPoE message transmission.Wherein, PPPoE(Point to Point Protocol over Ethernet, point-to-point protocol based on Ethernet) terminal is linked on the access server of a far-end by a simple bridging device, by the PPPoE agreement, far-end server can be realized each is accessed terminal and control.For example: when terminal need insert public the Internet, terminal was carried the PPPoE message that inserts the public the Internet data by transmission and is inserted public the Internet, and transmits data according to the corresponding server in PPPoE agreement and the public the Internet.
Further, set ethernet frame and detect, in the bridge joint handling process, add the detection of PPPoE message.The PPPoE message comprises transmission stage message PPPoED and session stage message PPP, detects described PPPoE type of message, carries out corresponding operation again.
Further, when type of message is transmission stage message PPPoED,, find to contain a TLV:Host-Uniq among the Payload in the PPPoE message all the time in four steps in stage at PPPoE in conjunction with first embodiment of Fig. 1.Host-Uniq is as the main frame unique identification, the random number that is produced at random by the dialing main frame.Host-Uniq is similar to the identification field in the PPP information message, mainly is used for mating sending and receiving terminal, because for the data message that can have a lot of PPPoE in the network of broadcast type simultaneously.Wherein, we can utilize this Host-Uniq that exists all the time to be used as inserting the type that identification data carries out the required access network of marking terminal.Wherein, there are two if insert number of the account, then inserting identification data can be set to, the value of the corresponding Host-Uniq of a kind of account type is [0, C) between the scope, the value of the corresponding Host-Uniq of another kind of account type [C ,+∞) between the scope, wherein C is (0, + a constant constant between ∞), for example: number of the account is the internet account if the Internet dialing is used in dialing, and what promptly terminal need insert is the public the Internet network, the value of then setting Host-Uniq is [0, C) between the scope, number of the account is the iptv account if the IPTV dialing is used in dialing, and what promptly terminal need insert is the IPTV dedicated network, the value of then setting Host-Uniq [C ,+∞) between the scope.Have a plurality of when inserting number of the account, then inserting identification data can be set to, the value of the corresponding Host-Uniq of a kind of account type is [0, A) between the scope, the value of the corresponding Host-Uniq of another kind of account type [A, B) between the scope, the value of the corresponding Host-Uniq of the third account type is at [B, C) between the scope etc., so the value to Host-Uniq is provided with a plurality of scopes with a plurality of numbers of the account of correspondence.
S101, if the type of message of described PPPoE message is PPPoED, then the access identification data that carries according to described PPPoED obtains the outlet network channel that is complementary with described PPPoE message;
In the specific embodiment, resolve the PPPoED message, obtain the access identification data that PPPoED carries, described access identification data can be the data that the main frame among the Payload indicates Host-Uniq, judge the dialing account type of determining described terminal according to inserting identification data, for example: if Host-Uniq is [0, C) between the scope, then this message is from the Internet number of the account that dials, then the PPPoED message is mapped on the PVC1 network channel, and the server that described PVC1 network channel inserts is an Internet server.If Host-Uniq [C ,+∞) between the scope, then this message dials from IPTV, then the PPoED message is mapped on the PVC2 network channel, the server that described PVC2 network channel inserts is the IPTV server.Wherein, described PVC1 and PVC2 are the PVC PVCs, when the PPPoED message is mapped on the corresponding network channel, carry out corresponding operation according to the PPPoE agreement again.Wherein, the PPPoED message set to insert insert identification data setting processing stage that identification data comprising four of PADI, PADO, PADR, PADS, wherein, each stage all will be carried out the mapping of primary network path.
S102 is by described outlet network channel, with described accessing terminal to network.
In the specific embodiment, when according to the access identification data PPPoED message being mapped to corresponding network channel, access terminal by described network channel, terminal is carried out information interchange by described network channel and access server.
In the specific embodiment, when the server of described outlet network channel access is Internet server, to the described PPPoED of Internet Broadcast.The server that inserts when described outlet network channel is the IPTV server, broadcasts described PPPoED to the IPTV dedicated network.
Please refer to Fig. 3, be the second embodiment flow chart of the method for a kind of network insertion of the present invention.As shown in Figure 3, the step of the described a kind of method for network access of present embodiment comprises:
S200 when receiving the PPPoE message of terminal transmission, detects the type of message of described PPPoE message, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
S201 if the type of message of described PPPoE message is PPPoED, resolves described PPPoED, obtains the access identification data that described PPPoED carries, and described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data.
In the specific embodiment, the access identification data that described PPPoED carries can be the access identification data that PADI or PADO or PADR or PADS carry, and the main frame that described identification data can be indicated in message indicates among the host-Uniq.
S202 according to described access identification data, determines the dialing account type of described terminal, and described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type.
In the specific embodiment, if two of dialing numbers of the account, for example described two dialing numbers of the account are internet Internet dialing account type and IPTV IPTV dialing account type, then the PPPoE agreement of terminal is expanded, when user's Internet dialing account type that need enter the Internet, digital television terminal system is arranged on [0 with the value of the Host-Uniq in the PPPoED message, C) between the scope, when the user need insert IPTV dialing account type, the digital television terminal system just value of the Host-Uniq in the PPPoED message is arranged on [C, + ∞) between the scope, wherein C is (0, + a constant constant between ∞), and described setting regular and synchronized is to gateway.Insert sign and set this moment, when gateway parses the value that inserts identification data and obtain Host-Uniq [0, C) in the time of between the scope, the corresponding rule of setting, gateway obtains the user need connect internet network, parse when gateway the value that inserts identification data and obtain Host-Uniq [C ,+∞) between the scope time, the corresponding rule of setting, gateway obtains the user need insert the IPTV dedicated network.
S203 according to described dialing account type, selects the outlet network channel that is complementary with described dialing account type.
In the specific embodiment, if belong to the Internet dialing, this cell is mapped among the PVC1, if belong to the IPTV dialing, this cell is mapped among the PVC2.The server that described PVC1 network channel inserts is an Internet server, and the server that described PVC2 network channel inserts is the IPTV server.
S204 is by described outlet network channel, with described accessing terminal to network.
Wherein, step S200 and step S204 can not give unnecessary details at this referring to step S100 embodiment illustrated in fig. 2 and step S102.
Please refer to Fig. 4, be the 3rd embodiment flow chart of the method for a kind of network insertion of the present invention.As shown in Figure 4, the step of the described a kind of method for network access of present embodiment comprises:
S300 when receiving the PPPoE message of terminal transmission, detects the type of message of described PPPoE message, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
S301, if the type of message of described PPPoE message is PPPoED, then the access identification data that carries according to described PPPoED obtains the outlet network channel that is complementary with described PPPoE message.
S302 is by described outlet network channel, to the described PPPoED of Web broadcast.
In the specific embodiment,, be internet network when what mate, to the described PPPoED of Internet Broadcast to the outlet network path broadcasting PPPoED of coupling.When what mate is the IPTV dedicated network, broadcasts described PPPoED to the IPTV dedicated network.
S303 receives the response message that at least one server in the described network returns.
In the specific embodiment, transmit the searching access server that terminal sends by the outlet network channel, i.e. PADI frame, the response message that the server response PADI frame in the network returns, described response message comprises whether terminal will connect.
S304 according to described response message, selects a server as access server from described at least one server.
In the specific embodiment, send connection request by transmitting terminal, promptly the PADR frame is to the access server of this response, and expression is wished to connect with the condition suitable servers.
S305, the described access server by selecting inserts described network with described terminal.
In the specific embodiment, connect and confirm, promptly during the PADS frame, described terminal is inserted the access server network of determining when receiving PPPOE that access server sends.
S306 according to the Session ID that described access server distributes, writes down the mapping relations of described Session ID and described outlet network channel.
In the specific embodiment,,, write down the mapping relations of described Session ID and described outlet network channel according to the Session ID that described access server distributes when receiving the PPPoE connection affirmation that access server sends.
Wherein, described Session ID comprises: the MAC Address of access server and or the unique identification sign indicating number that generates of access server, gateway can according to wherein arbitrarily Session ID need look for the purpose access server.Wherein, the unique identification sign indicating number that access server generates is stored among the Session_ID in the PPPoE protocol architecture, and gateway can read the unique identification sign indicating number that the access server among the Session_ID generates and obtain the purpose access server then; The MAC Address of access server is stored in the source address of the Ethernet frame head of the final step PADS among the broadcasting PPPoED, its source address is exactly the MAC Address of access server, because the MAC Address of access server is unique, promptly gateway also can be sought the purpose access server according to the MAC Address of access server.Further, Session ID with the mapping relations of outlet network channel can be, for example: when the outlet network channel that inserts is PVC1, the mapping relations of recording conversation identifier and PVC1 then, when the outlet network channel that inserts during PVC2, the mapping relations of recording conversation identifier and PVC2 then.Wherein, described Session ID is with pppoe session of unique identification.Described Session ID is used for the PPP session.
Wherein, step S300 and step S301 can not give unnecessary details at this referring to step S100 embodiment illustrated in fig. 1 and step S101.
Please refer to Fig. 5, be the 4th embodiment flow chart of the method for a kind of network insertion of the present invention.As shown in Figure 5, the step of the described a kind of method for network access of present embodiment comprises:
S400 when receiving the PPPoE message of terminal transmission, detects the type of message of described PPPoE message, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
S401 if the type of message of described PPPoE message is PPP, then determines access server according to the Session ID that PPP carries, and definite outlet network channel that shines upon mutually with described Session ID.
In the specific embodiment, detect, judge that current ethernet frame is the PPP message by the ethernet frame of setting.By protocol stack translation the PPP uplink message is packaged into ATM cell, extract Session ID and inquiry session identifier and the mapping relations that export network path in the PPP message, thereby obtain terminal and the access server that establishes a connection and obtain the outlet network channel.Wherein, when Session ID shines upon mutually with PVC1 outlet network channel, then the ATM cell that the PPP uplink message is packaged into is mapped to PVC1 outlet network channel, when Session ID shines upon mutually with PVC2 outlet network channel, then the ATM cell that the PPP uplink message is packaged into is mapped to PVC2 outlet network channel, and inserts the access server that inquires correspondence according to Session ID.
Wherein, Session ID can comprise unique identification sign indicating number that access server generates and or the MAC Address of access server, when the Session ID that reads is the unique identification sign indicating number of server generation, gateway extracts the Session ID Session_ID of up PPP message, the mapping relations of inquiry Session_ID and PVC, thus obtain terminal and the access server that establishes a connection and obtain the outlet network channel.When the Session ID that reads is the MAC Address of access server, gateway extracts the target MAC (Media Access Control) address of up PPP Ethernet frame head, it is the MAC Address of access server, and the MAC Address of inquiry access server and the mapping relations of PVC, thereby obtain terminal and the access server that establishes a connection and obtain the outlet network channel.
S402 by described outlet network channel, is sent to described access server with described PPPoE message, makes described terminal and described access server carry out session.
In the specific embodiment,, ATM cell is sent to described access server terminal and described access server carries out the PPP session by described outlet network channel.
Please refer to Fig. 6, be the 5th embodiment flow chart of the method for a kind of network insertion of the present invention.As shown in Figure 6, the step of the described a kind of method for network access of present embodiment comprises:
S500 creates at least one outlet network channel that is used for accessing terminal to network.
In the specific embodiment, create that two PVC connect or connect more than two PVC, if what create is that two PVC connect, then can be connected respectively to heterogeneous networks among the ATM by setting two parameters of VPI/VCI, described heterogeneous networks can be IPTV circuit and Internet circuit, wherein PVC1 can be the Internet circuit, and PVC2 can be the IPTV circuit.
S501 when receiving the PPPoE message of terminal transmission, detects the type of message of described PPPoE message, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
S502, if the type of message of described PPPoE message is PPPoED, then the access identification data that carries according to described PPPoED obtains the outlet network channel that is complementary with described PPPoE message.
S503 is by described outlet network channel, with described accessing terminal to network.
Wherein, step S501, step S502 and step S503 can not give unnecessary details at this referring to step S100 embodiment illustrated in fig. 5, step S101 and step S102.
Set forth the specific implementation of a kind of gateway that the embodiment of the invention provides below.
Please refer to Fig. 7, be the first example structure schematic diagram of a kind of gateway of the present invention.The described a kind of gateway of present embodiment comprises:
Detecting unit 100 is used for detecting the type of message of described PPPoE message when receiving the PPPoE message of terminal transmission, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data.
In the specific embodiment, the setting gateway port is a bridge mode, supports the PPPoE message transmission.Wherein, PPPoE(Point to Point Protocol over Ethernet, point-to-point protocol based on Ethernet) terminal is linked on the access server of a far-end by a simple bridging device, by the PPPoE agreement, far-end server can be realized each is accessed terminal and control.For example: when terminal need insert public the Internet, terminal was carried the PPPoE message that inserts the public the Internet data by transmission and is inserted public the Internet, and transmits data according to the corresponding server in PPPoE agreement and the public the Internet.
Further, set ethernet frame and detect, in the bridge joint handling process, add the detection of PPPoE message.The PPPoE message comprises transmission stage message PPPoED and session stage message PPP, detects described PPPoE type of message, carries out corresponding operation again.
Further, when type of message is transmission stage message PPPoED,, find to contain a TLV:Host-Uniq among the Payload in the PPPoE message all the time in four steps in stage at PPPoE in conjunction with first embodiment of Fig. 1.Host-Uniq is as the main frame unique identification, the random number that is produced at random by the dialing main frame.Host-Uniq is similar to the identification field in the PPP information message, mainly is used for mating sending and receiving terminal, because for the data message that can have a lot of PPPoE in the network of broadcast type simultaneously.Wherein, we can utilize this Host-Uniq that exists all the time to be used as inserting the type that identification data carries out the required access network of marking terminal.Wherein, there are two if insert number of the account, then inserting identification data can be set to, the value of the corresponding Host-Uniq of a kind of account type is [0, C) between the scope, the value of the corresponding Host-Uniq of another kind of account type [C ,+∞) between the scope, wherein C is (0, + a constant constant between ∞), for example: number of the account is the internet account if the Internet dialing is used in dialing, and what promptly terminal need insert is the public the Internet network, the value of then setting Host-Uniq is [0, C) between the scope, number of the account is the iptv account if the IPTV dialing is used in dialing, and what promptly terminal need insert is the IPTV dedicated network, the value of then setting Host-Uniq [C ,+∞) between the scope.Have a plurality of when inserting number of the account, then inserting identification data can be set to, the value of the corresponding Host-Uniq of a kind of account type is [0, A) between the scope, the value of the corresponding Host-Uniq of another kind of account type [A, B) between the scope, the value of the corresponding Host-Uniq of the third account type is at [B, C) between the scope etc., so the value to Host-Uniq is provided with a plurality of scopes with a plurality of numbers of the account of correspondence.
Matching unit 200 is used for if the type of message of described PPPoE message is PPPoED, then the outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED.
In the specific embodiment, resolve the PPPoED message, obtain the access identification data that PPPoED carries, described access identification data can be the data that the main frame among the Payload indicates Host-Uniq, judge the dialing account type of determining described terminal according to inserting identification data, for example: if Host-Uniq is [0, C) between the scope, then this message is from the Internet number of the account that dials, then the PPPoED message is mapped on the PVC1 network channel, and the server that described PVC1 network channel inserts is an Internet server.If Host-Uniq [C ,+∞) between the scope, then this message dials from IPTV, then the PPPoED message is mapped on the PVC2 network channel, the server that described PVC2 network channel inserts is the IPTV server.Wherein, described PVC1 and PVC2 are the PVC PVCs, when the PPPoED message is mapped on the corresponding network channel, carry out corresponding operation according to the PPPoE agreement again.Wherein, the PPPoED message set to insert insert identification data setting processing stage that identification data comprising four of PADI, PADO, PADR, PADS, wherein, each stage all will be carried out the mapping of primary network path.
Access unit 300 is used for by described outlet network channel, with described accessing terminal to network.
In the specific embodiment, when according to the access identification data PPPoED message being mapped to corresponding network channel, access terminal by described network channel, terminal is carried out information interchange by described network channel and access server.
In the specific embodiment, when the server of described outlet network channel access is Internet server, to the described PPPoED of Internet Broadcast.The server that inserts when described outlet network channel is the IPTV server, broadcasts described PPPoED to the IPTV dedicated network.
Please refer to Fig. 8, be the second example structure schematic diagram of a kind of gateway of the present invention.The described a kind of gateway of present embodiment comprises:
Detecting unit 100, matching unit 200 and access unit 300.
Wherein, described matching unit 200 also can further comprise:
Resolve subelement 101, be used to resolve described PPPoED, obtain the access identification data that described PPPoED carries, described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data.
In the specific embodiment, the access identification data that described PPPoED carries can be the access identification data that PADI or PADO or PADR or PADS carry, and the main frame that described identification data can be indicated in message indicates among the host-Uniq.
Determine subelement 102, be used for determining the dialing account type of described terminal that described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type according to described access identification data.
In the specific embodiment, if two of dialing numbers of the account, for example described two dialing numbers of the account are internet Internet dialing account type and IPTV IPTV dialing account type, then the PPPoE agreement of digital TV terminal is expanded, when user's Internet dialing account type that need enter the Internet, digital television terminal system is arranged on [0 with the value of the Host-Uniq in the PPPoED message, C) between the scope, when the user need insert IPTV dialing account type, the digital television terminal system just value of the Host-Uniq in the PPPoED message is arranged on [C, + ∞) between the scope, wherein C is (0, + a constant constant between ∞), and described setting regular and synchronized is to gateway.Insert sign and set this moment, when gateway parses the value that inserts identification data and obtain Host-Uniq [0, C) in the time of between the scope, the corresponding rule of setting, gateway obtains the user need connect internet network, parse when gateway the value that inserts identification data and obtain Host-Uniq [C ,+∞) between the scope time, the corresponding rule of setting, gateway obtains the user need insert the television interactive network.
The first chooser unit 103 is used for according to described dialing account type, selects the outlet network channel that is complementary with described dialing account type.
In the specific embodiment, if belong to the Internet dialing, this cell is mapped among the PVC1, if belong to the IPTV dialing, this cell is mapped among the PVC2.The server that described PVC1 network channel inserts is an Internet server, and the server that described PVC2 network channel inserts is the IPTV server.
Please refer to Fig. 9, be the 3rd example structure schematic diagram of a kind of gateway of the present invention.The described a kind of gateway of present embodiment comprises:
Detecting unit 100, matching unit 200 and access unit 300.
Wherein, described access unit 300 also can further comprise:
Broadcasting subelement 201 is used for by described outlet network channel, to the described PPPoED of Web broadcast.
In the specific embodiment,, be internet network when what mate, to the described PPPoED of Internet Broadcast to the outlet network path broadcasting PPPoED of coupling.When what mate is the IPTV dedicated network, broadcasts described PPPoED to the IPTV dedicated network.
Receive subelement 202, be used for receiving the response message that at least one server of described network returns.
In the specific embodiment, transmit the searching access server that terminal sends by the outlet network channel, i.e. PADI frame, the response message that the server response PADI frame in the network returns, described response message comprises whether terminal will connect.
The second chooser unit 203 is used for according to described response message, selects a server as access server from described at least one server.
In the specific embodiment, send connection request by transmitting terminal, promptly the PADR frame is to the access server of this response, and expression is wished to connect with the condition suitable servers.
Access subunit 204 is used for the described access server by selecting, and described terminal is inserted described network.
In the specific embodiment, connect and confirm, promptly during the PADS frame, described terminal is inserted the access server network of determining when receiving PPPOE that access server sends.
Record subelement 205 is used for the Session ID according to described access server distribution, writes down the mapping relations of described Session ID and described outlet network channel.
In the specific embodiment,,, write down the mapping relations of described Session ID and described outlet network channel according to the Session ID that described access server distributes when receiving the PPPOE connection affirmation that access server sends.
Wherein, described Session ID comprises: the MAC Address of access server and or the unique identification sign indicating number that generates of access server, gateway can according to wherein arbitrarily Session ID need look for the purpose access server.Wherein, the unique identification sign indicating number that access server generates is stored among the Session_ID in the PPPOE protocol architecture, and gateway can read the unique identification sign indicating number that the access server among the Session_ID generates and obtain the purpose access server then; The MAC Address of access server is stored in the source address of the Ethernet frame head of the final step PADS among the broadcasting PPPoED, its source address is exactly the MAC Address of access server, because the MAC Address of access server is unique, promptly gateway also can be sought the purpose access server according to the MAC Address of access server.Further, Session ID with the mapping relations of outlet network channel can be, for example: when the outlet network channel that inserts is PVC1, the mapping relations of recording conversation identifier and PVC1 then, when the outlet network channel that inserts during PVC2, the mapping relations of recording conversation identifier and PVC2 then.Wherein, described Session ID is with PPPOE session of unique identification.Described Session ID is used for the PPP session.
Please refer to Figure 10, be the 4th example structure schematic diagram of a kind of gateway of the present invention.The described a kind of gateway of present embodiment comprises:
Detecting unit 100, wherein, described gateway also comprises:
Determining unit 400 is used for when the type of message of described PPPoE message is PPP, and then the Session ID that carries according to PPP is determined access server, and definite outlet network channel that shines upon mutually with described Session ID.
In the specific embodiment, detect, judge that current ethernet frame is the PPP message by the ethernet frame of setting.By protocol stack translation the PPP uplink message is packaged into ATM cell, extracts Session ID and inquiry session identifier and the mapping relations that export network path in the PPP message, thereby obtain outlet network channel and access server.Wherein, when Session ID shines upon mutually with PVC1 outlet network channel, then the ATM cell that the PPP uplink message is packaged into is mapped to PVC1 outlet network channel, when Session ID shines upon mutually with PVC2 outlet network channel, then the ATM cell that the PPP uplink message is packaged into is mapped to PVC2 outlet network channel, and inserts the access server that inquires correspondence according to Session ID.
Wherein, Session ID can comprise the unique identification sign indicating number of access server generation or the MAC Address of access server, when the Session ID that reads is the unique identification sign indicating number of server generation, gateway extracts the Session ID Session_ID of up PPP message, the mapping relations of inquiry Session_ID and PVC, thus obtain terminal and the access server that establishes a connection and obtain the outlet network channel.When the Session ID that reads is the MAC Address of access server, read the source address of the Ethernet frame head of the final step PADS among the broadcasting PPPoED, and the MAC Address of inquiry access server and the mapping relations of PVC, thereby obtain terminal and the access server that establishes a connection and obtain the outlet network channel.
Transmitting element 500 is used for by described outlet network channel described PPPoE message being sent to described access server, makes described terminal and described access server carry out session
In the specific embodiment,, ATM cell is sent to described access server terminal and described access server carries out the PPP session by described outlet network channel.
Please refer to Figure 11, be the 5th example structure schematic diagram of a kind of gateway of the present invention.The described a kind of gateway of present embodiment comprises:
Detecting unit 100, matching unit 200, access unit 300, determining unit 400 and transmitting element 500.
Wherein, described gateway also comprises:
Creating unit 600 is used to create at least one outlet network channel that is used for accessing terminal to network.
In the specific embodiment, create that two PVC connect or connect more than two PVC, if what create is that two PVC connect, then can be connected respectively to heterogeneous networks among the ATM by setting two parameters of VPI/VCI, described heterogeneous networks can be IPTV circuit and Internet circuit, wherein PVC1 can be the Internet circuit, and PVC2 can be the IPTV circuit.
Please refer to Figure 12, is the first example structure schematic diagram of the system of a kind of network insertion of the present invention.The system of the described a kind of network insertion of present embodiment comprises:
Terminal 1, gateway 2 and server 3.
In the specific embodiment, described terminal 1 can be switched in a plurality of networks automatically according to the type of service of being moved, when for example terminal 1 is started shooting, the use internet account dial-up connection network of terminal 1 acquiescence, this time, the user can freely use various internet, applications, after the user starts the IPTV application, terminal 1 can disconnect the current internet dial-up connection, start the dialing of iTV dedicated network, the user just can use the IPTV designated lane to use the IPTV business like this, after the user withdrawed from the IPTV application, terminal 1 can disconnect the dial-up connection of IPTV dedicated network, recovers the Internet dial-up connection.
Described gateway 2 as referring to the described gateway of Fig. 6~Fig. 9.
Described server 3 inserts PVC outlet network channel, and described PVC is no less than one.
Following embodiment describes a kind of system of network insertion.
Terminal 1 is set corresponding PPPoE message according to user's selection, when the user selects to enter the Internet network, terminal 1 is provided with the scope of value of host-Uniq of the access identification data in the PPPoE message [0, C) between the scope, when the user selects to insert the IPTV dedicated network, terminal 1 be provided with the access identification data in the PPPoE message host-Uniq value scope [C ,+∞) between the scope.Terminal is sent to gateway with this message, gateway receives message and detects the type of message of described PPPoE message, when the type of message that detects described PPPoE message is PPPoED, then the value of the access identification data host-Uniq that carries according to described PPPoED obtains the outlet network channel that is complementary with described PPPoE message, promptly work as the value of Host-Uniq [0, C) in the time of between the scope, the outlet network channel that is mated can be the PVC1 of access network, when the value of Host-Uniq at [C, + ∞) between the scope time, the outlet network channel that is mated can be the PVC2 that inserts the IPTV dedicated network, gateway sends the PPPoE message that is packaged into ATM cell by the network of coupling then, carrying out data with the server 3 that inserts exchanges, wherein, access server can be to come access server according to the Session ID that access server distributes, for example: when the Session ID that reads is the unique identification sign indicating number of server generation, gateway extracts the Session ID Session_ID of up PPP message, the mapping relations of inquiry Session_ID and PVC, thus obtain terminal and the access server that establishes a connection and obtain the outlet network channel; Perhaps when the Session ID that reads is the MAC Address of access server, gateway extracts the target MAC (Media Access Control) address of up PPP Ethernet frame head, it is the MAC Address of access server, and the MAC Address of inquiry access server and the mapping relations of PVC, thereby obtain terminal and the access server that establishes a connection and obtain the outlet network channel.Further, described data exchange, by described outlet network channel, to the Web broadcast ATM cell, receive the response message that a plurality of servers 3 return in the described network, according to response message, from the server 3 that returns response message, select a server 3 as access server 3, by the access server of selecting 3, with terminal 1 and the server of selecting 3 passage that connects, so that server 3 obtains the data content that terminal 1 data contents or terminal content obtain server 3.
By the description of the foregoing description, the present invention has the following advantages:
The embodiment of the invention is under existing digital TV terminal and home media gateway hardware structure, by expansion to the transmission stage message PPPoED in the PPPoE message, make transmission stage message PPPoED carry the access identification data that to distinguish network type, and make digital TV terminal can insert corresponding outlet network channel by resolving described access identification data.This makes digital TV terminal can support the access of multiple network, make existing digital TV terminal only can insert the multiple network type by the software upgrading of digital TV terminal and gateway, make the user need can not realize inserting the function of multiple network type by changing the single port digital TV terminal, this has not only saved hardware cost, user's use cost, has also saved the network operation cost.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (13)

1. the method for a network insertion is characterized in that, described method comprises:
When receiving the PPPoE message of terminal transmission, detect the type of message of described PPPoE message, described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data;
Type of message as if described PPPoE message is PPPoED, then the outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED;
By described outlet network channel, with described accessing terminal to network.
2. the method for claim 1 is characterized in that, the outlet network channel that the described access identification data that carries according to described PPPoED obtains to be complementary with described PPPoE message comprises:
Resolve described PPPoED, obtain the access identification data that described PPPoED carries, described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data;
According to described access identification data, determine the dialing account type of described terminal, described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type;
According to described dialing account type, select the outlet network channel that is complementary with described dialing account type.
3. the method for claim 1 is characterized in that, and is described by described outlet network channel, with described accessing terminal to network, comprising:
By described outlet network channel, to the described PPPoED of Web broadcast;
Receive the response message that at least one server in the described network returns;
According to described response message, from described at least one server, select a server as access server;
Described access server by selecting inserts described network with described terminal.
4. method as claimed in claim 3 is characterized in that, described described access server by selecting inserts described terminal after the described network, also comprises:
According to the Session ID that described access server distributes, write down the mapping relations of described Session ID and described outlet network channel;
Described Session ID comprises: the unique identification sign indicating number that the MAC Address of described access server or described access server generate.
5. the method for claim 1 is characterized in that, also comprises:
If the type of message of described PPPoE message is PPP, then determine access server according to the Session ID that PPP carries, and definite outlet network channel that shines upon mutually with described Session ID;
By described outlet network channel, described PPPoE message is sent to described access server, make described terminal and described access server carry out session.
6. method as claimed in claim 6 is characterized in that, and is described when receiving the PPPoE message that terminal sends, and detects before the type of message of described PPPoE message, also comprises:
Create at least one outlet network channel that is used for accessing terminal to network.
7. a gateway is characterized in that, described gateway comprises:
Detecting unit is used for detecting the type of message of described PPPoE message when receiving the PPPoE message of terminal transmission, and described type of message comprises transmission stage message PPPoED or session stage message PPP, and described PPPoED carries the access identification data;
Matching unit is used for if the type of message of described PPPoE message is PPPoED, then the outlet network channel that the access identification data obtains and described PPPoE message is complementary that carries according to described PPPoED;
Access unit is used for by described outlet network channel, with described accessing terminal to network.
8. gateway as claimed in claim 7 is characterized in that, described matching unit comprises:
Resolve subelement, be used to resolve described PPPoED, obtain the access identification data that described PPPoED carries, described access identification data comprises: the main frame among the PPPoED indicates the host-Uniq data;
First determines subelement, is used for determining the dialing account type of described terminal according to described access identification data that described dialing account type comprises: internet Internet dialing account type or IPTV IPTV dialing account type;
The first chooser unit is used for according to described dialing account type, selects the outlet network channel that is complementary with described dialing account type.
9. gateway as claimed in claim 7 is characterized in that, described access unit comprises:
The broadcasting subelement is used for by described outlet network channel, to the described PPPoED of Web broadcast;
Receive subelement, be used for receiving the response message that at least one server of described network returns;
The second chooser unit is used for according to described response message, selects a server as access server from described at least one server;
Access subunit is used for the described access server by selecting, and described terminal is inserted described network.
10. gateway as claimed in claim 9 is characterized in that, described access unit also comprises:
The record subelement is used for the Session ID according to described access server distribution, writes down the mapping relations of described Session ID and described outlet network channel;
Described Session ID comprises: the MAC Address of described access server; Perhaps, the unique identification sign indicating number of described access server generation.
11. gateway as claimed in claim 7 is characterized in that, described gateway also comprises:
Determining unit is used for when the type of message of described PPPoE message is PPP, and then the Session ID that carries according to PPP is determined access server, and definite outlet network channel that shines upon mutually with described Session ID;
Transmitting element is used for by described outlet network channel described PPPoE message being sent to described access server, makes described terminal and described access server carry out session.
12. gateway as claimed in claim 11 is characterized in that, the described gateway that connects also comprises:
Creating unit is used to create at least one outlet network channel that is used for accessing terminal to network.
13. the system of a network insertion is characterized in that, described system comprises: terminal and server and as the described gateway of claim 7-12.
CN201310110069.5A 2013-03-29 2013-03-29 A kind of method of network insertion, gateway and system Active CN103220276B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310110069.5A CN103220276B (en) 2013-03-29 2013-03-29 A kind of method of network insertion, gateway and system
PCT/CN2013/077488 WO2014153860A1 (en) 2013-03-29 2013-06-19 Network access method, gateway and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310110069.5A CN103220276B (en) 2013-03-29 2013-03-29 A kind of method of network insertion, gateway and system

Publications (2)

Publication Number Publication Date
CN103220276A true CN103220276A (en) 2013-07-24
CN103220276B CN103220276B (en) 2016-09-28

Family

ID=48817741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310110069.5A Active CN103220276B (en) 2013-03-29 2013-03-29 A kind of method of network insertion, gateway and system

Country Status (2)

Country Link
CN (1) CN103220276B (en)
WO (1) WO2014153860A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618736A (en) * 2013-12-09 2014-03-05 成都达信通通讯设备有限公司 Safety application system for mobile terminal to automatically switch between different channel networking interfaces
CN104717115A (en) * 2013-12-13 2015-06-17 国际商业机器公司 Multipath fiber channel over ethernet networks
CN104767712A (en) * 2014-01-03 2015-07-08 中国银联股份有限公司 Equipment for safety information interaction and safety browser
CN105100955A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Set top box switching network method and device, and set top box provided with device
CN105791019A (en) * 2016-03-16 2016-07-20 烽火通信科技股份有限公司 A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box
CN110381361A (en) * 2018-04-12 2019-10-25 华为技术有限公司 A kind of method for processing business and relevant device
CN114006759A (en) * 2021-10-29 2022-02-01 中国联合网络通信集团有限公司 Network access method, network connection device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195751A1 (en) * 2004-03-02 2005-09-08 Sbc Knowledge Ventures, L.P. System and method for identifying devices using a point to point protocol
CN1750483A (en) * 2004-09-15 2006-03-22 中兴通讯股份有限公司 Method for point-to-point protocol service detection of wide band cut-in server
CN101605040A (en) * 2008-06-12 2009-12-16 中兴通讯股份有限公司 Multicast control method under a kind of single-port and multi-user access mode and device
CN101902623A (en) * 2009-05-26 2010-12-01 上海贝尔股份有限公司 Method and device for transmitting network video service
CN102136977A (en) * 2011-02-28 2011-07-27 中兴通讯股份有限公司 Dialing equipment and method for realizing virtual dialing according to user needs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195751A1 (en) * 2004-03-02 2005-09-08 Sbc Knowledge Ventures, L.P. System and method for identifying devices using a point to point protocol
CN1750483A (en) * 2004-09-15 2006-03-22 中兴通讯股份有限公司 Method for point-to-point protocol service detection of wide band cut-in server
CN101605040A (en) * 2008-06-12 2009-12-16 中兴通讯股份有限公司 Multicast control method under a kind of single-port and multi-user access mode and device
CN101902623A (en) * 2009-05-26 2010-12-01 上海贝尔股份有限公司 Method and device for transmitting network video service
CN102136977A (en) * 2011-02-28 2011-07-27 中兴通讯股份有限公司 Dialing equipment and method for realizing virtual dialing according to user needs

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618736A (en) * 2013-12-09 2014-03-05 成都达信通通讯设备有限公司 Safety application system for mobile terminal to automatically switch between different channel networking interfaces
WO2015085808A1 (en) * 2013-12-09 2015-06-18 成都达信通通讯设备有限公司 Secure application system with mobile terminal automatically switching different channel networking interfaces
CN104717115A (en) * 2013-12-13 2015-06-17 国际商业机器公司 Multipath fiber channel over ethernet networks
CN104717115B (en) * 2013-12-13 2018-03-16 国际商业机器公司 For providing the method and system of multipath connection between the layer of communication protocol
CN104767712A (en) * 2014-01-03 2015-07-08 中国银联股份有限公司 Equipment for safety information interaction and safety browser
CN105100955A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Set top box switching network method and device, and set top box provided with device
CN105791019A (en) * 2016-03-16 2016-07-20 烽火通信科技股份有限公司 A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box
CN110381361A (en) * 2018-04-12 2019-10-25 华为技术有限公司 A kind of method for processing business and relevant device
CN114006759A (en) * 2021-10-29 2022-02-01 中国联合网络通信集团有限公司 Network access method, network connection device and readable storage medium
CN114006759B (en) * 2021-10-29 2023-08-15 中国联合网络通信集团有限公司 Network access method, network connection device, and readable storage medium

Also Published As

Publication number Publication date
CN103220276B (en) 2016-09-28
WO2014153860A1 (en) 2014-10-02

Similar Documents

Publication Publication Date Title
CN103220276A (en) Method and system for network access, and gateway
US10439862B2 (en) Communication terminal with multiple virtual network interfaces
CA2538613C (en) A method for identifying user position
US8726306B2 (en) Device-specific pre-provisoining access-limiting for a modem and a consumer premise equipment device
CN104581419B (en) Double net implementation methods based on android Intelligent set top boxes
US20010030977A1 (en) Proxy methods for IP address assignment and universal access mechanism
US20060274766A1 (en) Smart intermediate authentication management (SIAM) system and method for multiple permanent virtual circuit (PVC) access environment
CN101841454B (en) Bandwidth adjustment method and broadband access server
CN101026519A (en) Dynamic building of VLAN interfaces based on subscriber information
CN103067307B (en) A kind of broad band access method and system
CN102025792A (en) Router and IP address setting method thereof
KR20050003450A (en) Interface architecture
CN103167046B (en) Method, device and system for acquiring multicast address
CN108134916A (en) A kind of data processing method of 4K terminals and 4K terminals
CN100473037C (en) Method for realizing distributed DHCP relay
CN105429832A (en) Dialing method and system based on PPPOE network, and router
CN1997036A (en) Access multiplexer
US8902889B2 (en) Method, communication arrangement and communication device for transferring information
US7564850B2 (en) Method for transmitting layer 2 packet and access device thereof
CN103001929A (en) Terminal communication system and terminal communication method on basis of different internet protocols
CN104054303B (en) Gateway suitable for VOD
CN109874408B (en) Communication network, communication system and communication method for multicasting video streaming media on communication provider boundaries
CN108124159B (en) A kind of data processing method of four core terminal and four core terminals
CN105635330B (en) A kind of method and apparatus for realizing dhcp broadcast mutual message VLAN N:1 conversion
KR100505992B1 (en) Method and apparatus for dual internet service provider system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant