CN107947981B - Network equipment management method and device - Google Patents

Network equipment management method and device Download PDF

Info

Publication number
CN107947981B
CN107947981B CN201711181364.4A CN201711181364A CN107947981B CN 107947981 B CN107947981 B CN 107947981B CN 201711181364 A CN201711181364 A CN 201711181364A CN 107947981 B CN107947981 B CN 107947981B
Authority
CN
China
Prior art keywords
script
network equipment
cloud server
software function
software
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
CN201711181364.4A
Other languages
Chinese (zh)
Other versions
CN107947981A (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201711181364.4A priority Critical patent/CN107947981B/en
Publication of CN107947981A publication Critical patent/CN107947981A/en
Application granted granted Critical
Publication of CN107947981B publication Critical patent/CN107947981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • 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
    • 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/20Network management software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

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)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a network equipment management method and device, relates to the technical field of communication, and can reduce development difficulty and software cost when developing or managing software versions. The scheme comprises the following steps: the cloud server calls a first software function through the CWMP channel to load a script corresponding to the network equipment, so that the network equipment loads a modular component corresponding to the first software function; when the cloud server obtains the loading success information of the modular component reported by the network equipment through the CWMP channel, the cloud server feeds back a software function configuration interface of the network equipment according to the serial number, the MAC address and the equipment model of the network equipment, so that a user can monitor and manage the network equipment according to the software function configuration interface. The method and the device are applied to the process of managing the software version of the network equipment and configuring the software function.

Description

Network equipment management method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for managing network devices.
Background
In the actual process of developing the software of the network equipment, after all software functions are developed, the corresponding equipment management interface is cut and presented according to the function specification tables of different product models. However, if a customer has a specific requirement to support and the requirement is cut, a new software version needs to be developed again, which brings additional version development and maintenance overhead.
In addition, when the software version is managed, if a mode that the device management interface and the software bottom layer function are directly interacted is adopted, namely, a corresponding implementation interface is called according to the operation of a user on the device management interface, the development difficulty and the maintenance difficulty are increased. As shown in fig. 1, if the software version is managed by directly interacting the cloud management device and the user device through the intermediate parsing module, for a developer of a management interface of the cloud management device, the developer needs to understand the logic implementation and the influence of different function combinations of each software function of the user device (device side), which greatly increases the development difficulty and risk. Moreover, the service components corresponding to the functions supported by the cloud management device need to be registered in the intermediate analysis module in advance, and when the corresponding service components need not be registered in advance because the cloud management device needs to support new functions, or when the returned information received by the cloud management device is abnormal and needs to be revised, a new software version needs to be additionally developed for maintenance, so that the software cost is increased. In addition, the method cannot be presented in a cloud dynamic selection function, and the device end cannot dynamically uninstall a software function, so that unnecessary performance loss is saved.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for managing a network device, which can reduce software cost and development difficulty when developing or managing a software version.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a network device management method, which is applied to a scenario where a cloud server manages network devices, where the network devices include at least one network device, and the method includes:
the cloud server calls a loading script corresponding to a first software function on the network equipment through a client terminal equipment wide area network Management Protocol (CPE) (client premix Equipment) WAN Management Protocol, so that the network equipment loads a modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function;
when the cloud server obtains the loading success information of the modular component reported by the network device through the CWMP channel, the loading success information of the modular component is used for indicating the cloud server to feed back a software function configuration interface of the network device, and the cloud server feeds back the software function configuration interface of the network device according to the serial number, Media Access Control (MAC) address and device model of the network device, so that a user can monitor and manage the network device according to the software function configuration interface.
In a second aspect, an embodiment of the present application provides a network device management method, where the method includes:
the network equipment loads the modular component corresponding to the first software function in the loading script corresponding to the network equipment according to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function;
the network equipment reports loading success information of the modular components to the cloud server through the CWMP channel, the loading success information of the modular components is used for indicating the cloud server to feed back a software function configuration interface of the network equipment, and the cloud server feeds back the software function configuration interface of the network equipment according to the serial number, the MAC address and the equipment model of the network equipment.
In a third aspect, an embodiment of the present application provides a cloud server, where the cloud server includes:
the calling unit is used for calling a loading script corresponding to the first software function on the network equipment through the CWMP channel so that the network equipment loads the modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function;
the acquisition unit is used for acquiring the loading success information of the modular component reported by the network equipment through the CWMP channel;
and the processing unit is used for indicating the cloud server to feed back the software function configuration interface of the network equipment when the loading success information of the modular component is acquired by the acquisition unit, and feeding back the software function configuration interface of the network equipment according to the serial number, the Media Access Control (MAC) address and the equipment model of the network equipment, so that a user can monitor and manage the network equipment according to the software function configuration interface.
In a fourth aspect, an embodiment of the present application provides a network device, where the network device includes:
the processing unit is used for loading the modular components corresponding to the first software functions in the loading scripts corresponding to the network equipment according to the first software functions; the loading script is used for controlling loading of the modular component corresponding to the first software function;
and the communication unit is used for reporting the loading success information of the modular component to the cloud server through the CWMP channel, wherein the loading success information of the modular component is used for indicating the cloud server to feed back the software function configuration interface of the network equipment, so that the cloud server feeds back the software function configuration interface of the network equipment according to the serial number, the MAC address and the equipment model of the network equipment.
Compared with the prior art, when a client has specific requirements, a new software version needs to be developed again, so that additional version maintenance cost is brought. In the application, the cloud server can call the loading script corresponding to the first software function on the network device through the CWMP channel, and the network device loads the modular component corresponding to the first software function according to the loading script, so that the cloud server can feed back a software function configuration interface corresponding to the first software function to the network device, and a user can monitor and manage the network device according to the software function configuration interface. The software script (e.g., loading script) can be implemented by a bottom-layer software function designer of the network device, and a developer of the cloud server management interface only needs to pay attention to the software function configuration interface to call and execute the corresponding software script. For upper layer developers, the influence of complex software function internal implementation logic and different functions is shielded, and for bottom layer software functions, the problem of non-functionality can be solved by calling a software script through a cloud server, so that the additional software development and maintenance cost of network equipment is reduced, and the software development difficulty is reduced.
Drawings
FIG. 1 is a diagram of a management architecture of the prior art;
fig. 2 is a schematic system architecture diagram of a network device management method according to an embodiment of the present application;
fig. 3 is a schematic signal interaction diagram of a network device management method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a software function configuration interface according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a cloud server according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a cloud server according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
The network device management method and apparatus provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
For clarity and conciseness of the following description of the various embodiments, a brief introduction to related concepts or technologies is first presented:
script: in short, a script is a strip of text commands that are visible (e.g., opened for viewing, editing with a notepad). The script program, when executed, is an interpreter of the system that translates a script of the program into machine-recognizable instructions for execution in sequence.
Modular assembly: the implementation of the network device software functionality needs to rely on the normal loading of one or more modular components. For example, configuring subscriber routing functions requires reliance on the loading and coordination of routing components and subscriber identification components. Each modular component executes a specific function, and the network device calls the corresponding modular component according to specific operation so as to obtain a corresponding configuration or query result.
The embodiment of the application is applied to the process of managing the software version of the network equipment and configuring the software function. As shown in fig. 2, the architecture of the embodiment of the present application includes a cloud server and a network device. The cloud server can establish a CWMP channel with the network device through a CWMP module on the network device. The cloud server may invoke the local software script of the network device through the CWMP channel.
For example, when the cloud server calls a loading script corresponding to the first software function in a local software script library of the network device through the CWMP channel, the local script library of the network device may create an initiating script soft link of the modular component corresponding to the first software function by using a shell command. Then, the network device is restarted, and in the restarting process, the network device can load the modular components with the created soft links of the startup script. For example, but not limiting of, a network device may load component 1, component 2, component 3, or component 4. When the cloud server calls the software configuration or query script through the CWMP channel, the local configuration command framework of the network device may set the local configuration commands implementing the software configuration or query function into the corresponding modular components, for example, but not limited to, component 1 and component 2, or component 3 and component 4.
The method and the device can be applied to the basis of long connection between the network equipment and the cloud server. The software script is not executed at the cloud server side, but the cloud server executes the software script stored on the network equipment, and the software script on the network equipment can be upgraded through the cloud server. Software scripts in embodiments of the present application include, but are not limited to, load scripts, unload scripts, update scripts, and configuration or query scripts. Therefore, the software script is updated more flexibly without affecting the stability of the network equipment. Compared with the prior art, the equipment management interface directly interacts with the bottom layer software function, and development difficulty and maintenance difficulty are increased. According to the method and the device, the corresponding software functions can be flexibly loaded, unloaded or presented according to different user requirements on the premise that the software version of the network equipment does not need to be additionally developed and maintained.
The software script can be realized by a bottom software function designer of the network equipment, and a developer of the cloud server management interface only needs to pay attention to the software function configuration interface to call and execute the corresponding script. For upper layer developers, the influence of complex software function internal implementation logic and different functions is shielded, and for bottom layer software functions, the problem of non-functionality can be solved by calling software scripts through the cloud server, so that the additional software development and maintenance cost of network equipment is reduced. In addition, when the software script called by the cloud server is complex, the default function parameter configuration can be generated locally in advance, so that the software script is simplified. Meanwhile, the performance of configuration and query can be improved by a method of pre-generating a query result or reporting query information at regular time.
An embodiment of the present application provides a network device management method, as shown in fig. 3, including:
301. the cloud server and the network equipment establish a CWMP channel.
After the basic network configuration is completed, the network device can log in the cloud server, namely, the network device is connected to the cloud platform, and the service provided by the cloud platform is supported by the cloud server. Then, the cloud server can establish a CWMP channel with the network device through the CWMP module on the network device.
302. The cloud server acquires the related information of the network equipment through the CWMP channel.
The related information of the network device includes but is not limited to the following information: the serial number of the software to be managed on the network equipment, the MAC address of the network equipment, the software version number of the software to be managed on the network equipment, the equipment model of the network equipment and the local script library version of the software to be managed on the network equipment.
303. The cloud server calls a loading script corresponding to the first software function on the network equipment through the CWMP channel.
The first software function may be a software function selected by a user (e.g., an administrator) according to own needs, and the first software functions may be selected as follows: user routing, business marketing certification, application routing, load balancing, Domain Name System (DNS) settings, and the like. The first software function needs to exclude a basic Network and a basic software function, that is, the basic Network and the basic software function such as Network Address Translation (NAT) or traffic statistics are not included. It should be noted that the network device may simultaneously invoke a plurality of first software functions to load scripts corresponding to the network device, which is not limited in this application.
The loading script is used for controlling loading of a modular component corresponding to the first software function, and the software script (such as the loading script) can adopt an LUA language script. The LUA is a small script language, and the scripts are interactively realized through a local configuration command framework in the network equipment. The LUA script needs to stipulate the format of input and output, and input and output parameters can be stipulated in a JavaScript Object Notation (JSON) format. JSON is a lightweight data exchange format.
For example, the input and output of the first software function at the loading script corresponding to the network device may be as follows:
inputting: JSON format, { "user name", "function name", "control action" }.
The user name is a user name of a user to be managed in a plurality of users on the network device. The function name is the name of a first software function to be loaded by software to be managed on the network device, and the control action represents loading or unloading operation of the software function.
And (3) outputting: JSON format, which is unified as { "code": msg ": in all.
Wherein, code is the operating condition, code is 0: normal; code > 0: the service fails; code < 0: the system is abnormal. msg is a message description returned for service invocation failure and may be null.
304. And the network equipment loads the modular component corresponding to the first software function according to the loading script.
Specifically, the local script library may create an initiating script soft link of the modular component corresponding to the first software function by using a shell command. Then, the network device is restarted, and in the restarting process, the network device can load the modular components with the created soft links of the startup script.
305. And the network equipment reports the loading success information of the modular components to the cloud server through the CWMP channel.
Specifically, after the network device is restarted, the loading state of each modular component can be recorded, and the loading state is reported to the cloud server through the CWMP channel.
306. And the cloud server feeds back a software function configuration interface of the network equipment according to the serial number, the MAC address and the equipment model of the network equipment.
Specifically, when the cloud server obtains the loading success information of the modular component reported by the network device through the CWMP channel, the cloud server may feed back a software function configuration interface of the network device according to the serial number, the media access control MAC address, and the device model of the network device, so that a user may monitor and manage the network device according to the software function configuration interface.
For example, the software function configuration interface of the network device may be as shown in fig. 4, wherein the menu bar may include user management, system query, system setup, and common tools. The system profile may include the current version of the system, the serial number of the network device, the model number of the network device, etc. The function navigation may include some commonly used function buttons. For example, the commonly used function buttons may include a script library version query button, a software function configuration query button, a manual script upgrade button, and a software function selection button.
307. And the user monitors and manages the network equipment according to the software function configuration interface.
As shown in FIG. 4, the administrator may uninstall the modular component corresponding to the first software function via the software function selection button. Specifically, the cloud server may call the first software function through the CWMP channel to obtain the corresponding offload script on the network device. And the network equipment unloads the modular component corresponding to the first software function according to the unloading script, namely deletes the soft link of the start-up script of the modular component corresponding to the first software function. It can be understood that after the soft link of the startup script of the modular component is deleted, the modular component cannot be loaded and run. It should be noted that the network device may simultaneously invoke a plurality of first software functions to uninstall the script corresponding to the network device, which is not limited in this application. In this way, partial software functions can be customized and unloaded, and the consumption of a memory and a Central Processing Unit (CPU) in the process of loading and running unnecessary functions can be saved.
As shown in fig. 4, the administrator may query the local script library version of the network device and the script library version stored in the cloud server and corresponding to the network device through the script library version query button. For example, the cloud server may compare the local software script library with the cloud software script library, and if the cloud software script library corresponding to the network device stored in the cloud server is updated, the administrator may update the script file to be updated in the local software script library through the manual script update button. The cloud software script library is developed and maintained by developers at the network equipment end, and can be changed according to the modification or perfection of the developers. That is to say, when the cloud script library corresponding to the network device stored in the cloud server is updated, the cloud server may determine the script file updated by the updated cloud script library compared with the local script library of the network device, and determine the script file as the script file that needs to be updated. And then, the cloud server calls the software updating script through the CWMP channel, so that the local script library of the network equipment can update the corresponding script file in the local script library according to the script file needing to be updated, and an updating result is returned. Therefore, by updating the cloud script library on the cloud server, the network device upgrades the local script library of the network device according to the updated cloud script library, the non-functional problems of usability, display and the like of most software function configurations can be solved, and the development and maintenance costs of the software version of the network device can be effectively reduced.
In one possible design, the network device may periodically perform a local script version update according to the software update script. Specifically, when the network device determines that the cloud server calls the software update script, the network device may create an internal timer, periodically detect and compare the script of the cloud server and the local script version, and automatically update the local script library if the script of the cloud server is updated.
After a developer at the network equipment end changes the software script in the cloud script library, the software script can be transcoded, compressed and encrypted and then uploaded to the cloud server. When the network device performs local script upgrading, reverse transcoding, decompression, decryption, Cyclic Redundancy Check (CRC) Check and the like can be performed, and it can be ensured that the script file is not tampered or damaged.
Compared with the prior art, when a client has specific requirements, a new software version needs to be developed again, so that additional version maintenance cost is brought. According to the method and the system, the software script can be upgraded through the cloud server, the mode of upgrading the software version of the equipment is more flexible and convenient, the software version does not need to be additionally developed for the customized function requirement, the equipment does not need to be restarted, the stable operation of the equipment is not influenced, and the additional development and maintenance cost of the equipment is effectively reduced.
As shown in fig. 4, the administrator may query the operation of one or more first software functions by a software function configuration query button call. Specifically, the cloud server calls a software configuration or query script through the CWMP channel. When the network device determines that the cloud server calls the software configuration or query script, the local configuration command framework of the network device may set a local configuration command for implementing the software configuration or query function to the corresponding modular component, and the modular component executes the local configuration command and returns a processing result to the local function script library through the local configuration command framework. Then, the local function script library can combine the return information of the packaged modular components and return a query result to the cloud server through the CWMP channel. Wherein, the query result can be operation success or operation error. It should be noted that, when the modular component in the network device is loaded, the local configuration command to which the modular component belongs may be initialized, and the corresponding configuration and query interface may be registered, so that the configuration or query may be performed subsequently through the local configuration command to which the modular component belongs. Moreover, the user space and the kernel operating file of each modular functional component need to be compiled in advance and uploaded to the execution directory of the network device together with the startup script.
Compared with the prior art, the software version is managed in a mode of directly interacting the intermediate analysis modules of the cloud management device and the user device, developers needing a cloud device management interface understand the logic implementation of each software function and the influence of different function combinations on the network device, and development difficulty and risk are increased. In the embodiment of the application, the cloud server calls and executes the software script on the network equipment, the calling process can be carried out in a mode of combining the local framework configuration commands, secondary development is carried out on the basis of the original local framework configuration commands, the software development complexity and the code amount are small, the local script is compiled and maintained by equipment end personnel by taking functions as units, and the problems that the software management of the network equipment needs to understand the interaction details of different equipment functions, so that the development is difficult, the risk is large and the maintenance is difficult are solved. When the configuration usability problem and the display problem occur or the return result of the cloud server is abnormal, the fault can be solved in a mode of upgrading the script file by the cloud server, a new equipment firmware version does not need to be developed and maintained again, the efficiency is higher, the risk is smaller, the maintenance is convenient, the operation stability of the equipment is not influenced, and the restarting is not needed. Moreover, the cloud server can dynamically control the loaded software functions, and the performance loss of the equipment is reduced. Therefore, the difficulty of network equipment development and cloud server equipment management development is low, and the software risk is low.
The scheme provided by the embodiment of the application is introduced mainly from the perspective of the cloud server and the network device. It is to be understood that the cloud server and the network device include hardware structures and/or software modules for performing the respective functions in order to implement the functions. Those skilled in the art will readily appreciate that the algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the cloud server and the network device may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 5 shows a possible structural schematic diagram of the cloud server 5 in the above embodiment, where the cloud server includes: calling unit 501, obtaining unit 502 and processing unit 503. In this embodiment of the application, the calling unit 501 may be configured to call, through the CWMP channel, a loading script corresponding to a first software function on the network device, so that the network device loads a modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function; calling an uninstalling script corresponding to the first software function on the network equipment through the CWMP channel, wherein the uninstalling script is used for controlling uninstalling of a modular component corresponding to the first software function; and calling the software updating script through the CWMP channel to enable the network equipment to update the script file needing to be updated according to the software updating script. The obtaining unit 502 may be configured to obtain, through the CWMP channel, loading success information of the modular component reported by the network device; or, the following information is obtained through the CWMP channel: including but not limited to serial number, MAC address, software version number, device model number, and local script library version. The processing unit 503 may be configured to feed back a software function configuration interface of the network device according to the serial number, the MAC address, and the device model of the network device, so that a user may monitor and manage the network device according to the software function configuration interface. In the method embodiment shown in fig. 3, the calling unit 501 may be used to support the cloud server to execute the process 303. Acquisition unit 502 may be used to support cloud servers in performing processes 301 and 302. Processing unit 503 may be used to support cloud server performing process 306. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of an integrated unit, fig. 6 shows a possible structural diagram of the cloud server involved in the above embodiment. In the present application, the cloud server may include a processing module 601, a communication module 602, and a storage module 603. The processing module 601 is configured to control hardware devices and application software of each part of the cloud server; the communication module 602 is configured to receive an instruction sent by another device using a communication method such as Wireless Fidelity (WiFi), and may also send data of the cloud server to the other device; the storage module 603 is used for storing software programs of the cloud server, storing data, running software, and the like. The processing module 601 may be a Processor or a controller, such as a CPU, a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 602 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 603 may be a memory.
In this embodiment of the application, the processing module 601 may be configured to call, through the CWMP channel, a loading script corresponding to a first software function on the network device, so that the network device loads a modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function; calling an uninstalling script corresponding to the first software function on the network equipment through the CWMP channel, wherein the uninstalling script is used for controlling uninstalling of a modular component corresponding to the first software function; and calling the software updating script through the CWMP channel to enable the network equipment to update the script file needing to be updated according to the software updating script.
The communication module 602 may be configured to obtain, through the CWMP channel, loading success information of the modular component reported by the network device; or, the following information is obtained through the CWMP channel: including but not limited to serial number, MAC address, software version number, device model number, and local script library version.
The storage module 603 may be configured to store information such as a serial number, a MAC address, a software version number, a device model, a version of a local script library, and a script file of a cloud script library.
In the case of adopting a functional module divided for each function, fig. 7 shows a schematic diagram of a possible structure of the network device 7 involved in the above embodiment, where the network device includes: a processing unit 701 and a communication unit 702. In this embodiment of the present application, the processing unit 701 may be configured to load a modular component corresponding to a first software function in a loading script corresponding to a network device according to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function; unloading the modular component corresponding to the first software function according to the unloading script corresponding to the first software function on the network equipment, wherein the unloading script is used for controlling the unloading of the modular component corresponding to the first software function; and updating the script file needing to be updated in the network equipment according to the software updating script. In the method embodiment shown in fig. 3, processing unit 701 may be used to support network devices in performing processes 304 and 307. The communication unit 702 may be used to support the network device in performing the process 305. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of integrated units, fig. 8 shows a schematic diagram of a possible structure of the network device involved in the above-described embodiment. In this application, the network device may include a processing module 801, a communication module 802, and a storage module 803. The processing module 801 is used for controlling hardware devices and application software of each part of the network device; the communication module 802 is configured to receive an instruction sent by another device using a communication method such as WiFi, and may also send data of the network device to the other device; the storage module 803 is used for storing software programs, storing data, running software and the like of the network device. The processing module 801 may be a processor or controller, such as a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 802 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 803 may be a memory.
In this embodiment of the present application, the processing module 801 may be configured to load a modular component corresponding to a first software function in a loading script corresponding to a network device according to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function; unloading the modular component corresponding to the first software function according to the unloading script corresponding to the first software function on the network equipment, wherein the unloading script is used for controlling the unloading of the modular component corresponding to the first software function; and updating the script file needing to be updated in the network equipment according to the software updating script.
The communication module 802 may be configured to establish a CWMP channel with a cloud server; and reporting the following information to a cloud server through a CWMP channel: including but not limited to serial number, MAC address, software version number, device model number, and local script library version.
The storage module 803 may be used to store a serial number, a MAC address, a software version number, a device model number, and a version of a local script library, and a script file of the local script library.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable hard disk, a compact disk, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a core network interface device. Of course, the processor and the storage medium may reside as discrete components in a core network interface device.
Those skilled in the art will recognize that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present application are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present application should be included in the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of 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, embodiments of 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, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (9)

1. A network device management method is applied to a scene that a cloud server manages network devices, the network devices comprise at least one network device, and the method is characterized by comprising the following steps:
the cloud server calls a loading script corresponding to a first software function on the network equipment through a wide area network management protocol (CWMP) channel of the client terminal equipment, so that the network equipment loads a modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function;
when the cloud server acquires loading success information of the modular component reported by the network equipment through the CWMP channel, the loading success information of the modular component is used for indicating the cloud server to feed back a software function configuration interface of the network equipment, and the cloud server feeds back the software function configuration interface of the network equipment according to the serial number, the Media Access Control (MAC) address and the equipment model of the network equipment, so that a user can monitor and manage the network equipment according to the software function configuration interface;
wherein the method further comprises:
the cloud server calls an unloading script corresponding to the first software function on the network equipment through the CWMP channel, wherein the unloading script is used for controlling unloading of the modular component corresponding to the first software function; and enabling the network equipment to uninstall the modular component corresponding to the first software function according to the uninstalling script.
2. The network device management method of claim 1, wherein the method further comprises:
the cloud server compares the local script library version of the network equipment with a script library version corresponding to the network equipment stored by the cloud server;
if the script library version corresponding to the network equipment stored by the cloud server is updated, the cloud server determines a script file needing to be updated;
and the cloud server calls a software updating script through the CWMP channel, so that the network equipment updates the script file needing to be updated according to the software updating script.
3. A network device management method, comprising:
the network equipment loads the modular component corresponding to the first software function according to the loading script corresponding to the first software function; the loading script is a modular component which is called by a cloud server through a wide area network management protocol (CWMP) channel of client terminal equipment and is used for controlling and loading the first software function;
the network equipment reports loading success information of the modular component to a cloud server through a CWMP channel, wherein the loading success information of the modular component is used for indicating the cloud server to feed back a software function configuration interface of the network equipment, so that the cloud server feeds back the software function configuration interface of the network equipment according to the serial number, the Media Access Control (MAC) address and the equipment model of the network equipment;
wherein the method further comprises:
the network equipment unloads the modular component corresponding to the first software function according to the unloading script corresponding to the first software function in the network equipment, wherein the unloading script is called by the cloud server through the CWMP channel and is used for controlling the unloading of the modular component corresponding to the first software function.
4. The network device management method of claim 3, wherein the method further comprises:
and the network equipment updates the script file needing to be updated in the network equipment according to a software updating script, wherein the software updating script is called by the cloud server through the CWMP channel.
5. A cloud server, the cloud server comprising:
the calling unit is used for calling a loading script corresponding to a first software function in the network equipment through a wide area network management protocol (CWMP) channel of the client terminal equipment so as to enable the network equipment to load a modular component corresponding to the first software function; the loading script is used for controlling loading of the modular component corresponding to the first software function;
an obtaining unit, configured to obtain, through the CWMP channel, loading success information of the modular component reported by the network device;
the processing unit is used for indicating the cloud server to feed back a software function configuration interface of the network equipment when the loading success information of the modularized component is acquired by the acquisition unit, feeding back the software function configuration interface of the network equipment according to the serial number, the Media Access Control (MAC) address and the equipment model of the network equipment, and enabling a user to monitor and manage the network equipment according to the software function configuration interface;
wherein the calling unit is further configured to:
calling an uninstalling script corresponding to the first software function on the network equipment through the CWMP channel, wherein the uninstalling script is used for controlling uninstalling of a modular component corresponding to the first software function;
and enabling the network equipment to uninstall the modular component corresponding to the first software function according to the uninstalling script.
6. The cloud server of claim 5, wherein the processing unit is further configured to:
comparing the local script library version of the network equipment with the script library version corresponding to the network equipment stored by the cloud server;
if the script library version corresponding to the network equipment stored by the cloud server is updated, determining a script file needing to be updated;
the calling unit is further configured to call a software update script through the CWMP channel, so that the network device updates the script file to be updated according to the software update script.
7. A network device, comprising:
the processing unit is used for loading the modular components corresponding to the first software functions in the loading scripts corresponding to the network equipment according to the first software functions; the loading script is a modular component which is called by a cloud server through a wide area network management protocol (CWMP) channel of client terminal equipment and is used for controlling and loading the first software function;
the communication unit is used for reporting loading success information of the modular component to a cloud server through a CWMP channel, wherein the loading success information of the modular component is used for indicating the cloud server to feed back a software function configuration interface of the network equipment, so that the cloud server feeds back the software function configuration interface of the network equipment according to the serial number, the Media Access Control (MAC) address and the equipment model of the network equipment;
wherein the processing unit is further to:
and unloading the modular component corresponding to the first software function according to the unloading script corresponding to the first software function on the network equipment, wherein the unloading script is called by the cloud server through the CWMP channel and is used for controlling the unloading of the modular component corresponding to the first software function.
8. The network device of claim 7, wherein the processing unit is further configured to:
updating the script file needing to be updated in the network equipment according to a software updating script, wherein the software updating script is called by the cloud server through the CWMP channel.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the network device management method of any of claims 1-2, or claims 3-4.
CN201711181364.4A 2017-11-23 2017-11-23 Network equipment management method and device Active CN107947981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711181364.4A CN107947981B (en) 2017-11-23 2017-11-23 Network equipment management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711181364.4A CN107947981B (en) 2017-11-23 2017-11-23 Network equipment management method and device

Publications (2)

Publication Number Publication Date
CN107947981A CN107947981A (en) 2018-04-20
CN107947981B true CN107947981B (en) 2021-06-18

Family

ID=61930960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711181364.4A Active CN107947981B (en) 2017-11-23 2017-11-23 Network equipment management method and device

Country Status (1)

Country Link
CN (1) CN107947981B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117126A (en) * 2018-08-20 2019-01-01 郑州云海信息技术有限公司 A kind of service management and device
CN111158940B (en) * 2019-12-31 2022-01-28 因特睿科技有限公司 Method and device for docking and dynamically loading different devices in field of Internet of things
CN113411460A (en) * 2020-03-16 2021-09-17 富士施乐实业发展(中国)有限公司 Installation method and device of customized software
CN111782251B (en) * 2020-08-18 2024-04-30 广联达科技股份有限公司 Method and device for updating software function module and computer equipment
CN113259468B (en) * 2021-06-02 2021-09-21 新华三智能终端有限公司 Network equipment configuration method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN104572202A (en) * 2015-01-08 2015-04-29 浪潮电子信息产业股份有限公司 Method for allocating enterprise-level application software under cloud computing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512116C (en) * 2005-11-24 2009-07-08 华为技术有限公司 Network apparatus remote loading system and method
CN101639781A (en) * 2009-08-25 2010-02-03 厦门敏讯信息技术股份有限公司 Program installation method and programmable electronic equipment
CN103064702A (en) * 2012-12-13 2013-04-24 中国电信股份有限公司云计算分公司 Application program providing method and management node device
CN103500102A (en) * 2013-10-16 2014-01-08 迈普通信技术股份有限公司 Service calling method and device for providing service calling
CN108650551A (en) * 2014-09-26 2018-10-12 青岛海信宽带多媒体技术有限公司 A kind of parameter operation method of set-top box
CN107273165B (en) * 2017-06-19 2021-03-23 苏州浪潮智能科技有限公司 System and method for realizing module dynamic calling

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN104572202A (en) * 2015-01-08 2015-04-29 浪潮电子信息产业股份有限公司 Method for allocating enterprise-level application software under cloud computing

Also Published As

Publication number Publication date
CN107947981A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107947981B (en) Network equipment management method and device
US11630646B2 (en) Software defined network controller
US10649761B2 (en) Application upgrade method and apparatus
WO2017088388A1 (en) Method and system for upgrading sdk of application
US11429353B1 (en) Dynamic service provisioning using templatized infrastructure resources
CN106161049A (en) A kind of method and device realizing that Web Service Deployment specification configures
CN111752637B (en) Multi-service inspection management method and device, computer equipment and storage medium
CN111125604B (en) Page management method and device, terminal equipment and storage medium
US20140258545A1 (en) System and method for managing service characteristics
CN104793998B (en) Terminal system resource management method and device
US11838176B1 (en) Provisioning and deploying RAN applications in a RAN system
CN116107590A (en) Implementation method and system for compatible micro-service and monomer architecture in software product development and deployment
CN113992695A (en) Method for service collaboration between network element devices and network element device
CN112291081B (en) Method, system and storage medium for auditing controller cluster data by cloud management platform
CN104348646A (en) Configuration data processing method, device and system
CN109922482B (en) OMC system deployment method, OMC system, electronic device and storage medium
CN112241276A (en) Equipment upgrading method and device
US20220358003A1 (en) Data Management Method, Apparatus, and Device, Computer-Readable Storage Medium, and System
WO2021232909A1 (en) Remote function customization method and apparatus, device, and storage medium
TWI634481B (en) System and method for packaging applications
CN117591140A (en) Service grid, service upgrading method, device, equipment and medium
WO2024136932A1 (en) Provisioning and deploying ran applications in a ran system
CN115658134A (en) Software version control method, device, equipment and storage medium
CN115202694A (en) Server firmware refreshing method, device, equipment and medium

Legal Events

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