CN103701837B - A kind of point-to-point protocol dial on demand method and home gateway - Google Patents
A kind of point-to-point protocol dial on demand method and home gateway Download PDFInfo
- Publication number
- CN103701837B CN103701837B CN201210367151.1A CN201210367151A CN103701837B CN 103701837 B CN103701837 B CN 103701837B CN 201210367151 A CN201210367151 A CN 201210367151A CN 103701837 B CN103701837 B CN 103701837B
- Authority
- CN
- China
- Prior art keywords
- data message
- ppp
- home gateway
- unit
- ppp network
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/64—Hybrid switching systems
- H04L12/6418—Hybrid transport
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of PPP dial on demands method, this method includes:When home gateway has detected that data message reaches local PPP network interfaces, according to the source identification of the data message detected the data message;Judge whether the data message allows to trigger PPP network connections dialing, and trigger PPP network connections when allowing and dial.The present invention also discloses a kind of home gateway, using technical scheme, it is ensured that only user specifies the data message in source to save expenses of surfing Internet by the way that just triggering is dialled during home gateway PPP network interfaces.
Description
Technical field
The present invention relates to point-to-point protocol in network service (PPP, Point-to-Point Protocol) dial technology,
More particularly to a kind of PPP dial on demands method and home gateway.
Background technology
PPP dialing is common by way of home gateway online, under PPP on demand (On Demand) dialing mode,
Home gateway monitors the data message up to itself PPP network interface, have data message by when trigger PPP network connections and dial
Number or keep PPP network connection dial-up success states, after dial-up success in a period of time no data message by when, just by PPP
Network connection is placed in non-dialing status.
The data message of above-mentioned arrival home gateway PPP network interfaces is included with Types Below:
The forwarding of LAN (LAN, Local Area Network) side, data message caused by extension PC under home gateway,
Forwarded by home gateway;
Locally send, the locally applied caused data message of home gateway, is sent by home gateway;
Data message that wide area network (WAN, Wide Area Network) side is sent, coming through WAN-side line transmission, by
Home gateway receives.
The just triggering dialing when user it is expected to set the data message of a certain type by home gateway PPP network interfaces,
During saving expenses of surfing Internet, filtering rule can be set in family's gateway firewall module to reach this purpose, but from implementation
Angle considers, so needs to be extended FWSM with identification data message source, adds module coupling difficulty;And
And reduce FWSM if turned off home gateway firewall functionality or to reduce home gateway cost, then user
The data message in a certain source can not be specified to be unable to reach by the way that just triggering is dialled during home gateway PPP network interfaces in reduction
The purpose of expenses of surfing in Internet.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of PPP dial on demands method and home gateway, Neng Goubao
Card only has user to specify the data message in source to save expenses of surfing Internet by the way that just triggering is dialled during home gateway PPP network interfaces
With.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The invention provides a kind of PPP dial on demands method, this method includes:
When home gateway has detected that data message reaches local PPP network interfaces, according to the data message detected
Data message described in source identification;
Judge whether the data message allows to trigger PPP network connections dialing, and PPP network connections are triggered when allowing
Dialing.
It is described to judge whether data message allows to trigger PPP network connections dialing in such scheme, and triggered when allowing
PPP network connections are dialled:
Whether home gateway inquiry, which has in being locally configured corresponding to the data message, identifies, if it is, triggering PPP nets
Network connection dialing;Otherwise, the operation for detecting whether data message and reaching local PPP network interfaces is continued executing with.
In such scheme, whether the home gateway inquiry has mark corresponding to the data message in being locally configured
Before, this method also includes:
Home gateway is according to matched routings rule, firewall filtering rule and QoS (Quality of Service, service
One or more of quality) rule, judge whether the data message is effective, the inquiry is local to match somebody with somebody if it is, performing
Whether the operation of the data message corresponding mark is had in putting;Otherwise, it is local to have detected whether that data message reaches described in execution
The operation of PPP network interfaces.
In such scheme, the triggering PPP network connections dialing is:
Judge whether current PPP network connections are in dial-up success state, if it is, keeping PPP network connections current
State;Otherwise, PPP network connections dialing is triggered until dial-up success.
Accordingly, present invention also offers a kind of home gateway, the home gateway to include:Detection unit, mark unit, look into
Ask unit and trigger element;Wherein,
The detection unit, for detecting whether there is data message to reach local PPP network interfaces;
The mark unit, for after detection unit has detected that data message reaches local PPP network interfaces, according to
Data message described in the source identification of the data message detected;
The query unit, whether there is mark corresponding to the data message in being locally configured for inquiry;
The trigger element, for after query unit inquires mark corresponding to the data message, triggering PPP networks
Connection dialing.
In such scheme, the home gateway also includes:
First judging unit, for described in mark unit marks after data message, according to matched routings rule, fire wall
One or more of filtering rule and QoS rules, judge whether the data message is effective;
The query unit, specifically for when the judged result of the first judging unit is is, inquiring about in being locally configured is
It is no to have mark corresponding to the data message;
The detection unit, it is additionally operable to, when the judged result of the first judging unit is no, continue to have detected whether data
Message reaches local PPP network interfaces;It is additionally operable to not inquire mark corresponding to the data message that detects in query unit
Afterwards, continue to have detected whether that data message reaches local PPP network interfaces.
In such scheme, the home gateway also includes:Second judging unit and connection holding unit;Wherein,
Second judging unit, for after query unit inquires mark corresponding to the data message, judging to work as
Whether preceding PPP network connections are in dial-up success state;
The connection holding unit, for when the judged result of the second judging unit is is, keeping PPP network connections to dial
Number success status;
The trigger element, specifically for when the judged result of the second judging unit is no, triggering PPP network connections are dialled
Number, until dial-up success.
In technical scheme provided by the present invention, the data message for reaching home gateway PPP network interfaces is distributed different
Mark, to distinguish the source of data message;And inquire about whether have the mark in being locally configured, to judge the datagram in the source
Whether text allows triggering to dial, and the triggering dialing when allowing.So, it is ensured that only user specifies the data message in source to lead to
Just triggering dialing, user's undesirable data message will not trigger when passing through home gateway when crossing home gateway PPP network interfaces
Dialing, so as to save expenses of surfing Internet, and is realized simple and convenient.
Brief description of the drawings
Fig. 1 is the implementation process schematic diagram of the inventive method;
Fig. 2 is the composition structural representation of home gateway of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Fig. 1 show the implementation process schematic diagram of the inventive method, comprises the following steps:
Step 101:When home gateway has detected that data message reaches local PPP network interfaces, according to the number detected
According to the source identification of the message data message;
Here, before the home gateway identifies the data message, this method is further comprising the steps of:
Home gateway is the data message configuration PPP network connections detected, and the PPP network connections are in the shape that do not dial
State, and it is arranged to On Demand dialing modes.
Wherein, the data message of home gateway processing is by sources divided into following three kinds:
LAN side forwarding, data message caused by extension PC under home gateway, are sent by home gateway;
Locally send, the locally applied caused data message of home gateway, is sent by home gateway;
Data message that WAN-side is sent, coming through WAN-side line transmission, is received by home gateway.
Here, when the home gateway has detected that data message reaches local PPP network interfaces, according to data message
The source identification data message is specially:When home gateway has detected that data message reaches local PPP network interfaces, according to existing
Have in technology for the attribute information of network interface in the data structure of data message distribution, to receive the data message, sentence
The source of the disconnected data message;It is that the data message of same source distributes like-identified behind the source for judging data message, with
The data message of distinguishing different.
Specifically:If network interface attribute is WAN, the data message is that WAN-side is sent, through WAN-side line transmission
The data message come;If network interface attribute is LAN, the data message is LAN side forwarding, extension PC generations under home gateway
Data message;If the data message does not have network interface attribute information, the data message is locally send, home gateway
Data message caused by locally applied.
Preferably, it is above-mentioned be the distribution of three kinds of derived data messages mark, bit combinations 01 can be used respectively,
10,11 represent, and generally, corresponding data structure are assigned for each data message, and corresponding with data message source identification two
Binary digits combination can be placed in the reserved field of the data structure, in subsequent treatment, read the field of storage mark, i.e.,
The mark of the data message can be learnt.
Step 102:Judge whether the data message allows to trigger PPP network connections dialing, and PPP nets are triggered when allowing
Network connection dialing.
Here, it is described to judge whether the data message allows to trigger PPP network connections dialing, and trigger PPP when allowing
Network connection is dialled:
Whether home gateway inquiry, which has in being locally configured corresponding to the data message, identifies, if so, then triggering PPP networks
Connection dialing;Otherwise, the operation for detecting whether data message and reaching local PPP network interfaces is continued executing with.
Here, before step 102, can also comprise the following steps:
For home gateway according to one or more of matched routings rule, firewall filtering rule and QoS rules, judging should
Whether data message is effective, if it is valid, whether perform has the corresponding mark of the data message during the inquiry is locally configured
Operation;Otherwise, detect whether that data message reaches the operation of local PPP network interfaces described in execution.
Here, user presets mark corresponding to the data message source for it is expected to trigger dialing in being locally configured, and such as sets
10th, 11, then LAN side forwarding, dialing should will not be triggered by the data message that home gateway is sent, and 10,11 correspondence sources
Data message, significant figure is only being judged as according to one or more of matched rule, firewall filtering rule and QoS rules
During according to message, dialing could be triggered.
Here, the matched routings rule, firewall filtering rule and QoS rules, to judge datagram in the prior art
The whether effective rule of text, user can as needed be pre-configured with, repeat no more.
Here, the home gateway according to matched routings rule, firewall filtering rule and QoS rules in one or more
It is individual, judge whether the data message is effective, be specially:
When data message is the data message that LAN side is forwarded or WAN-side is sent, when the data message reaches PPP networks
Before interface, according to prior art manner, according to matched routings rule, whether the data message has with firewall filtering rule judgment
Effect, if it is, allowing the data message otherwise, to abandon the data message by PPP network interfaces;
When the data message reaches PPP network interfaces, handled according to the flow of step 101:According to the datagram
The literary source identification data message;, can be according to the QoS rule judgments datagram after the data message is by PPP network interfaces
Whether text is effective, if it is, being handled according to the flow of step 102;Judge whether the data message allows to trigger PPP nets
Network connection dialing;Otherwise, abandon the data message and continue to have detected whether that data message reaches local PPP network interfaces;
When data message is the data message locally sent, when the data message reaches PPP network interfaces, according to step
Rapid 101 flow is handled:According to the data message source identification data message;Pass through PPP networks in the data message
After interface, it can judge whether the data message is effective according to matched routings rule, firewall filtering rule and QoS rules, if
It is then to be handled according to the flow of step 102;Judge whether the data message allows to trigger PPP network connections dialing;It is no
Then, the data message is abandoned, and continues to have detected whether that data message reaches local PPP network interfaces.
Here, the triggering PPP network connections, which are dialled, is:Judge whether current PPP network connections are in dial-up success shape
State, if it is, keeping PPP network connection current states;Otherwise, PPP network connections dialing is triggered until dial-up success.
Here, after triggering PPP network connections dialing, whether home gateway is periodically detected has data message to pass through
PPP network interfaces, if it is, keeping PPP network connection dial-up success states;Otherwise, PPP network connections are placed in and do not dialled
State.
Fig. 2 is that home gateway of the present invention forms structural representation, and the home gateway includes:Detection unit 21, mark unit
22nd, query unit 23 and trigger element 24;Wherein,
The detection unit 21, for detecting whether there is data message to reach local PPP network interfaces;
It is described mark unit 22, for detection unit 21 detected data message reach local PPP network interfaces when,
According to the source identification of the data message detected the data message;
The query unit 23, whether there is mark corresponding to the data message detected in being locally configured for inquiry;
The trigger element 24, for after query unit 23 inquires mark corresponding to the data message detected, touching
Send out PPP network connections dialing.
The home gateway also includes:First judging unit 25, for mark unit 22 identify the data message after, according to
One or more of matched routings rule, firewall filtering rule and QoS rules, judge whether the data message is effective;
The query unit 23, specifically for when the judged result of the first judging unit 25 is is, inquiry is locally configured
In whether have and identify corresponding to the data message;
The detection unit 21, it is additionally operable to, when the judged result of the first judging unit 25 is no, continue to have detected whether
Data message reaches local PPP network interfaces;It is additionally operable to not inquire the data message that detects in query unit 23 corresponding
Mark after, continue to have detected whether that data message reaches local PPP network interfaces.
The home gateway also includes:Second judging unit 26 and connection holding unit 27;Wherein,
Second judging unit 26, for after query unit 23 inquires mark corresponding to the data message, judging
Whether current PPP network connections are in dial-up success state;
The connection holding unit 27, for when the judged result of the second judging unit 26 is is, keeping PPP networks to connect
Connect current state;
The trigger element 24, specifically for when the judged result of the second judging unit 26 is no, triggering PPP networks connect
Dialing is connect, until dial-up success.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (6)
- A kind of 1. point-to-point protocol PPP dial on demand methods, it is characterised in that this method includes:When home gateway has detected that data message reaches local PPP network interfaces, according to the source of the data message detected Identify the data message;Judge whether the data message allows to trigger PPP network connections dialing, and trigger PPP network connections when allowing and dial Number;Wherein, it is described to judge whether the data message allows to trigger PPP network connections dialing, and trigger PPP nets when allowing Network connects dialing:Whether home gateway inquiry, which has in being locally configured corresponding to the data message, identifies, if it is, triggering PPP network connections are dialled;Otherwise, the operation for detecting whether data message and reaching local PPP network interfaces is continued executing with.
- 2. according to the method for claim 1, it is characterised in that it is described whether the home gateway inquiry has in being locally configured Before being identified corresponding to data message, this method also includes:Home gateway is sentenced according to one or more of matched routings rule, firewall filtering rule and service quality QoS rule Whether the data message that breaks is effective, if it is, whether perform during the inquiry is locally configured has the data message corresponding The operation of mark;Otherwise, detect whether that data message reaches the operation of local PPP network interfaces described in execution.
- 3. method according to claim 1 or 2, it is characterised in that the triggering PPP network connections, which are dialled, is:Judge whether current PPP network connections are in dial-up success state, if it is, keeping PPP network connection current states; Otherwise, PPP network connections dialing is triggered until dial-up success.
- 4. a kind of home gateway, it is characterised in that the home gateway includes:Detection unit, mark unit, query unit and triggering Unit;Wherein,The detection unit, for detecting whether there is data message to reach local PPP network interfaces;The mark unit, for after detection unit has detected that data message reaches local PPP network interfaces, according to detection Data message described in the source identification of the data message arrived;The query unit, whether there is mark corresponding to the data message in being locally configured for inquiry;The trigger element, for after query unit inquires mark corresponding to the data message, triggering PPP network connections Dialing.
- 5. home gateway according to claim 4, it is characterised in that the home gateway also includes:First judging unit, for described in mark unit marks after data message, according to matched routings rule, firewall filtering One or more of rule and QoS rules, judge whether the data message is effective;The query unit, specifically for when the judged result of the first judging unit is is, whether inquiry has in being locally configured Identified corresponding to the data message;The detection unit, it is additionally operable to, when the judged result of the first judging unit is no, continue to have detected whether data message Reach local PPP network interfaces;It is additionally operable to after query unit does not inquire mark corresponding to the data message that detects, after It is continuous to have detected whether that data message reaches local PPP network interfaces.
- 6. home gateway according to claim 5, it is characterised in that the home gateway also includes:Second judging unit With connection holding unit;Wherein,Second judging unit, for after query unit inquires mark corresponding to the data message, judging current PPP Whether network connection is in dial-up success state;The connection holding unit, for when the judged result of the second judging unit is is, keep PPP network connections dialing into Work(state;The trigger element, specifically for when the judged result of the second judging unit is no, triggering PPP network connections are dialled, Until dial-up success.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210367151.1A CN103701837B (en) | 2012-09-27 | 2012-09-27 | A kind of point-to-point protocol dial on demand method and home gateway |
PCT/CN2013/081801 WO2014048187A1 (en) | 2012-09-27 | 2013-08-19 | Point-to-point protocol dialing method and home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210367151.1A CN103701837B (en) | 2012-09-27 | 2012-09-27 | A kind of point-to-point protocol dial on demand method and home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103701837A CN103701837A (en) | 2014-04-02 |
CN103701837B true CN103701837B (en) | 2018-04-10 |
Family
ID=50363233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210367151.1A Active CN103701837B (en) | 2012-09-27 | 2012-09-27 | A kind of point-to-point protocol dial on demand method and home gateway |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103701837B (en) |
WO (1) | WO2014048187A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376842B (en) * | 2014-08-28 | 2019-12-10 | 中兴通讯股份有限公司 | Dialing and de-dialing method and device |
CN111641533A (en) * | 2020-05-27 | 2020-09-08 | 博为科技有限公司 | Method and device for dialing broadband access on demand |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146045A (en) * | 2007-10-11 | 2008-03-19 | 杭州华三通信技术有限公司 | Radio LAN and its access method and access device |
CN102123071A (en) * | 2010-01-11 | 2011-07-13 | 中兴通讯股份有限公司 | Realizing method, network, terminal and intercommunication service node for classification processing of data messages |
CN102123072A (en) * | 2010-01-11 | 2011-07-13 | 中兴通讯股份有限公司 | Data message classification processing method and network, and terminal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7190687B1 (en) * | 2000-01-04 | 2007-03-13 | Qualcomm Incorporated | Method and apparatus for requesting point-to-point protocol (PPP) instances from a packet data services network |
CN100571199C (en) * | 2005-12-16 | 2009-12-16 | 华为技术有限公司 | The method of a kind of home gateway and guarantee in-home network service terminal QoS |
CN101018226B (en) * | 2006-09-25 | 2012-09-05 | 华为技术有限公司 | A method for access terminal and operator binding |
CN101090377B (en) * | 2007-07-31 | 2010-12-08 | 中兴通讯股份有限公司 | Implementing method for multi-service data flow selecting on gateway |
CN101599895B (en) * | 2008-06-04 | 2012-07-04 | 华为技术有限公司 | Data processing method, wideband network gateway, strategy controller device and accessing node equipment |
CN101505236A (en) * | 2009-03-12 | 2009-08-12 | 成都市华为赛门铁克科技有限公司 | Method and apparatus for implementing green internet surfing |
CN101656738B (en) * | 2009-09-22 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for verifying terminal accessed to network |
-
2012
- 2012-09-27 CN CN201210367151.1A patent/CN103701837B/en active Active
-
2013
- 2013-08-19 WO PCT/CN2013/081801 patent/WO2014048187A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146045A (en) * | 2007-10-11 | 2008-03-19 | 杭州华三通信技术有限公司 | Radio LAN and its access method and access device |
CN102123071A (en) * | 2010-01-11 | 2011-07-13 | 中兴通讯股份有限公司 | Realizing method, network, terminal and intercommunication service node for classification processing of data messages |
CN102123072A (en) * | 2010-01-11 | 2011-07-13 | 中兴通讯股份有限公司 | Data message classification processing method and network, and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103701837A (en) | 2014-04-02 |
WO2014048187A1 (en) | 2014-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101427523B (en) | A business-binding method and device | |
WO2007111824A3 (en) | Logical group endpoint discovery for data communication network | |
CN102263774B (en) | Method and device for processing source role information | |
CN101115006B (en) | Three-layer packet forwarding method and routing device and two-layer switch module | |
CN101087211B (en) | A method and system for realizing echo function in BFD mechanism and its function entity | |
WO2007050897A3 (en) | A method and apparatus for processing in a connected state by an access terminal and access network in wireless communication systems | |
CN101123614B (en) | A method and communication device for processing address parsing protocol packet | |
ATE504151T1 (en) | INTELLIGENT NETWORK ADDRESS TRANSLATOR AND METHOD FOR NETWORK ADDRESS TRANSLATION | |
WO2008070822A3 (en) | Systems, methods, media, and means for hiding network topology | |
EP2190148A4 (en) | Method, system and device for removing media access control address | |
DE602005000990D1 (en) | Procedure for exchanging data packets | |
CN103023779B (en) | A kind of data message processing method and device | |
CN103701837B (en) | A kind of point-to-point protocol dial on demand method and home gateway | |
CN106685773B (en) | A kind of intelligent network type PPPoE and DHCP cut-in method and system | |
CN102438051A (en) | Method and system for realizing dynamic host configuration protocol (DHCP) relay of two-layer network switch equipment | |
CN105871560B (en) | The starting method and device of router | |
CN103795550B (en) | Method of supplying power to and device | |
CN105933179B (en) | The method of multimedia terminal and push online unexpected message | |
CN107454208A (en) | A kind of is the method that network address is distributed from node device | |
CN101969478A (en) | Intelligent DNS message processing method and processing device | |
CN104994071B (en) | The backup method and device of broadband remote access server equipment | |
CN100454825C (en) | Static user access network control method based on MAC address | |
CN101399693B (en) | Internal network IP address protection method based on ARP response | |
JP2007148781A (en) | Power management controller for network peripheral device | |
CN106131046B (en) | anti-attack processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |