CN109560969A - Configuration method, ONU terminal and the storage medium of the ONU network port - Google Patents

Configuration method, ONU terminal and the storage medium of the ONU network port Download PDF

Info

Publication number
CN109560969A
CN109560969A CN201811579448.8A CN201811579448A CN109560969A CN 109560969 A CN109560969 A CN 109560969A CN 201811579448 A CN201811579448 A CN 201811579448A CN 109560969 A CN109560969 A CN 109560969A
Authority
CN
China
Prior art keywords
network port
network
port
onu
hgu
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
CN201811579448.8A
Other languages
Chinese (zh)
Other versions
CN109560969B (en
Inventor
肖剑鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811579448.8A priority Critical patent/CN109560969B/en
Publication of CN109560969A publication Critical patent/CN109560969A/en
Application granted granted Critical
Publication of CN109560969B publication Critical patent/CN109560969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of configuration methods of ONU network port, and by obtaining the network port to be configured in ONU terminal overall network port, the ONU terminal is compatible to realize single domestic consumer's cell S FU function and home gateway unit HGU function;The first network port that the SFU configuration information is specified in the network port to be configured is configured the port SFU by the SFU configuration information issued according to optical link local side;Second network port that the HGU configuration information is specified is configured the port HGU by the HGU configuration information issued according to optical link local side.Furthermore, the invention also discloses a kind of ONU terminal and computer readable storage mediums, the present invention solves existing SFU terminal and the setting of HGU terminal prot is mutually indepedent, the low technical problem of terminal service efficiency, so as to which corresponding SFU terminal or HGU terminal device are bought and replaced again without user when being related to the scene conversion perhaps network rebuilding.

Description

Configuration method, ONU terminal and the storage medium of the ONU network port
Technical field
The present invention relates to network communication technology field more particularly to a kind of configuration methods of the ONU network port, ONU terminal And computer readable storage medium.
Background technique
Along with the fast development of Internet technology, the various industries such as family, enterprise are more next for the demand of network bandwidth Bigger, simple based on passive optical network PON deployment, the advantages such as Netowrk tape is roomy just replace traditional network by users rapidly It is selected, and be also consequently increased rapidly as the terminal of optical-fiber network-ONU terminal functional requirement.Existing ONU terminal is main Including two major classes, one kind is the family terminal of living alone of the setting port SFU, and another kind of is the home gateway terminal of the setting port HGU, by (only it is arranged in SFU terminal independently of each other in the respective port SFU of two each HGU end products of class SFU terminal and the setting of the port HGU The port HGU is only arranged in HGU terminal in the port SFU), when being related to Web vector graphic scene transitions or the network rebuilding, need User is wanted to buy and replace again corresponding SFU terminal or HGU end product, economic waste is serious, and terminal service efficiency is low Under.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of configuration method of ONU network port, ONU terminal and computers can Read storage medium, it is intended to solve existing SFU terminal and the setting of HGU terminal prot is mutually indepedent, terminal service efficiency is low Technical problem.
To achieve the goals above, this hair invention provides a kind of configuration method of ONU network port, the ONU network-side Mouthful configuration method the following steps are included:
The network port to be configured in ONU terminal overall network port is obtained, the ONU terminal is compatible to realize single family Subscriber unit SFU function and home gateway unit HGU function;
The SFU configuration information issued according to optical link local side, by the SFU configuration information in the network port to be configured In specify first network port be configured to the port SFU;
The HGU configuration information issued according to optical link local side matches second network port that the HGU configuration information is specified It is set to the port HGU.
Optionally, the step of network port to be configured obtained in ONU terminal overall network port includes:
The overall network port of ONU terminal is detected one by one, and whether current time accesses default network;
It obtains in all network ports, not yet accesses the network port to be configured of the default network.
Optionally, whether the overall network port for detecting ONU terminal one by one, current time access the step of default network Suddenly include:
It extracts the ONU terminal current time, the network connection management information of overall network port;
In detecting the network connection management information, the target network link information of the network port is detected one by one;
When the target network link information is not detected, it is described default to determine that the presently described network port not yet accesses Network.
Optionally, the SFU configuration information issued according to optical link local side, by the SFU configuration information it is described to The first network port the step of being configured to the port SFU specified in Configuration network port includes:
The SFU configuration information that optical link local side issues is obtained, detects the SFU configuration information in the network-side to be configured The first network port specified in mouthful;
The SFU configuration information is written on the first network port, configures the end SFU for the first network port Mouthful.
Optionally, the HGU configuration information issued according to optical link local side, that the HGU configuration information is specified Two network ports are configured to the step of port HGU and include:
The HGU configuration information that optical link local side issues is obtained, the second network-side specified by the HGU configuration information is detected Mouthful;
The HGU configuration information is written on second network port, configures the end HGU for second network port Mouthful.
Optionally, the step of second network port specified by the detection HGU configuration information includes:
Read the target configuration port label in the HGU configuration information;
It detects in the network port to be configured and the first network port, configures port label phase with the target Second network port matched.
Optionally, it is described acquisition ONU terminal overall network port in the network port to be configured the step of before, it is described Method further include:
The network connection management information for removing the ONU terminal overall network port, after the management information will be removed The network port is determined as the network port to be configured.
Optionally the step of network connection management information for removing the ONU terminal overall network port includes:
Obtain the network connection management page of the user based on current ONU terminal network port, the control operation of input;
According to the clearance order of the control operation triggering, the network connection management information of corresponding network port is removed.
In addition, to achieve the above object, the present invention also provides a kind of ONU terminal, the ONU terminal is compatible to realize SFU function Can and HGU function, the ONU terminal include: memory, processor and be stored on the memory and can be in the processor It is real when the configurator of the configurator of the ONU network port of upper operation, the ONU network port is executed by the processor Now the step of configuration method of the ONU network port as described above.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium The configurator of the ONU network port is stored on storage medium, when the configurator of the ONU network port is executed by processor The step of realizing the configuration method of the ONU network port as described above.
Configuration method, ONU terminal and the computer-readable storage for a kind of ONU network port that the embodiment of the present invention proposes Medium, by obtaining the network port to be configured in ONU terminal overall network port, the ONU terminal is compatible to realize single family Front yard subscriber unit SFU function and home gateway unit HGU function;The SFU configuration information issued according to optical link local side, by institute It states the first network port that SFU configuration information is specified in the network port to be configured and is configured to the port SFU;According to optical link Second network port that the HGU configuration information is specified is configured the port HGU by the HGU configuration information that local side issues.
By detecting the network connection management information of current ONU terminal overall network port, determine that current ONU terminal is whole The network port to be configured in the network port, the SFU configuration information for getting optical link local side current ONU terminal being issued it Afterwards, the first network port that the SFU configuration information is specified in the network port to be configured is extracted, and the SFU configuration information is write Enter the first network port, configure the port SFU for the target network port, gets optical link local side to current ONU After the HGU configuration information that terminal issues, extracts the HGU configuration information and refer in the network port to be configured and first network port Fixed second port, and current second network port is written into the HGU configuration information, it configures second network port to The port HGU.
It realizes in the ONU terminal that software compatibility realizes SFU function and HGU function, is issued according to optical link local side To the SFU configuration information and HGU configuration information of the network port in current ONU terminal, external network will be not yet accessed in ONU terminal The network port be configured to the port SFU perhaps the port HGU so that when being related to scene conversion or the network rebuilding, Corresponding SFU terminal or HGU terminal device are bought and replaced again without user, are directly passed through in current ONU terminal and are configured Economic resources have been saved to meet the heterogeneous networks demand of user in the different ports SFU and the port HGU, improve terminal use Efficiency.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the configuration method first embodiment of the ONU network port of the present invention;
Fig. 3 is the refinement flow diagram of the configuration method embodiment step S10 of the ONU network port of the present invention;
Fig. 4 is the refinement flow diagram of the configuration method embodiment step S20 of the ONU network port of the present invention;
Fig. 5 is the refinement flow diagram of the configuration method embodiment step S30 of the ONU network port of the present invention;
Fig. 6 is the flow diagram of the configuration method second embodiment of the ONU network port of the present invention;
Fig. 7 is the configuration method embodiment administration interface schematic diagram of the ONU network port of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: obtaining the network-side to be configured in ONU terminal overall network port Mouthful, the ONU terminal is compatible to realize single domestic consumer's cell S FU function and home gateway unit HGU function;According to light The SFU configuration information that road bureau end issues, the first network that the SFU configuration information is specified in the network port to be configured Port is configured to the port SFU;The HGU configuration information issued according to optical link local side, second that the HGU configuration information is specified The network port is configured to the port HGU.
Existing SFU terminal and HGU terminal are mutually indepedent, are being related to the feelings such as network application scene transformation or the network rebuilding Under condition, user is needed to buy and replace again corresponding SFU terminal or HGU end product, economic waste is serious, and terminal uses Inefficiency.
The present invention provides a solution, solves existing SFU terminal and the setting of HGU terminal prot is mutually indepedent, The low technical problem of terminal service efficiency, so as to be not necessarily to user when being related to scene conversion or the network rebuilding Again corresponding SFU terminal or HGU terminal device are bought and replaced, economic resources are saved, improves product service efficiency.
As shown in Figure 1, Fig. 1 is the display terminal structural representation for the hardware running environment that the embodiment of the present invention is related to Figure.
The terminal of that embodiment of the invention can be fixed terminal, such as Internet of Things smart machine, including ONU terminal, intelligent air condition, The smart homes such as intelligent electric lamp, intelligent power, intelligent router;It is also possible to mobile terminal, including smart phone, wearable Many networked devices such as networking AR/VR device, intelligent sound box, autonomous driving vehicle.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include input unit such as keyboard (Keyboard), and optional user interface 1003 can also include standard Wireline interface, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI Interface, blue tooth interface, probe interface, 3G/4G/5G connected network communication interface etc.).Memory 1005 can be high speed RAM memory, It is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe the configurator of module, Subscriber Interface Module SIM and the ONU network port.
In display terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Carry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locate Reason device 1001 can be used for calling the configurator of the ONU network port stored in memory 1005, and execute following operation:
The network port to be configured in ONU terminal overall network port is obtained, the ONU terminal is compatible to realize single family Subscriber unit SFU function and home gateway unit HGU function;
The SFU configuration information issued according to optical link local side, by the SFU configuration information in the network port to be configured In specify first network port be configured to the port SFU;
The HGU configuration information issued according to optical link local side matches second network port that the HGU configuration information is specified It is set to the port HGU.
Further, the step of network port to be configured obtained in ONU terminal overall network port includes:
The overall network port of ONU terminal is detected one by one, and whether current time accesses default network;
It obtains in all network ports, not yet accesses the network port to be configured of the default network.
Further, whether the overall network port for detecting ONU terminal one by one, current time access default network Step includes:
It extracts the ONU terminal current time, the network connection management information of overall network port;
In detecting the network connection management information, the target network link information of the network port is detected one by one;
When the target network link information is not detected, it is described default to determine that the presently described network port not yet accesses Network.
Further, the SFU configuration information issued according to optical link local side, by the SFU configuration information described The first network port the step of being configured to the port SFU specified in the network port to be configured includes:
The SFU configuration information that optical link local side issues is obtained, detects the SFU configuration information in the network-side to be configured The first network port specified in mouthful;
The SFU configuration information is written on the first network port, configures the end SFU for the first network port Mouthful.
Further, the HGU configuration information issued according to optical link local side specifies the HGU configuration information Second network port is configured to the step of port HGU and includes:
The HGU configuration information that optical link local side issues is obtained, the second network-side specified by the HGU configuration information is detected Mouthful;
The HGU configuration information is written on second network port, configures the end HGU for second network port Mouthful.
Further, the step of second network port specified by the detection HGU configuration information includes:
Read the target configuration port label in the HGU configuration information;
It detects in the network port to be configured and the first network port, configures port label phase with the target Second network port matched.
Further, it is described acquisition ONU terminal overall network port in the network port to be configured the step of before, institute State method further include:
The network connection management information for removing the ONU terminal overall network port, after the management information will be removed The network port is determined as the network port to be configured.
Further, the step of network connection management information for removing the ONU terminal overall network port includes:
Obtain the network connection management page of the user based on current ONU terminal network port, the control operation of input;
According to the clearance order of the control operation triggering, the network connection management information of corresponding network port is removed.
Based on above-mentioned hardware configuration, the embodiment of the configuration method of the ONU network port of the present invention is proposed, referring to figure 2., In the first embodiment of the configuration method of the ONU network port of the present invention, the configuration method of the ONU network port of the present invention includes:
Step S10 obtains the network port to be configured in ONU terminal overall network port, and the ONU terminal is compatible to be realized Single domestic consumer's cell S FU function and home gateway unit HGU function.
The network port to be configured in current ONU terminal overall network port is detected, and obtains the network port to be configured.
It should be noted that being incorporated into ONU terminal software version according to the present invention and having realized the two of SFU and HGU A function realizes single domestic consumer's cell S FU function and home gateway unit HGU function to enable the ONU terminal that can be compatible with simultaneously Energy.
Specifically, for example, the browser administration connected in current ONU terminal overall network port network as shown in Figure 7 On the page, the network connection management information of current ONU terminal overall network port is detected, and obtains current overall network port In, not yet access the network port to be configured of public intnet network.
Further, as shown in figure 3, step S10 includes:
Step S11 detects the overall network port of ONU terminal one by one, and whether current time accesses default network.
In the overall network port of current ONU terminal, detect each network port one by one, current time whether Access default network.
It should be noted that default network includes but is not limited to public intnet network.
Specifically, for example, in the network connection management information of current ONU terminal network port, detection is current complete one by one Each of portion's network port network port, whether current time, which contains mark, has been accessed preset common intnet network Target network link information in the overall network port to determine ONU terminal, has accessed preset common intnet network Buddhist monk The network port of preset common intnet network is not accessed.
Further, step S11 includes:
Step a is extracted the ONU terminal current time, the network connection management information of overall network port.
In the network connection management page of current ONU terminal overall network port, current time is extracted, ONU terminal is complete The network connection management information of portion's network port.
Specifically, for example, in the browser administration page of the network port network connection of ONU terminal as shown in Figure 7, Extract current time, the network connection management information of ONU terminal overall network port.
Step b detects the target network connection of the network port in detecting the network connection management information one by one Information.
In the network connection management page from current ONU terminal overall network port, the network connection management extracted is believed In breath, the target network connection management information of each network port is detected one by one.
Specifically, for example, when the browser administration page being connected to the network from the network port of ONU terminal as shown in Figure 7 In, it extracts current time, after the network connection management information of ONU terminal overall network port, detects port 1, end one by one On mouth 2, port 3 and port 4, the target network connection of preset common intnet network has been accessed for identifying present port Information.
Step c determines that the presently described network port not yet accesses institute when the target network link information is not detected State default network.
In the network connection management information extracted, when the target link information of current network port is not detected, Determine that default network is not yet accessed in current network port.
Specifically, for example, when in the browser administration page being connected to the network from the network port of ONU terminal as shown in Figure 7 In the network connection management information of the current time ONU terminal overall network port extracted, port 3 and end is not detected in face On mouth 4, when having accessed the target network link information of preset common intnet network for identifying present port, determine current Port 3 and port 4, not yet access preset common intnet network.
Step S12 obtains in all network ports, not yet accesses the network port to be configured of the default network.
The network port in the overall network port of current ONU terminal, not yet accessing default network is determined as to be configured The network port, and obtain all network ports to be configured.
Specifically, for example, detecting current ONU in the network connection management information of current ONU terminal network port Port 3 and port 4 in terminal overall network port not yet access preset common intnet network at current time, then should Port 3 and port 4 are determined as the network port to be configured of current ONU terminal, and from the overall network port of current ONU terminal Obtain the network port to be configured -- port 3 and port 4.
Step S20, the SFU configuration information issued according to optical link local side, by the SFU configuration information described to be configured The first network port specified in the network port is configured to the port SFU.
The SFU configuration information issued according to optical link local side, by all network ports to be configured, which gets the bid The first network port of note, is configured to the port SFU.
It should be noted that the SFU configuration information that optical link local side issues includes but is not limited to the SFU configuration that OLT is issued The SFU configuration information that the SFU configuration information and TR069 telenet pipe end that information, network connection management end issue issue.
Specifically, for example, after getting the SFU configuration information that optical link local side issues, the SFU configuration information is read In, for identify configuration target network port uniquely tagged, and according to the label current ONU terminal whole net to be configured In network port, the specified first network port of SFU configuration information is determined, and on the first network port, current SFU is written and matches Confidence breath, configures the port SFU for now first network port.
Further, as shown in figure 4, step S20 includes:
Step S21 obtains the SFU configuration information that optical link local side issues, detects the SFU configuration information described wait match Set the first network port specified in the network port.
The SFU configuration information that optical link local side issues is obtained, is detected in the SFU configuration information, for identifying configuration target The uniquely tagged of the network port detects the first network port that the label is specified in all network ports to be configured.
Specifically, for example, after getting the SFU configuration information that optical link local side issues, current SFU configuration is read In information, the uniquely tagged for identifying target Configuration network port is " 3 ", then according to the label " 3 ", in current ONU terminal Overall network ports port 1, port 2, port 3 and port 4 the network port-port 3 and port 4 to be configured in, determination is worked as First network port-for-port 3 specified by preceding SFU configuration information.
The SFU configuration information is written in step S22 on the first network port, and the first network port is matched It is set to the port SFU.
On the first network port specified by SFU configuration information, the SFU configuration information is written, by the first network Port is configured to the port SFU.
Specifically, for example, label -3 in the SFU configuration information issued according to optical link local side, determines current SFU After first network port-for-port 3 specified by configuration information, the end is written into the SFU configuration information that optical link local side issues Mouth 3, configures the port SFU for present port 3.
Step S30, the HGU configuration information issued according to optical link local side, the second net that the HGU configuration information is specified Network port is configured to the port HGU.
The HGU configuration information issued according to optical link local side, by all network ports to be configured, which gets the bid Second network port of note, is configured to the port HGU.
It should be noted that the HGU configuration information that optical link local side issues includes but is not limited to the HGU configuration that OLT is issued The HGU configuration information that the HGU configuration information and TR069 telenet pipe end that information, network connection management end issue issue.
Specifically, for example, after getting the HGU configuration information that optical link local side issues, the HGU configuration information is read In, for identify configuration target network port uniquely tagged, and according to the label current ONU terminal whole net to be configured In network port and first network port, the specified first network port of HGU configuration information is determined, and in the first network port On, current HGU configuration information is written, configures the port HGU for now first network port.
Further, as shown in figure 5, step S30 includes:
Step S31 obtains the HGU configuration information that issues of optical link local side, detects specified by the HGU configuration information the Two network ports.
The HGU configuration information that optical link local side issues is obtained, is detected in the HGU configuration information, for identifying configuration target The uniquely tagged of the network port detects second network port that the label is specified in all network ports to be configured.
Specifically, for example, after getting the HGU configuration information that optical link local side issues, current HGU configuration is read In information, the uniquely tagged for identifying target Configuration network port is " 3 ", then according to the label " 3 ", in current ONU terminal The network port-port 4 to be configured, and be currently configured in the port 3 of the port SFU, determined current HGU configuration information institute The second specified network port is port 3.
Further, in step S31, detecting second network port specified by the HGU configuration information includes:
Step d reads the target configuration port label in the HGU configuration information.
It reads in HGU configuration information, the target for identifying target Configuration network port configures port label label.
Specifically, for example, after getting the HGU configuration information that optical link local side issues, current HGU is read with confidence In breath, for identifying the uniquely tagged of target Configuration network port -- " 3 ".
Step e is detected in the network port to be configured and the first network port, with target configuration port mark Remember second network port to match.
In the network port and SFU to be configured port of current ONU terminal, detection configures port label with the target read Second network port to match.
It should be noted that second network port specified by HGU configuration information can for current ONU terminal all to The network port of the port SFU is had configured in Configuration network port, or current ONU terminal.
Specifically, whole in current ONU for example, configuring port label " 3 " according to the target read from HGU configuration information The network port-the port 4 to be configured at end, and be currently configured in the port 3 of the port SFU, it is determining to configure end with current goal Second network port that mouth label " 3 " matches is the port 3 for currently having configured to the port SFU.
The HGU configuration information is written in step S32 on second network port, and second network port is matched It is set to the port HGU.
On second network port specified by HGU configuration information, the HGU configuration information is written, by the first network Port is configured to the port HGU.
Specifically, for example, label -3 in the HGU configuration information issued according to optical link local side, determines current SFU Second network port specified by configuration information is after currently having configured to the port 3 of the port SFU, to ignore optical link local side In the HGU configuration information issued, configuration information identical with the SFU configuration information that present port 3 itself has contained, and should The port 3 is written in other configurations information in HGU configuration information in addition to SFU configuration information, configures present port 3 to The port HGU.
In the present embodiment, by obtaining the network port to be configured in ONU terminal overall network port, the ONU is whole End is compatible to realize single domestic consumer's cell S FU function and home gateway unit HGU function;It is issued according to optical link local side SFU configuration information configures the first network port that the SFU configuration information is specified in the network port to be configured to The port SFU;The HGU configuration information issued according to optical link local side matches second network port that the HGU configuration information is specified It is set to the port HGU.
By detecting each network port one by one in the overall network port of current ONU terminal, current time whether Default network is accessed, by the overall network port of current ONU terminal, the network port for not yet accessing default network is determined For the network port to be configured, and all network ports to be configured are obtained, obtains the SFU configuration information that optical link local side issues, inspection It surveys in the SFU configuration information, for identifying the uniquely tagged of configuration target network port, detects the label in all nets to be configured On the first network port specified by SFU configuration information, SFU configuration is written in the first network port specified in network port The first network port is configured the port SFU by information, alternatively, the HGU configuration information that optical link local side issues is obtained, inspection It surveys in the HGU configuration information, for identifying the uniquely tagged of configuration target network port, detects the label in all nets to be configured On second network port specified by HGU configuration information, HGU configuration is written in second network port specified in network port The first network port is configured the port HGU by information.
It realizes in the ONU terminal that software compatibility realizes SFU function and HGU function, is issued according to optical link local side To the SFU configuration information and HGU configuration information of the network port in current ONU terminal, external network will be not yet accessed in ONU terminal The network port be configured to the port SFU perhaps the port HGU so that when being related to scene conversion or the network rebuilding, Corresponding SFU terminal or HGU terminal device are bought and replaced again without user, are directly passed through in current ONU terminal and are configured The different ports SFU and the port HGU have saved the economic resources of user, have improved end to meet the heterogeneous networks demand of user Hold service efficiency.
Further, on the basis of the first embodiment of the configuration method of the ONU network port of the present invention, the present invention is proposed The second embodiment of the configuration method of the ONU network port, please refers to Fig. 6, before the step S10 of first embodiment of the invention, The configuration method of the ONU network port of the present invention, further includes:
Step S40 removes the network connection management information of the ONU terminal overall network port, will remove the management The network port after information is determined as the network port to be configured.
The management operation inputted on the network connection management page of current ONU terminal according to user, by current ONU terminal The network connection management information of overall network port is purged, and by remove network connection management information after the network port It is determined as the network port to be configured of current ONU terminal.
Specifically, for example, when user is in the browser administration of the network port network connection of ONU terminal as shown in Figure 7 In the page when input management control operation, management control operation is obtained, and refer to according to the removing that the management controls operation triggering Enable, remove the network connection management information specified by present instruction on the network port so that current network port disconnect with it is pre- If the connection of public intnet network, the network port for not accessing preset common intnet network currently is determined as ONU end The network port to be configured at end.
Further, step S40 includes:
Step S41 obtains the network connection management page of the user based on current ONU terminal network port, the control of input Operation.
User is obtained on the network connection management page of current ONU terminal, the management of input controls operation.
Specifically, for example, when the browsing for detecting that the network port of the user in ONU terminal as shown in Figure 7 is connected to the network In device administration page, when input management control operates, management control operation is obtained.
Step S42 removes the network connection management of corresponding network port according to the clearance order of the control operation triggering Information.
Triggered clearance order is operated according to the management control of user's input, removes the network port specified by present instruction On network connection management information.
Specifically, for example, in the browser administration page of the network port network connection of ONU terminal as shown in Figure 7, When user is based on port 1 and port command control, and input management control operates triggering clearance order, each clearance order institute is removed On specified port 1 and port 2, the network connection management information of mark access preset common intnet network.
In the present embodiment, defeated by obtaining the network connection management page of the user based on current ONU terminal network port The control operation entered;According to the clearance order of the control operation triggering, the network connection management letter of corresponding network port is removed Breath;The network port after the management information will be removed and be determined as the network port to be configured.
By obtaining user on the network connection management page of current ONU terminal, the management of input controls operation, according to The management control of user's input operates triggered clearance order, removes the network connection on the network port specified by present instruction Management information, and the network port removed after network connection management information is determined as the network to be configured of current ONU terminal Port.
It realizes, needs to convert the usage scenario of current ONU terminal in user, or be related under the situations such as the network rebuilding, According to user on the WEB administration page of the network connection management information of management current ONU terminal network port, work as from main removing Link information on the preceding network port for having accessed external common network, and the network port is determined as network-side to be configured Mouthful, SFU configuration information or HGU configuration information to be issued according to optical link local side match each network port of the ONU terminal It is set to the corresponding port SFU or the port HGU, so that user does not have to Web vector graphic demand according to ONU terminal, autonomous configuration is worked as Each network port type of preceding ONU terminal, further improves the service efficiency of ONU terminal, and meet making for user Use demand.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with the configurator of the ONU network port, realized when the configurator of the ONU network port is executed by processor as above The step of configuration method of the ONU network port.
Computer readable storage medium specific embodiment of the present invention is referred to the configuration method of the above-mentioned ONU network port Each embodiment, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a display terminal (can be electricity Depending on mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of configuration method of the ONU network port, which is characterized in that the configuration method of the ONU network port includes:
The network port to be configured in ONU terminal overall network port is obtained, the ONU terminal is compatible to realize single domestic consumer Cell S FU function and home gateway unit HGU function;
The SFU configuration information issued according to optical link local side refers to the SFU configuration information in the network port to be configured Fixed first network port is configured to the port SFU;
The HGU configuration information issued according to optical link local side configures second network port that the HGU configuration information is specified to The port HGU.
2. the configuration method of the ONU network port as described in claim 1, which is characterized in that the acquisition ONU terminal whole net The step of network port to be configured in network port includes:
The overall network port of ONU terminal is detected one by one, and whether current time accesses default network;
It obtains in all network ports, not yet accesses the network port to be configured of the default network.
3. the configuration method of the ONU network port as claimed in claim 2, which is characterized in that described to detect ONU terminal one by one The step of overall network port, whether current time accesses default network includes:
It extracts the ONU terminal current time, the network connection management information of overall network port;
In detecting the network connection management information, the target network link information of the network port is detected one by one;
When the target network link information is not detected, determine that the presently described network port not yet accesses the default net Network.
4. the configuration method of the ONU network port as described in claim 1, which is characterized in that under the local side according to optical link The SFU configuration information of hair, the first network port that the SFU configuration information is specified in the network port to be configured configure Include: for the step of port SFU
The SFU configuration information that optical link local side issues is obtained, detects the SFU configuration information in the network port to be configured Specified first network port;
The SFU configuration information is written on the first network port, configures the port SFU for the first network port.
5. the configuration method of the ONU network port as described in claim 1, which is characterized in that under the local side according to optical link The HGU configuration information of hair, by the HGU configuration information specify second network port be configured to the port HGU the step of include:
The HGU configuration information that optical link local side issues is obtained, second network port specified by the HGU configuration information is detected;
The HGU configuration information is written on second network port, configures the port HGU for second network port.
6. the configuration method of the ONU network port as claimed in claim 5, which is characterized in that the detection HGU matches confidence The step of breath specified second network port includes:
Read the target configuration port label in the HGU configuration information;
It detects in the network port to be configured and the first network port, matches with target configuration port label Second network port.
7. such as the configuration method of the ONU network port as claimed in any one of claims 1 to 6, which is characterized in that in the acquisition Before the step of network port to be configured in ONU terminal overall network port, the method also includes:
The network connection management information for removing the ONU terminal overall network port, will remove after the management information described in The network port is determined as the network port to be configured.
8. the configuration method of the ONU network port as described in claim 1, which is characterized in that the removing ONU terminal is complete The step of network connection management information of portion's network port includes:
Obtain the network connection management page of the user based on current ONU terminal network port, the control operation of input;
According to the clearance order of the control operation triggering, the network connection management information of corresponding network port is removed.
9. a kind of ONU terminal, which is characterized in that the ONU terminal is compatible to realize SFU function and HGU function, the ONU terminal Include: memory, processor and is stored in matching for the ONU network port that can be run on the memory and on the processor Program is set, such as any one of claims 1 to 8 is realized when the configurator of the ONU network port is executed by the processor The step of configuration method of the ONU network port.
10. a kind of storage medium, which is characterized in that the configurator of the ONU network port is stored on the storage medium, it is described Such as ONU network-side described in any item of the claim 1 to 8 is realized when the configurator of the ONU network port is executed by processor The step of configuration method of mouth.
CN201811579448.8A 2018-12-21 2018-12-21 Configuration method of ONU network port, ONU terminal and storage medium Active CN109560969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811579448.8A CN109560969B (en) 2018-12-21 2018-12-21 Configuration method of ONU network port, ONU terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811579448.8A CN109560969B (en) 2018-12-21 2018-12-21 Configuration method of ONU network port, ONU terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109560969A true CN109560969A (en) 2019-04-02
CN109560969B CN109560969B (en) 2022-02-15

Family

ID=65871057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811579448.8A Active CN109560969B (en) 2018-12-21 2018-12-21 Configuration method of ONU network port, ONU terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109560969B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324733A (en) * 2019-06-26 2019-10-11 广州供电局有限公司 Equipment connection method, device, ONU equipment and the storage medium of software definition
CN110602573A (en) * 2019-08-05 2019-12-20 深圳市双翼科技股份有限公司 Equipment configuration recovery method, HGU (hybrid gas insulated switchgear) end, SFU (Small form factor Unit) end and split optical modem

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662644A (en) * 2009-08-18 2010-03-03 杭州华三通信技术有限公司 Port configuration method of video terminal and video terminal
CN101867523A (en) * 2010-06-12 2010-10-20 中兴通讯股份有限公司 Method and device for configuring broadband services in PON (Passive Optical Network) system
CN102932700A (en) * 2012-11-29 2013-02-13 太仓市同维电子有限公司 Configuration method of gigabit passive optical network (PON)
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
WO2016124075A1 (en) * 2015-02-05 2016-08-11 中兴通讯股份有限公司 Method and device for controlling management mode of optical network unit in passive optical network
CN107453813A (en) * 2016-06-01 2017-12-08 中兴通讯股份有限公司 Optical network unit configuration method, device and optical line terminal
CN108540877A (en) * 2018-06-05 2018-09-14 烽火通信科技股份有限公司 Method and system based on OMCI service model self-adapting ONU equipment types

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662644A (en) * 2009-08-18 2010-03-03 杭州华三通信技术有限公司 Port configuration method of video terminal and video terminal
CN101867523A (en) * 2010-06-12 2010-10-20 中兴通讯股份有限公司 Method and device for configuring broadband services in PON (Passive Optical Network) system
CN102932700A (en) * 2012-11-29 2013-02-13 太仓市同维电子有限公司 Configuration method of gigabit passive optical network (PON)
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
WO2016124075A1 (en) * 2015-02-05 2016-08-11 中兴通讯股份有限公司 Method and device for controlling management mode of optical network unit in passive optical network
CN107453813A (en) * 2016-06-01 2017-12-08 中兴通讯股份有限公司 Optical network unit configuration method, device and optical line terminal
CN108540877A (en) * 2018-06-05 2018-09-14 烽火通信科技股份有限公司 Method and system based on OMCI service model self-adapting ONU equipment types

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324733A (en) * 2019-06-26 2019-10-11 广州供电局有限公司 Equipment connection method, device, ONU equipment and the storage medium of software definition
CN110324733B (en) * 2019-06-26 2021-10-08 广东电网有限责任公司广州供电局 Software-defined device connection method and device, ONU device and storage medium
CN110602573A (en) * 2019-08-05 2019-12-20 深圳市双翼科技股份有限公司 Equipment configuration recovery method, HGU (hybrid gas insulated switchgear) end, SFU (Small form factor Unit) end and split optical modem
CN110602573B (en) * 2019-08-05 2021-12-21 深圳市双翼科技股份有限公司 Equipment configuration recovery method, HGU (hybrid gas insulated switchgear) end, SFU (Small form factor Unit) end and split optical modem

Also Published As

Publication number Publication date
CN109560969B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN109933760A (en) List generation method, device, computer equipment and computer readable storage medium
CN103729425B (en) Operate response method, client, browser and system
CN104965691A (en) Method, apparatus and system for configuring page elements of a webpage
CN109656807A (en) Interface mock test method, device, equipment and storage medium based on information security
CN107809383A (en) A kind of map paths method and device based on MVC
CN112612214B (en) Method and system for generating functional interface and electronic equipment
CN104412565B (en) For relating to the method that the socket of bearer independent protocol manages
CN101102259A (en) Network access control system and its method
CN111541956A (en) Optical port self-adaption method, device, switch and computer readable storage medium
CN105338550B (en) A kind of management method and device of the connection for wireless network
CN109448721A (en) Sound control method, system, Cloud Server and speech ciphering equipment
CN102833102B (en) Customer premise equipment system of set-card separated type gateway and data configuration management method
CN104460592B (en) A kind of control method and device based on central control system
CN109379742A (en) Access method, device and storage medium of wireless local area network
CN106354570A (en) Account information copying and pasting method and device
CN109560969A (en) Configuration method, ONU terminal and the storage medium of the ONU network port
CN103200199A (en) Out of band (OOB) data collection system
CN103425647B (en) A kind of seamless browsing method of webpage and system
CN103546492A (en) Unattended operation installation system and method
CN109683882A (en) NB-IOT terminal software development approach under visible environment based on mobile terminal
Mynzhasova et al. Drivers, standards and platforms for the IoT: Towards a digital VICINITY
CN107633053A (en) A kind of file management method, apparatus and system
CN101583204B (en) Method and system for realizing managing universal combined circuit card multiple application files
CN103888297A (en) Interchanger network management method and system
CN103167627A (en) System and method based on wireless fidelity (WIFI) to achieve sharing mobile phone files

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