CN107947981A - A kind of network device management method and device - Google Patents

A kind of network device management method and device Download PDF

Info

Publication number
CN107947981A
CN107947981A CN201711181364.4A CN201711181364A CN107947981A CN 107947981 A CN107947981 A CN 107947981A CN 201711181364 A CN201711181364 A CN 201711181364A CN 107947981 A CN107947981 A CN 107947981A
Authority
CN
China
Prior art keywords
network equipment
script
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.)
Granted
Application number
CN201711181364.4A
Other languages
Chinese (zh)
Other versions
CN107947981B (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

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 

Abstract

The embodiment of the present application provides a kind of network device management method and device, is related to field of communication technology, and development difficulty and software cost can be reduced in exploitation or management software version.The program includes:Cloud Server calls the first software function in the corresponding loading script of the network equipment by CWMP passages, the network equipment is loaded the corresponding modular assembly of the first software function;When Cloud Server gets the loading successful information for the modular assembly that the network equipment reports by CWMP passages, Cloud Server makes user that the network equipment is monitored and be managed according to software function configuration interface according to the software function configuration interface of the sequence number of the network equipment, MAC Address and unit type feedback network equipment.The application is applied to be managed the software version of the network equipment, and during being configured to software function.

Description

A kind of network device management method and device
Technical field
This application involves field of communication technology, more particularly to a kind of network device management method and device.
Background technology
It is usually after the completion of all software functions are developed, according to different in actual network device software development process The functional specification table of product type, cuts and corresponding equipment management interface is presented.But if client has specific demand needs Support if the demand reduced, then need to develop new software version again, extra version can be brought to develop and dimension Protect expense.
In addition, when being managed to software version, according to equipment management interface and bottom most software function direct interaction Mode, i.e., realize interface accordingly according to operation calls of the user at equipment management interface, then add development difficulty and dimension Protect difficulty.As shown in Figure 1, according to cloud management equipment and user equipment by way of middle parsing module direct interaction pair Software version is managed, for the developer of the administration interface of cloud management equipment, it is to be understood that user equipment (is set Standby end) the logic realization of each software function and the influence of difference in functionality combination, considerably increase development difficulty and risk.And And the corresponding Service Component of function supported of cloud management equipment need it is registered in advance arrive middle parsing module, when high in the clouds management Equipment needs to support new function and corresponding Service Component is not registered in advance, or cloud management equipment reception return information generation is different When often needing revision, then need additionally to develop new software version and safeguarded, add software cost.Also, this mode Also dynamic selection function can not present beyond the clouds, equipment end also can not dynamically uninstall function so as to save unnecessary Performance is lost.
The content of the invention
Embodiments herein provides a kind of network device management method and device, can be in exploitation or management software version When reduce software cost and development difficulty.
To reach above-mentioned purpose, embodiments herein adopts the following technical scheme that:
In a first aspect, the embodiment of the present application provides a kind of network device management method, network is set applied to Cloud Server The standby scene being managed, including at least one, this method includes the network equipment:
Cloud Server passes through customer terminal equipment wide area network management agreement (CPE (Customer Premise Equipment) WAN Management Protocol, CWMP) passage call the first software function the network equipment it is corresponding plus Script is carried, the network equipment is loaded the corresponding modular assembly of the first software function;Wherein, script is loaded to be used to control loading the The corresponding modular assembly of one software function;
When Cloud Server gets the loading successful information for the modular assembly that the network equipment reports by CWMP passages, The loading successful information of modular assembly is used for the software function configuration interface of the Indicated Cloud server feedback network equipment, cloud service Device is anti-according to the sequence number of the network equipment, medium education (Media Access Control, MAC) address, unit type The software function configuration interface of the network equipment is presented, makes user that the network equipment is monitored and be managed according to software function configuration interface Reason.
Second aspect, the embodiment of the present application provide a kind of network device management method, and this method includes:
The network equipment loads the first software function in the corresponding loading script of the network equipment according to the first software function and corresponds to Modular assembly;Wherein, script is loaded to be used to control the corresponding modular assembly of the first software function of loading;
Loading successful information of the network equipment by CWMP passages to Cloud Server reporting module component, modular assembly Loading successful information be used for the Indicated Cloud server feedback network equipment software function configuration interface, make Cloud Server according to net The software function configuration interface of the sequence number of network equipment, MAC Address and unit type feedback network equipment.
The third aspect, the embodiment of the present application provide a kind of Cloud Server, which includes:
Call unit, for calling the first software function to make in the corresponding loading script of the network equipment by CWMP passages The network equipment loads the corresponding modular assembly of the first software function;Wherein, script is loaded to be used to control the first software work(of loading Can corresponding modular assembly;
Acquiring unit, for obtaining the loading successful information for the modular assembly that the network equipment reports by CWMP passages;
Processing unit, during loading successful information for getting modular assembly when acquiring unit, modular assembly The software function configuration interface that successful information is used for the Indicated Cloud server feedback network equipment is loaded, according to the sequence of the network equipment Number, the software function configuration interface of MAC address and unit type feedback network equipment, make user according to software Functional configuration interface is monitored and manages to the network equipment.
Fourth aspect, the embodiment of the present application provide a kind of network equipment, which includes:
Processing unit, for loading the first software function in the corresponding loading script of the network equipment according to the first software function Corresponding modular assembly;Wherein, script is loaded to be used to control the corresponding modular assembly of the first software function of loading;
Communication unit, for the loading successful information by CWMP passages to Cloud Server reporting module component, module The loading successful information for changing component is used for the software function configuration interface of the Indicated Cloud server feedback network equipment, makes Cloud Server According to the software function configuration interface of the sequence number of the network equipment, MAC Address and unit type feedback network equipment.
In compared with prior art, when client has specific demand, it is necessary to develop new software version again, so as to bring Extra release maintenance expense.In the application, Cloud Server can call the first software function to be set in network by CWMP passages Standby corresponding loading script, the network equipment load the corresponding modular assembly of the first software function according to loading script, so that Cloud Server can feed back the corresponding software function configuration interface of the first software function to the network equipment, so that user is according to software Functional configuration interface is monitored and manages to the network equipment.Wherein, software scripts (such as loading script) can be set by network Standby bottom software Functional Design personnel realize that the developer of Cloud Server administration interface only needs to pay close attention to software function configuration Interface, which is called, performs corresponding software scripts.Realization inside the software function of complexity is shielded for the developer of upper strata to patrol The influence between difference in functionality is collected, and Cloud Server tune can be passed through the problem of non-functional for bottom software function Solved with the mode of software scripts, reduce the extra software development and maintenance cost of the network equipment, reduce the exploitation of software Difficulty.
Brief description of the drawings
Fig. 1 is a kind of management framework schematic diagram of the prior art;
Fig. 2 is a kind of system architecture schematic diagram of network device management method provided by the embodiments of the present application;
Fig. 3 is a kind of signal interaction schematic diagram of network device management method provided by the embodiments of the present application;
Fig. 4 is a kind of software function configuration interface schematic diagram provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of Cloud Server provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of Cloud Server provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of the network equipment provided by the embodiments of the present application;
Fig. 8 is a kind of structure diagram of the network equipment provided by the embodiments of the present application.
Embodiment
Network device management method provided by the embodiments of the present application and device are described in detail below in conjunction with the accompanying drawings.
In order to which the description of following each embodiments understands succinct, the brief introduction of related notion or technology is provided first:
Script:In simple terms, script is exactly the written order of a rule, these written orders are visible (for example, can be with Opened with notepad and check, edit).Shell script upon execution, is an interpreter by system, one rule script is turned over Machine recognizable instruction is translated into, and is performed in order.
Modular assembly:The realization of network device software function need to rely on one or more modular assembly just Often loading.Such as configuration user's routing function needs to rely on the loading and cooperation of routing component and user's recognizer component.Each mould Block component performs specific function, and the network equipment calls corresponding modular assembly according to concrete operations, so as to obtain corresponding Configuration or query result.
The embodiment of the present application is applied to be managed the software version of the network equipment, and software function is configured During.As shown in Fig. 2, the framework of the embodiment of the present application includes Cloud Server and the network equipment.Cloud Server can pass through CWMP modules on the network equipment establish CWMP passages with the network equipment.Cloud Server can call network to set by CWMP passages Standby local software script.
For example, when Cloud Server calls the first software function in the local software foot of the network equipment by CWMP passages In this storehouse during corresponding loading script, the local script bank of the network equipment can use shell-command to create the first software function Corresponding modular assembly plays the soft link of under-chassis sheet.Then, the network equipment is restarted, and in restarting process, the network equipment can The modular assembly of the soft link of under-chassis sheet has been created with loading.Such as, but not limited to, the network equipment can be with charging assembly 1, group Part 2, component 3 or component 4.When Cloud Server calls software configuration or query script by CWMP passages, the sheet of the network equipment Ground configuration order frame can be set the order that is locally configured for realizing software configuration or query function to corresponding modularization group In part, such as, but not limited to, set in component 1 and component 2, or set into component 3 and component 4.
The application can be applied on the basis of the network equipment and Cloud Server length connection.Software scripts are not to be taken in cloud Business device end performs, but performs the software scripts of storage on network devices by Cloud Server, and can pass through Cloud Server Software scripts on the network equipment are upgraded.Software scripts in the embodiment of the present application include but not limited to load script, Unload script, more new script and configuration or query script.In this way, the mode of upgrading software scripts flexibly and does not interfere with more The stability of the network equipment.In compared with prior art, equipment management interface and bottom software function direct interaction, add exploitation Difficulty and maintenance difficulties.The application can be on the premise of the software version of the network equipment additionally need not develop maintenance, flexibly According to different user demand loadings, unload or corresponding software function be presented.
Wherein, software scripts can be realized by the bottom software Functional Design personnel of the network equipment, Cloud Server management field The developer in face only needs to pay close attention to the corresponding script of software function configuration interface calling execution.For the developer of upper strata Shield and influence between logic and difference in functionality is realized inside the software function of complexity, and the NOT function for bottom software function It can be solved the problem of property by way of Cloud Server calls software scripts, reduce the extra software of the network equipment and open Send out maintenance cost.In addition, when the software scripts that Cloud Server calls are complicated, local pre-generated portions default feature can be passed through Parameter configuration, so as to simplify software scripts.Meanwhile the method that Query Information can be reported by pre-generatmg query result or timing Lifting configuration and the performance of inquiry.
The embodiment of the present application provides a kind of network device management method, as shown in figure 3, including:
301st, Cloud Server and the network equipment establish CWMP passages.
The network equipment can log in Cloud Server after completing basic network configuration, that is, access cloud platform, cloud platform is carried The service of confession is supported by Cloud Server.Then, Cloud Server can be built by the CWMP modules on the network equipment with the network equipment Vertical CWMP passages.
302nd, Cloud Server obtains the relevant information of the network equipment by CWMP passages.
The relevant information of the network equipment includes but not limited to following information:The sequence number of software to be managed on the network equipment, The software version number of software to be managed, the unit type of the network equipment and network are set on the MAC Address of the network equipment, the network equipment The local script bank version of standby software to be managed.
303rd, Cloud Server calls the first software function in the corresponding loading script of the network equipment by CWMP passages.
First software function can be the software function that user (for example, administrator) selects according to self-demand, for choosing The first software function selected is for example:User route, trade marketing certification, using route, load balancing, domain name system (Domain Name System, DNS) set etc..First software function needs to exclude basic network and basic software function, i.e., does not include Basic network and the basic software work(such as network address translation (Network Address Translation, NAT) or traffic statistics Energy.It should be noted that the network equipment can call multiple first software functions at the same time in the corresponding loading script of the network equipment, The application does not limit.
Load script and load the corresponding modular assembly of the first software function for controlling, software scripts (such as load foot This) LUA language scripts can be used.LUA is a compact script, passes through being locally configured in the network equipment between script Command frame interaction is realized.LUA scripts need to arrange the form of input and output, JavaScript object can be used to represent (JavaScript Object Notation, JSON) form agreement outputs and inputs parameter.Wherein, JSON is a kind of lightweight Data interchange format.
For example, the first software function can following institute in corresponding the outputting and inputting for script of loading of the network equipment Show:
Input:JSON forms, { " user name ", " function title ", " controlling behavior " }.
Wherein, on user name, that is, network equipment in multiple users user to be managed user name.Function title, that is, network is set Standby software to be managed needs the title of the first software function loaded, controlling behavior represent to load the software function or Person's unloading operation.
Output:JSON forms, are unified for { " code ":*,"msg":"***"}.
Wherein, code is mode of operation, code 0:Normally;code>0:Service fail;code<0:System exception.msg The message explanation unsuccessfully returned for service call, can be sky.
304th, the network equipment loads the corresponding modular assembly of the first software function according to loading script.
Specifically, local script bank can use shell-command to create the corresponding modular assembly of the first software function Play the soft link of under-chassis sheet.Then, the network equipment is restarted, and in restarting process, the network equipment can load and create under-chassis The modular assembly of this soft link.
305th, loading successful information of the network equipment by CWMP passages to Cloud Server reporting module component.
Specifically, after the completion of the network equipment is restarted, the stress state of each modular assembly can be recorded, and lead to by CWMP Road is reported to Cloud Server.
306th, Cloud Server is according to the software of the sequence number of the network equipment, MAC Address and unit type feedback network equipment Functional configuration interface.
Specifically, when Cloud Server gets the loading for the modular assembly that the network equipment reports successfully by CWMP passages During information, Cloud Server can be according to the sequence number of the network equipment, MAC address and unit type feedback network The software function configuration interface of equipment, makes user that the network equipment is monitored and be managed according to software function configuration interface.
For example, the software function configuration interface of the network equipment can be with as shown in figure 4, wherein, menu bar can include User management, system queries, system setting and common tool etc..System outline can include system current version, the network equipment Sequence number, the content such as the model of the network equipment.Feature navigator can include some common function buttons.For example, common function Button can include script bank version querying button, software function configuration querying button, manual script upgrade button and software work( Can select button.
307th, user is monitored and manages to the network equipment according to software function configuration interface.
As shown in figure 4, administrator can unload the corresponding modularization of the first software function by software function select button Component.Specifically, Cloud Server can call the first software function in the corresponding unloading script of the network equipment by CWMP passages. The network equipment unloads the corresponding modular assembly of the first software function according to unloading script, that is, it is corresponding to delete the first software function Modular assembly plays the soft link of under-chassis sheet.It is understood that after the soft link of a under-chassis sheet for modular assembly is deleted, module Changing component just can not load operating.It should be noted that the network equipment can call multiple first software functions at the same time in net The corresponding unloading script of network equipment, the application do not limit.So, unloading partial software function can be customized, can Save the memory and central processing unit (Central Processing Unit, CPU) during unnecessary function load operating Consumption.
As shown in figure 4, administrator can inquire about the local script bank version of the network equipment by script bank version querying button This script bank version corresponding with the network equipment of Cloud Server storage.Exemplary, Cloud Server can contrast local software Script bank and high in the clouds software scripts storehouse, if the corresponding high in the clouds software scripts storehouse renewal of the network equipment of Cloud Server storage, is managed Reason person script upgrade button can manually upgrade the script file for needing to update in local software script bank.High in the clouds Software scripts storehouse is developed and is safeguarded by the developer at network equipment end, can according to the modification of developer or improve and Change.That is, when the corresponding high in the clouds script bank renewal of the network equipment of Cloud Server storage, Cloud Server can determine High in the clouds script bank after renewal determines the script file compared to the script file that the local script place of the network equipment updates To need the script file updated.Then, Cloud Server calls software upgrading script by CWMP passages, makes the sheet of the network equipment The script file that ground script bank can update as needed is updated corresponding script file in local script bank, and returns Update result.Thus, by updating the high in the clouds script bank on Cloud Server, so that the network equipment is according to the high in the clouds foot after renewal The local script bank of this storehouse upgrade of network apparatus, can solve most of software function configuration non-functional such as ease for use and display Problem, can effectively reduce the cost of exploitation and the maintenance of the software version of the network equipment.
In a kind of possible design, the network equipment can carry out local script version according to the timing of software upgrading script more Newly.Specifically, when the network equipment determines that Cloud Server calls software upgrading script, the network equipment can create timer internal, The script and local script version of timing detection contrast Cloud Server, this lower margin is carried out if the script renewal of Cloud Server automatically This qurush level.
After the developer at network equipment end changes the software scripts in the script bank of high in the clouds, transcoding, pressure can be passed through Cloud Server is uploaded to after contracting and encryption.When the network equipment carries out local script upgrading, reverse transcoding, decompression can be carried out Contracting, decryption, cyclic redundancy check (Cyclic Redundancy Check, CRC) verification etc., it is ensured that script file is not It is tampered or destroys.
In compared with prior art, when client has specific demand to need, it is necessary to develop new software version again, so that Bring extra release maintenance expense.The application can upgrade software scripts by Cloud Server, compared to updating apparatus The mode of software version is more flexible and convenient, it is not necessary to additionally develop software version to customize functional requirement, without restarting and The stability operation of equipment is not influenced, effectively reduces equipment additionally exploitation and maintenance cost.
As shown in figure 4, administrator can call inquiry one or more first soft by software function configuration querying button The operating condition of part function.Specifically, Cloud Server calls software configuration or query script by CWMP passages.Work as the network equipment Determine that Cloud Server calls software configuration or during query script, the network equipment is locally configured command frame and can will realize software Configuration or the order that is locally configured of query function are set into corresponding modular assembly, and modular assembly performs this and is locally configured Order and return to handling result to local function script bank by the way that command frame is locally configured.Then, local function script bank can With the return information of assembled package modular assembly, and query result is returned to Cloud Server by CWMP passages.Wherein, inquire about As a result can be to run successfully or run error.It should be noted that when modular assembly loads in the network equipment, can be to institute The order that is locally configured belonged to is initialized, and the corresponding configuration of registration and query interface, so as to subsequently through affiliated sheet Ground configuration order is configured or inquired about.Also, the user's space and kernel operating file of each modular functionality component need It is previously-completed compiling and is originally uploaded to together among the execution catalogue of the network equipment with a under-chassis.
In compared with prior art, by way of the middle parsing module direct interaction of cloud management equipment and user equipment Software version is managed, it is necessary to which the developer of cloud device administration interface understands patrolling for each software function on the network equipment The influence realized with difference in functionality combination is collected, adds development difficulty and risk.In the embodiment of the present application, Cloud Server is called and held Software scripts on the row network equipment, the process of calling can be carried out by way of combining local frame configuration order, this is In original secondary development on the basis of frame order is locally configured, software development complexity and size of code are smaller, local script with Function writes maintenance for unit by equipment end personnel, solves the software management of the network equipment it is understood that distinct device function is handed over Mutual details cause exploitation is difficult, risk is big, not easy care the problem of.Taken when there is configuration ease of use issues, display problem or cloud When returning the result abnormal of device of business, can solve failure, without developing again by way of Cloud Server upgrade script file Safeguard new equipment firmware version, more efficient, risk smaller, easy to safeguard, and does not influence equipment operation stability, without weight Open.Moreover, Cloud Server is capable of the software function of dynamic control loading, equipment performance loss is reduced.So as to which the network equipment is developed And Cloud Server equipment management development difficulty is low, software hazard is small.
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from the angle of Cloud Server and the network equipment. It is understood that Cloud Server and the network equipment, in order to realize above-mentioned function, it comprises performing, each function is hard accordingly Part structure and/or software module.Those skilled in the art should be readily appreciated that, be retouched with reference to the embodiments described herein The algorithm steps stated, the application can be realized with the combining form of hardware or hardware and computer software.Some function is actually Performed in a manner of hardware or computer software driving hardware, application-specific and design constraint bar depending on technical solution Part.Professional technician can realize described function to each specific application using distinct methods, but this Realize it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out function module to Cloud Server and the network equipment according to above method example and draw Point, for example, can correspond to each function divides each function module, two or more functions can also be integrated in one In a processing module.Above-mentioned integrated module can both be realized in the form of hardware, can also use software function module Form is realized.It should be noted that the division in the embodiment of the present application to module is schematical, it is only a kind of logic function Division, can there is other dividing mode when actually realizing.
In the case where dividing each function module using corresponding each function, Fig. 5 shows involved in above-described embodiment And Cloud Server 5 a kind of possible structure diagram, Cloud Server includes:Call unit 501, acquiring unit 502 and place Manage unit 503.In the embodiment of the present application, call unit 501 can be used for calling the first software function to exist by CWMP passages The corresponding loading script of the network equipment, makes the network equipment load the corresponding modular assembly of the first software function;Wherein, foot is loaded This is used to control the corresponding modular assembly of the first software function of loading;First software function is called in network by CWMP passages The corresponding unloading script of equipment, wherein, unloading script is used to control the corresponding modular assembly of the first software function of unloading;Pass through CWMP passages call software upgrading script, the script file that the network equipment updates needs according to software upgrading script is carried out more Newly.Acquiring unit 502 can be used for the loading successful information that the modular assembly that the network equipment reports is obtained by CWMP passages; Alternatively, following information is obtained by CWMP passages:Including be not limited to sequence number, MAC Address, software version number, unit type and Local script bank version.Processing unit 503 can be used for being fed back according to the sequence number, MAC Address and unit type of the network equipment The software function configuration interface of the network equipment, makes user that the network equipment is monitored and be managed according to software function configuration interface Reason.In the embodiment of the method shown in Fig. 3, call unit 501 can be used for supporting Cloud Server implementation procedure 303.Obtain single Member 502 can be used for supporting Cloud Server implementation procedure 301 and 302.Processing unit 503 can be used for supporting Cloud Server to perform Process 306.Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, details are not described herein.
In the case of using integrated unit, Fig. 6 shows one kind of Cloud Server involved in above-described embodiment Possible structure diagram.In this application, Cloud Server can include processing module 601, communication module 602 and memory module 603.Wherein, processing module 601 is used to control each several part hardware unit and application software of Cloud Server etc.;Communication module 602 are used to the communication modes such as Wireless Fidelity (Wireless Fidelity, WiFi) can be used to receive the finger that miscellaneous equipment is sent Order, can also be by the data sending of Cloud Server to miscellaneous equipment;Memory module 603 is used for the software program for performing Cloud Server Storage, the storage of data and the operation etc. of software.Wherein, processing module 601 can be processor or controller, such as can be with It is CPU, general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hardware component or Its any combination of person.It can be realized or perform with reference to the described various exemplary logic blocks of present disclosure, Module and circuit.Processor can also be the combination for realizing computing function, such as be combined comprising one or more microprocessors, Combination of DSP and microprocessor etc..Communication module 602 can be transceiver, transmission circuit or communication interface etc..Memory module 603 can be memory.
In the embodiment of the present application, processing module 601 can be used for calling the first software function in net by CWMP passages The corresponding loading script of network equipment, makes the network equipment load the corresponding modular assembly of the first software function;Wherein, script is loaded For controlling the corresponding modular assembly of the first software function of loading;The first software function is called to be set in network by CWMP passages Standby corresponding unloading script, wherein, unloading script is used to control the corresponding modular assembly of the first software function of unloading;Pass through CWMP passages call software upgrading script, the script file that the network equipment updates needs according to software upgrading script is carried out more Newly.
Communication module 602 can be used for the loading success that the modular assembly that the network equipment reports is obtained by CWMP passages Information;Alternatively, following information is obtained by CWMP passages:Including being not limited to sequence number, MAC Address, software version number, equipment type Number and local script bank version.
Memory module 603 can be used for storing sequence number, MAC Address, software version number, unit type and local script bank The information such as version and the script file of high in the clouds script bank.
In the case where dividing each function module using corresponding each function, Fig. 7 shows involved in above-described embodiment And the network equipment 7 a kind of possible structure diagram, the network equipment includes:Processing unit 701 and communication unit 702. In the embodiment of the present application, processing unit 701 can be used in the corresponding loading script of the network equipment being added according to the first software function Carry the corresponding modular assembly of the first software function;Wherein, script is loaded to be used to control the corresponding mould of the first software function of loading Block component;The corresponding modularization of first software function is unloaded in the corresponding unloading script of the network equipment according to the first software function Component, wherein, unloading script is used to control the corresponding modular assembly of the first software function of unloading;According to software upgrading script pair The script file for needing to update in the network equipment is updated.In the embodiment of the method shown in Fig. 3, processing unit 701 can be with For supporting network equipment implementation procedure 304 and 307.Communication unit 702 can be used for supporting network equipment implementation procedure 305. Wherein, all related contents for each step that above method embodiment is related to can quote the function of corresponding function module and retouch State, details are not described herein.
In the case of using integrated unit, Fig. 8 shows one kind of the network equipment involved in above-described embodiment Possible structure diagram.In this application, the network equipment can include processing module 801, communication module 802 and memory module 803.Wherein, processing module 801 is used to control each several part hardware unit and application software of the network equipment etc.;Communication module 802 are used to the communication modes such as WiFi can be used to receive the instruction that miscellaneous equipment is sent, can also be by the data sending of the network equipment To miscellaneous equipment;Memory module 803 is used for the storage of software program, the storage of data and the operation of software for performing the network equipment Deng.Wherein, processing module 801 can be processor or controller, such as can be CPU, general processor, DSP, ASIC, FPGA either other programmable logic device, transistor logic, hardware component or its any combination.It can realize or Execution combines the described various exemplary logic blocks of present disclosure, module and circuit.Processor can also be Realize the combination of computing function, such as combined comprising one or more microprocessors, combination of DSP and microprocessor etc..It is logical Believe that module 802 can be transceiver, transmission circuit or communication interface etc..Memory module 803 can be memory.
In the embodiment of the present application, processing module 801 can be used for corresponding in the network equipment according to the first software function Load script and load the corresponding modular assembly of the first software function;Wherein, script is loaded to be used to control the first software work(of loading Can corresponding modular assembly;First software function pair is unloaded in the corresponding unloading script of the network equipment according to the first software function The modular assembly answered, wherein, unloading script is used to control the corresponding modular assembly of the first software function of unloading;According to software More new script is updated the script file for needing to update in the network equipment.
Communication module 802 can be used for establishing CWMP passages with Cloud Server;And by CWMP passages on Cloud Server Respond with lower information:Including being not limited to sequence number, MAC Address, software version number, unit type and local script bank version.
Memory module 803 can be used for storing sequence number, MAC Address, software version number, unit type and local script bank The script file of version and local script bank.
It can be realized in a manner of hardware with reference to the step of described method of present disclosure or algorithm, also may be used Realized in a manner of being to perform software instruction by processor.Software instruction can be made of corresponding software module, software mould Block can be stored on RAM, flash memory, ROM, EPROM, EEPROM, register, hard disk, mobile hard disk, read-only optical disc or ability In the storage medium of any other form known to domain.A kind of exemplary storage medium is coupled to processor, so that processing Device can be from the read information, and can write information to the storage medium.Certainly, storage medium can also be processing The part of device.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located at core network interface equipment In.Certainly, pocessor and storage media can also be present in core network interface equipment as discrete assembly.
Those skilled in the art are it will be appreciated that in said one or multiple examples, work(described herein It is able to can be realized with hardware, software, firmware or their any combination.When implemented in software, can be by these functions It is stored in computer-readable medium or is transmitted as one or more instructions on computer-readable medium or code. Computer-readable medium includes computer storage media and communication media, and wherein communication media includes being easy to from a place to another Any medium of one place transmission computer program.It is any that storage medium can be that universal or special computer can access Usable medium.
Above-described embodiment, has carried out further the purpose, technical solution and beneficial effect of the application Describe in detail, it should be understood that the foregoing is merely the embodiment of the application, be not used to limit the application Protection domain, all any modification, equivalent substitution, improvement and etc. on the basis of the technical solution of the application, done should all It is included within the protection domain of the application.
It should be understood by those skilled in the art that, the embodiment of the present application can be provided as method, system or computer program production Product.Therefore, in terms of the embodiment of the present application can use complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, the embodiment of the present application can be used wherein includes computer available programs generation in one or more The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present application is with reference to the method, equipment (system) and computer program product according to the embodiment of the present application Flowchart and/or the block diagram describe.It should be understood that it can be realized by computer program instructions in flowchart and/or the block diagram The combination of flow and/or square frame in each flow and/or block and flowchart and/or the block diagram.These calculating can be provided Processing of the machine programmed instruction to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to produce a machine so that passes through the instruction that computer or the processor of other programmable data processing devices perform and produces It is used for realization the function specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames Device.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Obviously, those skilled in the art can carry out the embodiment of the present application various modification and variations without departing from this Shen Spirit and scope please.In this way, if these modifications and variations of the embodiment of the present application belong to the application claim and its wait Within the scope of technology, then the application is also intended to comprising including these modification and variations.

Claims (13)

1. a kind of network device management method, the scene being managed applied to Cloud Server to the network equipment, the network are set It is at least one for including, it is characterised in that the described method includes:
Cloud Server calls the first software function in the network by customer terminal equipment wide area network management agreement CWMP passages The corresponding loading script of equipment, makes the network equipment load the corresponding modular assembly of first software function;Wherein, institute Loading script is stated to be used to control the corresponding modular assembly of loading first software function;
When the Cloud Server by the CWMP passages get the loading of the modular assembly that the network equipment reports into During work(information, the loading successful information of the modular assembly is used to indicate that the Cloud Server feeds back the soft of the network equipment Part functional configuration interface, the Cloud Server is according to the sequence number, MAC address and equipment of the network equipment Model feeds back the software function configuration interface of the network equipment, makes user according to the software function configuration interface to the net Network equipment is monitored and manages.
2. network device management method according to claim 1, it is characterised in that when the Cloud Server determines unloading institute When stating the corresponding modular assembly of the first software function, the method further includes:
The Cloud Server calls first software function in the corresponding unloading script of the network equipment by the CWMP passages, Wherein, the unloading script, which is used to control, unloads the corresponding modular assembly of first software function;
The network equipment is set to unload the corresponding modular assembly of first software function according to the unloading script.
3. network device management method according to claim 1 or 2, it is characterised in that the method further includes:
The Cloud Server contrasts the local script bank version of the network equipment and the network of Cloud Server storage The corresponding script bank version of equipment;
If the corresponding script bank version updating of the network equipment of the Cloud Server storage, the Cloud Server determine to need The script file of renewal;
The Cloud Server by the CWMP passages call software upgrading script, make the network equipment according to the software more New script is updated the script file for needing to update.
A kind of 4. network device management method, it is characterised in that including:
The network equipment loads first software function according to the first software function in the corresponding loading script of the network equipment Corresponding modular assembly;Wherein, the loading script, which is used to control, loads the corresponding modularization group of first software function Part;
The network equipment is by customer terminal equipment wide area network management agreement CWMP passages to the Cloud Server reporting module Change the loading successful information of component, the loading successful information of the modular assembly is used to indicate described in the Cloud Server feedback The software function configuration interface of the network equipment, makes the Cloud Server access control according to sequence number, the media of the network equipment MAC Address processed and unit type feed back the software function configuration interface of the network equipment.
5. network device management method according to claim 4, it is characterised in that the method further includes:
The network equipment unloads first software according to first software function in the corresponding unloading script of the network equipment The corresponding modular assembly of function, wherein, the unloading script, which is used to control, unloads the corresponding module of first software function Change component.
6. network device management method according to claim 4 or 5, it is characterised in that the method further includes:
The network equipment is updated the script file for needing to update in the network equipment according to software upgrading script.
7. a kind of Cloud Server, it is characterised in that the Cloud Server includes:
Call unit, for calling the first software function described by customer terminal equipment wide area network management agreement CWMP passages The corresponding loading script of the network equipment, makes the network equipment load the corresponding modular assembly of first software function;Its In, the loading script, which is used to control, loads the corresponding modular assembly of first software function;
Acquiring unit, the loading for obtaining the modular assembly that the network equipment reports by the CWMP passages are successfully believed Breath;
Processing unit, during loading successful information for getting the modular assembly when the acquiring unit, the module The loading successful information for changing component is used for the software function configuration interface for indicating that the Cloud Server feeds back the network equipment, root The software work(of the network equipment is fed back according to the sequence number, MAC address and unit type of the network equipment Energy configuration interface, makes user that the network equipment is monitored and be managed according to the software function configuration interface.
8. Cloud Server according to claim 7, it is characterised in that the call unit is additionally operable to:
First software function is called in the corresponding unloading script of the network equipment by the CWMP passages, wherein, it is described to unload Script is carried to be used to control the corresponding modular assembly of unloading first software function;
The network equipment is set to unload the corresponding modular assembly of first software function according to the unloading script.
9. the Cloud Server according to claim 7 or 8, it is characterised in that the processing unit is additionally operable to:
Contrast the local script bank version of the network equipment and the corresponding foot of the network equipment of Cloud Server storage This storehouse version;
If the corresponding script bank version updating of the network equipment of the Cloud Server storage, determine to need the script text updated Part;
The call unit is additionally operable to, and is called software upgrading script by the CWMP passages, is made the network equipment according to institute Software upgrading script is stated to be updated the script file for needing to update.
A kind of 10. network equipment, it is characterised in that including:
Processing unit, for loading first software in the corresponding loading script of the network equipment according to the first software function The corresponding modular assembly of function;Wherein, the loading script, which is used to control, loads the corresponding module of first software function Change component;
Communication unit, for by customer terminal equipment wide area network management agreement CWMP passages to the Cloud Server reporting module Change the loading successful information of component, the loading successful information of the modular assembly is used to indicate described in the Cloud Server feedback The software function configuration interface of the network equipment, makes the Cloud Server access control according to sequence number, the media of the network equipment MAC Address processed and unit type feed back the software function configuration interface of the network equipment.
11. the network equipment according to claim 10, it is characterised in that the processing unit is additionally operable to:
The corresponding mould of first software function is unloaded in the corresponding unloading script of the network equipment according to first software function Block component, wherein, the unloading script, which is used to control, unloads the corresponding modular assembly of first software function.
12. the network equipment according to claim 10 or 11, it is characterised in that the processing unit is additionally operable to:
The script file for needing to update in the network equipment is updated according to software upgrading script.
13. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the computer program realize claim 1-3 when being performed by the processor, or described in claim any one of 4-6 Network device management method.
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 true CN107947981A (en) 2018-04-20
CN107947981B 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)

Cited By (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
CN111158940A (en) * 2019-12-31 2020-05-15 智慧神州(北京)科技有限公司 Method and device for docking and dynamically loading different devices in field of Internet of things
CN111782251A (en) * 2020-08-18 2020-10-16 广联达科技股份有限公司 Software function module updating method and device and computer equipment
CN113259468A (en) * 2021-06-02 2021-08-13 新华三智能终端有限公司 Network equipment configuration method and device
CN113411460A (en) * 2020-03-16 2021-09-17 富士施乐实业发展(中国)有限公司 Installation method and device of customized software

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1953957A1 (en) * 2005-11-24 2008-08-06 Huawei Technologies Co., Ltd. A remote load system of network device and method thereof
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
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN104333806A (en) * 2014-09-26 2015-02-04 青岛海信宽带多媒体技术有限公司 Set top box parameter operation method and device
CN104572202A (en) * 2015-01-08 2015-04-29 浪潮电子信息产业股份有限公司 Method for allocating enterprise-level application software under cloud computing
CN107273165A (en) * 2017-06-19 2017-10-20 郑州云海信息技术有限公司 A kind of system and method for realizing module dynamic call

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1953957A1 (en) * 2005-11-24 2008-08-06 Huawei Technologies Co., Ltd. A remote load system of network device and method thereof
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
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN104333806A (en) * 2014-09-26 2015-02-04 青岛海信宽带多媒体技术有限公司 Set top box parameter operation method and device
CN104572202A (en) * 2015-01-08 2015-04-29 浪潮电子信息产业股份有限公司 Method for allocating enterprise-level application software under cloud computing
CN107273165A (en) * 2017-06-19 2017-10-20 郑州云海信息技术有限公司 A kind of system and method for realizing module dynamic call

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
学步园: "CWMP(TR-069)技术介绍", 《HTTPS://WWW.XUEBUYUAN.COM/1273931.HTML》 *

Cited By (8)

* 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
CN111158940A (en) * 2019-12-31 2020-05-15 智慧神州(北京)科技有限公司 Method and device for docking and dynamically loading different devices in field of Internet of things
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
CN111782251A (en) * 2020-08-18 2020-10-16 广联达科技股份有限公司 Software function module updating method and device and computer equipment
CN111782251B (en) * 2020-08-18 2024-04-30 广联达科技股份有限公司 Method and device for updating software function module and computer equipment
CN113259468A (en) * 2021-06-02 2021-08-13 新华三智能终端有限公司 Network equipment configuration method and device
CN113259468B (en) * 2021-06-02 2021-09-21 新华三智能终端有限公司 Network equipment configuration method and device

Also Published As

Publication number Publication date
CN107947981B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN107947981A (en) A kind of network device management method and device
US10705808B2 (en) Software defined network controller
CN107872823B (en) Method and system for identifying communication operation mode in mobile edge computing environment
US10656971B2 (en) Agile framework for vertical application development and delivery
CN108786112B (en) Application scene configuration method, device and storage medium
CN110928529A (en) Method and system for assisting operator development
US20150220327A1 (en) Extensible data model and service for infrastructure management
CN102395950A (en) Communicating with data storage systems
CN103853535B (en) The method and apparatus for changing middleware
CN105814579A (en) Sandboxed application data redirection to datacenters
CN110351325B (en) Data processing method and related equipment
CN109460250B (en) Application program generation method and device
WO2012016400A1 (en) Method and device for managing configuration file
CN107562415A (en) A kind of paster functional framework implementation method and equipment
WO2022222292A1 (en) Power amplifier adaptation method, terminal device, storage medium and computer program product
US9626251B2 (en) Undo configuration transactional compensation
JP4726519B2 (en) Screen definition data difference extraction method, apparatus and program
WO2009033424A1 (en) A method and system for obtaining information of user&#39;s commands and device for registering user&#39;s commands
CN111258832A (en) Interface parameter checking method, device, equipment and medium
US20240078171A1 (en) Techniques for model artifact validation
CN109471614A (en) The method and device of application program mixed developing
US11106435B1 (en) OPC UA server, system operating using OPC UA, and method of executing OPC UA system
US11838176B1 (en) Provisioning and deploying RAN applications in a RAN system
US11803786B2 (en) Enterprise integration platform
CN110275701A (en) Data processing method, device, medium and calculating equipment

Legal Events

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