CN112804099A - Parameter batch configuration method and device, computer equipment and readable storage medium - Google Patents

Parameter batch configuration method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN112804099A
CN112804099A CN202110016395.4A CN202110016395A CN112804099A CN 112804099 A CN112804099 A CN 112804099A CN 202110016395 A CN202110016395 A CN 202110016395A CN 112804099 A CN112804099 A CN 112804099A
Authority
CN
China
Prior art keywords
ith
configuration
management system
network management
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
CN202110016395.4A
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.)
Dalian Gongjin Technology Co ltd
Original Assignee
Dalian Gongjin 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 Dalian Gongjin Technology Co ltd filed Critical Dalian Gongjin Technology Co ltd
Priority to CN202110016395.4A priority Critical patent/CN112804099A/en
Publication of CN112804099A publication Critical patent/CN112804099A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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/06Management of faults, events, alarms or notifications
    • 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/0866Checking the 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/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a parameter batch configuration method, a parameter batch configuration device, computer equipment and a readable storage medium, wherein the method comprises the following steps: searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in the Nginx configuration file, wherein i is less than or equal to N, and N is the total number of the equipment to be configured; determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file or not according to the corresponding actual network management system address; and if the device identifier of the ith device to be configured is in the pre-configured parameter template file, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file until the parameter configuration of the N devices to be configured is completed. The technical scheme of the invention solves the problem that the address of the preset network management system in the base station equipment is different from the actual network management system address, and realizes the batch configuration of different parameter values for different base station equipment.

Description

Parameter batch configuration method and device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of information technologies, and in particular, to a parameter batch configuration method and apparatus, a computer device, and a readable storage medium.
Background
Currently, the mainstream network management system needs to specify the url of the network management system on the device in advance, for example, a communication device manufacturer produces one thousand pieces of base station devices for an H-power saving telecommunication company, a network management system address required by the H-power saving telecommunication company is set for the device on a production line in advance, and after the device is produced, the start-up parameters need to be set for the devices before shipment. In the process of configuring parameters for equipment, if different values are required to be set for parameters of one thousand pieces of equipment, an operation and maintenance engineer needs to perform one thousand operations to meet the operation and maintenance requirements. For example, an operator needs to configure cell IDs for one thousand base station devices, where the one thousand cell IDs are different values, and under such a condition, an operation and maintenance engineer needs to perform one thousand operations to meet the operation and maintenance requirement.
Disclosure of Invention
In view of the foregoing problems, the present invention provides a parameter batch configuration method, apparatus, computer device and readable storage medium.
The invention provides a parameter batch configuration method, which comprises the following steps:
searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in a Nginx configuration file according to a pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured;
determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address;
if the device identifier of the ith device to be configured is in the pre-configured parameter template file, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file, and repeatedly executing the steps until the parameter configuration of the N devices to be configured is completed.
The batch parameter configuration method further comprises the following steps:
and if the equipment identifier of the ith equipment to be configured is not in the pre-configured parameter template file, displaying an illegal access alarm, the equipment identifier of the ith equipment to be configured and the IP address on a system alarm interface.
The method for batch configuration of parameters according to the present invention, wherein the step of determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address comprises:
establishing communication connection between the ith equipment to be configured and the corresponding actual network management system according to the corresponding actual network management system address;
and determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file or not by utilizing the communication connection.
The parameter batch configuration method of the invention establishes the communication relationship between the ith equipment to be configured and the corresponding actual network management system according to the corresponding actual network management system address, and comprises the following steps:
sending a GET request to the ith device to be configured through the corresponding actual network management system address;
and after receiving a connection request sent by the ith device to be configured in response to the GET request, establishing communication connection between the ith device to be configured and the corresponding actual network management system.
The batch parameter configuration method of the present invention, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file, includes:
constructing a remote call task, wherein the remote call task is used for the actual network management system to send configuration contents in the parameter template file to a device to be configured;
after communication connection is established between the ith device to be configured and the corresponding actual network management system, the remote call task is sent to the ith device to be configured, so that the ith device to be configured obtains configuration content corresponding to the device identifier of the ith device from the corresponding actual network management system according to the remote call task, and performs configuration according to the corresponding configuration content;
and receiving a return result of the ith device to be configured after the configuration is completed.
The batch parameter configuration method further comprises the following steps:
and when the batch configuration condition counting instruction is received, displaying the total number of successful devices for which the batch configuration is successful and the total number of failed devices for which the batch configuration is failed.
The invention provides a parameter batch configuration device, which comprises:
the searching module is used for searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in the Nginx configuration file according to the pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured;
a judging module, configured to determine whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address;
and the configuration module is used for configuring the ith equipment to be configured according to the configuration content corresponding to the equipment identifier of the ith equipment to be configured in the parameter template file if the equipment identifier of the ith equipment to be configured is in the pre-configured parameter template file, and repeatedly executing the steps until the parameter configuration of the N equipment to be configured is completed.
The parameter batch configuration device of the invention also comprises:
and the display module is used for displaying an illegal access alarm, the equipment identifier of the ith equipment to be configured and the IP address on a system alarm interface if the equipment identifier of the ith equipment to be configured is not in the pre-configured parameter template file.
The invention provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the parameter batch configuration method when running on the processor.
The invention proposes a readable storage medium, in which a computer program is stored, which, when running on a processor, executes the method for batch configuration of parameters according to the invention.
The invention provides a parameter batch configuration method, which comprises the following steps: searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in a Nginx configuration file according to a pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured; determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address; if the device identifier of the ith device to be configured is in the pre-configured parameter template file, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file, and repeatedly executing the steps until the parameter configuration of the N devices to be configured is completed. The technical scheme of the invention solves the problem that the address of the preset network management system in the base station equipment is different from the actual network management system address, and realizes the batch configuration of different parameter values for different base station equipment.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic flow chart illustrating a parameter batch configuration method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a parameter batch configuration apparatus according to an embodiment of the present invention.
Description of the main element symbols:
10-parameter batch configuration device; 11-a lookup module; 12-a judgment module; 13-configuration module; 14-display module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
The invention carries out batch configuration on the equipment parameters on the basis of realizing the TR069 communication protocol. Firstly, a Nginx service is deployed, a logical network management address to be forwarded is configured in a Nginx configuration file, the logical network management address is a network management system address preset in base station equipment, and the preset network management system address is forwarded to a physical service address used in the scheme, namely an actual network management system address. Thus, the preset network management system address and the actual network management system address establish a mapping relation. Therefore, the configuration on the base station equipment does not need to be changed manually, and the communication between the base station equipment and the actual network management system is realized.
Further, a parameter configuration task is established, the content of the parameter configuration task can be imported into a database through a pre-configured parameter template file, the pre-configured parameter template file can be an excel type file, wherein a row head is a unique identifier of the base station equipment, a column head is a base station parameter type to be configured, and a row-column crossing position is the parameter content to be configured. The number of parameter classes of the base station device to be configured may be theoretically infinite, and the number of the base station devices to be configured may be infinite.
The technical scheme of the invention not only solves the problem that the address of the preset network management system in the base station equipment is different from the actual network management system address, but also solves the problem that different parameter values can not be configured for different base station equipment in batches.
Example 1
In this embodiment, referring to fig. 1, it is shown that a parameter batch configuration method includes the following steps:
s100: and searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in the Nginx configuration file according to the pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured.
The Nginx is a reverse proxy server which supports high concurrency and has excellent performance, and the high-performance of the Nginx is widely applied to the field of internet servers, in particular to large servers in the linux system environment. The method can pre-deploy the Nginx service according to the requirement, and can search the actual network management system address corresponding to the preset network management system address of the ith device to be configured in the Nginx configuration file when the parameter configuration is carried out on the ith device to be configured in the parameter batch configuration process. Thus, the preset network management system address and the actual network management system address establish a mapping relation. Therefore, the configuration on the base station equipment does not need to be changed manually, and the communication between the base station equipment and the actual network management system is realized.
Further, it should be understood that device registration needs to be performed on the device to be configured by N, and the device registration may be performed individually or in batches. The single equipment registration is that equipment information such as equipment identification, equipment name, area, affiliated business department, affiliated site code, affiliated site name, affiliated identification, scene type, scene name, equipment access mode, equipment longitude, equipment latitude, installation detail address, generation maintenance team, generation maintenance contact mode, owner contact mode and the like is input through adding an equipment page, and click and save are carried out. And submitting the input information to a background action, calling a service by the action, and inserting the equipment information into the database by the service calling dao. Only the registered equipment can be connected with the actual network management system address, otherwise, the network management system can prompt the equipment to be illegally accessed.
S200: and determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file.
And determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file or not according to the corresponding actual network management system address.
Exemplarily, the communication connection between the ith device to be configured and the corresponding actual network management system can be established according to the corresponding actual network management system address; and determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file or not by utilizing the communication connection.
The establishing of the communication connection between the ith device to be configured and the corresponding actual network management system comprises: sending a GET request to the ith device to be configured through the corresponding actual network management system address; and after receiving a connection request sent by the ith device to be configured in response to the GET request, establishing communication connection between the ith device to be configured and the corresponding actual network management system.
If the device identifier of the ith device to be configured is in the pre-configured parameter template file, executing step S300; if the device identifier of the ith device to be configured is not in the pre-configured parameter template file, step S400 is executed.
S300: and configuring the ith equipment to be configured according to the configuration content corresponding to the equipment identifier of the ith equipment to be configured in the parameter template file.
The parameter template file is shown in the following table.
Device identification NTPServer1 NTPServer2 NTPServer3 ……
SN0000001 120.25.115.20 1 120.25.115.22 ……
SN0000002 120.25.115.23 3 NULL ……
SN0000003 …… …… …… ……
……
……
……
The row header is a unique identifier of the base station equipment, the column header is a base station parameter category to be configured, and the row-column intersection position is parameter content to be configured. Exemplarily, the parameter content corresponding to the parameter class NTPServer1 of the device to be configured corresponding to the device identifier SN0000001 is configured according to the service address 120.25.115.20, the parameter content corresponding to the parameter class NTPServer2 of the device to be configured corresponding to the device identifier SN0000001 is 1, and the parameter content 1 is configured to the parameter corresponding to the parameter class NTPServer2 of the device to be configured corresponding to the device identifier SN 0000001.
If the device identifier of the ith device to be configured is in a pre-configured parameter template file, a remote call task can be constructed, wherein the remote call task is used for the actual network management system to send configuration contents in the parameter template file to the device to be configured; after communication connection is established between the ith device to be configured and the corresponding actual network management system, the remote call task is sent to the ith device to be configured, so that the ith device to be configured obtains configuration content corresponding to the device identifier from the corresponding actual network management system according to the remote call task, and performs configuration according to the corresponding configuration content.
It can be understood that, if the device identifier of the ith device to be configured is in the pre-configured parameter template file, a remote invocation task may be constructed after a communication connection is established between the ith device to be configured and the corresponding actual network management system, and then the remote invocation task is sent to the ith device to be configured, so that the ith device to be configured obtains the configuration content corresponding to the device identifier from the corresponding actual network management system according to the remote invocation task, and configures according to the corresponding configuration content.
And after the configuration of the ith device to be configured is completed according to the corresponding configuration content, receiving a returned result of the ith device to be configured after the configuration is completed.
S400: and displaying an illegal access alarm, the equipment identifier and the IP address of the ith equipment to be configured on a system alarm interface.
If the device identifier of the ith device to be configured is not in the pre-configured parameter template file, displaying an illegal access alarm, the device identifier of the ith device to be configured and an IP address on a system alarm interface, so that a configurator can obtain the base station device which is not configured in time.
It is understood that i is equal to 1, 2, 3, … … in sequence, and the above steps S100 to S400 are repeatedly executed until the parameter configuration of the N devices to be configured is completed.
It can be understood that, in order to speed up the process of parameter batch configuration, a plurality of tasks may be set in parallel, for example, when i is equal to 1, the first task channel executes steps S100 to S400, when i is equal to 2, the second task channel executes steps S100 to S400, and when i is equal to 3, the third task channel executes steps S100 to S400, and so on, if there are 10 task channels, 10 task channels may be implemented to operate simultaneously, so as to speed up the process of parameter batch configuration. The number of task channels can be set according to requirements.
The embodiment provides a parameter batch configuration method, which includes: searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in a Nginx configuration file according to a pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured; determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address; if the device identifier of the ith device to be configured is in the pre-configured parameter template file, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file until the parameter configuration of the N devices to be configured is completed. The technical scheme of the embodiment not only solves the problem that the address of the preset network management system in the base station equipment is different from the actual network management system address, but also realizes the batch configuration of different parameter values for different base station equipment.
Example 2
The base station devices to be configured may be an infinite number, for example: the production plan is to perform parameter batch configuration on 1 thousand base station devices, but due to the hardware condition and environment limitation, only 20 base station devices can be accessed in batch at a time. When the task is executed, only the 20 online base station devices are subjected to batch parameter configuration. After the configuration execution is completed, the parameter configuration result of each device can be checked.
Illustratively, a batch configuration condition statistics instruction may be sent, and when the computer device receives the batch configuration condition statistics instruction, the total number of successful devices for which batch configuration is successful and the total number of failed devices for which batch configuration is failed may be displayed.
For the base station equipment with failed batch parameter configuration, fault repair can be performed on the base station equipment independently, and parameter configuration can be performed again after fault repair until the configuration result is returned successfully. For example: when the base station equipment configured with the batch parameters is deleted, the corresponding Parameter configuration result is the (Invalid Parameter Name), at this time, the factory setting of the base station equipment needs to be restored independently, the deleted node needs to be restored, then the Parameter configuration task is executed again, and the system only performs Parameter configuration on the base station equipment which fails in executing the configuration.
For a certain device, the specific parameter of the device is not required to be configured, the original parameter value is required to be reserved, the parameter value can be set to be NULL in the configuration file, and the original parameter can be reserved if the network management system judges that the parameter value is NULL.
Or, the parameter value can be NULL, the original parameter value can be emptied, and flexible setting can be performed according to specific configuration requirements.
Example 3
In this embodiment, referring to fig. 2, a parameter batch configuration apparatus 10 is shown, which includes: a search module 11, a judgment module 12, a configuration module 13 and a display module 14.
The searching module 11 is configured to search, according to a pre-deployed nginnx service, an actual network management system address corresponding to a preset network management system address of the ith device to be configured in a nginnx configuration file, where i is not greater than N, and N is the total number of the devices to be configured; a judging module 12, configured to determine whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address; a configuration module 13, configured to, if the device identifier of the ith device to be configured is in a pre-configured parameter template file, configure the ith device to be configured according to configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file, and repeatedly execute the above steps until parameter configuration of the N devices to be configured is completed; a display module 14, configured to display an illegal access alarm, the device identifier of the ith device to be configured, and the IP address on a system alarm interface if the device identifier of the ith device to be configured is not in the preconfigured parameter template file.
The embodiment provides a parameter batch configuration apparatus 10, which is used to execute the parameter batch configuration method according to the foregoing embodiment through the matching use of a search module 11, a judgment module 12, a configuration module 13, and a display module 14, and the implementation scheme and the beneficial effects related to the foregoing embodiment are also applicable in this embodiment, and are not described herein again.
It is to be understood that the present invention proposes a computer device comprising a memory and a processor, said memory storing a computer program which, when run on said processor, performs the batch configuration method of parameters according to the present invention.
It is to be understood that the present invention proposes a readable storage medium, in which a computer program is stored, which, when running on a processor, performs the batch configuration method of parameters according to the present invention.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A parameter batch configuration method is characterized by comprising the following steps:
searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in a Nginx configuration file according to a pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured;
determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address;
if the device identifier of the ith device to be configured is in the pre-configured parameter template file, configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file, and repeatedly executing the steps until the parameter configuration of the N devices to be configured is completed.
2. The batch parameter configuration method of claim 1, further comprising:
and if the equipment identifier of the ith equipment to be configured is not in the pre-configured parameter template file, displaying an illegal access alarm, the equipment identifier of the ith equipment to be configured and the IP address on a system alarm interface.
3. The method of claim 1, wherein the determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address comprises:
establishing communication connection between the ith equipment to be configured and the corresponding actual network management system according to the corresponding actual network management system address;
and determining whether the device identifier of the ith device to be configured is in a pre-configured parameter template file or not by utilizing the communication connection.
4. The method according to claim 3, wherein the establishing a communication relationship between the ith device to be configured and the corresponding actual network management system according to the corresponding actual network management system address includes:
sending a GET request to the ith device to be configured through the corresponding actual network management system address;
and after receiving a connection request sent by the ith device to be configured in response to the GET request, establishing communication connection between the ith device to be configured and the corresponding actual network management system.
5. The batch parameter configuration method according to claim 3, wherein configuring the ith device to be configured according to the configuration content corresponding to the device identifier of the ith device to be configured in the parameter template file includes:
constructing a remote call task, wherein the remote call task is used for the actual network management system to send configuration contents in the parameter template file to a device to be configured;
after communication connection is established between the ith device to be configured and the corresponding actual network management system, the remote call task is sent to the ith device to be configured, so that the ith device to be configured obtains configuration content corresponding to the device identifier of the ith device from the corresponding actual network management system according to the remote call task, and performs configuration according to the corresponding configuration content;
and receiving a return result of the ith device to be configured after the configuration is completed.
6. The batch parameter configuration method according to any one of claims 1 to 5, further comprising:
and when the batch configuration condition counting instruction is received, displaying the total number of successful devices for which the batch configuration is successful and the total number of failed devices for which the batch configuration is failed.
7. An apparatus for batch configuration of parameters, the apparatus comprising:
the searching module is used for searching an actual network management system address corresponding to a preset network management system address of the ith equipment to be configured in the Nginx configuration file according to the pre-deployed Nginx service, wherein i is less than or equal to N, and N is the total number of the equipment to be configured;
a judging module, configured to determine whether the device identifier of the ith device to be configured is in a pre-configured parameter template file according to the corresponding actual network management system address;
and the configuration module is used for configuring the ith equipment to be configured according to the configuration content corresponding to the equipment identifier of the ith equipment to be configured in the parameter template file if the equipment identifier of the ith equipment to be configured is in the pre-configured parameter template file, and repeatedly executing the steps until the parameter configuration of the N equipment to be configured is completed.
8. The batch parameter configuration device of claim 7, further comprising:
and the display module is used for displaying an illegal access alarm, the equipment identifier of the ith equipment to be configured and the IP address on a system alarm interface if the equipment identifier of the ith equipment to be configured is not in the pre-configured parameter template file.
9. A computer device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the batch configuration method of parameters of any of claims 1 to 6.
10. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the method of batch configuration of parameters of any of claims 1 to 6.
CN202110016395.4A 2021-01-07 2021-01-07 Parameter batch configuration method and device, computer equipment and readable storage medium Pending CN112804099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110016395.4A CN112804099A (en) 2021-01-07 2021-01-07 Parameter batch configuration method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110016395.4A CN112804099A (en) 2021-01-07 2021-01-07 Parameter batch configuration method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112804099A true CN112804099A (en) 2021-05-14

Family

ID=75808762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110016395.4A Pending CN112804099A (en) 2021-01-07 2021-01-07 Parameter batch configuration method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112804099A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115243297A (en) * 2022-09-20 2022-10-25 深圳市艾伯通信有限公司 Base station opening method and system based on TR069 protocol
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811447A (en) * 2011-05-31 2012-12-05 中兴通讯股份有限公司 Method, device and system for configuring base station data
CN106658481A (en) * 2017-01-23 2017-05-10 福建三元达网络技术有限公司 Batch base station starting method and system
CN109561382A (en) * 2018-12-13 2019-04-02 京信通信系统(中国)有限公司 Home eNodeB parameter self-configuration method, system, storage medium and equipment
CN111031542A (en) * 2019-11-26 2020-04-17 京信通信系统(中国)有限公司 Base station opening method, device, communication equipment and storage medium
CN111130901A (en) * 2019-12-30 2020-05-08 京信通信系统(中国)有限公司 Device management method, device, communication device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811447A (en) * 2011-05-31 2012-12-05 中兴通讯股份有限公司 Method, device and system for configuring base station data
CN106658481A (en) * 2017-01-23 2017-05-10 福建三元达网络技术有限公司 Batch base station starting method and system
CN109561382A (en) * 2018-12-13 2019-04-02 京信通信系统(中国)有限公司 Home eNodeB parameter self-configuration method, system, storage medium and equipment
CN111031542A (en) * 2019-11-26 2020-04-17 京信通信系统(中国)有限公司 Base station opening method, device, communication equipment and storage medium
CN111130901A (en) * 2019-12-30 2020-05-08 京信通信系统(中国)有限公司 Device management method, device, communication device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115243297A (en) * 2022-09-20 2022-10-25 深圳市艾伯通信有限公司 Base station opening method and system based on TR069 protocol
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
CN104732329A (en) Device tracking method and system
CN112804099A (en) Parameter batch configuration method and device, computer equipment and readable storage medium
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN111431818B (en) Cross-domain request flow distribution method and device, storage medium and computer equipment
CN112445874A (en) Node information checking method, device, equipment and storage medium
CN113434293A (en) Method and apparatus for processing repeat request, storage medium, and electronic apparatus
CN111353136A (en) Method and device for processing operation request
CN112087327B (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
CN112153146A (en) Operation notification method and apparatus, storage medium, and electronic apparatus
CN109412940B (en) Router management method and router management system
CN103678332A (en) System, browser and method for displaying page
CN113099431B (en) Communication method and device based on LoRa channel and LoRa host
CN115037653A (en) Service flow monitoring method and device, electronic equipment and storage medium
CN110769462B (en) Network access control method and device
CN111815339B (en) Marketing information pushing method and device
CN111159311B (en) Method, device, equipment and storage medium for integrating data mapping
CN103178997A (en) Same MAC (Media Access Control) address detection method and device based on LLDP (Link Layer Discovery Protocol)
CN109117152B (en) Service generation system and method
CN109428752B (en) Verification method and device
CN114070824B (en) Registration method of Internet of things equipment, registration cloud server and medium
CN109218129A (en) A kind of upgrade detection method based on log, device, memory and equipment
CN104253709A (en) Single board starting method and single board
CN113434399B (en) Service node log processing method and device, storage medium and electronic device
CN112887450B (en) Communication address configuration method and device of Internet of things equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210514