CN115051918B - Control method, server, device and storage medium of network equipment - Google Patents

Control method, server, device and storage medium of network equipment Download PDF

Info

Publication number
CN115051918B
CN115051918B CN202110256989.2A CN202110256989A CN115051918B CN 115051918 B CN115051918 B CN 115051918B CN 202110256989 A CN202110256989 A CN 202110256989A CN 115051918 B CN115051918 B CN 115051918B
Authority
CN
China
Prior art keywords
command
network devices
network device
network
command word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110256989.2A
Other languages
Chinese (zh)
Other versions
CN115051918A (en
Inventor
崔银晓
杨云杰
陈轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202110256989.2A priority Critical patent/CN115051918B/en
Publication of CN115051918A publication Critical patent/CN115051918A/en
Application granted granted Critical
Publication of CN115051918B publication Critical patent/CN115051918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions

Abstract

The application discloses a control method, a server, a device and a storage medium of network equipment, and relates to the technical field of communication. The specific implementation scheme is as follows: acquiring a command word list corresponding to an operation command by sending the operation command to a plurality of network devices; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices, and further, the corresponding network devices are controlled according to command parameters corresponding to the first command words of the network devices. Therefore, through presetting the corresponding relation between different command words and the version numbers of the network devices, when the network devices of a plurality of versions are controlled, the network devices of the versions do not need to be configured, and the compatibility of the network devices of the plurality of versions is improved.

Description

Control method, server, device and storage medium of network equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a control method, a server, an apparatus, and a storage medium for a network device.
Background
In the communication network, a SON (Self Organnizing Network, self-organizing network) system is used as a part of an OMC (Operation Maintance Center, operation maintenance center) system to realize functions of self-starting, self-configuration, self-optimization, self-healing and the like of network equipment. The key operation of interaction with the network equipment is to issue a command to the network equipment to realize control of the network equipment except for business logic in the processes of self-starting, self-configuration, self-optimization, self-healing and the like.
When controlling different versions of network equipment, multi-version compatibility cannot be achieved due to differences of commands, parameters and objects, command word change, parameter change and the like are often faced during testing, each time of targeted modification is needed, verification of single-version network equipment is only met, and therefore how to better realize testing of the multi-version network equipment becomes a problem to be solved.
Disclosure of Invention
The application provides a control method, a server, a device and a storage medium of network equipment.
According to an aspect of the present application, there is provided a control method of a network device, including: transmitting an operation command to a plurality of network devices; acquiring a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices; and controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
Optionally, after the obtaining the command word list corresponding to the operation command, the method further includes:
determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each naming model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word;
Determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device;
and determining the command parameters corresponding to the target command words of the network devices as command parameters corresponding to the first command words of the corresponding network devices.
Optionally, the determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices includes:
acquiring the identifiers of the plurality of network devices; wherein the identification of each network device includes a type and version number of the network device;
a plurality of command models respectively matching version numbers of the plurality of network devices are determined.
Optionally, the method further comprises:
determining that a target command word matched with a first command word corresponding to the network equipment does not exist in a plurality of second command words supported by the network equipment;
and adding the first command word of the network equipment into a command model corresponding to the network equipment.
Optionally, after the adding the first command word of the network device to the command model corresponding to the network device, the method further includes:
and adding the command parameters corresponding to the first command word into the command model corresponding to the network equipment.
According to another aspect of the present application, there is provided a server, wherein the server includes a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
transmitting an operation command to a plurality of network devices; acquiring a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices; and controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
Optionally, after the obtaining the command word list corresponding to the operation command, the method further includes:
determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each naming model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word;
determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device;
And determining the command parameters corresponding to the target command words of the network devices as command parameters corresponding to the first command words of the corresponding network devices.
Optionally, the determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices includes:
acquiring the identifiers of the plurality of network devices; wherein the identification of each network device includes a type and version number of the network device;
a plurality of command models respectively matching version numbers of the plurality of network devices are determined.
Optionally, after the obtaining the command word list corresponding to the operation command, the method further includes:
determining that a first command word corresponding to the version number of the network device does not exist in the command word list;
a first command word of the network device is added to the list of command words.
Optionally, after adding the first command word of the network device to the command word list, the method further includes:
monitoring that the change exists in command parameters corresponding to a second command word supported in a plurality of command models corresponding to the plurality of network devices;
and adding the updated command parameters corresponding to the second command word into the command model corresponding to the corresponding network equipment.
According to another aspect of the present application, there is provided a control apparatus of a network device, the apparatus including:
a transmitting unit configured to transmit an operation command to a plurality of network devices;
an obtaining unit, configured to obtain a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices;
and the control unit is used for controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
According to another aspect of the present application, there is provided a processor-readable storage medium storing a computer program for causing the processor to execute a control method of a network device.
The control method of the network equipment disclosed by the application has at least the following technical effects:
by presetting the corresponding relation between different command words and the version numbers of the network devices, the network devices of the versions do not need to be configured respectively when the network devices of the versions are controlled, and the compatibility of the network devices of the multiple versions is improved.
It should be understood that the description of this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
FIG. 1 is a diagram illustrating an example of a conventional PCI self-optimization flow provided in an embodiment of the present application;
fig. 2 is a diagram illustrating a conventional command issuing flow for controlling a network device according to an embodiment of the present application;
fig. 3 is a flow chart of a control method of a network device according to an embodiment of the present application;
fig. 4 is a flowchart of another control method of a network device according to an embodiment of the present application;
fig. 5 is a flowchart of another control method of a network device according to an embodiment of the present application;
fig. 6 is a flowchart of another control method of a network device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a control device of a network device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
That is, in the embodiment of the present invention, the term "and/or" describes the association relationship of the association objects, which means that three relationships may exist, for example, a and/or B may be represented: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In the related art, the SON includes modules such as PCI (Physical Cell ID), self-starting, self-healing, ANR (Automatic Neighbour Relation function, automatic neighbor relation optimization), etc., each module needs to interact with a network device, and issues a command, such as opening an algorithm switch in PCI, configuring PCI and PCI list, resetting an autonomous healing Cell, resetting a board card, etc.
The current implementation is mainly implemented by setting operation commands and parameters of the version of the designated NE (Network Equipment, network device) in the service flow and issuing the operation commands and parameters to the network device. Taking the self-optimization flow of the PCI as an example, fig. 1 is a self-optimization command issuing process of the PCI, as shown in fig. 1, after the SON turns on a PCI algorithm switch, a command 1 is sent to the network device, wherein the command 1 is a development command for modifying the PCI algorithm, and after the network device receives the command 1 sent by the SON, the PCI algorithm is turned on according to the command 1; after the SON carries out conflict confusion detection, a command 2 is sent to the network equipment, wherein the command 2 is used for modifying the PCI, and after the network equipment receives the command 2 for modifying the PCI sent by the SON, the PCI algorithm is modified; the SON sends a command 3 to the network device, wherein the command 3 is used for modifying the PCILIS, and the network device modifies the PCILIS after receiving the command 3 for modifying the PCILIS sent by the SON.
It can be seen that in the above-mentioned PCI self-optimization process, three command issues are involved, and the flow of each command issue is shown in fig. 2.
As can be seen from fig. 2, in the current implementation, matching is performed according to a known version of a network device, that is, according to a version number of a given version of the network device, a command word and a command parameter corresponding to an operation are manually preset, further, a command model of the network device is obtained according to a type and a version number of the network device, a command in the command model, the command parameter, the type and the version number of the network device are packaged, and a packaged object is issued to a command line for execution. However, when the network device is used for different versions, due to differences of commands, parameters and objects, multi-version compatibility cannot be achieved, command word change, parameter change and the like are often faced during testing, each time of targeted modification is required, and verification of the network device with a single version is only met.
In view of the above problems, the present application provides a control method of a network device, by sending an operation command to a plurality of network devices, obtaining a command word list corresponding to the operation command; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices, and further, the corresponding network devices are controlled according to command parameters corresponding to the first command words of the network devices. Therefore, through presetting the corresponding relation between different command words and the version numbers of the network devices, when the network devices of a plurality of versions are controlled, the network devices of the versions do not need to be configured, and the compatibility of the network devices of the plurality of versions is improved.
The control method, server, apparatus, and storage medium of the network device of the present embodiment are described below with reference to the drawings.
The technical scheme provided by the embodiment of the application can be suitable for various systems, especially a 5G system. For example, suitable systems may be global system for mobile communications (Global System of Mobile communication, GSM), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) universal packet Radio service (General Packet Radio Service, GPRS), long term evolution (Long Term Evolution, LTE), LTE frequency division duplex (Frequency Division Duplex, FDD), LTE time division duplex (Time Division Duplex, TDD), long term evolution-advanced (Long Term Evolution Advanced, LTE-a), universal mobile system (Universal Mobile Telecommunication System, UMTS), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wiMAX), 5G New air interface (New Radio, NR), and the like. Terminal devices and network devices are included in these various systems. Core network parts such as evolved packet system (Evloved Packet System, EPS), 5G system (5 GS) etc. may also be included in the system.
Fig. 3 is a flowchart of a control method of a network device according to an embodiment of the present application.
As shown in fig. 3, the control method of the network device, applied to the server, may include the following steps:
step 101, sending an operation command to a plurality of network devices.
The network device provided in the foregoing embodiment may be a base station, where the base station may include a plurality of cells that provide services for the terminal. A base station may also be called an access point or may be a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminal devices, or other names, depending on the particular application. The network device may be operable to exchange received air frames with internet protocol (Internet Protocol, IP) packets as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) communication network. The network device may also coordinate attribute management for the air interface. For example, the network device according to the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in a global system for mobile communications (Global System for Mobile Mommunications, GSM) or code division multiple access (Code Division Multiple Access, CDMA), a network device (NodeB) in a wideband code division multiple access (Wide-band Code Division Multiple Access, WCDMA), an evolved network device (evolutional Node B, eNB or e-NodeB) in a long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in a 5G network architecture (next generation system), a home evolved base station (Home evolved Node B, heNB), a relay node (relay node), a home base station (femto), a pico base station (pico), and the like. In some network structures, the network device may include a Centralized Unit (CU) node and a Distributed Unit (DU) node, which may also be geographically separated.
The operation command refers to a command for controlling the network device. For example, the operation commands are used to control the switching on, switching off, configuration, etc. of the network device.
It should be explained that the operation command for controlling the network device is not limited in the present application, and any operation command capable of controlling the network device may be applied to the solution of the present application.
In one embodiment of the present application, when the server controls a plurality of network devices, an operation command may be sent to the plurality of network devices.
The plurality of network devices may be network devices with different version numbers, or any several network devices of the plurality of network devices may have the same version number.
For example, the server transmits an operation command to 5 network devices whose version numbers are completely different.
Also for example, the server sends an operation command to 5 network devices, where 2 network devices have the same version number and the version numbers of the other 3 network devices are different.
Step 102, obtaining a command word list corresponding to an operation command; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices.
In one embodiment of the present application, when the server sends the operation command to the plurality of network devices, a command word list corresponding to the operation command may be obtained, so as to determine, according to correspondence between a plurality of first command words stored in the command word list and version numbers of the plurality of network devices, a first command word corresponding to the version number of each network device.
It can be understood that a command word list corresponding to different operation commands is pre-stored in the server, wherein a first command word corresponding to the operation command in network devices with different version numbers is stored in the command word list.
For example, assuming that the operation command is used to control the network device a, the network device B, and the network device C of 3 different version numbers to be turned on, a first command word open1 corresponding to the network device a, a first command word open2 corresponding to the network device B, and a first command word open3 corresponding to the network device C may be stored in a command word list corresponding to the operation command.
Also for example, assuming that the operation command is used to control the network device a, the network device B, and the network device C of 3 different version numbers to be turned off, a first command word close1 corresponding to the network device a, a first command word close2 corresponding to the network device B, and a first command word close3 corresponding to the network device C may be stored in a command word list corresponding to the operation command.
In one embodiment of the present application, when a connection relationship is established between a newly added network device and a server, the server sends an operation command to the newly added network device to perform control, where a first command word corresponding to a version number of the newly added network device does not exist in a command word list corresponding to the operation command, in this case, the command word list may be updated to add the first command word corresponding to the version number of the newly added network device to the command word list. Therefore, when the server operates newly added network equipment again, the corresponding command word can be determined by only inquiring the command word list without resetting, so that the maintenance cost of the network equipment is reduced.
And step 103, controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
In this embodiment of the present application, after determining the first command word for controlling each network device according to the command word list corresponding to the operation command, the corresponding network device may be controlled according to the command parameter corresponding to the first command word of each network device.
In one embodiment of the present application, all command words supported by the network device of each version number and command parameters corresponding to each command word may be stored in advance in the server. After determining the first command word for controlling each network device, the command parameter corresponding to the first command word of each network device may be determined according to all command words supported by each network device and command parameters corresponding to each command word.
According to the control method of the network equipment, the command word list corresponding to the operation commands is obtained by sending the operation commands to the plurality of network equipment; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices, and further, the corresponding network devices are controlled according to command parameters corresponding to the first command words of the network devices. Therefore, through presetting the corresponding relation between different command words and the version numbers of the network devices, when the network devices of a plurality of versions are controlled, the network devices of the versions do not need to be configured, and the compatibility of the network devices of the plurality of versions is improved.
In order to determine the command parameters corresponding to the first command word of each network device, fig. 4 is a flowchart of another control method of the network device according to the embodiment of the present application.
As shown in fig. 4, the control method of the network device is applied to a server, and may further include:
step 201, an operation command is sent to a plurality of network devices.
Step 202, obtaining a command word list corresponding to an operation command; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices.
In this embodiment of the present application, the implementation process of step 201 and step 202 may refer to the implementation process of step 101 and step 102 in the foregoing embodiment, which is not described herein again.
Step 203, determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices.
It may be appreciated that the server may store a command model corresponding to each network device in advance, where each naming model includes a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word. There is a one-to-one correspondence between the command model of each network device and the version number of the corresponding network device.
For convenience of distinction, in this application, the command words stored in the command word list are named as first command words, the command words stored in the command model corresponding to each network device are named as second command words, and other naming manners may be adopted, which are not limited herein.
In one embodiment of the present application, when the server sends an operation command to the plurality of network devices, the identifiers of the plurality of network devices may be obtained. Wherein the identity of each network device includes a type and version number of the network device. Further, the server may query the command models stored in advance for each network device according to the version numbers of each network device to determine a plurality of command models respectively matching the version numbers of the plurality of network devices.
Step 204, determining a target command word matching the first command word of the corresponding network device from the plurality of second command words supported by each network device.
The target command word refers to a command word corresponding to a first command word of a corresponding network device in a command model of each network device.
In one embodiment of the present application, after determining the command model corresponding to each network device, the target command word that matches the first command word of the corresponding network device may be determined according to all the second command words supported by the corresponding network device stored in the command model.
For example, assuming that the first command word of network device a in the command word list is open1 and the corresponding second command word is open.a in the command model of network device a, the second command word open.a may be determined to be the target command word matching the first command word open 1.
Step 205, determining the command parameter corresponding to the target command word of each network device as the command parameter corresponding to the first command word of the corresponding network device.
In one embodiment of the present application, command parameters corresponding to all second command words supported by the corresponding network device and corresponding command parameters of the second command words are stored in advance in the command model corresponding to each network device, so after determining a target command word matched with the first command word of the corresponding network device from the second command words of the command model of each network device, the command parameters corresponding to the second command word of each network device may be determined as the command parameters corresponding to the first command word of the corresponding network device.
Continuing with the explanation in the example of step 205, after determining that the second command word open.a is the target command word that matches the first command word open1, the command parameters corresponding to the second command word open.a stored in the naming model of network device a may be determined to be the command parameters corresponding to the first command word open 1.
And step 206, controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
In this embodiment of the present application, the implementation process of step 206 may refer to the implementation processes of step 101 and step 103 in the foregoing embodiments, which are not described herein again.
According to the control method of the network equipment, after a plurality of command models corresponding to the plurality of network equipment are determined according to the identifiers of the plurality of network equipment, a target command word matched with a first command word of the corresponding network equipment is determined from a plurality of second command words which are stored in the command models of the network equipment and are supported by the corresponding network equipment, command parameters corresponding to the target command word of the network equipment are determined as command parameters corresponding to the first command word of the corresponding network equipment, and therefore the corresponding network equipment is controlled. Therefore, the command parameters corresponding to the first command words of the corresponding network devices are determined in the command model of each network device, so that the network devices of different versions are prevented from being set, the command compatibility of the network devices of different versions is realized, and the efficiency of the server in controlling the network devices is improved.
In one embodiment of the present application, after the server is newly matched to the network device, when an operation command is sent to the network device, a first command word corresponding to the version number of the newly matched network device is obtained and not yet existing in the command word list corresponding to the operation command, where the first command word corresponding to the version number of the newly matched network device may be added to the command word list. Fig. 5 is a schematic flow chart of a control method of another network device according to an embodiment of the present application.
As shown in fig. 5, the control method of the network device, applied to the server, may include the following steps:
step 301, sending an operation command to a plurality of network devices.
Step 302, a list of command words corresponding to the operation command is obtained.
It should be explained that, when the server newly matches the network device, that is, when an operation command is sent to the network device, at this time, a first command word corresponding to the version number of the newly matched network device is obtained from the command word list corresponding to the operation command.
Step 303, determining that the first command word corresponding to the version number of the network device does not exist in the command word list.
In the embodiment of the present application, after a command word list corresponding to an operation command is obtained, the command word list is polled, and it is determined that a first command word corresponding to a version number of a network device does not exist in the command word list.
Step 304, adding the first command word of the network device to the list of command words.
As one possible implementation, the server may add the first command word and the corresponding version number of the network device to the command word list, while keeping the version numbers of the plurality of command words and the plurality of network devices already stored in the command word list unchanged.
For example, assume that three first command words, open1, open2, and open3, for controlling the turn-on of network device a, network device B, and network device C of different version numbers are stored in the command word list. At this time, the first command word open4 corresponding to the network device D may be added to the command word list.
As another possible implementation manner, when the server adds the first command word and the corresponding version number of the network device to the command word list, the server updates the first command words corresponding to the version numbers of the plurality of network devices already stored in the command word list.
For example, assume that three first command words, open1, open2, and open3, for controlling the turn-on of network device a, network device B, and network device C of different version numbers are stored in the command word list. At this time, when the first command word corresponding to the network device D is added to the command word list, three first command words stored in the command word list may be updated, and the updated command word list stores the first command word open1 corresponding to the network device D, the first command word open2 corresponding to the network device a, the first command word open3 corresponding to the network device B, and the first command word open4 corresponding to the network device C.
Step 305, controlling the corresponding network device according to the command parameter corresponding to the first command word of each network device.
In this embodiment of the present application, the implementation process of step 305 may refer to the implementation process of step 103, which is not described herein.
According to the control method of the network device, when the server determines that the first command word of the network device does not exist in the command word list corresponding to the operation command, the first command word of the network device is added into the command word list, so that the purpose of dynamically maintaining the command word list corresponding to the operation command when the server is matched with the network device with a new version number is achieved.
In one embodiment of the present application, after the server matches the network device with the new version number, there may be a change in command parameters corresponding to a plurality of command words supported in the command model corresponding to the network device, and the command parameters corresponding to the updated second command word may be added to the command model corresponding to the network device, thereby implementing dynamic maintenance on the command word parameters. Fig. 6 is a schematic flow chart of a control method of another network device according to an embodiment of the present application.
As shown in fig. 6, the control method of the network device, applied to the server, may include the following steps:
in step 401, it is monitored that there is a change in a command parameter corresponding to a second command word supported in a plurality of command models corresponding to a plurality of network devices.
Step 402, adding the command parameter corresponding to the updated second command word to the command model corresponding to the corresponding network device.
In this embodiment of the present application, when the server monitors that there is a change in a command parameter corresponding to a second command word supported in a plurality of command models corresponding to a plurality of network devices, the command parameter corresponding to the updated second command word may be added to the command model corresponding to the network device.
For example, assuming that the command parameter corresponding to the second command word for controlling the network device a to be turned off in the command word model corresponding to the network device a is changed, the updated command parameter may be added to the command model of the network device a.
It should be explained that the command parameter corresponding to the second command word may have a new added command parameter, a command parameter has a change, a command parameter is deleted, and the like, which is not limited in the present application.
Therefore, when the command parameters corresponding to the second command words are changed, the updated command parameters corresponding to the second command words are added to the command model of the corresponding network equipment, so that the dynamic maintenance of the command parameters corresponding to the second command words supported by the network equipment is realized, and the maintenance cost is reduced.
In order to implement the above embodiment, the present application proposes a server.
Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
As shown in fig. 7, the server 700 may include a memory 710, a transceiver 720, and a processor 730:
a memory 710 for storing a computer program; a transceiver 720 for receiving and transmitting data under the control of the processor 730; a processor 730 for reading the computer program in the memory 710 and performing the following operations:
Transmitting an operation command to a plurality of network devices; acquiring a command word list corresponding to an operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices; and controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment.
Wherein in fig. 7, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 730 and various circuits of memory represented by memory 710, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 720 may be a number of elements, including a transmitter and a receiver, providing a means for communicating with various other apparatus over transmission media, including wireless channels, wired channels, optical cables, and the like. The processor 730 is responsible for managing the bus architecture and general processing, and the memory 710 may store data used by the processor 730 in performing operations.
Processor 730 may be a Central Processing Unit (CPU), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or complex programmable logic device (Complex Programmable Logic Device, CPLD), and may also employ a multi-core architecture.
As a possible implementation manner, after obtaining the command word list corresponding to the operation command, the method further includes: determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each naming model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word; determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device; and determining the command parameters corresponding to the target command words of the network devices as the command parameters corresponding to the first command words of the corresponding network devices.
As another possible implementation manner, determining a plurality of command models corresponding to a plurality of network devices according to the identifiers of the plurality of network devices includes: acquiring identifiers of a plurality of network devices; wherein the identification of each network device comprises the type and version number of the network device; a plurality of command models that match version numbers of the plurality of network devices, respectively, are determined.
As another possible implementation manner, after obtaining the command word list corresponding to the operation command, the method further includes: determining that a first command word corresponding to the version number of the network equipment does not exist in the command word list; the first command word of the network device is added to the list of command words.
As another possible implementation manner, after adding the first command word of the network device to the command word list, the method further includes: monitoring that the change exists in command parameters corresponding to a second command word supported in a plurality of command models corresponding to a plurality of network devices; and adding the command parameters corresponding to the updated second command word into the command model of the corresponding network equipment.
It should be noted that, the server provided in this embodiment of the present application can implement all the method steps implemented in the method embodiments of fig. 3 to fig. 6, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those in the method embodiments in this embodiment are omitted.
In order to implement the above embodiment, the present application proposes a control device for a network device.
Fig. 8 is a schematic structural diagram of a control device of a network device according to an embodiment of the present application.
As shown in fig. 8, the control apparatus 800 of the network device may include: a transmitting unit 810, an acquiring unit 820, and a control unit 830.
Wherein, the sending unit 810 is configured to send operation commands to a plurality of network devices.
An acquisition unit 820 for acquiring a list of command words corresponding to an operation command; the first command words stored in the command word list have a one-to-one correspondence with version numbers of the network devices.
The control unit 830 is configured to control the corresponding network device according to the command parameter corresponding to the first command word of each network device.
In a possible implementation manner, the control device 800 of the network device may further include:
the first determining unit is configured to determine a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, where each naming model includes a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word.
And a second determining unit for determining a target command word matching the first command word of the corresponding network device from a plurality of second command words supported by each network device.
And the third determining unit is used for determining the command parameters corresponding to the target command words of the network devices as the command parameters corresponding to the first command words of the corresponding network devices.
In another possible implementation, the first determining unit may be further configured to:
acquiring identifiers of a plurality of network devices; wherein the identification of each network device comprises the type and version number of the network device; a plurality of command models that match version numbers of the plurality of network devices, respectively, are determined.
In another possible implementation manner, the control apparatus 800 of the network device may further include:
and a fourth determining unit, configured to determine that the first command word corresponding to the version number of the network device does not exist in the command word list.
And the first adding unit is used for adding the first command word of the network equipment to the command word list.
In another possible implementation manner, the control apparatus 800 of the network device may further include:
and the monitoring unit is used for monitoring that the change exists in the command parameters corresponding to the second command words supported in the command models corresponding to the network devices.
And the second adding unit is used for adding the command parameters corresponding to the updated second command word into the command model of the corresponding network equipment.
It should be noted that, the control device of the network device provided in the embodiment of the present application can implement all the method steps implemented in the method embodiments of fig. 3 to fig. 6, and can achieve the same technical effects, and specific details of the same parts and beneficial effects as those of the method embodiments in the embodiment are not repeated herein.
It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice. In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution, in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
To implement the above embodiment, the present application also proposes a processor-readable storage medium.
Wherein the processor readable storage medium stores a computer program for causing the processor to execute the control method of the network device described in the embodiments of fig. 3 to 6 of the present application.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memories (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memories (e.g., CD, DVD, BD, HVD, etc.), semiconductor memories (e.g., ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (SSDs)), etc.
To achieve the above embodiments, the present application also proposes a computer program product.
Wherein the computer program product comprises a computer program which, when executed by a processor, implements the method of controlling a network device as described in the embodiments of fig. 3 to 6.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memories (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memories (e.g., CD, DVD, BD, HVD, etc.), semiconductor memories (e.g., ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (SSDs)), etc.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (6)

1. A method for controlling a network device, the method comprising:
transmitting an operation command to a plurality of network devices;
acquiring a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices;
determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each command model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word;
determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device;
determining the command parameters corresponding to the target command words of the network devices as command parameters corresponding to the first command words of the corresponding network devices;
controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment;
after the command word list corresponding to the operation command is obtained, the method further comprises the following steps:
training the command word list, and determining that a first command word corresponding to the version number of the network equipment does not exist in the command word list;
Adding a first command word of the network device and version numbers of the corresponding network devices into the command word list, and updating the first command words corresponding to the version numbers of the plurality of network devices stored in the command word list;
monitoring that the change exists in command parameters corresponding to a second command word supported in a plurality of command models corresponding to the plurality of network devices;
and adding the updated command parameters corresponding to the second command word into the command model of the corresponding network equipment.
2. The method of claim 1, wherein determining a plurality of command models corresponding to the plurality of network devices according to the identities of the plurality of network devices comprises:
acquiring the identifiers of the plurality of network devices; wherein the identification of each network device includes a type and version number of the network device;
a plurality of command models respectively matching version numbers of the plurality of network devices are determined.
3. A server comprising a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
Transmitting an operation command to a plurality of network devices;
acquiring a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices;
determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each command model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word;
determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device;
determining the command parameters corresponding to the target command words of the network devices as command parameters corresponding to the first command words of the corresponding network devices;
controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment;
after the command word list corresponding to the operation command is obtained, the method further comprises the following steps:
training the command word list, and determining that a first command word corresponding to the version number of the network equipment does not exist in the command word list;
Adding a first command word of the network device and version numbers of the corresponding network devices into the command word list, and updating the first command words corresponding to the version numbers of the plurality of network devices stored in the command word list;
monitoring that the change exists in command parameters corresponding to a second command word supported in a plurality of command models corresponding to the plurality of network devices;
and adding the updated command parameters corresponding to the second command word into the command model of the corresponding network equipment.
4. The server of claim 3, wherein the determining a plurality of command models corresponding to the plurality of network devices according to the identities of the plurality of network devices comprises:
acquiring the identifiers of the plurality of network devices; wherein the identification of each network device includes a type and version number of the network device;
a plurality of command models respectively matching version numbers of the plurality of network devices are determined.
5. A control apparatus for a network device, the apparatus comprising:
a transmitting unit configured to transmit an operation command to a plurality of network devices;
an obtaining unit, configured to obtain a command word list corresponding to the operation command; wherein, a plurality of first command words stored in the command word list have a one-to-one correspondence with version numbers of the plurality of network devices;
The control unit is used for controlling the corresponding network equipment according to the command parameters corresponding to the first command words of the network equipment;
the device is also for:
after the command word list corresponding to the operation command is obtained, determining a plurality of command models corresponding to the plurality of network devices according to the identifiers of the plurality of network devices, wherein each command model comprises a plurality of second command words supported by the corresponding network device and command parameters corresponding to each second command word;
determining a target command word matched with the first command word of the corresponding network device from a plurality of second command words supported by each network device;
determining the command parameters corresponding to the target command words of the network devices as command parameters corresponding to the first command words of the corresponding network devices;
after the command word list corresponding to the operation command is obtained, training the command word list to determine that a first command word corresponding to the version number of the network equipment does not exist in the command word list;
adding a first command word of the network device and version numbers of the corresponding network devices into the command word list, and updating the first command words corresponding to the version numbers of the plurality of network devices stored in the command word list;
Monitoring that the change exists in command parameters corresponding to a second command word supported in a plurality of command models corresponding to the plurality of network devices;
and adding the updated command parameters corresponding to the second command word into the command model of the corresponding network equipment.
6. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to perform the method of any one of claims 1 to 2.
CN202110256989.2A 2021-03-09 2021-03-09 Control method, server, device and storage medium of network equipment Active CN115051918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110256989.2A CN115051918B (en) 2021-03-09 2021-03-09 Control method, server, device and storage medium of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110256989.2A CN115051918B (en) 2021-03-09 2021-03-09 Control method, server, device and storage medium of network equipment

Publications (2)

Publication Number Publication Date
CN115051918A CN115051918A (en) 2022-09-13
CN115051918B true CN115051918B (en) 2024-03-12

Family

ID=83156294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110256989.2A Active CN115051918B (en) 2021-03-09 2021-03-09 Control method, server, device and storage medium of network equipment

Country Status (1)

Country Link
CN (1) CN115051918B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
CN103680498A (en) * 2012-09-26 2014-03-26 华为技术有限公司 Speech recognition method and speech recognition equipment
CN106301916A (en) * 2016-08-16 2017-01-04 北京北信源软件股份有限公司 A kind of multiple network equipment unifies collocation method
CN107911249A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 Order line sending method, device and the equipment of a kind of network equipment
CN108933691A (en) * 2017-05-26 2018-12-04 华为技术有限公司 A kind of method and calculating equipment of acquisition network equipment standard configuration template
CN109426559A (en) * 2017-08-21 2019-03-05 北京国双科技有限公司 Order delivery method and device, storage medium, processor
CN110661670A (en) * 2019-10-21 2020-01-07 中国民航信息网络股份有限公司 Network equipment configuration management method and device
CN111526048A (en) * 2020-04-16 2020-08-11 深圳市风云实业有限公司 Unified management language adaptation method for multi-model switch
CN111711532A (en) * 2020-04-30 2020-09-25 国家计算机网络与信息安全管理中心 Unified management method for heterogeneous network equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2875609B1 (en) * 2012-07-20 2019-03-20 ABB Schweiz AG Configuration management device, configuration interface device and method for vendor-independent network device configuration

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
CN103680498A (en) * 2012-09-26 2014-03-26 华为技术有限公司 Speech recognition method and speech recognition equipment
CN106301916A (en) * 2016-08-16 2017-01-04 北京北信源软件股份有限公司 A kind of multiple network equipment unifies collocation method
CN108933691A (en) * 2017-05-26 2018-12-04 华为技术有限公司 A kind of method and calculating equipment of acquisition network equipment standard configuration template
CN109426559A (en) * 2017-08-21 2019-03-05 北京国双科技有限公司 Order delivery method and device, storage medium, processor
CN107911249A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 Order line sending method, device and the equipment of a kind of network equipment
CN110661670A (en) * 2019-10-21 2020-01-07 中国民航信息网络股份有限公司 Network equipment configuration management method and device
CN111526048A (en) * 2020-04-16 2020-08-11 深圳市风云实业有限公司 Unified management language adaptation method for multi-model switch
CN111711532A (en) * 2020-04-30 2020-09-25 国家计算机网络与信息安全管理中心 Unified management method for heterogeneous network equipment

Also Published As

Publication number Publication date
CN115051918A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US8406759B2 (en) Systems and methods for managing radio resources unsing extended management information bases in wireless networks
US8537855B2 (en) Coordination of operational data of base stations in a multiprotocol environment
US20120257544A1 (en) Configuration space feedback and optimization in a self-configuring communication system
US10368276B2 (en) Cell handover method, base station, and control node
US11201786B2 (en) Auto-configuration method and apparatus, and base station
US20200099578A1 (en) Network device upgrade
CN113329515A (en) Method and device for determining remote unit to which user equipment belongs and storage medium
CN114071612B (en) Method, device and storage medium for updating primary cell of secondary cell group
WO2022120841A1 (en) Method and apparatus for determining candidate target cell, device, and computer storage medium
CN115051918B (en) Control method, server, device and storage medium of network equipment
US10313897B2 (en) Methods and apparatus to prevent potential conflicts among instances of SON functions
Atayero et al. Self organizing networks for 3GPP LTE
US10412601B2 (en) Coordination in self-organizing networks
US20210235324A1 (en) Link reconfiguration processing method and related products
CN114945002B (en) AMF selection method, device, network equipment and storage medium
CN114765577B (en) Indication method, determination method, device, equipment and storage medium of measurement configuration
CN114071602B (en) Node switching configuration method and device
CN114765507A (en) Positioning pilot frequency configuration method, device, terminal equipment, access network equipment and storage medium
CN114844862B (en) Resource processing method and device and communication equipment
US11910206B1 (en) Information processing method, device and processor-readable storage medium
US11533634B2 (en) Base station and method for optimizing coverage of self-defined network
US11696151B2 (en) Selecting a physical cell identifier in a small cell without using radio environment monitoring
CN110636527B (en) Method and system for realizing centralized SON
CN102143567B (en) Power-regulating method and device
US20220394683A1 (en) Method and apparatus for handling user equipment capabilities in a wireless network

Legal Events

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