CN103701837A - PPP (Point-to-point Protocol) on-demand dialing method and home gateway - Google Patents

PPP (Point-to-point Protocol) on-demand dialing method and home gateway Download PDF

Info

Publication number
CN103701837A
CN103701837A CN201210367151.1A CN201210367151A CN103701837A CN 103701837 A CN103701837 A CN 103701837A CN 201210367151 A CN201210367151 A CN 201210367151A CN 103701837 A CN103701837 A CN 103701837A
Authority
CN
China
Prior art keywords
data message
ppp network
home gateway
ppp
dialing
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
CN201210367151.1A
Other languages
Chinese (zh)
Other versions
CN103701837B (en
Inventor
孙亚权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201210367151.1A priority Critical patent/CN103701837B/en
Priority to PCT/CN2013/081801 priority patent/WO2014048187A1/en
Publication of CN103701837A publication Critical patent/CN103701837A/en
Application granted granted Critical
Publication of CN103701837B publication Critical patent/CN103701837B/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/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Abstract

The invention discloses a PPP (Point-to-point Protocol) on-demand dialing method. The method comprises the following steps: a home gateway marking a data message according to the source of a detected data message when detecting that a data message arrives at a local PPP network interface; determining whether the data message triggers PPP network connection dialing, and triggering the PPP network connection dialing when being allowed. The invention also discloses a home gateway. By using the technical scheme of the invention, the method can ensure that only the data message from a user-appointed source can trigger dialing when passing through the PPP network interface of the home gateway, thereby saving the internet cost.

Description

A kind of point-to-point protocol dial on demand method and home gateway
Technical field
The present invention relates to point-to-point protocol in network service (PPP, Point-to-Point Protocol) dial technology, relate in particular to a kind of PPP dial on demand method and home gateway.
Background technology
PPP dialing is the common mode of surfing the Net by home gateway, at PPP as required under (On Demand) dialing mode, the data message of home gateway monitoring arrival self PPP network interface, have data message by time trigger PPP network and connect dialing or keep PPP network to connect dial-up success state, while passing through without data message in a period of time after dial-up success, just PPP network is connected and is placed in not dialing status.
The data message of above-mentioned arrival home gateway PPP network interface comprises with Types Below:
Under that local area network (LAN) (LAN, Local Area Network) side forwards, home gateway, hang the data message that PC produces, by home gateway, forwarded;
Local send, the local data message producing of applying of home gateway, is sent by home gateway;
Data message that wide area network (WAN, Wide Area Network) side is sent, that come through the transmission of WAN side line road, is received by home gateway.
The data message of expecting to set a certain type as user just triggers dialing during by home gateway PPP network interface, during with saving expenses of surfing Internet, can in family's gateway firewall module, filtering rule be set and reach this object, but consider from implementing angle, need to expand with identification data message source FWSM like this, increase module coupling difficulty; And, if close home gateway firewall functionality or reduce FWSM for reducing home gateway cost, the data message that user cannot specify a certain source just triggers dialing during by home gateway PPP network interface, cannot reach the object that reduces expenses of surfing Internet.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of PPP dial on demand method and home gateway, in the time of can guaranteeing to only have data message that user specifies source by home gateway PPP network interface, just triggers dialing, has saved expenses of surfing Internet.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of PPP dial on demand method, the method comprises:
When home gateway has detected data message and arrives local PPP network interface, according to the source of the data message detecting, identify described data message;
Judge whether described data message allows to trigger PPP network and connect dialing, and when allowing, trigger PPP network connection dialing.
In such scheme, describedly judge whether data message allows to trigger PPP network and connect dialing, and when allowing, trigger PPP network and connect dialing and be:
In the local configuration of home gateway inquiry, whether there is the sign that described data message is corresponding, if so, trigger PPP network and connect dialing; Otherwise whether continue to carry out described detection has data message to arrive the operation of local PPP network interface.
In such scheme, before whether having the sign that described data message is corresponding in the local configuration of described home gateway inquiry, the method also comprises:
Home gateway is according to matched routings is regular, firewall filtering is regular and QoS (Quality of Service, service quality) one or more in rule, judge that whether described data message is effective, if so, carry out the operation that whether has the corresponding sign of described data message in the local configuration of described inquiry; Otherwise whether carry out described detection has data message to arrive the operation of local PPP network interface.
In such scheme, described triggering PPP network connects dialing and is:
Judge that whether current PPP network connects in dial-up success state, if so, keep PPP network to connect current state; Otherwise, trigger PPP network and connect dialing until dial-up success.
Accordingly, the present invention also provides a kind of home gateway, and this home gateway comprises: detecting unit, identify unit, query unit and trigger element; Wherein,
Whether described detecting unit, for detection of having data message to arrive local PPP network interface;
Described identify unit, arrives after local PPP network interface for data message detected at detecting unit, according to the source of the data message detecting, identifies described data message;
Whether described query unit, have for inquiring about local configuration the sign that described data message is corresponding;
Described trigger element, for inquiring in query unit after the sign that described data message is corresponding, triggers PPP network and connects dialing.
In such scheme, this home gateway also comprises:
The first judging unit, for identifying at identify unit after described data message, according to matched routings rule, firewall filtering is regular and one or more in regular of QoS, judges that whether described data message is effective;
Whether described query unit, specifically for when judgment result is that of the first judging unit is, have the sign that described data message is corresponding in the local configuration of inquiry;
Described detecting unit, also whether when at the first judging unit, the determination result is NO, continuing to detect has data message to arrive local PPP network interface; Also whether, for not inquiring in query unit after the sign that the data message that detects is corresponding, continuing to detect has data message to arrive local PPP network interface.
In such scheme, described home gateway also comprises: the second judging unit be connected holding unit; Wherein,
Described the second judging unit, for inquiring after the sign that described data message is corresponding in query unit, judges that whether current PPP network connects in dial-up success state;
Described connection holding unit, for when judgment result is that of the second judging unit is, keeps PPP network to connect dial-up success state;
Described trigger element, when the determination result is NO at the second judging unit, triggers PPP network and connects dialing, until dial-up success.
In technical scheme provided by the present invention, to arriving the data message of home gateway PPP network interface, distribute different identification, to distinguish the source of data message; And whether inquiry has this sign in the configuration of this locality, to judge whether the data message in this source allows to trigger dialing, and when allowing, trigger dialing.So, just trigger dialing in the time of can guaranteeing to only have data message that user specifies source by home gateway PPP network interface, the less desirable data message of user can not trigger dialing during by home gateway, thereby has saved expenses of surfing Internet, and realizes simple and convenient.
Accompanying drawing explanation
Fig. 1 is the realization flow 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 drawings and the specific embodiments, the present invention is further described in more detail.
The realization flow schematic diagram that Figure 1 shows that the inventive method, comprises the following steps:
Step 101: when home gateway has detected data message and arrives local PPP network interface, identify this data message according to the source of the data message detecting;
Here, before described home gateway identifies this data message, the method is further comprising the steps of:
Home gateway is that the data message configuration PPP network detecting connects, and this PPP network connects in dialing status not, and is set to On Demand dialing mode.
Wherein, the data message that home gateway is processed is by sources divided into following three kinds:
Under that LAN side forwards, home gateway, hang the data message that PC produces, by home gateway, sent;
Local send, the local data message producing of applying of home gateway, is sent by home gateway;
Data message that WAN side is sent, that come through the transmission of WAN side line road, is received by home gateway.
Here, when described home gateway has detected data message and has arrived local PPP network interface, according to the source of data message, identifying this data message is specially: when home gateway has detected data message and arrives local PPP network interface, according to the attribute information of network interface in the data structure of distributing for this data message in prior art, that receive this data message, judge the source of this data message; Judge behind the source of data message, for the data message distribution like-identified in same source, with the data message of distinguishing different.
Concrete: if network interface attribute is WAN, this data message is data message that WAN side is sent, that come through the transmission of WAN side line road; If network interface attribute is LAN, this data message is to hang the data message that PC produces under that LAN side forwards, home gateway; If this data message does not have network interface attribute information, this data message is local send, the local data message producing of applying of home gateway.
Preferably, above-mentioned is three kinds of signs that source data message distributes, can be respectively with binary digit combination 01,10,11 representatives, conventionally, for each data message is assigned corresponding data structure, the binary digit combination corresponding with data message source sign can be placed in the reserved field of this data structure, in subsequent treatment, read the field of this storaging mark, can learn the sign of this data message.
Step 102: judge whether this data message allows to trigger PPP network and connect dialing, and trigger PPP network connection dialing when allowing.
Here, describedly judge whether this data message allows to trigger PPP network and connect dialing, and when allowing, trigger PPP network and connect dialing and be:
In the local configuration of home gateway inquiry, whether there is the sign that this data message is corresponding, if had, trigger PPP network and connect dialing; Otherwise whether continue to carry out described detection has data message to arrive the operation of local PPP network interface.
Here, before step 102, can also comprise the following steps:
Home gateway according to matched routings rule, firewall filtering is regular and one or more in regular of QoS, judges that whether this data message effective, if effectively, carries out the operation that whether has the corresponding sign of this data message in the local configuration of described inquiry; Otherwise whether carry out described detection has data message to arrive the operation of local PPP network interface.
Here, user's data message that default expectation triggers dialing in this locality configuration corresponding sign of originating, as arrange 10,11, LAN side data message that forward, that should be sent by home gateway can not trigger dialing, and 10, the data message in 11 corresponding sources, only, when being judged as valid data message according to one or more in matched rule, firewall filtering rule and QoS rule, could trigger dialing.
Here, described matched routings is regular, firewall filtering is regular and QoS is regular, and whether effectively for judging data message rule in prior art, user can be pre-configured as required, repeats no more.
Here, described home gateway according to matched routings rule, firewall filtering is regular and one or more in regular of QoS, judges that whether this data message effective, be specially:
When data message is the data message that LAN side forwards or WAN side sends, before this data message arrives PPP network interface, according to prior art mode, whether effective according to matched routings rule and this data message of firewall filtering rule judgment, if, allow this data message by PPP network interface, otherwise, this data message abandoned;
When this data message arrives PPP network interface, according to the flow process of step 101, process: according to this data message source this data message of sign; At this data message, by after PPP network interface, whether meeting is effective according to this data message of QoS rule judgment, if so, according to the flow process of step 102, processes; Judge whether this data message allows to trigger PPP network and connect dialing; Otherwise whether abandon this data message and continue to detect has data message to arrive local PPP network interface;
When data message is the local data message sending, when this data message arrives PPP network interface, according to the flow process of step 101, process: according to this data message source this data message of sign; At this data message, by after PPP network interface, can, according to matched routings is regular, firewall filtering is regular and QoS is regular, judges that whether this data message is effective, if so, according to the flow process of step 102, process; Judge whether this data message allows to trigger PPP network and connect dialing; Otherwise, abandon this data message, and whether continuation detection has data message to arrive local PPP network interface.
Here, described triggering PPP network connects dialing and is: judge that whether current PPP network connects in dial-up success state, if so, keep PPP network to connect current state; Otherwise, trigger PPP network and connect dialing until dial-up success.
Here, after triggering PPP network connection dialing, whether home gateway periodically detects has data message to pass through PPP network interface, if so, keeps PPP network to connect dial-up success state; Otherwise, PPP network is connected and is placed in not dialing status.
Fig. 2 is that home gateway of the present invention forms structural representation, and this home gateway comprises: detecting unit 21, identify unit 22, query unit 23 and trigger element 24; Wherein,
Whether described detecting unit 21, for detection of having data message to arrive local PPP network interface;
Described identify unit 22, while arriving local PPP network interface for data message having been detected at detecting unit 21, identifies this data message according to the source of the data message detecting;
Whether described query unit 23, have for inquiring about local configuration sign corresponding to data message detecting;
Described trigger element 24, for inquiring in query unit 23 after the sign that the data message that detects is corresponding, triggers PPP network and connects dialing.
This home gateway also comprises: the first judging unit 25, for after these data messages of identify unit 22 sign, according to matched routings rule, firewall filtering is regular and one or more in regular of QoS, judges that whether this data message is effective;
Whether described query unit 23, specifically for when judgment result is that of the first judging unit 25 is, have the sign that this data message is corresponding in the local configuration of inquiry;
Described detecting unit 21, also whether when at the first judging unit 25, the determination result is NO, continuing to detect has data message to arrive local PPP network interface; Also whether, for not inquiring in query unit 23 after the sign that the data message that detects is corresponding, continuing to detect has data message to arrive local PPP network interface.
This home gateway also comprises: the second judging unit 26 be connected holding unit 27; Wherein,
Described the second judging unit 26, for inquiring after the sign that this data message is corresponding in query unit 23, judges that whether current PPP network connects in dial-up success state;
Described connection holding unit 27, for when judgment result is that of the second judging unit 26 is, keeps PPP network to connect current state;
Described trigger element 24, when the determination result is NO at the second judging unit 26, triggers PPP network and connects dialing, until dial-up success.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (7)

1. a point-to-point protocol PPP dial on demand method, is characterized in that, the method comprises:
When home gateway has detected data message and arrives local PPP network interface, according to the source of the data message detecting, identify described data message;
Judge whether described data message allows to trigger PPP network and connect dialing, and when allowing, trigger PPP network connection dialing.
2. method according to claim 1, is characterized in that, describedly judges whether described data message allows to trigger PPP network and connect dialing, and when allowing, triggers PPP network and connect dialing and be:
In the local configuration of home gateway inquiry, whether there is the sign that described data message is corresponding, if so, trigger PPP network and connect dialing; Otherwise whether continue to carry out described detection has data message to arrive the operation of local PPP network interface.
3. method according to claim 2, is characterized in that, before whether having the sign that described data message is corresponding in the local configuration of described home gateway inquiry, the method also comprises:
Home gateway according to matched routings rule, firewall filtering is regular and one or more in regular of service quality QoS, judge that whether described data message is effective, if so, carry out the operation that whether has the corresponding sign of described data message in the local configuration of described inquiry; Otherwise whether carry out described detection has data message to arrive the operation of local PPP network interface.
4. according to the method described in claim 1,2 or 3, it is characterized in that, described triggering PPP network connects dialing and is:
Judge that whether current PPP network connects in dial-up success state, if so, keep PPP network to connect current state; Otherwise, trigger PPP network and connect dialing until dial-up success.
5. a home gateway, is characterized in that, this home gateway comprises: detecting unit, identify unit, query unit and trigger element; Wherein,
Whether described detecting unit, for detection of having data message to arrive local PPP network interface;
Described identify unit, arrives after local PPP network interface for data message detected at detecting unit, according to the source of the data message detecting, identifies described data message;
Whether described query unit, have for inquiring about local configuration the sign that described data message is corresponding;
Described trigger element, for inquiring in query unit after the sign that described data message is corresponding, triggers PPP network and connects dialing.
6. home gateway according to claim 5, is characterized in that, this home gateway also comprises:
The first judging unit, for identifying at identify unit after described data message, according to matched routings rule, firewall filtering is regular and one or more in regular of QoS, judges that whether described data message is effective;
Whether described query unit, specifically for when judgment result is that of the first judging unit is, have the sign that described data message is corresponding in the local configuration of inquiry;
Described detecting unit, also whether when at the first judging unit, the determination result is NO, continuing to detect has data message to arrive local PPP network interface; Also whether, for not inquiring in query unit after the sign that the data message that detects is corresponding, continuing to detect has data message to arrive local PPP network interface.
7. home gateway according to claim 6, is characterized in that, described home gateway also comprises: the second judging unit be connected holding unit; Wherein,
Described the second judging unit, for inquiring after the sign that described data message is corresponding in query unit, judges that whether current PPP network connects in dial-up success state;
Described connection holding unit, for when judgment result is that of the second judging unit is, keeps PPP network to connect dial-up success state;
Described trigger element, when the determination result is NO at the second judging unit, triggers PPP network and connects dialing, until dial-up success.
CN201210367151.1A 2012-09-27 2012-09-27 A kind of point-to-point protocol dial on demand method and home gateway Active CN103701837B (en)

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 true CN103701837A (en) 2014-04-02
CN103701837B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117447A1 (en) * 2014-08-28 2015-08-13 中兴通讯股份有限公司 Methods and apparatus for dialing and disabling dialing
CN111641533A (en) * 2020-05-27 2020-09-08 博为科技有限公司 Method and device for dialing broadband access on demand

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859292A (en) * 2005-12-16 2006-11-08 华为技术有限公司 Household gateway and method for ensuring household network service terminal QoS
CN101018226A (en) * 2006-09-25 2007-08-15 华为技术有限公司 A method for access terminal and operator binding
CN101090377A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 Implementing method for multi-service data flow selecting on gateway
CN101146045A (en) * 2007-10-11 2008-03-19 杭州华三通信技术有限公司 Radio LAN and its access method and access device
WO2009146621A1 (en) * 2008-06-04 2009-12-10 华为技术有限公司 Data processing method, broadband network gateway, policy controller and access device
CN101656738A (en) * 2009-09-22 2010-02-24 中兴通讯股份有限公司 Method and device for verifying terminal accessed to network
US7773547B2 (en) * 2000-01-04 2010-08-10 Qualcomm Incorporated Method and apparatus for requesting point-to-point protocol (PPP) instances from a packet data services network
WO2010102570A1 (en) * 2009-03-12 2010-09-16 成都市华为赛门铁克科技有限公司 Method and apparatus for realizing green internet-access
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7773547B2 (en) * 2000-01-04 2010-08-10 Qualcomm Incorporated Method and apparatus for requesting point-to-point protocol (PPP) instances from a packet data services network
CN1859292A (en) * 2005-12-16 2006-11-08 华为技术有限公司 Household gateway and method for ensuring household network service terminal QoS
CN101018226A (en) * 2006-09-25 2007-08-15 华为技术有限公司 A method for access terminal and operator binding
CN101090377A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 Implementing method for multi-service data flow selecting on gateway
CN101146045A (en) * 2007-10-11 2008-03-19 杭州华三通信技术有限公司 Radio LAN and its access method and access device
WO2009146621A1 (en) * 2008-06-04 2009-12-10 华为技术有限公司 Data processing method, broadband network gateway, policy controller and access device
WO2010102570A1 (en) * 2009-03-12 2010-09-16 成都市华为赛门铁克科技有限公司 Method and apparatus for realizing green internet-access
CN101656738A (en) * 2009-09-22 2010-02-24 中兴通讯股份有限公司 Method and device for verifying terminal accessed to network
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117447A1 (en) * 2014-08-28 2015-08-13 中兴通讯股份有限公司 Methods and apparatus for dialing and disabling dialing
CN105376842A (en) * 2014-08-28 2016-03-02 中兴通讯股份有限公司 Dialing/de-dialing method and device
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

Also Published As

Publication number Publication date
WO2014048187A1 (en) 2014-04-03
CN103701837B (en) 2018-04-10

Similar Documents

Publication Publication Date Title
WO2006044145A3 (en) System and method for tunneling standard bus protocol messages through an automotive switch fabric network
DE60129821D1 (en) COMMON CHARGING DETECTION FOR COMMUNICATION NETWORKS
WO2007073314A3 (en) Monitoring system and method for connecting a monitoring device to a service server
CN101616490B (en) Method of deciding to release communication resources
WO2008070822A3 (en) Systems, methods, media, and means for hiding network topology
WO2007111824A3 (en) Logical group endpoint discovery for data communication network
RU2007134412A (en) DEVICE AND METHOD FOR SELECTING A NETWORK INTERFACE IN A MOBILE TERMINAL SUPPORTING A MULTIPLE WIRELESS ACCESS DIAGRAM
EP2161880A1 (en) A method for processing ether rig net message and an ether rig net protection system using the method
CN104270302B (en) The transmission system of online order and transfer approach
WO2006015244A3 (en) Communication system and method for real-time internet-based network connectivity to multiple heterogeneous backend systems
CN107484232A (en) Message method, system, the network equipment and readable storage medium storing program for executing
CN104753749B (en) A kind of multi-host communication method and communication system
CN103701837A (en) PPP (Point-to-point Protocol) on-demand dialing method and home gateway
CN101986609A (en) Method and system for realizing network flow cleaning
EP1379028A3 (en) Radio terminal, communication control method and computer program
CN107454208A (en) A kind of is the method that network address is distributed from node device
CN102916883A (en) LINK detection method and routing forwarding equipment
EP2897360B1 (en) Method for getting a device online, address delivery method, peripheral unit and server
CN102882795B (en) Method and device for issuing internet protocol (IP) multicast message in wireless network
CN104506358A (en) SNMP (simple network management protocol) based network management system and network management method
CN105391666B (en) Multi-service bus transmission system and transmission method based on FSK modulation demodulation
CN106131046B (en) anti-attack processing method and device
CN101909009A (en) Routing method, routing system and service gateway in intelligent home system
CN108135010A (en) A kind of communication data transmission method, the apparatus and system of Internet of Things network interface card
CN104754762B (en) Automatically method, controller and the system of controller are found in the customized network of software

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