CN115065897A - OLT equipment configuration method, device, equipment and readable storage medium - Google Patents

OLT equipment configuration method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN115065897A
CN115065897A CN202210877553.XA CN202210877553A CN115065897A CN 115065897 A CN115065897 A CN 115065897A CN 202210877553 A CN202210877553 A CN 202210877553A CN 115065897 A CN115065897 A CN 115065897A
Authority
CN
China
Prior art keywords
configuration
olt
target
configuration file
equipment
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.)
Pending
Application number
CN202210877553.XA
Other languages
Chinese (zh)
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
Wuhan Fiberhome Technical Services Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services 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, Wuhan Fiberhome Technical Services Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202210877553.XA priority Critical patent/CN115065897A/en
Publication of CN115065897A publication Critical patent/CN115065897A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

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

Abstract

The invention provides an OLT equipment configuration method, an OLT equipment configuration device, OLT equipment configuration equipment and a readable storage medium. The method comprises the following steps: determining a target pre-deployment task of OLT equipment to be configured from a network management database; determining a target general configuration template based on the target pre-deployment task; acquiring a target configuration file based on the target general configuration template; modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server; and configuring the OLT equipment to be configured based on the new target configuration file. The invention solves the problems that when the OLT is started, manual field configuration is needed, the configuration is complicated, time and labor are consumed, and missing and wrong configuration are easy to occur.

Description

OLT equipment configuration method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for configuring an OLT device.
Background
The OLT is an optical line terminal, is used for connecting terminal equipment of an optical fiber trunk line, and has the functions of: transmitting Ethernet data to an ONU (optical network unit) in a broadcast manner; initiating and controlling a ranging process, and recording ranging information; and allocating bandwidth for the ONU, namely controlling the starting time and the sending window size of the ONU for sending data.
At present, when an OLT is opened, a construction team is required to install equipment, power on is carried out, an uplink fiber channel is adjusted, a user plans information such as a management IP, a mask and a gateway of the OLT, a management VLAN, a service VLAN, an OLT name and an OLT uplink port, etc., a soft adjustment engineer sends a command to open a station, an management channel is opened, the OLT equipment is added to a network manager, the OLT name and the service VLAN are configured, information such as various service templates, etc., is configured according to the needs of actual engineering, manual field configuration is required when each OLT is opened, the configuration process is complex, time consuming and long, the situations of missing configuration and mismatching, etc., are easy to occur, and the soft adjustment engineer is required to debug and open the station on site after construction is completed, and the time and labor are consumed.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for configuring OLT equipment and a readable storage medium, aiming at solving the problems that the OLT needs to be configured on site manually when being opened, is more complicated, consumes time and labor and is easy to miss-match and mismatch.
In a first aspect, the present invention provides an OLT device configuration method, where the OLT device configuration method is applied to a network manager, and the OLT device configuration method includes:
determining a target pre-deployment task of OLT equipment to be configured from a network management database;
determining a target general configuration template based on the target pre-deployment task;
acquiring a target configuration file based on the target general configuration template;
modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
and configuring the OLT equipment to be configured based on the new target configuration file.
Optionally, before the step of determining the target pre-deployment task of the OLT device to be configured from the network management database, the method includes:
storing a configuration file corresponding to each OLT equipment type to be configured to a server;
creating a corresponding general configuration template based on the storage information of each configuration file, setting a name for each general configuration template, obtaining a plurality of general configuration templates and storing the general configuration templates in a network management database, wherein the names of different general configuration templates are different, and the storage information of each configuration file comprises the name of the configuration file corresponding to each configuration file and the IP address of a server for storing each configuration file;
creating a corresponding pre-deployment task for each OLT device to be configured, and storing the pre-deployment task into a network management database, wherein the task parameters of each pre-deployment task comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and universal configuration template name of the OLT device to be configured corresponding to the pre-deployment task, and the customized configuration parameter comprises a host name, a service VLAN, an OLT uplink port and an OLT uplink port aggregation group.
Optionally, before the step of determining the target pre-deployment task of the OLT device to be configured from the network management database, the method includes:
the OLT equipment to be configured initializes according to the configuration management VLAN, the temporary management IP, the static route and the network management IP address in the read U disk;
and the initialized OLT equipment to be configured sends the SNMP TRAP data packet to the network manager based on a temporary management channel which is established according to the configuration management VLAN, the temporary management IP, the static routing and the network manager IP address.
Optionally, the step of determining the target pre-deployment task of the OLT device to be configured from the network management database includes:
analyzing an SNMP TRAP data packet sent by OLT equipment to be configured to obtain an electronic serial number of the OLT equipment to be configured;
and determining a target pre-deployment task of the OLT equipment to be configured from a network management database according to the electronic serial number of the OLT equipment to be configured.
Optionally, the step of determining the target general configuration template based on the target pre-deployment task includes:
acquiring task parameters corresponding to the target pre-deployment task, and determining a target general configuration template from a network management database according to a general configuration template name in the task parameters.
Optionally, the step of obtaining the target configuration file based on the target general configuration template includes:
acquiring storage information of a configuration file corresponding to a target general configuration template;
and acquiring the target configuration file according to the storage information of the configuration file.
Optionally, the step of configuring the OLT device to be configured based on the new target configuration file includes:
and sending the information of the server and the name of the new target configuration file to OLT equipment to be configured through a temporary management IP (Internet protocol), so that the OLT equipment to be configured can acquire the new target configuration file corresponding to the name of the new target configuration file from the server according to the information of the server and configure the new target configuration file, wherein the name of the new target configuration file comprises an electronic serial number of the OLT equipment to be configured.
In a second aspect, the present invention further provides an OLT device configuration apparatus, where the OLT device configuration apparatus includes:
the first determining module is used for determining a target pre-deployment task of the OLT equipment to be configured from the network management database;
the second determination module is used for determining a target general configuration template based on the target pre-deployment task;
the acquisition module is used for acquiring a target configuration file based on the target general configuration template;
the modification module is used for modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
and the configuration module is used for configuring the OLT equipment to be configured based on the new target configuration file.
In a third aspect, the present invention further provides an OLT apparatus configuration device, where the OLT apparatus configuration device includes a processor, a memory, and an OLT apparatus configuration program stored on the memory and executable by the processor, where the OLT apparatus configuration program implements the steps of the OLT apparatus configuration method as described above when executed by the processor.
In a fourth aspect, the present invention further provides a readable storage medium, which stores an OLT device configuration program, where the OLT device configuration program, when executed by a processor, implements the steps of the OLT device configuration method as described above.
In the invention, a target pre-deployment task of OLT equipment to be configured is determined from a network management database; determining a target general configuration template based on the target pre-deployment task; acquiring a target configuration file based on the target general configuration template; modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server; and configuring the OLT equipment to be configured based on the new target configuration file. By the invention, when the OLT equipment needs to be opened, the target pre-deployment task and the target general configuration template of the OLT equipment to be configured are determined from the network management database, the target configuration file is obtained based on the target general configuration template, modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file, configuring the OLT equipment to be configured based on the new target configuration file, therefore, the hardware engineer only needs to complete the operation related to the hardware without having the soft tuning skill, the soft tuning engineer does not need to arrive at the site, and the data of the newly-built equipment is not needed to be remotely and manually configured in the network center, therefore, automatic, efficient and intelligent OLT deployment and opening are achieved, and the problems that in the prior art, when the OLT is opened, manual field configuration is needed, the configuration is complex, time and labor are consumed, and missing and wrong configuration are easy to occur are solved.
Drawings
Fig. 1 is a schematic hardware structure diagram of an OLT device configuration device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of an OLT device configuration method according to the present invention;
FIG. 3 is a detailed flowchart of step S10 in FIG. 2;
fig. 4 is a flowchart illustrating a second embodiment of an OLT apparatus configuration method according to the present invention;
fig. 5 is a schematic functional block diagram of an OLT apparatus configuration device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect, an embodiment of the present invention provides an OLT apparatus configuration device, where the OLT apparatus configuration device may be a Personal Computer (PC), a notebook computer, a server, or other devices with a data processing function.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of an OLT device configuration device according to an embodiment of the present invention. In this embodiment of the present invention, the OLT device configuration device may include a processor 1001 (e.g., a central processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005, which is one type of computer storage medium in fig. 1, may include an operating system, a network communication module, a user interface module, and an OLT device configuration program. The processor 1001 may call the OLT device configuration program stored in the memory 1005, and execute the OLT device configuration method provided by the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides an OLT device configuration method.
In an embodiment, referring to fig. 2, fig. 2 is a flowchart illustrating an OLT device configuration method according to a first embodiment of the present invention. As shown in fig. 2, the OLT device configuration method includes:
step S10, determining a target pre-deployment task of the OLT equipment to be configured from the network management database;
in this embodiment, each OLT device to be configured has a corresponding pre-deployment task in the network management database, and since the task parameter of the pre-deployment task includes the electronic serial number of the OLT device to be configured, after the electronic serial number of the OLT device to be configured is obtained, the target pre-deployment task corresponding to the OLT device to be configured can be determined from the network management database according to the electronic serial number of the OLT device to be configured.
Further, in an embodiment, referring to fig. 3, fig. 3 is a schematic detailed flow chart of step S10 in fig. 2. As shown in fig. 3, step S10 includes:
s101, analyzing an SNMPTRAP data packet sent by OLT equipment to be configured to obtain an electronic serial number of the OLT equipment to be configured;
and S102, determining a target pre-deployment task of the OLT equipment to be configured from a network management database according to the electronic serial number of the OLT equipment to be configured.
In this embodiment, the SNMP TRAP data packet sent by the OLT to be configured is analyzed to obtain an Electronic Serial Number (ESN) of the OLT device to be configured, matching is performed in the network management database according to the obtained electronic serial number of the OLT device to be configured, and a pre-deployment task to which an electronic serial number in the network management database, which is the same as the obtained electronic serial number of the OLT device to be configured, belongs is a target pre-deployment task of the OLT device to be configured.
Step S20, determining a target general configuration template based on the target pre-deployment task;
in this embodiment, after the target pre-deployment task of the OLT device to be configured is determined, the universal configuration template may be determined from the network management database according to the task parameters corresponding to the target pre-deployment task.
Further, in one embodiment, the step S20 includes:
acquiring task parameters corresponding to the target pre-deployment task, and determining a target general configuration template from a network management database according to a general configuration template name in the task parameters.
In this embodiment, the task parameter corresponding to the target pre-deployment task is obtained, the general configuration template corresponding to the general configuration template name in the task parameter is searched in the network management database according to the general configuration template name in the task parameter, and the general configuration template corresponding to the general configuration template name in the task parameter corresponding to the target pre-deployment task in the network management database is the target general configuration template.
Step S30, acquiring a target configuration file based on the target general configuration template;
in this embodiment, when creating the general configuration template, a corresponding general configuration template is created based on the storage information of each configuration file, so that the target configuration file can be obtained based on the target general configuration template.
Further, in one embodiment, step S30 includes:
acquiring storage information of a configuration file corresponding to a target general configuration template;
and acquiring the target configuration file according to the storage information of the configuration file.
In this embodiment, after the target general configuration template is determined, the storage information of the configuration file corresponding to the target general configuration template is obtained, and the target configuration file corresponding to the name of the target configuration file is obtained from the server corresponding to the IP address of the server according to the storage information of the configuration file.
Step S40, modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
in this embodiment, taking a server as an ftp server as an example, the target configuration file is modified according to the task parameters corresponding to the target pre-deployment task, and a new target configuration file is generated such that the parameters of the new target configuration file are the same as the task parameters corresponding to the target pre-deployment task. The task parameters comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and general configuration template name of the OLT equipment to be configured corresponding to the pre-deployment task, wherein the customized configuration parameter comprises host name, service VLAN, OLT uplink port and OLT uplink port aggregation group. And after generating a new target configuration file, sending the new target configuration file to an ftp server for storage. It will be appreciated that the server may also be another computer providing file storage and access services over the internet, with the server being described below as an ftp server.
Step S50, configuring the OLT device to be configured based on the new target configuration file.
In this embodiment, the OLT device to be configured may be configured based on the new target configuration file.
Further, in one embodiment, the step S50 includes:
and sending the information of the server and the name of the new target configuration file to OLT equipment to be configured through a temporary management IP (Internet protocol), so that the OLT equipment to be configured can acquire the new target configuration file corresponding to the name of the new target configuration file from the server according to the information of the server and configure the new target configuration file, wherein the name of the new target configuration file comprises an electronic serial number of the OLT equipment to be configured.
In this embodiment, the SNMPTRAP packet sent by the OLT device to be configured is analyzed, so as to obtain the temporary management IP of the OLT device to be configured. And sending the information of the ftp server storing the new target configuration file and the name of the new target configuration file to the OLT equipment to be configured through the temporary management IP of the OLT equipment to be configured, so that the OLT equipment to be configured can acquire the new target configuration file corresponding to the name of the new target configuration file from the ftp server storing the new target configuration file according to the information of the ftp server storing the new target configuration file and configure the new target configuration file. Because the name of the new target configuration file includes the electronic serial number of the OLT device to be configured, the new target configuration file corresponding to the name of the new target configuration file, which is acquired by the OLT device to be configured from the ftp server storing the new target configuration file, is the configuration file of the OLT device to be configured, so that the OLT device to be configured can be configured based on the new target configuration file. Wherein the information of the ftp server storing the new target profile comprises an IP address, a user name and a password of the ftp server.
Further, after the configuration of the OLT device is completed, the device is restarted, so that the configured management IP takes effect, that is, the management IP in the task parameter takes effect. The method comprises the steps that a network manager analyzes an SNMPTRAP data packet sent by OLT equipment to be configured to obtain the equipment type of the OLT equipment to be configured, the OLT equipment to be configured is established according to the equipment type of the OLT equipment to be configured, a temporary management IP of the established OLT equipment to be configured is modified into a management IP in task parameters, and configuration data corresponding to the OLT equipment after configuration is obtained at the same time, so that the configuration data corresponding to the OLT equipment to be configured established in the network manager is the same as the configuration data corresponding to the OLT equipment after configuration is completed, wherein the configuration data comprises single-disk configuration data and service configuration data.
In the embodiment, a target pre-deployment task of OLT equipment to be configured is determined from a network management database; determining a target general configuration template based on the target pre-deployment task; acquiring a target configuration file based on the target general configuration template; modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server; and configuring the OLT equipment to be configured based on the new target configuration file. By the embodiment, when the OLT equipment needs to be opened, the target pre-deployment task and the target general configuration template of the OLT equipment to be configured are determined from the network management database, the target configuration file is obtained based on the target general configuration template, modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file, configuring the OLT equipment to be configured based on the new target configuration file, therefore, the hardware engineer only needs to complete the operation related to the hardware without having the soft tuning skill, the soft tuning engineer does not need to arrive at the site, and the data of the newly-built equipment is not needed to be remotely and manually configured in the network center, therefore, automatic, efficient and intelligent OLT deployment and opening are achieved, and the problems that in the prior art, when the OLT is opened, manual field configuration is needed, the configuration is complex, time and labor are consumed, and missing and wrong configuration are easy to occur are solved.
Further, in an embodiment, before step S10, the method includes:
storing a configuration file corresponding to each OLT equipment type to be configured to a server;
establishing a corresponding general configuration template based on the storage information of each configuration file, setting a name for each general configuration template, obtaining a plurality of general configuration templates and storing the general configuration templates in a network management database, wherein the names of different general configuration templates are different, and the storage information of each configuration file comprises the name of the configuration file corresponding to each configuration file and the IP address of a server for storing each configuration file;
creating a corresponding pre-deployment task for each OLT device to be configured, and storing the pre-deployment task into a network management database, wherein the task parameters of each pre-deployment task comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and universal configuration template name of the OLT device to be configured corresponding to the pre-deployment task, and the customized configuration parameter comprises a host name, a service VLAN, an OLT uplink port and an OLT uplink port aggregation group.
In this embodiment, a configuration file corresponding to each OLT device type to be configured is created, and the configuration file corresponding to each OLT device type to be configured is stored in the ftp server. Specifically, if the OLT devices A, B, C, D and E are to be configured, the OLT devices a and B to be configured are of the same type 3, the OLT device C to be configured is of one type, and the OLT devices D and E to be configured are of another type, there are 3 types of OLT devices to be configured altogether, configuration files corresponding to the 3 types of OLT devices to be configured are created respectively, and the configuration files corresponding to the 3 types of OLT devices to be configured are stored in the ftp server.
And establishing a corresponding universal configuration template based on the storage information of each configuration file, setting a name for each universal configuration template, obtaining a plurality of universal configuration templates and storing the universal configuration templates in a network management database. The names of different general configuration templates are different, the configuration files of different general configuration templates are also different, and the storage information of each configuration file comprises the name of the configuration file corresponding to each configuration file and the IP address of the ftp server storing each configuration file. Specifically, a corresponding general configuration template is created based on the storage information of the configuration file corresponding to the type of the 3 types of OLT devices to be configured, and different names are set for the 3 general configuration templates, so that 3 general configuration templates are obtained and stored in the network management database.
Creating a corresponding pre-deployment task for each OLT device to be configured, and storing the pre-deployment task into a network management database, wherein the task parameters of each pre-deployment task comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and universal configuration template name of the OLT device to be configured corresponding to the pre-deployment task, and the customized configuration parameter comprises a host name, a service VLAN, an OLT uplink port and an OLT uplink port aggregation group.
Furthermore, the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, and customized configuration parameter of the OLT device to be configured corresponding to the pre-deployment task are set according to the user requirement, and the generic configuration template name of the OLT device to be configured corresponding to the pre-deployment task included in the task parameter of each pre-deployment task is a name that is set for the generic configuration template and created based on the storage information of the configuration file corresponding to the type of the OLT device to be configured.
Further, in an embodiment, before step S10, the method includes:
step S001, the OLT equipment to be configured initializes according to the configuration management VLAN, the temporary management IP, the static route and the network management IP address in the read U disk;
step S002, the initialized OLT equipment to be configured sends SNMP TRAP data packets to the network manager based on the temporary management channel which is set up according to the configuration management VLAN, the temporary management IP, the static routing and the network manager IP address.
In this embodiment, referring to fig. 4, fig. 4 is a flowchart illustrating an OLT device configuration method according to a second embodiment of the present invention. As shown in fig. 4, after the OLT device to be configured reads the configuration management VLAN, the temporary management IP, the static route, and the network management IP address in the usb disk, the OLT device initializes the configuration management VLAN, the temporary management IP, the static route, and the network management IP address according to the read configuration management VLAN, temporary management IP, static route, and network management IP address in the usb disk.
The initialized OLT equipment to be configured sends an SNMP TRAP data packet to the network manager based on a temporary management channel established according to the configuration management VLAN, the temporary management IP, the static routing and the network manager IP address so as to execute the step S101. The SNMP TRAP data packet comprises the type of OLT equipment, an electronic serial number and a temporary management IP.
In a third aspect, an embodiment of the present invention further provides an OLT device configuration apparatus.
In an embodiment, referring to fig. 5, fig. 5 is a functional module schematic diagram of an OLT device configuration apparatus according to an embodiment of the present invention. As shown in fig. 5, the OLT apparatus configuration device includes:
a first determining module 10, configured to determine a target pre-deployment task of the OLT apparatus to be configured from a network management database;
a second determining module 20, configured to determine a target generic configuration template based on the target pre-deployment task;
an obtaining module 30, configured to obtain a target configuration file based on the target general configuration template;
the modification module 40 is used for modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
a configuration module 50, configured to configure the OLT device to be configured based on the new target configuration file.
Further, in an embodiment, the OLT apparatus configuration device further includes a creating module, configured to:
storing a configuration file corresponding to each OLT equipment type to be configured to a server;
creating a corresponding general configuration template based on the storage information of each configuration file, setting a name for each general configuration template, obtaining a plurality of general configuration templates and storing the general configuration templates in a network management database, wherein the names of different general configuration templates are different, and the storage information of each configuration file comprises the name of the configuration file corresponding to each configuration file and the IP address of a server for storing each configuration file;
creating a corresponding pre-deployment task for each OLT device to be configured, and storing the pre-deployment task into a network management database, wherein the task parameters of each pre-deployment task comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and universal configuration template name of the OLT device to be configured corresponding to the pre-deployment task, and the customized configuration parameter comprises a host name, a service VLAN, an OLT uplink port and an OLT uplink port aggregation group.
Further, in an embodiment, the OLT apparatus configuration device further includes an initialization module, configured to:
the OLT equipment to be configured initializes according to the configuration management VLAN, the temporary management IP, the static route and the network management IP address in the read U disk;
a building module for: and the initialized OLT equipment to be configured sends an SNMP TRAP data packet to a network manager based on a temporary management channel which is set up according to the configuration management VLAN, the temporary management IP, the static routing and the IP address of the network manager.
Further, in an embodiment, the first determining module 10 is configured to:
analyzing an SNMP TRAP data packet sent by OLT equipment to be configured to obtain an electronic serial number of the OLT equipment to be configured;
and determining a target pre-deployment task of the OLT equipment to be configured from a network management database according to the electronic serial number of the OLT equipment to be configured.
Further, in an embodiment, the second determining module 20 is configured to:
acquiring task parameters corresponding to the target pre-deployment task, and determining a target general configuration template from a network management database according to a general configuration template name in the task parameters.
Further, in an embodiment, the obtaining module 30 is configured to:
acquiring storage information of a configuration file corresponding to a target general configuration template;
and acquiring the target configuration file according to the storage information of the configuration file.
Further, in an embodiment, the module 50 is configured to:
and sending the information of the server and the name of the new target configuration file to OLT equipment to be configured through a temporary management IP (Internet protocol), so that the OLT equipment to be configured can acquire the new target configuration file corresponding to the name of the new target configuration file from the server according to the information of the server and configure the new target configuration file, wherein the name of the new target configuration file comprises an electronic serial number of the OLT equipment to be configured.
The function implementation of each module in the OLT device configuration apparatus corresponds to each step in the OLT device configuration method embodiment, and the functions and implementation processes thereof are not described in detail here.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores therein an OLT device configuration program, wherein the OLT device configuration program, when executed by a processor, implements the steps of the OLT device configuration method as described above.
The method implemented when the OLT device configuration program is executed may refer to each embodiment of the OLT device configuration method of the present invention, and details are not described here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An OLT equipment configuration method is characterized in that the OLT equipment configuration method is applied to network management, and the OLT equipment configuration method comprises the following steps:
determining a target pre-deployment task of OLT equipment to be configured from a network management database;
determining a target general configuration template based on the target pre-deployment task;
acquiring a target configuration file based on the target general configuration template;
modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
and configuring the OLT equipment to be configured based on the new target configuration file.
2. The OLT apparatus configuration method of claim 1, wherein before the step of determining the target pre-deployment task of the OLT apparatus to be configured from the network management database, the method comprises:
storing a configuration file corresponding to each OLT equipment type to be configured to a server;
establishing a corresponding general configuration template based on the storage information of each configuration file, setting a name for each general configuration template, obtaining a plurality of general configuration templates and storing the general configuration templates in a network management database, wherein the names of different general configuration templates are different, and the storage information of each configuration file comprises the name of the configuration file corresponding to each configuration file and the IP address of a server for storing each configuration file;
creating a corresponding pre-deployment task for each OLT device to be configured, and storing the pre-deployment task into a network management database, wherein the task parameters of each pre-deployment task comprise the type, name, management IP, mask, gateway, management VLAN, electronic serial number, SNMP parameter, customized configuration parameter and universal configuration template name of the OLT device to be configured corresponding to the pre-deployment task, and the customized configuration parameter comprises a host name, a service VLAN, an OLT uplink port and an OLT uplink port aggregation group.
3. The OLT apparatus configuration method of claim 2, wherein before the step of determining the target pre-deployment task of the OLT apparatus to be configured from the network management database, the method comprises:
the OLT equipment to be configured initializes according to the configuration management VLAN, the temporary management IP, the static route and the network management IP address in the read U disk;
and the initialized OLT equipment to be configured sends SNMPTRAP data packets to the network manager based on a temporary management channel which is established according to the configuration management VLAN, the temporary management IP, the static routing and the network manager IP address.
4. The OLT device configuration method of claim 3, wherein the step of determining the target pre-deployment task of the OLT device to be configured from the network management database comprises:
analyzing an SNMPTRAP data packet sent by OLT equipment to be configured to obtain an electronic serial number of the OLT equipment to be configured;
and determining a target pre-deployment task of the OLT equipment to be configured from a network management database according to the electronic serial number of the OLT equipment to be configured.
5. The OLT device configuration method of claim 2, wherein the step of determining a target generic configuration template based on a target pre-deployment task comprises:
acquiring task parameters corresponding to the target pre-deployment task, and determining a target general configuration template from a network management database according to a general configuration template name in the task parameters.
6. The OLT apparatus configuration method of claim 2, wherein the step of obtaining a target configuration file based on a target generic configuration template comprises:
acquiring storage information of a configuration file corresponding to a target general configuration template;
and acquiring the target configuration file according to the storage information of the configuration file.
7. The OLT apparatus configuration method of claim 1, wherein the step of configuring the OLT apparatus to be configured based on the new target configuration file comprises:
and sending the information of the server and the name of the new target configuration file to OLT equipment to be configured through a temporary management IP (Internet protocol), so that the OLT equipment to be configured can acquire the new target configuration file corresponding to the name of the new target configuration file from the server according to the information of the server and configure the new target configuration file, wherein the name of the new target configuration file comprises an electronic serial number of the OLT equipment to be configured.
8. An OLT device configuration apparatus, wherein the OLT device configuration apparatus comprises:
the first determining module is used for determining a target pre-deployment task of the OLT equipment to be configured from the network management database;
the second determination module is used for determining a target general configuration template based on the target pre-deployment task;
the acquisition module is used for acquiring a target configuration file based on the target general configuration template;
the modification module is used for modifying the target configuration file according to the task parameters corresponding to the target pre-deployment task, generating a new target configuration file and sending the new target configuration file to the server;
and the configuration module is used for configuring the OLT equipment to be configured based on the new target configuration file.
9. An OLT device configuration device comprising a processor, a memory, and an OLT device configuration program stored on the memory and executable by the processor, wherein the OLT device configuration program, when executed by the processor, implements the steps of the OLT device configuration method of any of claims 1-7.
10. A readable storage medium, having stored thereon an OLT device configuration program, wherein the OLT device configuration program, when executed by a processor, implements the steps of the OLT device configuration method of any of claims 1-7.
CN202210877553.XA 2022-07-25 2022-07-25 OLT equipment configuration method, device, equipment and readable storage medium Pending CN115065897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210877553.XA CN115065897A (en) 2022-07-25 2022-07-25 OLT equipment configuration method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210877553.XA CN115065897A (en) 2022-07-25 2022-07-25 OLT equipment configuration method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115065897A true CN115065897A (en) 2022-09-16

Family

ID=83205946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210877553.XA Pending CN115065897A (en) 2022-07-25 2022-07-25 OLT equipment configuration method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115065897A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117519781A (en) * 2024-01-04 2024-02-06 上海柯林布瑞信息技术有限公司 Script-based project configuration file generation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108261A (en) * 2013-02-06 2013-05-15 上海电信工程有限公司 Connecting method of Ethernet Passive Optical Network (EPON) access device
US20140023366A1 (en) * 2011-04-13 2014-01-23 Zte Corporation DPOE System And Service Auto-Configuration Method And Network Based Thereon
WO2015192651A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Method for implementing rapid configuration and rapid configuration server
CN112600716A (en) * 2014-11-28 2021-04-02 华为技术有限公司 Equipment configuration method, configuration device and management equipment
CN114124684A (en) * 2021-10-22 2022-03-01 杭州依赛通信有限公司 Method for realizing zero-contact full-automatic network element deployment by using USB flash disk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140023366A1 (en) * 2011-04-13 2014-01-23 Zte Corporation DPOE System And Service Auto-Configuration Method And Network Based Thereon
CN103108261A (en) * 2013-02-06 2013-05-15 上海电信工程有限公司 Connecting method of Ethernet Passive Optical Network (EPON) access device
WO2015192651A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Method for implementing rapid configuration and rapid configuration server
CN112600716A (en) * 2014-11-28 2021-04-02 华为技术有限公司 Equipment configuration method, configuration device and management equipment
CN114124684A (en) * 2021-10-22 2022-03-01 杭州依赛通信有限公司 Method for realizing zero-contact full-automatic network element deployment by using USB flash disk

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117519781A (en) * 2024-01-04 2024-02-06 上海柯林布瑞信息技术有限公司 Script-based project configuration file generation method and device
CN117519781B (en) * 2024-01-04 2024-03-29 上海柯林布瑞信息技术有限公司 Script-based project configuration file generation method and device

Similar Documents

Publication Publication Date Title
US10541867B2 (en) Remote management of software with incorporation of profile and compliance rules
US7457853B1 (en) Method and apparatus for automatically configuring a network device
US7363260B1 (en) Method and apparatus providing automatic provisioning for modular network devices
CN112600716B (en) Equipment configuration method, configuration device and management equipment
US9350611B2 (en) Apparatus and method for locating a target operation object
US9824080B2 (en) Automatic generation of forms for device configuration
US8543673B2 (en) Rapid provisioning of network devices using automated configuration
US8059558B2 (en) Configuration preprocessor language
KR20110055561A (en) The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
CN105610883A (en) Policy file synchronization management method, policy synchronization server and management device
US10749733B2 (en) Apparatus and method for controlling network device based on network service in communication system
CN115065897A (en) OLT equipment configuration method, device, equipment and readable storage medium
WO2020207105A1 (en) Destination message determination method and apparatus, storage medium and electronic apparatus
CN110808847B (en) Method and device for managing DAS (data-based system), electronic device and storage medium
CN106330511B (en) Network element equipment and method for opening data communication network
US10651895B2 (en) Provisioning devices using near-field communication
CN105512134A (en) Method and system for querying data based on SNMP protocol
CN106130787B (en) Service processing system based on software defined network
CN112637221A (en) Equipment control method and device
CN115550764A (en) Network element configuration method, system, equipment and medium based on automatic opening system
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
EP2564552B1 (en) Network management in a communications network
CN114827980B (en) NSSI updating method, NSSI updating device and NSSMF entity
CN112732410B (en) Service node management method and device, storage medium and electronic device
CN117997746A (en) Intent-based security policy configuration method, device and readable 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