CN110572725B - Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway - Google Patents

Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway Download PDF

Info

Publication number
CN110572725B
CN110572725B CN201910688491.6A CN201910688491A CN110572725B CN 110572725 B CN110572725 B CN 110572725B CN 201910688491 A CN201910688491 A CN 201910688491A CN 110572725 B CN110572725 B CN 110572725B
Authority
CN
China
Prior art keywords
pppoe
dialing
gem port
flag value
channel
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
Application number
CN201910688491.6A
Other languages
Chinese (zh)
Other versions
CN110572725A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910688491.6A priority Critical patent/CN110572725B/en
Publication of CN110572725A publication Critical patent/CN110572725A/en
Application granted granted Critical
Publication of CN110572725B publication Critical patent/CN110572725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Abstract

The invention discloses a method and a system for optimizing the PPPoE dialing efficiency of a GPON gateway, and relates to the field of GPON gateway data forwarding. The method comprises the following steps: according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, starting dialing, wherein the dialing rule is as follows: and after one PADT message is sent, sending the PADI message according to the requirement or the default period. The invention ensures that PPPoE dialing of the GPON gateway is successful once, and effectively improves the timeliness of PPPoE dialing.

Description

Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway
Technical Field
The invention relates to the field of GPON gateway data forwarding, in particular to a method and a system for optimizing the PPPoE dialing efficiency of a GPON gateway.
Background
With the rapid development of broadband terminal device technologies such as home gateways and convergence terminals, users also put higher demands on the use experience of terminal devices, and especially pay attention to the starting time of the devices. Some operators in China require that PON (Passive Optical Network ) terminal equipment can use a broadband Network and a Network television in 60s of power-on. For this requirement, the first (first after power-on) Point-to-Point Protocol over Ethernet (PPPoE) dialing success rate of the terminal device is very important. If the PPPoE first dialing fails, the broadband connection time of the terminal device is delayed by 10s (time loss of the dialing process), and for some specially configured servers, the time loss may be even longer, and several dialing rounds are required to succeed.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
at present, gateway equipment, especially a convergence terminal, requires by an operator: after the device is powered on, the gateway Internet service must be available for a certain period of time (60 s). Under the condition of normal starting, the Internet service under the GPON environment generally needs 85-110 s of service to normally run, the requirement of an operator cannot be met, and the use experience of a user is seriously influenced for the converged terminal.
Disclosure of Invention
The invention aims to solve the problem of selection of the first-time dialing time of GPON equipment, and provides a method and a system for optimizing PPPoE dialing efficiency of a GPON gateway, which can ensure that PPPoE dialing of the GPON gateway is successful once, enable equipment to be normally used in 50-55 s gateway Internet service after being electrified, and effectively improve the timeliness of PPPoE dialing.
In a first aspect, a method for optimizing the efficiency of a GPON gateway PPPoE dialing is provided, which includes the following steps:
according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, starting dialing, wherein the dialing rule is as follows: and after one PADT message is sent, sending the PADI message according to the requirement or the default period.
According to the first aspect, in a first possible implementation manner of the first aspect, after determining that a GEM Port channel to which a PPPoE link belongs is successfully created according to a GEM Port mapping mode and a PPPoE channel success flag value, starting dialing specifically includes the following steps:
when the GEM Port mapping mode is the full transparent transmission mode, starting dialing after the full transparent transmission mode is issued;
when the GEM Port mapping mode is a VLAN mode, comparing the VLAN in the PPPoE channel success flag value, and starting dialing after the VLAN channel is successfully established;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and starting dialing after the channel of Pbit is successfully established;
and when the GEM Port mapping mode is a VLAN + Pbit mode, comparing the VLAN + Pbit in the PPPoE channel success flag value, and starting dialing after the VLAN + Pbit channel is successfully established.
According to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after the dialing is started, the method further includes the following steps: and when the successful dialing is successful but the successful mark value of the PPPoE channel is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, updating the successful mark value of the PPPoE channel.
According to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes the following steps:
when the GEM Port mapping mode or the PPPoE channel success flag value is not recorded, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored, dialing is started, and when the dialing is successful but the PPPoE channel success flag value is not recorded or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is not correct, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is recorded.
According to the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes the following steps:
and when the GEM Port mapping mode is changed, updating the GEM Port mapping mode.
In a second aspect, a system for optimizing PPPoE dialing efficiency of a GPON gateway is provided, which includes a storage module, an OMCI management module, and a PPPoE dialing module, wherein:
a storage module to: storing a GEM Port mapping mode and a PPPoE channel success flag value;
an OMCI management module, configured to: according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, informing a PPPoE dialing module to start dialing;
PPPoE dialing module, used for: recording the successful mark value of the PPPoE channel, and storing the successful mark value to a storage module; when receiving the notification of the OMCI management module, starting dialing according to the following dialing rule: and after one PADT message is sent, sending the PADI message according to the requirement or the default period.
According to the second aspect, in a first possible implementation manner of the second aspect, the OMCI management module is specifically configured to:
when the GEM Port mapping mode is a full transparent transmission mode, after the full transparent transmission mode is issued, a PPPoE dialing module is notified to start dialing;
when the GEM Port mapping mode is a VLAN mode, the VLAN in the PPPoE channel success flag value is compared, and after the VLAN channel is successfully established, a PPPoE dialing module is informed to start dialing;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and after the channel of Pbit is successfully established, informing a PPPoE dialing module to start dialing;
and when the GEM Port mapping mode is a VLAN + Pbit mode, comparing the VLAN + Pbit in the PPPoE channel success flag value, and informing the PPPoE dialing module to start dialing after the VLAN + Pbit channel is successfully established.
According to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the PPPoE dialing module is further configured to: after the dialing is started, when the dialing is successful but the PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is updated.
According to the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the OMCI management module is further configured to: when the storage module does not record the GEM Port mapping mode or the PPPoE channel success flag value, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored in the storage module, and the PPPoE dialing module is informed to start dialing;
the PPPoE dialing module is also used for: when the dialing is successful but the PPPoE channel success flag value is not recorded in the storage module or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is recorded and stored in the storage module.
According to the second aspect, in a fourth possible implementation manner of the second aspect, the OMCI management module is further configured to: and updating the GEM Port mapping mode recorded in the storage module when the GEM Port mapping mode recorded in the storage module changes.
Compared with the prior art, the invention has the following advantages:
the invention can ensure that PPPoE dialing of the GPON gateway is successful once, so that the equipment can be normally used in the Internet service of the electrified 50-55 s gateway, the timeliness of the PPPoE dialing is effectively improved, and in the GPON uplink fusion terminal, because a routing channel can be quickly established, a Launcher at the side of a set top box depending on the channel can also be normally loaded in time.
Drawings
Fig. 1 is a block diagram of a system for optimizing PPPoE dialing efficiency of a GPON gateway according to an embodiment of the present invention.
FIG. 2 is a flow chart of the real-time dial-on based on GEM Port channel setup in an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating establishment of a GEM Port channel in a full transparent transmission mode according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of establishing a GEM Port channel in the VLAN mapping mode according to the embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating establishment of a Pbit mapping mode GEM Port channel in an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating establishment of a GEM Port channel in a VLAN + Pbit mapping mode according to an embodiment of the present invention;
fig. 7 is a flow chart of the embodiment of the present invention for using PADT + PADI cyclic dialing.
Detailed Description
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the specific embodiments, it will be understood that they are not intended to limit the invention to the embodiments described. On the contrary, it is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. It should be noted that the method steps described herein may be implemented by any functional block or functional arrangement, and that any functional block or functional arrangement may be implemented as a physical entity or a logical entity, or a combination of both.
In order that those skilled in the art will better understand the present invention, the following detailed description of the invention is provided in conjunction with the accompanying drawings and the detailed description of the invention.
Note that: the example to be described next is only a specific example, and does not limit the embodiments of the present invention necessarily to the following specific steps, values, conditions, data, orders, and the like. Those skilled in the art can, upon reading this specification, utilize the concepts of the present invention to construct more embodiments than those specifically described herein.
The embodiment of the invention provides a method for optimizing the PPPoE dialing efficiency of a GPON gateway, which comprises the following steps:
according to a GEM Port (GPON virtual interface) mapping mode and a PPPoE channel success flag value, wherein the PPPoE channel success flag value comprises VLAN and/or Pbit and the like, after determining that the GEM Port to which the PPPoE link belongs is successfully established, starting dialing, wherein the dialing rule is as follows: after a PADT (PPPoE Active Discovery termination) message is sent, the PADI (PPPoE Active Discovery initiation) message is sent according to the requirement or the default period.
Each successful PPPoE dialing generates an independent session id (session identifier), and in most cases, the PPPoE of the terminal device cannot be successfully dialed once because the session id negotiated with the server last time is not released in time. Therefore, before dialing, the PADT message of the PPPoE session (for terminating the current PPPoE session) needs to be sent, the last connection with the server is disconnected, and then dialing is performed. Therefore, whether the PADT message can be sent out in time or not is a key factor for improving PPPoE dialing efficiency.
Compared with an EPON (Ethernet Passive Optical Network) upstream device, the largest difference in PON data forwarding is: the EPON carries ethernet format data packets, and the GPON carries GEM (G-PON Encapsulation Mode) format data packets, which results in opening of the uplink of the GPON equipment, depending on the delivery of the GEM Port (virtual interface of the GPON) by the OLT (Optical Line Terminal).
The GEM Port and the Ethernet data on the gateway contain various mapping relations, and several general GEM Port mapping modes comprise:
full transparent transmission mode: all data are forwarded through one GEM Port;
VLAN mapping mode: VLAN and GEM Port are associated one-to-one;
pbit mapping mode: 802.1p is associated one-to-one with a GEM Port;
VLAN + Pbit mapping mode.
As a preferred embodiment, according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the creation of the GEM Port channel to which the PPPoE link belongs is successful, starting dialing, specifically including the following steps:
when the GEM Port mapping mode is the full transparent transmission mode, starting dialing after the full transparent transmission mode is issued;
when the GEM Port mapping mode is a VLAN mode, comparing VLANs in the PPPoE channel success flag values, and starting dialing after the VLAN channel is successfully established;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and starting dialing after the channel of Pbit is successfully established;
when the GEM Port mapping mode is the VLAN + Pbit mode, the VLAN + Pbit in the PPPoE channel success flag value is compared, and dialing is started after the VLAN + Pbit channel is successfully established.
As a preferred embodiment, after the dialing is started, the method further comprises the following steps: and when the dialing is successful but the recorded PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, updating the PPPoE channel success flag value.
As a preferred embodiment, the method further comprises the following steps:
when the GEM Port mapping mode or the PPPoE channel success flag value is not recorded, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored, dialing is started, and when the dialing is successful but the PPPoE channel success flag value is not recorded or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is not correct, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is updated.
As a preferred embodiment, the method further comprises the following steps:
and updating the GEM Port mapping mode recorded in the storage module when the GEM Port mapping mode recorded in the storage module changes.
Referring to fig. 1, an embodiment of the present invention further provides a system for optimizing PPPoE dialing efficiency of a GPON gateway, including a storage module, an OMCI management module, and a PPPoE dialing module, where:
a storage module to: storing a GEM Port mapping mode and a PPPoE channel success flag value;
an OMCI management module, configured to: according to the GEM Port mapping mode and the PPPoE channel success flag value, the PPPoE channel success flag value comprises VLAN and/or Pbit, and the like, after the GEM Port to which the PPPoE link belongs is established successfully, the PPPoE dialing module is informed to start dialing;
PPPoE dialing module, used for: recording the successful mark value of the PPPoE channel, and storing the successful mark value to a storage module; when receiving the notification of the OMCI management module, starting dialing according to the following dialing rule: and after one PADT message is sent, sending the PADI message according to the requirement or the default period.
As a preferred embodiment, the OMCI management module is specifically configured to:
when the GEM Port mapping mode is the full transparent transmission mode, after the full transparent transmission mode is issued, a PPPoE dialing module is informed to start dialing;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and after the channel of Pbit is successfully established, informing the PPPoE dialing module to start dialing;
when the GEM Port mapping mode is a VLAN mode, the VLAN in the PPPoE channel success flag value is compared, and after the VLAN channel is successfully established, the PPPoE dialing module is informed to start dialing;
when the GEM Port mapping mode is the VLAN + Pbit mode, the VLAN + Pbit in the PPPoE channel success flag value is compared, and after the VLAN + Pbit channel is successfully established, the PPPoE dialing module is informed to start dialing.
As a preferred embodiment, the PPPoE dialing module is further configured to: after the dialing is started, when the dialing is successful but the PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is updated.
As a preferred embodiment, the OMCI management module is further configured to: when the storage module does not record the GEM Port mapping mode or the PPPoE channel success flag value, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored in the storage module, and the PPPoE dialing module is informed to start dialing;
the PPPoE dialing module is also used for: when the dialing is successful but the PPPoE channel success flag value is not recorded in the storage module or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is recorded and stored in the storage module.
As a preferred embodiment, the OMCI management module is further configured to: and when the GEM Port mapping mode is changed, updating the GEM Port mapping mode.
The OLT issues the GEM Port and the mapping mode thereof, no end mark exists, and in the existing network, the OLT also has the problem of modifying the mapping mode. The current Management module of the OMCI (ONU Management and Control Interface) generally determines that the issuance of the OLT has ended according to that no new issuance is issued within a specified time, and if the PPPoE dialing module determines that the issuance of the GEM Port is completed according to the determination, the waiting time is too long, which affects the dialing efficiency. Therefore, the embodiment of the invention aims to solve the problem of timely triggering PPPoE dialing opportunities in different mapping modes.
The embodiment of the invention provides two schemes:
scheme 1: establishing real-time PPPoE dialing based on the GEM Port channel;
scheme 2: and PADT + PADI cyclic dialing is adopted.
Scheme 1 and scheme 2 are described below, with the emphasis on scheme 1.
Scheme 1:
the system for optimizing the PPPoE dialing efficiency of the GPON gateway comprises a storage module, an OMCI management module and a PPPoE dialing module, wherein:
a storage module to: and storing the GEM Port mapping mode and the PPPoE channel success flag value.
The OMCI management module is used for: after the GEM Port and the related mapping relation are issued, recording the current GEM Port mapping mode, and storing the current GEM Port mapping mode to a storage module; and according to the GEM Port mapping mode and the PPPoE channel success flag value, wherein the PPPoE channel success flag value comprises VLAN and/or Pbit and the like, when the GEM Port to which the PPPoE link belongs is successfully established, the PPPoE dialing module is informed to start dialing.
The PPPoE dialing module is used for: recording the successful mark value of the PPPoE channel, and storing the successful mark value to a storage module; when a message that the establishment of the GEM Port channel to which the PPPoE link belongs is successful is received from the OMCI management module, dialing is started, and the dialing rule is as follows: firstly, a PADT message is sent, then the PADI message is sent periodically according to the requirement of an operator, and if the operator does not have the requirement, the PADI message is sent according to default logic. Each manufacturer can define its own default logic, and generally sends a PADI message for 5s, and after sending 10 times, a cycle is terminated.
Scheme 2:
the system for optimizing the PPPoE dialing efficiency of the GPON gateway comprises an OMCI management module and a PPPoE dialing module, wherein:
the OMCI management module is used for: when the GEM Port and the mapping relation thereof start to issue, the PPPoE dialing module is informed to start dialing.
The PPPoE dialing module is used for: when the notification of the OMCI management module is received, dialing is started, and the dialing rule is that a group of PADT + PADI messages are sent every 2 s.
Referring to fig. 2, the process of establishing real-time startup PPPoE dialing based on the GEM Port channel specifically includes the following steps:
step S101: starting an OMCI management module, and registering the OLT successfully;
step S102: the OMCI management module judges whether the mapping mode of the current GEM Port is stored in the storage module, if so, the step S103 is carried out, otherwise, the step S105 is carried out;
step S103: the OMCI management module judges whether a PPPoE channel success flag value is recorded in the storage module, the PPPoE channel success flag value comprises VLAN and/or Pbit and the like, if yes, the step S104 is carried out; otherwise go to step S105;
step S104: and the OMCI management module determines that the GEM Port to which the PPPoE link belongs is successfully established according to the GEM Port mapping mode and the PPPoE channel success flag value recorded in the storage module, and then informs the PPPoE dialing module to start dialing in time.
According to the OMCI protocol Specification T-REC-G.988-201711-I! | A PDF-E, the mapping modes used by the home gateway include a full transparent (Figure 8.2.2-3 of N:1bridging, see FIG. 3) mode, a VLAN mapping (Figure 8.2.2-5 of N: M bridging-mapping, see FIG. 4) mode, a Pbit mapping (Figure 8.2.2-6 of N: M bridging-mapping, see FIG. 5) mode, and a VLAN + Pbit mapping (Figure 8.2.2-7 of M mapping of 1: MP mapping-mapping, see FIG. 6) mode. The OMCI interactive message is a message with a unified size of 48 bytes, wherein 5-8 bytes of Managed entity identifier field indicate the type of the message, 0X0054 indicates the delivered VLAN related information, and 0X0082 indicates the delivered Pbit related information. If the GEM Port related information is sent completely, the mapping mode is full transparent transmission, if only the VLAN related information exists, the mapping mode is VLAN mapping, if only the Pbit related information exists, the Pbit mapping is represented, and if the VLAN related information and the Pbit related information are included, the mapping mode is VLAN + Pbit mapping.
Step S104 specifically includes the following steps:
1) when the GEM Port mapping mode is the full transparent transmission mode, after the full transparent transmission mode is issued, the PPPoE dialing module is informed to start a dialing process; go to step S106;
fig. 3 is a schematic diagram of establishing a full transparent mapping mode GEM Port channel, in which an element issued by the MAC bridge service profile in fig. 3 is veip (virtual Ethernet Interface point) related information, where a VLAN tag is used by an ONU and is not involved in an HGU home gateway; the upper part is related information of GEM Port, as can be seen from FIG. 3: the GEM Port channel has no information related to VLAN and Pbit, and all data is forwarded through the GEM Port channel.
2) When the GEM Port mapping mode is a VLAN mode, the VLAN in the PPPoE channel success flag value is compared, and when the VLAN channel is successfully established, the PPPoE dialing module is informed to start a dialing process; go to step S106;
fig. 4 is a schematic diagram of establishing a GEM Port channel in a VLAN mapping mode, where an element issued by the MAC bridge service profile in fig. 4 is information related to the VEIP, and a VLAN tag is used by an ONU; the upper part is the related information of GEM Port, as can be seen from FIG. 4: the GEM Port channel forms a mapping relationship with VLAN (VLAN tagging filter data).
3) When the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and when the channel of Pbit is successfully established, informing the PPPoE dialing module to start a dialing process; go to step S106;
fig. 5 is a schematic diagram of establishing a GEM Port channel in a Pbit mapping mode, in fig. 5, an element issued by the MAC bridge service profile is the relevant information of the VEIP, where the VLAN tag is used by the ONU; GEM Port related information is above, as can be seen from FIG. 5: the GEM Port channel forms a mapping relation with Pbit (802.1p map service profile).
4) When the GEM Port mapping mode is a VLAN + Pbit mode, comparing the VLAN + Pbit in the PPPoE channel success flag value, and when the VLAN + Pbit channel is successfully established, informing the PPPoE dialing module to start a dialing process; go to step S106;
fig. 6 is a schematic diagram of establishing a GEM Port channel in a VLAN + Pbit mapping mode, in fig. 6, an element issued by the MAC bridge service profile is the relevant information of the VEIP, where a VLAN tag is used by the ONU; GEM Port related information is above, as can be seen in FIG. 6: the GEM Port channel forms a mapping relation with the VLAN and the Pbit.
Step S105: after the GEM Port and the mapping relation thereof are issued, the OMCI management module stores the GEM Port mapping mode to the storage module, informs the PPPoE dialing module to start dialing, and goes to step S106;
step S106: the PPPoE dialing module starts to dial, and the dialing rule is as follows: after a PADT message is sent, the PADI message is sent according to the customer requirement or the default period, if the dialing is successful, whether the PPPoE channel success mark value is recorded in the storage module is judged, if the PPPoE channel success mark value is not recorded (registered for the first time), the PPPoE channel success mark value is recorded and stored in the storage module; if the PPPoE channel is recorded, updating the PPPoE channel success flag value when the PPPoE channel success flag value is judged to be incorrect; if the dialing is not successful, when the PPPoE dialing module is judged to interact with the server, the successful flag value of the PPPoE channel is recorded and stored in the storage module, and the step S107 is carried out.
Step S107: after the GEM Port configuration is completed, the OMCI management module monitors whether the GEM Port mapping mode changes, and when the GEM Port mapping mode changes, the GEM Port mapping mode is updated, and the step S103 is returned.
Referring to fig. 7, the process of using PADT + PADI cyclic dialing specifically includes the following steps:
step S201: starting an OMCI management module, and registering the OLT successfully;
step S202: the GEM Port and the mapping relation thereof start to issue, and the OMCI management module informs the PPPoE dialing module to start a dialing process;
step S203: and when the PPPoE dialing module receives the notification of the OMCI management module, a dialing process is started, and a group of PADT + PADI messages is sent every 2s according to a dialing rule.
The final purpose of the scheme 1 is to notify the PPPoE process to start dialing in time, which cannot be early or late, so that the method of recording the delivery of the GEM Port is adopted to record the successful flag value of the PPPoE channel, and finally the most accurate time is found. The logic of the scheme 1 is slightly complex, but the dialing time is clear and accurate, an invalid PADT message cannot be generated, and the dialing logic strictly complies with PPPoE protocol specifications.
Scheme 2 does not conform to the normal PPPoE dialing flow, but has simple logic, and is suitable for the dialing environment without strict requirements on the transmission period of the PADI message.
The embodiment of the invention can ensure that PPPoE dialing of the GPON gateway is successful once and effectively improve the timeliness of the PPPoE dialing. Technicians can select related optimization schemes according to the specific requirements of the current network and the related configuration of the server.
Based on the same inventive concept, the embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all or part of the method steps of the above method.
The present invention can implement all or part of the processes of the above methods, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the method.
The processor may be a Central Processing Unit (CP U), or may be other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (fpga) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (e.g., a sound playing function, an image playing function, etc.); the storage data area may store data (e.g., audio data, video data, etc.) created according to the use of the cellular phone. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a flash memory Card (flash Card), at least one magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for optimizing the dialing efficiency of a GPON gateway PPPoE is characterized by comprising the following steps:
according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, starting dialing, wherein the dialing rule is as follows: after a PADT message is sent, the PADI message is sent according to the requirement or the default period;
according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, starting dialing, specifically comprising the following steps:
when the GEM Port mapping mode is the full transparent transmission mode, starting dialing after the full transparent transmission mode is issued;
when the GEM Port mapping mode is a VLAN mode, comparing the VLAN in the PPPoE channel success flag value, and starting dialing after the VLAN channel is successfully established;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and starting dialing after the channel of Pbit is successfully established;
and when the GEM Port mapping mode is a VLAN + Pbit mode, comparing the VLAN + Pbit in the PPPoE channel success flag value, and starting dialing after the VLAN + Pbit channel is successfully established.
2. The method of claim 1, wherein after initiating dialing, further comprising the steps of: and when the successful dialing is successful but the successful mark value of the PPPoE channel is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, updating the successful mark value of the PPPoE channel.
3. The method of claim 1, further comprising the steps of:
when the GEM Port mapping mode or the PPPoE channel success flag value is not recorded, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored, dialing is started, and when the dialing is successful but the PPPoE channel success flag value is not recorded or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is not correct, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is recorded.
4. The method of claim 1, further comprising the steps of:
and when the GEM Port mapping mode is changed, updating the GEM Port mapping mode.
5. A system for optimizing PPPoE dialing efficiency of a GPON gateway is characterized by comprising a storage module, an OMCI management module and a PPPoE dialing module, wherein:
a storage module to: storing a GEM Port mapping mode and a PPPoE channel success flag value;
an OMCI management module, configured to: according to the GEM Port mapping mode and the PPPoE channel success flag value, after determining that the GEM Port to which the PPPoE link belongs is successfully established, informing a PPPoE dialing module to start dialing;
PPPoE dialing module, used for: recording the successful mark value of the PPPoE channel, and storing the successful mark value to a storage module; when receiving the notification of the OMCI management module, starting dialing according to the following dialing rule: after a PADT message is sent, the PADI message is sent according to the requirement or the default period;
the OMCI management module is specifically configured to:
when the GEM Port mapping mode is a full transparent transmission mode, after the full transparent transmission mode is issued, a PPPoE dialing module is notified to start dialing;
when the GEM Port mapping mode is a VLAN mode, the VLAN in the PPPoE channel success flag value is compared, and after the VLAN channel is successfully established, a PPPoE dialing module is informed to start dialing;
when the GEM Port mapping mode is a Pbit mode, comparing Pbit in the PPPoE channel success flag value, and after the channel of Pbit is successfully established, informing a PPPoE dialing module to start dialing;
and when the GEM Port mapping mode is a VLAN + Pbit mode, comparing the VLAN + Pbit in the PPPoE channel success flag value, and informing the PPPoE dialing module to start dialing after the VLAN + Pbit channel is successfully established.
6. The system of claim 5, wherein: the PPPoE dialing module is also used for: after the dialing is started, when the dialing is successful but the PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is updated.
7. The system of claim 5, wherein:
the OMCI management module is further configured to: when the storage module does not record the GEM Port mapping mode or the PPPoE channel success flag value, after the GEM Port and the mapping relation thereof are issued, the GEM Port mapping mode is stored in the storage module, and the PPPoE dialing module is informed to start dialing;
the PPPoE dialing module is also used for: when the dialing is successful but the PPPoE channel success flag value is not recorded in the storage module or the PPPoE channel success flag value is recorded but the recorded PPPoE channel success flag value is incorrect, or the dialing is unsuccessful and the PPPoE dialing module interacts with the server, the PPPoE channel success flag value is recorded and stored in the storage module.
8. The system of claim 5, wherein:
the OMCI management module is further configured to: and updating the GEM Port mapping mode recorded in the storage module when the GEM Port mapping mode recorded in the storage module changes.
CN201910688491.6A 2019-07-29 2019-07-29 Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway Active CN110572725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688491.6A CN110572725B (en) 2019-07-29 2019-07-29 Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910688491.6A CN110572725B (en) 2019-07-29 2019-07-29 Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway

Publications (2)

Publication Number Publication Date
CN110572725A CN110572725A (en) 2019-12-13
CN110572725B true CN110572725B (en) 2021-11-16

Family

ID=68773549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910688491.6A Active CN110572725B (en) 2019-07-29 2019-07-29 Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway

Country Status (1)

Country Link
CN (1) CN110572725B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132222A (en) * 2022-12-12 2023-05-16 四川天邑康和通信股份有限公司 Method and system for automatically identifying functional module based on PON gateway

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335668A (en) * 2007-06-27 2008-12-31 中兴通讯股份有限公司 Wideband network and user management method based on GPON access
CN101374046A (en) * 2007-08-23 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on wideband access equipment
CN101374045A (en) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on GPON access equipment
CN102143414A (en) * 2011-05-20 2011-08-03 太仓市同维电子有限公司 Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN102223352A (en) * 2010-04-15 2011-10-19 中兴通讯股份有限公司 GPON (Gigabit Passive Optical Network) system and PPPoE (Point-to-point Protocol over Ethernet) configuration method for realizing same
CN105429832A (en) * 2015-11-09 2016-03-23 上海斐讯数据通信技术有限公司 Dialing method and system based on PPPOE network, and router
CN108809774A (en) * 2018-04-24 2018-11-13 烽火通信科技股份有限公司 A kind of home gateway realizes the broad band access method of PPPoE dial on demand

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9596240B2 (en) * 2004-08-30 2017-03-14 Arris Enterprises, Inc. Method and system for layer-3 subscriber login in a cable data network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335668A (en) * 2007-06-27 2008-12-31 中兴通讯股份有限公司 Wideband network and user management method based on GPON access
CN101374045A (en) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on GPON access equipment
CN101374046A (en) * 2007-08-23 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on wideband access equipment
CN102223352A (en) * 2010-04-15 2011-10-19 中兴通讯股份有限公司 GPON (Gigabit Passive Optical Network) system and PPPoE (Point-to-point Protocol over Ethernet) configuration method for realizing same
CN102143414A (en) * 2011-05-20 2011-08-03 太仓市同维电子有限公司 Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN105429832A (en) * 2015-11-09 2016-03-23 上海斐讯数据通信技术有限公司 Dialing method and system based on PPPOE network, and router
CN108809774A (en) * 2018-04-24 2018-11-13 烽火通信科技股份有限公司 A kind of home gateway realizes the broad band access method of PPPoE dial on demand

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GPON在小区宽带接入中的应用;方正鹏;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170515;全文 *

Also Published As

Publication number Publication date
CN110572725A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
US10419291B2 (en) Terminal upgrade method and related device with multicast program
CN101217412B (en) A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet
CN102843589B (en) Intelligent advertisement cut system and intelligent advertisement inserting method
CN101860771B (en) Home gateway identifying and networking method and system
CN108965204B (en) Method and device for automatically realizing IOAM packaging
US10505637B2 (en) Service processing method and apparatus and optical line terminal
CN108540877B (en) Method and system for self-adapting ONU equipment type based on OMCI service model
EP3244571B1 (en) Configuration data distribution method and apparatus
CN102104420A (en) Parameter configuring method, device and system for ONT (Optical Network Terminal)
EP3285411A1 (en) Method and apparatus for distributing optical network unit service information and optical line terminal
WO2020199422A1 (en) Flexible ethernet link management method and system
CN111954100B (en) Interface upgrading method and device and optical network unit management method and device
MX2010005458A (en) Systems and methods for automatic user-enabled account identifier association.
CN110572725B (en) Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway
WO2012000242A1 (en) Method, system and device for implementing multicast preview
WO2014183668A1 (en) Method, node and system for managing resources of machine type communication application
WO2012088895A1 (en) Protocol switching method in optical network unit and optical network unit
CN112003740A (en) Automatic multicast configuration method and system for substation switch
CN102088641B (en) Configuration method and device of passive optical network (PON) service
WO2017215438A1 (en) Service activating method, device and system, and storage medium
CN110324734B (en) Automatic importing method and system for regional customized configuration of PON terminal
US8607293B2 (en) System and method for determining network relationships with unreliable data
CN108964944B (en) Execution strategy issuing method, processing method and device for remote management operation
EP2666259A1 (en) Service activation in a passive optical network (pon)
EP3820157A1 (en) Method for managing onu, olt, onu, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant