CN110278093A - The configuration method and device of the network equipment - Google Patents

The configuration method and device of the network equipment Download PDF

Info

Publication number
CN110278093A
CN110278093A CN201810205877.2A CN201810205877A CN110278093A CN 110278093 A CN110278093 A CN 110278093A CN 201810205877 A CN201810205877 A CN 201810205877A CN 110278093 A CN110278093 A CN 110278093A
Authority
CN
China
Prior art keywords
configuration
network equipment
configuration data
message
fragment
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
CN201810205877.2A
Other languages
Chinese (zh)
Other versions
CN110278093B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810205877.2A priority Critical patent/CN110278093B/en
Publication of CN110278093A publication Critical patent/CN110278093A/en
Application granted granted Critical
Publication of CN110278093B publication Critical patent/CN110278093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides the configuration method and device of a kind of network equipment, this method comprises: network management device obtains the configuration data of the network equipment;Configuration data is divided at least two configuration data fragments by network management device;Network management device generates configuration message according to each configuration data fragment at least two configuration data fragments, obtains at least two configuration message, at least two configuration message include identical message identifier, and message identifier corresponds to the configuration data;Network management device successively sends at least two configuration message to the network equipment;Network management device receives at least one configuration response message that the network equipment is sent, at least one response message includes configuration result and message identifier;Network management device determines the configuration status of the network equipment according at least one configuration response message.The configuration method and device of the network equipment provided by the present application can be improved the allocative efficiency of the network equipment.

Description

The configuration method and device of the network equipment
Technical field
The invention relates to the configuration methods and device of field of communication technology more particularly to a kind of network equipment.
Background technique
Network configuration protocol (network configuration protocol, NETCONF) is used for network management device Interactive interfacing between the network equipment and data transmission, wherein network management device can inquire by NETCONF, be increased, Modification or the configuration for deleting the network equipment, and obtain the configuration and status information of the network equipment.
In the prior art, network management device can be to each network equipment down distributing configuration data by NETCONF.Specifically , network management device can send remote procedure call (remote procedure call, RPC) message to the network equipment, The configuration data of the network equipment is carried in the RPC message.The network equipment needs to receive the complete of network management device transmission Configuration data after, relevant configuration is carried out to the network equipment further according to the configuration data received.Network management device needs After the complete response message for receiving network equipment transmission, then carry out subsequent operation.
However, when carrying a large amount of configuration data in RPC message, management equipment and the network equipment will wait longer Time just will do it subsequent operation, it is lower so as to cause the allocative efficiency of the network equipment.
Summary of the invention
The application provides the configuration method and device of a kind of network equipment, can be improved the allocative efficiency of the network equipment, section Save the memory space of the network equipment.
In a first aspect, the embodiment of the present application provides a kind of configuration method of network equipment, comprising:
The configuration data of the network management device acquisition network equipment;
The configuration data is divided at least two configuration data fragments by the network management device;
The network management device is generated according to each configuration data fragment in at least two configuration datas fragment Message is configured, obtains at least two configuration message, at least two configurations message includes identical message identifier, the message The corresponding configuration data of mark;
The network management device successively sends at least two configurations message to the network equipment;
The network management device receives at least one configuration response message that the network equipment is sent, and described at least one A response message includes configuration result and the message identifier;
The network management device determines the configuration shape of the network equipment according at least one described configuration response message State.
In the present solution, sending and receiving function what network management device and the network equipment supported configuration data fragment When, network management device needs for configuration data to be divided at least two configurations after getting the configuration data of the network equipment Data fragmentation, in this way, the configuration data that network management device will not be sent completely to the network equipment, but successively send and divide Configuration data fragment afterwards.The network equipment, will be according to the configuration data fragment after often receiving a configuration data fragment The network equipment is configured.In this way, avoid in the prior art the network equipment need receive complete configuration data it The allocative efficiency of the network equipment can be improved so as to shorten the time that the network equipment waits in the phenomenon that being configured again afterwards.Separately Outside, since the network equipment does not need to be configured again after receiving complete configuration data, thus in the network device not Need to cache complete configuration data, it is possible thereby to reduce the occupied memory of configuration data.
In one possible implementation, each configuration message in at least two configurations message further includes fragment Label and configuration data segmental identification;
It is to be used to indicate the configuration data point that the configuration message includes the configuration data in the fragment marking In the case where first value of piece, configuration data segmental identification configuration data fragment for identification;
It is described in the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely Configuration data segmental identification is sky.
It in the above scheme, include point in the configuration message that network management device is generated according to each configuration data fragment Piece label and configuration data segmental identification, wherein it includes matching that fragment marking, which is used to indicate the configuration message that the network equipment is sent to be, Data fragmentation is set, or is used to indicate and is sent completely whole configuration datas.It in practical applications, can be by fragment mark Different numerical value is arranged in note, to complete above-mentioned indicative function.
In one possible implementation, the network management device receives at least one that the network equipment is sent Configuration response message includes:
The network management device receives the network equipment according to the institute carried in at least two configurations message There is configuration data fragment to the configuration response message sent after the completion of the network equipments configuration;
The network management device determines the configuration shape of the network equipment according at least one described configuration response message State includes:
The configuration response message determines the configuration status of the network equipment to the network management device based on the received.
In the present solution, the configuration number that the network equipment carries in all configuration message sent according to network management device Configuration is carried out to the network equipment according to fragment and then sends configuration response message to network management device.
In one possible implementation, when at least one described configuration response message includes multiple configuration response message When, each configuration response message in the multiple configuration response message further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the network equipment to set the network according to a configuration data fragment in the fragment marking In the case where the third value that standby configuration is completed, the configuration data segmental identification for identification matches network equipments configuration completion Set data fragmentation;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the 4th value that standby configuration is completed, the configuration data segmental identification is sky.
In one possible implementation, the network management device receives at least one that the network equipment is sent Configuration response message includes:
The network management device successively receives the network equipment in the configuration data carried according to each configuration message The configuration response message sent after fragment is complete to the network equipments configuration;
The network management device determines the configuration shape of the network equipment according at least one described configuration response message State includes:
After the network management device often receives a configuration response message, the configuration response message based on the received Determine the configuration status of the network equipment.
In one possible implementation, the method also includes:
The network management device exports the configuration status to user;
And/or
The network management device carries out the record of log according to the configuration status.
In the above embodiments, the network equipment according to a configuration data fragment to network equipments configuration complete after, Will to network management device send configuration response message, network management device according to the configuration response message received in time into Row subsequent operation, such as configuration progress is shown to user.
Second aspect, the embodiment of the present application provide a kind of configuration method of network equipment, comprising:
Network management device sends configuration message to the network equipment, and the configuration message includes the configuration of the network equipment Data and message identifier corresponding with the configuration data;
The network management device successively receives at least two configuration response message that the network equipment is sent, it is described extremely Each configuration response message in few two configuration response message includes the message identifier, fragment marking, configuration data fragment The configuration result of mark and the corresponding configuration data fragment of the configuration data segmental identification;
The network management device is determined according to each configuration response message in at least two configuration responses message The configuration status of the network equipment.
It in the above scheme, can be by the configuration data since the network equipment is after receiving the configuration data of the network equipment It is divided at least two configuration data fragments, the network equipment is configured according to each configuration data fragment, according to each configuration After data fragmentation completes network equipments configuration, all configuration response message can be sent to network management device, to return to configuration Progress or configuration result so that network management device can timely respond to, and can determine matching for the network equipment in time State is set, so as to improve the allocative efficiency of the network equipment.
It in one possible implementation, is to be used to indicate the network equipment to be matched according to one in the fragment marking In the case where setting the value that data fragmentation completes the network equipments configuration, the configuration data segmental identification configures for identification The configuration data fragment of completion;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the value that standby configuration is completed, the configuration data segmental identification is sky.
It in the above scheme, include point in the configuration message that network management device is generated according to each configuration data fragment Piece label and configuration data segmental identification, wherein it includes matching that fragment marking, which is used to indicate the configuration message that the network equipment is sent to be, Data fragmentation is set, or is used to indicate and is sent completely whole configuration datas.It in practical applications, can be by fragment mark Different numerical value is arranged in note, to complete above-mentioned indicative function.
In one possible implementation, the network management device is according in at least two configuration responses message At least one configuration response message determine that the configuration status of the network equipment includes:
After the network management device often receives a configuration response message, all configuration response message based on the received Determine the configuration status of the network equipment.
In the above scheme, as soon as the network equipment is after completing network equipments configuration according to configuration data fragment, Configuration response message can be sent to network management device, network management device carries out in time according to the configuration response message received Subsequent operation, such as configuration progress is shown to user.
The third aspect, the embodiment of the present application provide a kind of configuration method of network equipment, comprising:
The network equipment at least two configuration message that successively receiving network managing equipment is sent, at least two configuration disappear Breath is that the configuration data for the network equipment that the network management device will acquire is divided at least two configuration data fragments Afterwards, it is generated according to each configuration data fragment in at least two configuration datas fragment, at least two configuration disappears Breath includes identical message identifier, and the message identifier corresponds to the configuration data;
The network equipment is after often receiving the configuration message, according in the configuration message received Configuration data fragment configures the network equipment;
The network equipment sends at least one configuration response message, at least one described sound to the network management device Answering message includes configuration result and the message identifier, at least one described response message is used for the network management device Notify the configuration status of the network equipment.
In the present solution, sending and receiving function what network management device and the network equipment supported configuration data fragment When, network management device needs for configuration data to be divided at least two configurations after getting the configuration data of the network equipment Data fragmentation, in this way, the configuration data that network management device will not be sent completely to the network equipment, but successively send and divide Configuration data fragment afterwards.The network equipment, will be according to the configuration data fragment after often receiving a configuration data fragment The network equipment is configured.
It in the above scheme, can be by the configuration since network management device is after getting the configuration data of the network equipment Data are divided at least two configuration data fragments, and by configuration message corresponding with each configuration data fragment, by configuration data Fragment is sent to the network equipment, and the network equipment will carry after often receiving a configuration message according in the configuration message Configuration data fragment the network equipment is configured, in this way, avoid in the prior art the network equipment needs receiving The phenomenon that being configured again after whole configuration data can be improved network and set so as to shorten the time that the network equipment waits Standby allocative efficiency.In addition, since the network equipment does not need to be configured again after receiving complete configuration data, thus It does not need to cache complete configuration data in the network device, it is possible thereby to reduce the occupied memory of configuration data.
In one possible implementation, each configuration message in at least two configurations message further includes fragment Label and configuration data segmental identification;
It is to be used to indicate the configuration data point that the configuration message includes the configuration data in the fragment marking In the case where first value of piece, configuration data segmental identification configuration data fragment for identification;
It is described in the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely Configuration data segmental identification is sky.
It in the above scheme, include point in the configuration message that network management device is generated according to each configuration data fragment Piece label and configuration data segmental identification, wherein it includes matching that fragment marking, which is used to indicate the configuration message that the network equipment is sent to be, Data fragmentation is set, or is used to indicate and is sent completely whole configuration datas.It in practical applications, can be by fragment mark Different numerical value is arranged in note, to complete above-mentioned indicative function.
In one possible implementation, the network equipment sends at least one configuration to the network management device Response message, comprising:
The network equipment is configuring all configuration data fragments carried in message according to described at least two, to described After the completion of network equipments configuration, Xiang Suoshu network management device sends configuration response message.
In the present solution, the configuration number that the network equipment carries in all configuration message sent according to network management device Configuration is carried out to the network equipment according to fragment and then sends configuration response message to network management device.
In one possible implementation, when at least one described configuration response message includes multiple configuration response message When, each configuration response message in the multiple configuration response message further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the network equipment to set the network according to a configuration data fragment in the fragment marking In the case where the third value that standby configuration is completed, the configuration data segmental identification for identification matches network equipments configuration completion Set data fragmentation;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the 4th value that standby configuration is completed, the configuration data segmental identification is sky.
In one possible implementation, the network equipment sends at least one configuration to the network management device Response message, comprising:
The network equipment is according to the configuration data fragment that carries in each configuration message, to the network equipments configuration After the completion, Xiang Suoshu network management device sends configuration response message.
In the above embodiments, the network equipment according to a configuration data fragment to network equipments configuration complete after, Will to network management device send configuration response message, network management device according to the configuration response message received in time into Row subsequent operation, such as configuration progress is shown to user.
Fourth aspect, the embodiment of the present application provide a kind of configuration method of network equipment, comprising:
The configuration message that network equipment receiving network managing equipment is sent, the configuration message includes the network equipment Configuration data and message identifier corresponding with the configuration data;
The configuration data is divided at least two configuration data fragments by the network equipment, and successively basis is described at least Each configuration data fragment in two configuration data fragments configures the network equipment;
The network equipment is after the completion of according to each configuration data fragment to network equipments configuration, Xiang Suoshu network management Equipment sends configuration response message;The configuration response message includes the message identifier, fragment marking, configuration data fragment mark The configuration result of knowledge and the corresponding configuration data fragment of the configuration data segmental identification;The configuration response message be used for The network management device notifies the configuration status of the network equipment.
It in the above scheme, can be by the configuration data since the network equipment is after receiving the configuration data of the network equipment It is divided at least two configuration data fragments, the network equipment is configured according to each configuration data fragment, according to each configuration After data fragmentation completes network equipments configuration, all configuration response message can be sent to network management device, to return to configuration Progress or configuration result so that network management device can timely respond to, and can determine matching for the network equipment in time State is set, so as to improve the allocative efficiency of the network equipment.
It in one possible implementation, is to be used to indicate the network equipment to be matched according to one in the fragment marking In the case where setting the value that data fragmentation completes the network equipments configuration, the configuration data segmental identification is described for identification Configure the configuration data fragment completed;
It is to be used to indicate the network equipment to match the network equipment according to all configuration datas in the fragment marking In the case where the value for setting completion, the configuration data segmental identification is sky.
It in the above scheme, include point in the configuration message that network management device is generated according to each configuration data fragment Piece label and configuration data segmental identification, wherein it includes matching that fragment marking, which is used to indicate the configuration message that the network equipment is sent to be, Data fragmentation is set, or is used to indicate and is sent completely whole configuration datas.It in practical applications, can be by fragment mark Different numerical value is arranged in note, to complete above-mentioned indicative function.
5th aspect, the embodiment of the present application provides a kind of configuration device of network equipment, including can be realized above-mentioned first The network equipment described in any one of the configuration method of the network equipment described in any one of aspect or above-mentioned second aspect is matched Set the functional module of method.
The device that the 5th aspect of the application provides, can be network management device, is also possible in network management device Chip, the network management device or the chip, which have, realizes that the network in above-mentioned various aspects or its any possible mode is set The function of standby configuration method.The function can also execute corresponding software realization by hardware realization by hardware. The hardware or software include one or more units corresponding with above-mentioned function.
6th aspect, the embodiment of the present application provides a kind of configuration device of network equipment, including can be realized above-mentioned third The network equipment described in any one of the configuration method of the network equipment described in any one of aspect or above-mentioned fourth aspect is matched Set the functional module of method.
The device that the 6th aspect of the application provides, can be the network equipment, the chip being also possible in the network equipment is described The network equipment or the chip have the configuration method for realizing above-mentioned various aspects or the network equipment in its any possible mode Function.The function can also execute corresponding software realization by hardware realization by hardware.The hardware is soft Part includes one or more units corresponding with above-mentioned function.
7th aspect, the embodiment of the present application also provide a kind of network management device, which may include place Manage device and memory;
Wherein, the memory, for storing program instruction;
The processor, for calling and executing the program instruction stored in the memory, to realize above-mentioned first party The configuration of the network equipment described in any one of the configuration method of the network equipment described in any one of face or above-mentioned second aspect Method.
Eighth aspect, the embodiment of the present application also provide a kind of network equipment, which may include processor and deposit Reservoir;
Wherein, the memory, for storing program instruction;
The processor, for calling and executing the program instruction stored in the memory, to realize above-mentioned third party The configuration of the network equipment described in any one of the configuration method of the network equipment described in any one of face or above-mentioned fourth aspect Method.
9th aspect, the embodiment of the present application also provide a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, when computer program is executed by processor, can be realized any one of above-mentioned first aspect institute The configuration method of the network equipment described in any one of the configuration method for the network equipment stated or above-mentioned second aspect.
Tenth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, when computer program is executed by processor, can be realized any one of above-mentioned third aspect institute The configuration method of the network equipment described in any one of the configuration method for the network equipment stated or above-mentioned fourth aspect.
Tenth on the one hand, and the embodiment of the present application also provides a kind of computer program products comprising instruction, when it is being counted When being run on calculation machine, so that computer executes the configuration of the network equipment described in any one of first aspect of the embodiment of the present application The configuration method of the network equipment described in any one of method or the above-mentioned second aspect of execution.
12nd aspect, the embodiment of the present application also provides a kind of computer program products comprising instruction, when it is being counted When being run on calculation machine, so that computer executes the configuration of the network equipment described in any one of third aspect of the embodiment of the present application The configuration method of the network equipment described in any one of method or the above-mentioned fourth aspect of execution.
13rd aspect, the embodiment of the present application also provide a kind of chip, computer program are stored on chip, in computer When program is executed by processor, executes the configuration method of the network equipment described in any one of above-mentioned first aspect or execute above-mentioned The configuration method of the network equipment described in any one of second aspect.
Fourteenth aspect, the embodiment of the present application also provide a kind of chip, computer program are stored on chip, in computer When program is executed by processor, executes the configuration method of the network equipment described in any one of above-mentioned third aspect or execute above-mentioned The configuration method of the network equipment described in any one of fourth aspect.
Detailed description of the invention
Fig. 1 is a kind of signaling process figure of the configuration method of the application network equipment;
Fig. 2 is another signaling process figure of the configuration method of the application network equipment;
Fig. 3 is a kind of structural schematic diagram of the configuration device of the network equipment provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of the configuration device of another network equipment provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of the configuration device of another network equipment provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of the configuration device of another network equipment provided by the embodiments of the present application;
Fig. 7 is a kind of hardware structural diagram of the configuration device of the network equipment provided by the embodiments of the present application.
Specific embodiment
It will be understood by those skilled in the art that the configuration method of the network equipment provided by the embodiments of the present application, can apply In the scene that network management device configures the network equipment, for example, inquiring, increasing, modify or deleting the network equipment Configuration etc..During existing network equipments configuration, network management device can be issued by NETCONF to each network equipment Configuration data.Specifically, network management device can send RPC message to the network equipment, network is carried in the RPC message and is set Standby configuration data.The network equipment needs after the complete configuration data for receiving network management device transmission, further according to connecing The configuration data received carries out relevant configuration to the network equipment.Network management device needs receiving network equipment transmission After complete response message, then carry out subsequent operation.
The embodiment of the present application considers these situations, proposes a kind of configuration method of network equipment, network pipe in this method The configuration data that equipment obtains the network equipment is managed, which is divided at least two configuration data fragments, and according at least Each configuration data fragment in two configuration data fragments generates configuration message, obtains at least two configuration message, this is at least Two configuration message include identical message identifier, and message identifier corresponds to aforementioned arrangements data.Network management device is successively to net Network equipment sends at least two configuration message, and network management device receives at least one configuration response that the network equipment is sent and disappears Breath, at least one response message include configuration result and message identifier, and network management device is rung according at least one configuration Message is answered to determine the configuration status of the network equipment.Since network management device is after getting the configuration data of the network equipment, meeting The configuration data is divided at least two configuration data fragments, and by configuration message corresponding with each configuration data fragment, it will Configuration data fragment is sent to the network equipment, and the network equipment will disappear after often receiving a configuration message according to the configuration The configuration data fragment carried in breath configures the network equipment, needs in this way, avoiding the network equipment in the prior art The phenomenon that complete configuration data is configured again later is received, so as to shorten the time that the network equipment waits, Ke Yiti The allocative efficiency of the high network equipment.In addition, since the network equipment does not need to carry out again after receiving complete configuration data Configuration, to not need to cache complete configuration data in the network device, it is possible thereby to which it is occupied interior to reduce configuration data It deposits.
Fig. 1 is a kind of signaling process figure of the configuration method of the application network equipment.As shown in Figure 1, the side of the present embodiment Method may include:
Step 101, network management device obtain the configuration data of the network equipment.
In this step, network management device may include server or personal computer (personal computer, PC) etc., the network equipment may include the equipment such as interchanger, router or firewall, it is of course also possible to include some virtualizations Software analog machine.In addition, configuration data for configuring to the certain functions or agreement of the network equipment, such as changes road By or the configuration of agreement, starting or close certain functions etc..
In one possible implementation, user can input the network equipment to network management device by input equipment Configuration data.Such as: if network management device is PC, the network equipment is router, and user can pass through the touch screen in PC Or key, configuration data is inputted to PC, router etc. is turned on or off with control.
In alternatively possible implementation, network management device can also actively obtain the network equipment by detection Configuration data.Such as: if network management device is PC, the network equipment is router, and network management device passes through detection user Specified network protocol (Internet Protocol, IP) address range, if the discovery network equipment, passes through netconf agreement Obtain the configuration of the network equipment.
Configuration data is divided at least two configuration data fragments by step 102, network management device.
In this step, function is sent and received what network management device and the network equipment supported configuration data fragment When, network management device needs for configuration data to be divided at least two configurations after getting the configuration data of the network equipment Data fragmentation in this way, network management device will not send complete configuration data to the network equipment, but successively sends and divides Configuration data fragment afterwards.
Optionally, configuration data can be divided at least two and matched by network management device according to the data volume of configuration data Data fragmentation is set, such as: configuration data can be divided at least two configuration data fragments according to 4K size;Network management device Configuration data is divided at least two configuration data fragments by the list item entry number that can also be configured as required, such as: according to matching The list items such as routing iinformation, interface message and policy information are set, configuration data is divided at least two configuration data fragments;Network pipe The quantity for the file that reason equipment can also configure as required, is divided at least two configuration data fragments etc. for configuration data.When So, configuration data can also be divided at least two configuration data fragments according to other rules by network management device, for tool The division mode of body, the embodiment of the present application is herein with no restrictions.
Step 103, network management device are generated according to each configuration data fragment at least two configuration data fragments Message is configured, at least two configuration message are obtained, which includes identical message identifier, the message identifier Corresponding configuration data.
In this step, configuration data after being divided at least two configuration data fragments by network management device, by root Configuration message is generated according to each configuration data fragment after division, wherein carries corresponding configuration data in each configuration message. In addition, will include identical message identifier in at least two configuration message generated, which corresponds to configuration data, this Sample will have identical message identifier by at least two configuration data fragments that the same configuration data is divided into, and be distinguished with this Whether the configuration data fragment for including in different configuration message belongs to the same configuration data.
Optionally, configuration message for example can for extension remote procedure call (remote procedure call, RPC) message, or other request messages, for configuring the concrete form of message, the embodiment of the present application does not limit herein System.
In addition, message identifier for example can be the message-id of PRC message, it is of course also possible to can be unique for other Identify the information of message.
Step 104, network management device successively send at least two configuration message to the network equipment.
In this step, the network equipment, will successively after generating at least two configuration message according to each configuration data fragment At least two configurations message is sent to the network equipment.
Optionally, above-mentioned each configuration message further includes fragment marking and configuration data segmental identification;It is to use in fragment marking In the case that instruction configuration message includes the first value of a configuration data fragment of configuration data, the configuration data fragment mark Know configuration data fragment for identification;The case where fragment marking is to be used to indicate second value that configuration data has been sent completely Under, which is sky.
Specifically, including fragment marking in the configuration message that network management device is generated according to each configuration data fragment With configuration data segmental identification, wherein it includes configuration data that fragment marking, which is used to indicate the configuration message that the network equipment is sent to be, Fragment, or be used to indicate and be sent completely whole configuration datas.In practical applications, fragment marking can be arranged Different numerical value, to complete above-mentioned indicative function.In addition, if fragment marking be used to indicate configuration message include configuration data A configuration data fragment the first value, at this point, configuration data segmental identification configuration data fragment for identification, such as: If the first value is 1, configuration data segmental identification is 01, then illustrates to configure the configuration data fragment 1 in message including configuration data, If the first value is 1, configuration data segmental identification is 10, then illustrates to configure the configuration data fragment 2 in message including configuration data Deng.If fragment marking is the second value for being used to indicate configuration data and being sent completely, at this point, the configuration data segmental identification is It is empty.Wherein, the first value can be 1, and second value can be 0, alternatively, the first value can be 0, second value can be 1 etc., certainly, First value and second value can also be other representations, and such as the first value can be true, and second value can be false, alternatively, First value can be false, and second value can be true etc., for the specific value mode of the first value and second value, the application Embodiment is herein with no restrictions.
In addition, in one possible implementation, fragment marking can be the chunked field for being carried on RPC message, When the value of chunked field is the first value, i.e., the fragment marking is used to indicate one that configuration message includes configuration data and matches Set data fragmentation.When the value of chunked field is second value, i.e., the fragment marking is used to indicate configuration data and has sent At.
As a kind of possible implementation, above-mentioned configuration message is RPC message, is carried in the RPC message A kind of sample of message-id, chunked field and configuration data segmental identification, the configuration message is as follows:
<rpc message-id=" 101 " chunked=true>
<edit-config>
... the corresponding configuration data fragment 1 of configuration data segmental identification, configuration data segmental identification
</edit-config>
</rpc>
As alternatively possible implementation, above-mentioned configuration message is RPC message, is carried in the RPC message A kind of sample of message-id, chunked field, configuration data segmental identification, the configuration message is as follows:
<rpc message-id=" 101 " chunked=true>
<edit-config>
... the corresponding configuration data fragment N of configuration data segmental identification, configuration data segmental identification
</edit-config>
</rpc>
As another possible implementation, above-mentioned configuration message is RPC message, is carried in the RPC message The configuration data segmental identification of message-id, chunked field and sky, a kind of sample of the configuration message are as follows:
<rpc message-id=" 101 " chunked=true>
</rpc>
Step 105, the network equipment are after often receiving a configuration message, according to the configuration in the configuration message received Data fragmentation configures the network equipment.
In this step, network management device successively can send configuration message to the network equipment, and the network equipment is connecing every time After the configuration message for receiving network management device transmission, without waiting for receiving complete configuration data, but to this reception To configuration message parsed, obtain the configuration data fragment for including in the configuration message, and according to the configuration data fragment The network equipment is configured.When the network equipment parse configuration message in fragment marking value be second value, and configure When data fragmentation is identified as sky, indicates that configuration data has been sent completely by network management device, that is, configure the transmission knot of message Beam.
It, will be according to the configuration number carried in the configuration message since the network equipment is after often receiving a configuration message The network equipment is configured according to fragment, in this way, avoiding network equipment needs in the prior art is receiving complete configuration The configuration of the network equipment can be improved so as to shorten the time that the network equipment waits in the phenomenon that being configured again after data Efficiency.In addition, since the network equipment does not need to be configured again after receiving complete configuration data, to be set in network It does not need to cache complete configuration data in standby, it is possible thereby to reduce the occupied memory of configuration data.
Step 106, network management device receive at least one configuration response message that the network equipment is sent, this at least one Response message includes configuration result and message identifier.
In this step, the network equipment, can be to network after being configured according to configuration data fragment to the network equipment Management equipment sends configuration response message, includes configuration result and message identifier in the configuration response message, wherein the configuration knot Fruit is used to indicate the configuring condition of the network equipment, and the message identifier for including in the message identifier and configuration message is identical, to be used for Indicate that the configuration response message is corresponding with which configuration data.
Step 107, network management device determine the configuration status of the network equipment according at least one configuration response message.
In this step, network management device, will be according to this after the configuration response message for receiving network equipment transmission Configuration result and message identifier in configuration response message determine the network equipment according to the corresponding configuration data of the message identifier The network equipment is carried out with the configuration status that postpones, the progress such as configured, whether the content of configuration successful or configuration.
Optionally, network management device is at least one the configuration response message for receiving network equipment transmission, and determines Out after the configuration status of the network equipment, configuration status can also be exported to user;And/or log is carried out according to configuration status Record.
Specifically, network management device can export configuration status to user by display screen or other output equipments, Such as can in display screen to user show the network equipment configuration progress, whether the content shape of configuration successful or configuration State can also export configuration status to user by equipment such as indicator lights.In addition, network management device can also be according to configuration shape State carries out the record of log, and after such as configuring to router, the record of list item will be carried out according to configuration status.It needs to carry out Illustrate, network management device can also export configuration status to user, and the record of log is carried out according to configuration status.
Further, network management device receives at least one configuration response message that the network equipment is sent, and may include The following two kinds mode:
The first: network management device receives the network equipment according to all configurations carried at least two configuration message Data fragmentation is to the configuration response message sent after the completion of network equipments configuration;Correspondingly, network management device is according at least one A configuration response message determines that the configuration status of the network equipment includes: that configuration response message is true based on the received for network management device Determine the configuration status of the network equipment.
Specifically, in this fashion, the network equipment is taken in all configuration message sent according to network management device The configuration data fragment of band carries out configuration to the network equipment and then sends configuration response message to network management device.Citing For: network management device successively sends configuration message 1, configuration message 2 and configuration message 3 to the network equipment, wherein configuration disappears Configuration data fragment 1 is carried in breath 1, configures and carries configuration data fragment 2 in message 2, is configured in message 3 and is carried configuration Data fragmentation 3, the network equipment will be taken after the configuration message 1 for receiving network management device transmission according in the configuration message 1 The configuration data fragment 1 of band configures the network equipment, will after the configuration message 2 for receiving network management device transmission The network equipment is configured according to the configuration data fragment 2 carried in the configuration message 2, is receiving network management device hair After the configuration message 3 sent, the network equipment will be configured according to the configuration data fragment 3 carried in the configuration message 3.Network Equipment is fully completed the configuration of the network equipment according to configuration data fragment 1, configuration data fragment 2 and configuration data fragment 3 And then configuration response message is sent to network management device.
Further, network management device will match after the configuration response message for receiving network equipment transmission according to this Set the configuration status that response message determines the network equipment.
It needs to be illustrated, in this mode, network management device needs to receive the complete of network equipment transmission Configuration response message after, just will do it subsequent operation, such as to user show configuration progress, whether configuration successful or The content etc. of configuration.
Second: it includes: network pipe that network management device, which receives at least one configuration response message that the network equipment is sent, Reason equipment successively receives the network equipment after the configuration data fragment carried according to each configuration message is complete to network equipments configuration The configuration response message of transmission;Correspondingly, network management device determines the network equipment according at least one configuration response message Configuration status includes: after network management device often receives a configuration response message, and configuration response message is true based on the received Determine the configuration status of the network equipment.
Specifically, multiple configuration response disappears when at least one configuration response message includes multiple configuration response message Each configuration response message in breath further includes fragment marking and configuration data segmental identification;It is for referring in the fragment marking In the case where showing the third value that the network equipment is completed network equipments configuration according to a configuration data fragment, the configuration data point The configuration data fragment that piece mark for identification completes network equipments configuration;It is to be used to indicate network equipment root in fragment marking In the case where the 4th value completed according to all configuration datas to network equipments configuration, configuration data segmental identification is sky.
More specifically, in this fashion, the network equipment is in each configuration message sent according to network management device After the configuration data fragment of middle carrying completes network equipments configuration, configuration response can be sent to network management device and disappeared Breath.Due to configuration message quantity be it is multiple, then it is corresponding, the network equipment send configuration response message be also multiple, wherein It is similar with configuration message, it include fragment marking and configuration data segmental identification in each configuration response message.
Wherein, fragment marking is used to indicate the network equipment and is completed according to a configuration data fragment to network equipments configuration, Or it is used to indicate the network equipment and network equipments configuration is completed according to all configuration datas.In practical applications, can will divide Piece label is set as different numerical value, to complete above-mentioned indicative function.In addition, if fragment marking is to be used to indicate the network equipment According to the third value that a configuration data fragment completes network equipments configuration, at this point, the configuration data segmental identification is for knowing The other configuration data fragment that network equipments configuration is completed, such as: if the first value is 1, configuration data segmental identification is 01, then says The bright network equipment completes network equipments configuration according to configuration data fragment 1, if the first value is 1, configuration data segmental identification is 10, then illustrate that the network equipment completes network equipments configuration according to configuration data fragment 2.If fragment marking is to be used to indicate net The 4th value that network equipment completes network equipments configuration according to all configuration datas, at this point, the configuration data segmental identification is sky. Wherein, third value can be 1, and the 4th value can be 0, alternatively, third value can be 0, the 4th value can be 1 etc., certainly, third Value and the 4th value can also be other representations, and if third value can be true, the 4th value can be false, alternatively, third Value can be false, and the 4th value can be true etc., and for the specific value mode of third value and the 4th value, the application is implemented Example is herein with no restrictions.
In addition, in one possible implementation, fragment marking can be chunked field, when chunked field is When third value, i.e., the fragment marking is used to indicate the network equipment and is completed according to a configuration data fragment to network equipments configuration. When chunked field is four value, i.e., the fragment marking is used to indicate the network equipment and is set according to all configuration datas to network Standby configuration is completed.
As a kind of possible implementation, above-mentioned configuration response message is that RPC responds (rpc-reply) message, the RPC Message-id, chunked field and configuration data segmental identification are carried in response message, one kind of the configuration response message Sample is as follows:
<rpc-reply message-id=" 101 " chunked=true>
<ok>
... the corresponding configuration number that network equipments configuration is completed of configuration data segmental identification, configuration data segmental identification According to fragment 1
</ok>
</rpc>
As alternatively possible implementation, above-mentioned configuration message is RPC response message, is taken in the RPC response message With message-id, chunked field, configuration data segmental identification, a kind of sample of the configuration response message is as follows:
<rpc-reply message-id=" 101 " chunked=true>
<ok>
... the corresponding configuration number that network equipments configuration is completed of configuration data segmental identification, configuration data segmental identification According to fragment N
</ok>
</rpc>
As another possible implementation, above-mentioned configuration message is RPC response message, is taken in the RPC response message Configuration data segmental identification with message-id, chunked field and sky, a kind of sample of the configuration response message are as follows It is shown:
<rpc-reply message-id=" 101 " chunked=true>
</rpc>
For example: network management device successively sends configuration message 1, configuration message 2 and configuration message to the network equipment 3, wherein carry configuration data fragment 1 in configuration message 1, configure and carry configuration data fragment 2 in message 2, configure message Configuration data fragment 3 is carried in 3, the network equipment, will be according to this after the configuration message 1 for receiving network management device transmission The configuration data fragment 1 carried in configuration message 1 configures the network equipment, after the completion of configuration, returns to network management device Configuration response message 1 is returned, the configuration data fragment mark of configuration data fragment 1 for identification is carried in the configuration response message 1 Know;The network equipment will match after the configuration message 2 for receiving network management device transmission according to what is carried in the configuration message 2 It sets data fragmentation 2 to configure the network equipment, after the completion of configuration, configuration response message 2 can be returned to network management device, it should The configuration data segmental identification of configuration data fragment 2 for identification is carried in configuration response message 2;Receiving network management After the configuration message 3 that equipment is sent, the network equipment will be matched according to the configuration data fragment 3 carried in the configuration message 3 It sets, after the completion of configuration, configuration response message 3 can be returned to network management device, is carried in the configuration response message 3 for knowing The configuration data segmental identification of other configuration data fragment 3.
Need to be illustrated, in this mode, the network equipment according to a configuration data fragment to the network equipment After configuration is completed, configuration response message will be sent to network management device, network management device is according to the configuration received Response message carries out subsequent operation in time, such as shows configuration progress to user.Such as: network management device is receiving configuration When response message 1, show that configuration completes 5% to user, when receiving configuration response message 2 and 1 knot of configuration response message It closes, then shows that configuration completes 10% etc. to user.
The configuration method of the network equipment provided by the embodiments of the present application, network management device is by obtaining matching for the network equipment Data are set, which is divided at least two configuration data fragments by network management device, and according at least two configuration numbers Configuration message is generated according to each configuration data fragment in fragment, obtains at least two configuration message, which disappears Breath includes identical message identifier, and message identifier corresponds to aforementioned arrangements data, and network management device is successively sent to the network equipment At least two configuration message, network management device receive at least one configuration response message that the network equipment is sent, this at least one A response message includes configuration result and message identifier, and network management device determines net according at least one configuration response message The configuration status of network equipment.It, can be by the configuration data since network management device is after getting the configuration data of the network equipment It is divided at least two configuration data fragments, and by configuration message corresponding with each configuration data fragment, by configuration data fragment It is sent to the network equipment, the network equipment will match after often receiving a configuration message according to what is carried in the configuration message It sets data fragmentation to configure the network equipment, needs receiving completely in this way, avoiding the network equipment in the prior art The network equipment can be improved so as to shorten the time that the network equipment waits in the phenomenon that being configured again after configuration data Allocative efficiency.In addition, since the network equipment does not need to be configured again after receiving complete configuration data, thus in net It does not need to cache complete configuration data in network equipment, it is possible thereby to reduce the occupied memory of configuration data.
Fig. 2 is another signaling process figure of the configuration method of the application network equipment.As shown in Fig. 2, the present embodiment Method may include:
Step 201, network management device send configuration message to the network equipment, which includes matching for the network equipment Set data and message identifier corresponding with configuration data.
In this step, the process that network management device obtains the configuration data of the network equipment can refer to step 101.
Configuration data is divided at least two configuration data fragments by step 202, the network equipment, and successively according at least two Each configuration data fragment in configuration data fragment configures the network equipment.
In this step, function is sent and received what network management device and the network equipment supported configuration data fragment When, the network equipment needs after receiving the configuration data of the network equipment of network management device transmission by configuration data point At at least two configuration data fragments, in this way, the network equipment will successively set network according to the configuration data fragment after division It is standby to be configured.
Optionally, the mode that configuration data is divided at least two configuration data fragments by the network equipment can be with grid of reference pipe Configuration data is divided into the mode of at least two configuration data fragments by reason equipment.
Step 203, the network equipment are after the completion of according to each configuration data fragment to network equipments configuration, to network management Equipment sends configuration response message.
Wherein, configuration response message includes message identifier, fragment marking, configuration data segmental identification and configuration data point Piece identifies the configuration result of corresponding configuration data fragment.
In this step, the network equipment is successively according to each configuration data fragment at least two configuration data fragments After completing to network equipments configuration, configuration response message can be sent to network management device.Wherein, in each configuration response It include message identifier, fragment marking, configuration data segmental identification in message and configuration data segmental identification is corresponding matches Set the configuration result of data fragmentation.
Wherein, the message identifier that carries is identical in message identifier and configuration message, for indicating the configuration response message It is corresponding with which configuration data.
Optionally, it is complete to network equipments configuration according to a configuration data fragment to be used to indicate the network equipment for fragment marking At, or be used to indicate the network equipment and network equipments configuration is completed according to all configuration datas.In practical applications, it can incite somebody to action Fragment marking is set as different numerical value, to complete above-mentioned indicative function.In addition, if fragment marking is to be used to indicate network to set The standby value that network equipments configuration is completed according to a configuration data fragment, at this point, the configuration data segmental identification is for identification To the configuration data fragment that network equipments configuration is completed, such as: if the value is 1, configuration data segmental identification is 01, then illustrates net Network equipment completes network equipments configuration according to configuration data fragment 1, if the value is 1, configuration data segmental identification is 10, then says The bright network equipment is according to configuration data fragment 2 to network equipments configuration completion etc..If fragment marking is to be used to indicate the network equipment According to the value that all configuration datas complete network equipments configuration, at this point, the configuration data segmental identification is sky.Wherein, it is used for The instruction network equipment can be 1 according to the value that a configuration data fragment completes network equipments configuration, be used to indicate network and set The standby value completed according to all configuration datas to network equipments configuration can be 0, alternatively, being used to indicate the network equipment according to one The value that configuration data fragment completes network equipments configuration can be 0, be used to indicate the network equipment according to all configuration datas pair The value that network equipments configuration is completed can be 1 etc., and certainly, above-mentioned value can also be other representations, such as be used to indicate network The value that equipment completes network equipments configuration according to a configuration data fragment can be true, be used to indicate the network equipment according to The value that all configuration datas complete network equipments configuration can be false, be matched alternatively, being used to indicate the network equipment according to one Setting the value that data fragmentation completes network equipments configuration can be false, be used to indicate the network equipment according to all configuration datas The value completed to network equipments configuration can be true etc., and for the specific value mode of above-mentioned value, the embodiment of the present application is herein With no restrictions.
In addition, in one possible implementation, fragment marking can carry the chunked field with RPC message.
As a kind of possible implementation, above-mentioned configuration response message is that RPC responds (rpc-reply) message, the RPC Message-id, chunked field, configuration data segmental identification and configuration result are carried in response message, which rings Answer a kind of sample of message as follows:
<rpc-reply message-id=" 101 " chunked=true>
<ok>
... the corresponding configuration number that network equipments configuration is completed of configuration data segmental identification, configuration data segmental identification According to fragment 1
</ok>
</rpc>
As alternatively possible implementation, above-mentioned configuration message is RPC response message, is taken in the RPC response message With message-id, chunked field, configuration data segmental identification, a kind of sample of the configuration response message is as follows:
<rpc-reply message-id=" 101 " chunked=true>
<ok>
... the corresponding configuration number that network equipments configuration is completed of configuration data segmental identification, configuration data segmental identification According to fragment N
</ok>
</rpc>
As another possible implementation, above-mentioned configuration message is RPC response message, is taken in the RPC response message Configuration data segmental identification with message-id, chunked field and sky, a kind of sample of the configuration response message are as follows It is shown:
<rpc-reply message-id=" 101 " chunked=true>
</rpc>
For example: network management device sends configuration message to the network equipment, wherein carries and matches in the configuration message Data are set, the network equipment can carry out fragment processing to configuration data, configuration data is divided into configuration data fragment 1, configuration data Fragment 2 and configuration data fragment 3, the network equipment, can be to networks after the completion of according to configuration data fragment 1 to network equipments configuration Management equipment returns to configuration response message 1, carries message identifier corresponding with configuration data, use in the configuration response message 1 The network equipment is configured in the configuration data segmental identification of identification configuration data fragment 1 and according to configuration data fragment 1 Configuration result afterwards;The network equipment, can be to network management device after the completion of according to configuration data fragment 2 to network equipments configuration Configuration response message 2 is returned, message identifier corresponding with configuration data is carried in the configuration response message 2, matches for identification It sets the configuration data segmental identification of data fragmentation 2 and the network equipment is carried out with the configuration postponed according to configuration data fragment 2 As a result;The network equipment can be returned to network management device and be configured after the completion of according to configuration data fragment 3 to network equipments configuration Response message 3 carries message identifier corresponding with configuration data, for identification configuration data point in the configuration response message 3 The configuration data segmental identification of piece 3 and the network equipment is carried out with the configuration result that postpones according to configuration data fragment 3.
Each of at least two configuration response message that step 204, network management device are sent according to the network equipment are matched Set the configuration status that response message determines the network equipment.
In this step, network management device, will be according to this after the configuration response message for receiving network equipment transmission The configuration result carried in configuration response message determines the configuration knot of the corresponding configuration data fragment of configuration data segmental identification Fruit, such as configuration progress, whether the content of configuration successful or configuration.
Optionally, network management device is at least one the configuration response message for receiving network equipment transmission, and determines Out after the configuration status of the network equipment, configuration status can also be exported to user;And/or log is carried out according to configuration status Record.
Specifically, network management device can export configuration status to user by display screen or other output equipments, Such as can in display screen to user show the network equipment configuration progress, whether the content shape of configuration successful or configuration State can also export configuration status to user by equipment such as indicator lights.In addition, network management device can also be according to configuration shape State carries out the record of log, and after such as configuring to router, the record of list item will be carried out according to configuration status.It needs to carry out Illustrate, network management device can also export configuration status to user, and the record of log is carried out according to configuration status.
Need to be illustrated, in this step, the network equipment according to a configuration data fragment to the network equipment After configuration is completed, configuration response message will be sent to network management device, network management device is according to the configuration received Response message carries out subsequent operation in time, such as shows configuration progress to user.Such as: network management device is receiving configuration When response message 1, show that configuration completes 5% to user, when receiving configuration response message 2 and 1 knot of configuration response message It closes, then shows that configuration completes 10% etc. to user.
The configuration method of the network equipment provided by the embodiments of the present application, network management device send configuration to the network equipment and disappear Breath, which includes that the configuration data of the network equipment and message identifier corresponding with configuration data, the network equipment will connect The configuration data received is divided at least two configuration data fragments, and successively according to each of at least two configuration data fragments Configuration data fragment configures the network equipment, and the network equipment is according to the configuration data fragment carried in each configuration message After the completion of network equipments configuration, configuration response message is sent to network management device, which includes message mark Knowledge, fragment marking, configuration data segmental identification and the corresponding configuration data fragment of configuration data segmental identification configuration result, Network management device determines the configuration shape of the network equipment according to each configuration response message at least two configuration response message State.Since the network equipment is after receiving the configuration data of the network equipment, which can be divided at least two configuration numbers According to fragment, the network equipment is configured according to each configuration data fragment, according to each configuration data fragment to the network equipment After configuration is completed, all configuration response message can be sent to network management device, to return to configuration progress or configuration result, from And network management device is timely responded to, and can determine the configuration status of the network equipment in time, so as to improve The allocative efficiency of the network equipment.
In order to realize Fig. 1 and method shown in Fig. 2, the application also provides a kind of configuration device 30 of network equipment, please join As shown in Figure 3, the configuration device 30 of the network equipment may include:
Acquiring unit 301, for obtaining the configuration data of the network equipment;
Processing unit 302, for the configuration data to be divided at least two configuration data fragments;According to described at least two Each configuration data fragment in a configuration data fragment generates configuration message, obtains at least two configuration message, it is described at least Two configuration message include identical message identifier, and the message identifier corresponds to the configuration data;
Transmission unit 303, for successively sending at least two configurations message to the network equipment;
Receiving unit 304, at least one the configuration response message sent for receiving the network equipment, described at least one A response message includes configuration result and the message identifier;
The processing unit 302 is also used to determine the network equipment according at least one described configuration response message Configuration status.
Optionally, each configuration message in at least two configurations message further includes fragment marking and configuration data point Piece mark;
It is to be used to indicate the configuration data point that the configuration message includes the configuration data in the fragment marking In the case where first value of piece, configuration data segmental identification configuration data fragment for identification;
It is described in the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely Configuration data segmental identification is sky.
Optionally, the receiving unit 304, is specifically used for:
The network equipment is received according to all configuration data fragments pair carried in at least two configurations message The configuration response message sent after the completion of the network equipments configuration;
The processing unit 302, is specifically used for:
The configuration response message determines the configuration status of the network equipment based on the received.
Optionally, when at least one described configuration response message includes multiple configuration response message, the multiple configuration Each configuration response message in response message further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the network equipment to set the network according to a configuration data fragment in the fragment marking In the case where the third value that standby configuration is completed, the configuration data segmental identification for identification matches network equipments configuration completion Set data fragmentation;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the 4th value that standby configuration is completed, the configuration data segmental identification is sky.
Optionally, the receiving unit 304, is specifically used for:
The network equipment is successively received to set the network in the configuration data fragment carried according to each configuration message It is standby configure after the configuration response message that sends;
The processing unit 302, is specifically used for:
After often receiving a configuration response message, the configuration response message determines the network equipment based on the received Configuration status.
Optionally, the processing unit 302, is also used to:
The configuration status is exported to user;
And/or
The record of log is carried out according to the configuration status.
In order to realize Fig. 1 and method shown in Fig. 2, the application also provides the configuration device 40 of another network equipment, asks Shown in Figure 4, the configuration device 40 of the network equipment may include:
Transmission unit 401, for sending configuration message to the network equipment, the configuration message includes the network equipment Configuration data and message identifier corresponding with the configuration data;
Receiving unit 402, at least two configuration response message sent for successively receiving the network equipment, it is described extremely Each configuration response message in few two configuration response message includes the message identifier, fragment marking, configuration data fragment The configuration result of mark and the corresponding configuration data fragment of the configuration data segmental identification;
Processing unit 403, for being determined according to each configuration response message in at least two configuration responses message The configuration status of the network equipment.
It optionally, is to be used to indicate the network equipment according to a configuration data fragment to described in the fragment marking In the case where the value that network equipments configuration is completed, the configuration data segmental identification configures the configuration data point of completion for identification Piece;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the value that standby configuration is completed, the configuration data segmental identification is sky.
Optionally, the processing unit 403, is specifically used for:
After the network management device often receives a configuration response message, all configuration response message based on the received Determine the configuration status of the network equipment.
The configuration device of the network equipment shown in the embodiment of the present application can execute net described in any of the above-described embodiment The technical solution of the configuration method of network equipment, realization principle and beneficial effect are similar, are no longer repeated herein.
In order to realize Fig. 1 and method shown in Fig. 2, the application also provides a kind of configuration device 50 of network equipment, please join As shown in Figure 5, the configuration device 50 of the network equipment may include:
Receiving unit 501, for successively receiving network managing equipment send at least two configuration message, described at least two A configuration message is that the configuration data for the network equipment that the network management device will acquire is divided at least two configurations After data fragmentation, generated according to each configuration data fragment in at least two configuration datas fragment, described at least two A configuration message includes identical message identifier, and the message identifier corresponds to the configuration data;
Processing unit 502, for after often receiving the configuration message, according to the configuration message received In configuration data fragment, the network equipment is configured;
Transmission unit 503, for sending at least one configuration response message to the network management device, described at least one A response message includes configuration result and the message identifier, at least one described response message is used for the network management Equipment notifies the configuration status of the network equipment.
Optionally, each configuration message in at least two configurations message further includes fragment marking and configuration data point Piece mark;
It is to be used to indicate the configuration data point that the configuration message includes the configuration data in the fragment marking In the case where first value of piece, configuration data segmental identification configuration data fragment for identification;
It is described in the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely Configuration data segmental identification is sky.
Optionally, the transmission unit 503, is specifically used for:
All configuration data fragments carried in message are being configured according to described at least two, to the network equipments configuration After the completion, Xiang Suoshu network management device sends configuration response message.
Optionally, when at least one described configuration response message includes multiple configuration response message, the multiple configuration Each configuration response message in response message further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the network equipment to set the network according to a configuration data fragment in the fragment marking In the case where the third value that standby configuration is completed, the configuration data segmental identification for identification matches network equipments configuration completion Set data fragmentation;
It is to be used to indicate the network equipment to set the network according to all configuration data fragments in the fragment marking In the case where the 4th value that standby configuration is completed, the configuration data segmental identification is sky.
Optionally, the transmission unit 503, is specifically used for:
According to the configuration data fragment that carries in each configuration message, after the completion of the network equipments configuration, to institute It states network management device and sends configuration response message.
In order to realize Fig. 1 and method shown in Fig. 2, the application also provides the configuration device 60 of another network equipment, asks Shown in Figure 6, the configuration device 60 of the network equipment may include:
Receiving unit 601, for the configuration message that receiving network managing equipment is sent, the configuration message includes the net The configuration data of network equipment and message identifier corresponding with the configuration data;
Processing unit 602, for the configuration data to be divided at least two configuration data fragments, and successively according to Each configuration data fragment at least two configuration data fragments configures the network equipment;
Transmission unit 603 is used for Xiang Suoshu network after the completion of according to each configuration data fragment to network equipments configuration Management equipment sends configuration response message;The configuration response message includes the message identifier, fragment marking, configuration data point The configuration result of piece mark and the corresponding configuration data fragment of the configuration data segmental identification;The configuration response message is used In the configuration status for notifying the network equipment to the network management device.
It optionally, is to be used to indicate the network equipment according to a configuration data fragment to described in the fragment marking In the case where the value that network equipments configuration is completed, the configuration data segmental identification configuration number that the configuration is completed for identification According to fragment;
It is to be used to indicate the network equipment to match the network equipment according to all configuration datas in the fragment marking In the case where the value for setting completion, the configuration data segmental identification is sky.
It should be noted that it should be understood that the division of each unit of Fig. 3-Fig. 6 shown device is only a kind of logic function Division, can completely or partially be integrated on a physical entity in actual implementation, can also be physically separate.And these lists Member can be realized all by way of processing element calls with software;It can also all realize in the form of hardware;It can be with Unit realizes that unit passes through formal implementation of hardware by way of software is called by processing element.For example, hair Sending unit can be the processing element individually set up, and also can integrate and realize in some chip of the device, in addition, can also To be stored in the memory of the device in the form of program, is called by some processing element of the device and execute the transmission The function of unit.The realization of other units is similar therewith.Furthermore these units completely or partially can integrate together, can also be with It is independent to realize.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.In the process of realization In, each step or above each unit of the above method can by the integrated logic circuit of the hardware in processor elements or The instruction of software form is completed.In addition, the above transmission unit is a kind of unit that control is sent, the transmission of the device can be passed through Device, such as antenna and radio-frequency unit send information.
The above unit can be arranged to implement one or more integrated circuits of above method, such as: one Or multiple specific integrated circuits (application-specific integrated circuit, ASIC), or, one or more A digital signal processor (digital signal processor, DSP), or, one or more field-programmable gate array Arrange (field-programmable gate array, FPGA) etc..For another example, when some above unit is dispatched by processing element When the form of program is realized, which can be general processor, such as central processing unit (central Processing unit, CPU) or it is other can be with the processor of caller.For another example, these units can integrate together, with The form of system on chip (system-on-a-chip, SOC) is realized.
Fig. 7 is a kind of hardware structural diagram of the configuration device of the network equipment provided by the embodiments of the present application.Such as Fig. 7 institute Show, the configuration device 70 of the network equipment includes at least one processor 71, communication bus 72, memory 73 and at least one Communication interface 74.
Processor 71 can be a universal cpu, microprocessor, ASIC, or one or more for controlling the application side The integrated circuit that case program executes.
Communication bus 72 may include an access, and information is transmitted between said modules.
Communication interface 74 is used for and other equipment or communication, such as Ethernet, wireless access network (radio Access network, RAN), WLAN (wireless local area networks, WLAN) etc..
Memory 73 can be read-only memory (read-only memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (electrically Erasable programmable read-only memory, EEPROM), CD-ROM (compact disc read- Only memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, memory 73 is used to store the application code for executing application scheme, and is controlled by processor 71 It executes.Processor 71 is for executing the application code stored in memory 73, to realize that the above embodiments of the present application mention The configuration method of the network equipment of confession.
Alternatively, it is optional, in the embodiment of the present application, it is also possible to processor 71 and executes what the above embodiments of the present application provided The relevant function of processing in the configuration method of the network equipment, communication interface 74 is responsible for and other equipment or communication, The embodiment of the present application is not especially limited this.
In the concrete realization, as one embodiment, processor 71 may include one or more CPU.
In the concrete realization, as one embodiment, the configuration device 70 of the network equipment may include multiple processors.This Each of a little processors can be monokaryon (single-CPU) processor, be also possible to a multicore (multi- CPU) processor.Here processor can refer to one or more equipment, circuit, and/or for handling data (such as computer Program instruction) processing core.
In the concrete realization, as one embodiment, the configuration device 70 of the network equipment can also include output equipment and Input equipment.Output equipment and processor 71 communicate, and can show information in many ways.For example, output equipment can be Liquid crystal display (liquid crystal display, LCD), Light-Emitting Diode (light emitting diode, LED) are aobvious Show equipment, cathode-ray tube (cathode ray tube, CRT) shows equipment or projector (projector) etc..Input is set Standby and processor 71 communicates, and can receive the input of user in many ways.For example, input equipment can be mouse, keyboard, touching Touch screen equipment or sensing equipment etc..
In addition, as described above, the configuration device 70 of the network equipment provided by the embodiments of the present application can be chip or net Network management equipment perhaps the network equipment or has the equipment of similar structures in Fig. 7.The embodiment of the present application does not limit the network equipment Configuration device 70 type.
In the present embodiment, the configuration device 70 of the network equipment is presented in the form of dividing each functional module.This In " module " can refer to ASIC, circuit executes the processor and memory of one or more softwares or firmware program, integrated to patrol The device of above-mentioned function can be provided by collecting circuit and/or other.In a simple embodiment, those skilled in the art It is contemplated that the configuration device 70 of the network equipment can use form shown in Fig. 7.For example, processing unit, hair in Fig. 3-Fig. 6 Send the function of unit and receiving unit/realization process that can realize by the processor 71 and memory 73 of Fig. 7.Specifically, Processing unit can be executed by calling the application code stored in memory 73 by processor 71, and the application is implemented Example is not intended to be limited in any this.Alternatively, optional, function/realization process of the processing unit in Fig. 3-Fig. 6 can pass through Fig. 7 Processor 71 realize;Transmission unit in Fig. 3-Fig. 6 can realize that the application is implemented by the communication interface 74 of Fig. 7 Example is not intended to be limited in any this.
It should be noted that the configuration device for the network equipment that embodiment illustrated in fig. 7 provides is specifically as follows Fig. 2 or Fig. 3 Network management device in illustrated embodiment can execute Fig. 2 or figure when the program that processor 71 calls memory 73 to store The method for the network management device side that 3 illustrated embodiments provide.
It should be noted that the configuration device for the network equipment that embodiment illustrated in fig. 7 provides is specifically as follows Fig. 2 or Fig. 3 The network equipment in illustrated embodiment can execute Fig. 2 or Fig. 3 institute when the program that processor 71 calls memory 73 to store Show the method for the network equipment side that embodiment provides.
Optionally, the embodiment of the present application provides a kind of configuration system of network equipment, which may include shown in Fig. 7 The network equipment configuration device.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When being realized using software program, can entirely or partly realize in the form of a computer program product.The computer Program product includes one or more computer instructions.On computers load and execute computer program instructions when, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center Word user line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another A web-site, computer, server or data center are transmitted.The computer readable storage medium can be computer Any usable medium that can be accessed either includes the numbers such as one or more server, data centers that medium can be used to integrate According to storage equipment.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD), Or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
The application also provides a kind of readable storage medium storing program for executing, and instruction is stored in readable storage medium storing program for executing, works as network management device At least one processor when executing the instruction, network management device executes the network provided in any of the above-described embodiment of the method and sets Standby configuration method.
The application also provides a kind of readable storage medium storing program for executing, and instruction is stored in readable storage medium storing program for executing, when the network equipment extremely When a few processor executes the instruction, the network equipment executes the configuration of the network equipment provided in any of the above-described embodiment of the method Method.
The application also provides a kind of program product, which includes instruction, which is stored in readable storage medium storing program for executing In.At least one processor of network management device can read the instruction from readable storage medium storing program for executing, and execute the instruction so that Network management device implements the configuration method of the network equipment provided in either method embodiment.
The application also provides a kind of program product, which includes instruction, which is stored in readable storage medium storing program for executing In.At least one processor of the network equipment can read the instruction from readable storage medium storing program for executing, and execute the instruction so that network Equipment implements the configuration method of the network equipment provided in any of the above-described embodiment of the method.
In network management device or the network equipment in the specific implementation, it should be understood that processor can be central processing list First CPU can also be other general processors, DSP, ASIC etc..General processor can be microprocessor or the processor It is also possible to any conventional processor etc..Hardware handles can be embodied directly in conjunction with the step of method disclosed in the present application Device executes completion, or in processor hardware and software module combination execute completion.
The above, only presently filed embodiment, those skilled in the art can according to above each embodiment The various modifications and equivalent replacement expected, should be included in scope of the present application.

Claims (30)

1. a kind of configuration method of the network equipment characterized by comprising
The configuration data of the network management device acquisition network equipment;
The configuration data is divided at least two configuration data fragments by the network management device;
The network management device generates configuration according to each configuration data fragment in at least two configuration datas fragment Message obtains at least two configuration message, and at least two configurations message includes identical message identifier, the message identifier The corresponding configuration data;
The network management device successively sends at least two configurations message to the network equipment;
The network management device receives at least one configuration response message that the network equipment is sent, at least one described sound Answering message includes configuration result and the message identifier;
The network management device determines the configuration status of the network equipment according at least one described configuration response message.
2. the method according to claim 1, wherein each configuration message in at least two configurations message It further include fragment marking and configuration data segmental identification;
It is to be used to indicate the configuration data fragment that the configuration message includes the configuration data in the fragment marking In the case where first value, configuration data segmental identification configuration data fragment for identification;
In the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely, the configuration Data fragmentation is identified as sky.
3. method according to claim 1 or 2, it is characterised in that:
The network management device receives at least one configuration response message that the network equipment is sent
The network management device receives the network equipment and all matches according to what is carried in at least two configurations message Data fragmentation is set to the configuration response message sent after the completion of the network equipments configuration;
The network management device determines the configuration status packet of the network equipment according at least one described configuration response message It includes:
The configuration response message determines the configuration status of the network equipment to the network management device based on the received.
4. according to the method described in claim 2, it is characterized in that, when at least one described configuration response message includes multiple match When setting response message, each configuration response message in the multiple configuration response message further includes fragment marking and configuration data Segmental identification;
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the third value for setting completion, the configuration data segmental identification for identification matches the network equipments configuration completion Set data fragmentation;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the 4th value for setting completion, the configuration data segmental identification is sky.
5. according to the method described in claim 4, it is characterized by:
The network management device receives at least one configuration response message that the network equipment is sent
The network management device successively receives the network equipment in the configuration data fragment carried according to each configuration message The configuration response message sent after complete to the network equipments configuration;
The network management device determines the configuration status packet of the network equipment according at least one described configuration response message It includes:
After the network management device often receives a configuration response message, the configuration response message is determined based on the received The configuration status of the network equipment.
6. a kind of configuration method of the network equipment characterized by comprising
Network management device sends configuration message to the network equipment, and the configuration message includes the configuration data of the network equipment And message identifier corresponding with the configuration data;
The network management device successively receives at least two configuration response message that the network equipment is sent, and described at least two Each configuration response message in a configuration response message includes the message identifier, fragment marking, configuration data segmental identification And the configuration result of the corresponding configuration data fragment of the configuration data segmental identification;
The network management device is according to each configuration response message determination in at least two configuration responses message The configuration status of the network equipment.
7. according to the method described in claim 6, it is characterized in that,
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the value for setting completion, the configuration data segmental identification configures the configuration data fragment of completion for identification;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the value for setting completion, the configuration data segmental identification is sky.
8. method according to claim 6 or 7, which is characterized in that
The network management device is determined according at least one configuration response message in at least two configuration responses message The configuration status of the network equipment includes:
After the network management device often receives a configuration response message, the configuration response message is determined based on the received The configuration status of the network equipment.
9. a kind of configuration method of the network equipment characterized by comprising
The network equipment at least two configuration message that successively receiving network managing equipment is sent, at least two configurations message are After the configuration data for the network equipment that the network management device will acquire is divided at least two configuration data fragments, root It is generated according to each configuration data fragment in at least two configuration datas fragment, at least two configurations message includes Identical message identifier, the message identifier correspond to the configuration data;
The network equipment is after often receiving the configuration message, according to the configuration in the configuration message received Data fragmentation configures the network equipment;
The network equipment sends at least one configuration response message to the network management device, at least one described response disappears Breath includes configuration result and the message identifier, at least one described response message is used to notify to the network management device The configuration status of the network equipment.
10. according to the method described in claim 9, it is characterized in that, each configuration in at least two configurations message disappears Breath further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the configuration data fragment that the configuration message includes the configuration data in the fragment marking In the case where first value, configuration data segmental identification configuration data fragment for identification;
In the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely, the configuration Data fragmentation is identified as sky.
11. method according to claim 9 or 10, which is characterized in that the network equipment is to the network management device Send at least one configuration response message, comprising:
The network equipment is configuring all configuration data fragments carried in message according to described at least two, to the network After the completion of device configuration, Xiang Suoshu network management device sends configuration response message.
12. method according to claim 9 or 10, which is characterized in that when at least one described configuration response message includes When multiple configuration response message, each configuration response message in the multiple configuration response message further includes fragment marking and matches Set data fragmentation mark;
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the third value for setting completion, the configuration data segmental identification is for identification to the configuration number of network equipments configuration completion According to fragment;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the 4th value for setting completion, the configuration data segmental identification is sky.
13. according to the method for claim 12, which is characterized in that the network equipment is sent to the network management device At least one configuration response message, comprising:
The network equipment completes the network equipments configuration according to the configuration data fragment carried in each configuration message Afterwards, Xiang Suoshu network management device sends configuration response message.
14. a kind of configuration method of the network equipment characterized by comprising
The configuration message that network equipment receiving network managing equipment is sent, the configuration message include the configuration of the network equipment Data and message identifier corresponding with the configuration data;
The configuration data is divided at least two configuration data fragments by the network equipment, and successively according to described at least two Each configuration data fragment in configuration data fragment configures the network equipment;
The network equipment is after the completion of according to each configuration data fragment to network equipments configuration, Xiang Suoshu network management device Send configuration response message;The configuration response message include the message identifier, fragment marking, configuration data segmental identification with And the configuration result of the corresponding configuration data fragment of the configuration data segmental identification;The configuration response message is used for described Network management device notifies the configuration status of the network equipment.
15. according to the method for claim 14, which is characterized in that set in the fragment marking to be used to indicate the network In the case where the standby value completed according to a configuration data fragment to the network equipments configuration, the configuration data segmental identification The configuration data fragment that the configuration is completed for identification;
It is complete to the network equipments configuration according to all configuration datas to be used to indicate the network equipment in the fragment marking At value in the case where, the configuration data segmental identification be sky.
16. a kind of configuration device of the network equipment characterized by comprising
Acquiring unit, for obtaining the configuration data of the network equipment;
Processing unit, for the configuration data to be divided at least two configuration data fragments;According at least two configuration Each configuration data fragment in data fragmentation generates configuration message, obtains at least two configuration message, described at least two match Setting message includes identical message identifier, and the message identifier corresponds to the configuration data;
Transmission unit, for successively sending at least two configurations message to the network equipment;
Receiving unit, at least one the configuration response message sent for receiving the network equipment, at least one described response Message includes configuration result and the message identifier;
The processing unit is also used to determine the configuration shape of the network equipment according at least one described configuration response message State.
17. device according to claim 16, which is characterized in that each configuration in at least two configurations message disappears Breath further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the configuration data fragment that the configuration message includes the configuration data in the fragment marking In the case where first value, configuration data segmental identification configuration data fragment for identification;
In the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely, the configuration Data fragmentation is identified as sky.
18. device according to claim 16 or 17, it is characterised in that: the receiving unit is specifically used for:
It receives the network equipment and is configuring all configuration data fragments carried in message to described according to described at least two The configuration response message sent after the completion of network equipments configuration;
The processing unit, is specifically used for:
The configuration response message determines the configuration status of the network equipment based on the received.
19. device according to claim 17, which is characterized in that when at least one described configuration response message includes multiple When configuration response message, each configuration response message in the multiple configuration response message further includes fragment marking and configuration number According to segmental identification;
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the third value for setting completion, the configuration data segmental identification is for identification to the configuration number of network equipments configuration completion According to fragment;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the 4th value for setting completion, the configuration data segmental identification is sky.
20. device according to claim 19, it is characterised in that:
The receiving unit, is specifically used for:
The network equipment is successively received to match the network equipment in the configuration data fragment carried according to each configuration message The configuration response message sent after having set;
The processing unit, is specifically used for:
After often receiving a configuration response message, the configuration response message determines matching for the network equipment based on the received Set state.
21. a kind of configuration device of the network equipment characterized by comprising
Transmission unit, for sending configuration message to the network equipment, the configuration message includes the configuration number of the network equipment Accordingly and message identifier corresponding with the configuration data;
Receiving unit, at least two configuration response message sent for successively receiving the network equipment, described at least two Each configuration response message in configuration response message include the message identifier, fragment marking, configuration data segmental identification with And the configuration result of the corresponding configuration data fragment of the configuration data segmental identification;
Processing unit, for determining the network according to each configuration response message in at least two configuration responses message The configuration status of equipment.
22. device according to claim 21, which is characterized in that
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the value for setting completion, the configuration data segmental identification configures the configuration data fragment of completion for identification;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the value for setting completion, the configuration data segmental identification is sky.
23. the device according to claim 21 or 22, which is characterized in that the processing unit is specifically used for:
After the network management device often receives a configuration response message, all configuration response message are determined based on the received The configuration status of the network equipment.
24. a kind of configuration device of the network equipment characterized by comprising
Receiving unit, for at least two configuration message that successively receiving network managing equipment is sent, at least two configuration Message is that the configuration data for the network equipment that the network management device will acquire is divided at least two configuration datas point It after piece, is generated according to each configuration data fragment in at least two configuration datas fragment, at least two configuration Message includes identical message identifier, and the message identifier corresponds to the configuration data;
Processing unit, for after often receiving the configuration message, according to matching in the configuration message received Data fragmentation is set, the network equipment is configured;
Transmission unit, for sending at least one configuration response message, at least one described response to the network management device Message includes configuration result and the message identifier, at least one described response message is used for logical to the network management device Know the configuration status of the network equipment.
25. device according to claim 24, which is characterized in that each configuration in at least two configurations message disappears Breath further includes fragment marking and configuration data segmental identification;
It is to be used to indicate the configuration data fragment that the configuration message includes the configuration data in the fragment marking In the case where first value, configuration data segmental identification configuration data fragment for identification;
In the case where the fragment marking is to be used to indicate second value that the configuration data has been sent completely, the configuration Data fragmentation is identified as sky.
26. the device according to claim 24 or 25, which is characterized in that the transmission unit is specifically used for:
According to all configuration data fragments carried in at least two configurations message, the network equipments configuration is completed Afterwards, Xiang Suoshu network management device sends configuration response message.
27. the device according to claim 24 or 25, which is characterized in that when at least one described configuration response message includes When multiple configuration response message, each configuration response message in the multiple configuration response message further includes fragment marking and matches Set data fragmentation mark;
It is to be used to indicate the network equipment to match the network equipment according to a configuration data fragment in the fragment marking In the case where the third value for setting completion, the configuration data segmental identification is for identification to the configuration number of network equipments configuration completion According to fragment;
It is to be used to indicate the network equipment to match the network equipment according to all configuration data fragments in the fragment marking In the case where the 4th value for setting completion, the configuration data segmental identification is sky.
28. device according to claim 27, which is characterized in that the transmission unit is specifically used for:
According to the configuration data fragment that carries in each configuration message, after the completion of the network equipments configuration, to the net Network management equipment sends configuration response message.
29. a kind of configuration device of the network equipment characterized by comprising
Receiving unit, for the configuration message that receiving network managing equipment is sent, the configuration message includes the network equipment Configuration data and message identifier corresponding with the configuration data;
Processing unit, for the configuration data to be divided at least two configuration data fragments, and successively according to described at least two Each configuration data fragment in a configuration data fragment configures the network equipment;
Transmission unit, for after the completion of according to each configuration data fragment to network equipments configuration, Xiang Suoshu network management to be set Response message is set in preparation delivery;The configuration response message includes the message identifier, fragment marking, configuration data segmental identification And the configuration result of the corresponding configuration data fragment of the configuration data segmental identification;The configuration response message is used for institute State the configuration status that network management device notifies the network equipment.
30. device according to claim 29, which is characterized in that set in the fragment marking to be used to indicate the network In the case where the standby value completed according to a configuration data fragment to the network equipments configuration, the configuration data segmental identification The configuration data fragment that the configuration is completed for identification;
It is complete to the network equipments configuration according to all configuration datas to be used to indicate the network equipment in the fragment marking At value in the case where, the configuration data segmental identification be sky.
CN201810205877.2A 2018-03-13 2018-03-13 Configuration method and device of network equipment Active CN110278093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810205877.2A CN110278093B (en) 2018-03-13 2018-03-13 Configuration method and device of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810205877.2A CN110278093B (en) 2018-03-13 2018-03-13 Configuration method and device of network equipment

Publications (2)

Publication Number Publication Date
CN110278093A true CN110278093A (en) 2019-09-24
CN110278093B CN110278093B (en) 2021-12-28

Family

ID=67958616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810205877.2A Active CN110278093B (en) 2018-03-13 2018-03-13 Configuration method and device of network equipment

Country Status (1)

Country Link
CN (1) CN110278093B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064658A (en) * 2019-12-31 2021-07-02 北京华为数字技术有限公司 Method, device and equipment for copying configuration data and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441674A (en) * 2008-12-15 2009-05-27 浙江大学 Chip allocation method of dynamic reconfigurable system based on FPGA
EP2489157A1 (en) * 2009-10-15 2012-08-22 Telefonaktiebolaget LM Ericsson (publ) Network connection segment monitoring
CN103532758A (en) * 2013-10-18 2014-01-22 烽火通信科技股份有限公司 Configuration processing method suitable for next-generation transmission equipment and data equipment integration
CN105790999A (en) * 2014-12-26 2016-07-20 华为技术有限公司 Equipment configuration method and device
CN107222321A (en) * 2016-03-21 2017-09-29 华为技术有限公司 A kind of configuration message sending method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441674A (en) * 2008-12-15 2009-05-27 浙江大学 Chip allocation method of dynamic reconfigurable system based on FPGA
EP2489157A1 (en) * 2009-10-15 2012-08-22 Telefonaktiebolaget LM Ericsson (publ) Network connection segment monitoring
CN103532758A (en) * 2013-10-18 2014-01-22 烽火通信科技股份有限公司 Configuration processing method suitable for next-generation transmission equipment and data equipment integration
CN105790999A (en) * 2014-12-26 2016-07-20 华为技术有限公司 Equipment configuration method and device
CN107222321A (en) * 2016-03-21 2017-09-29 华为技术有限公司 A kind of configuration message sending method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064658A (en) * 2019-12-31 2021-07-02 北京华为数字技术有限公司 Method, device and equipment for copying configuration data and computer readable storage medium
CN113064658B (en) * 2019-12-31 2023-09-08 北京华为数字技术有限公司 Copying method, copying device, copying equipment and computer readable storage medium for configuration data

Also Published As

Publication number Publication date
CN110278093B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
US11528235B2 (en) Internet of things resource subscription method, device, and system
CN110247784B (en) Method and device for determining network topology structure
WO2019133763A1 (en) System and method of application discovery
CN108365967B (en) Method, system, terminal and computer readable storage medium for dynamically configuring communication parameters
CN109587281A (en) Container configuration method and calculate node
CN108712286A (en) The determination method, apparatus and storage medium of network topology structure
WO2021238248A1 (en) Network traffic classification processing method and apparatus, device, and medium
CN105337750B (en) Fibre channel sans configuration method and device
CN109831334B (en) Network topology construction method and device and terminal equipment
CN104869155B (en) Data Audit method and device
CN108924274A (en) domain name system DNS processing method, device, storage medium and electronic equipment
CN105430114B (en) A kind of IP address conflict detection method, system and access layer equipment
CN107181821A (en) A kind of information push method and device based on SSE specifications
CN111416723A (en) Equipment management method and related equipment
CN114338594A (en) ARP (Address resolution protocol) response-substituting method, device, equipment and storage medium in Kubernetes environment
CN109981745A (en) A kind of journal file processing method and server
CN110278093A (en) The configuration method and device of the network equipment
CN108881060A (en) A kind of method and device handling communication message
CN109933411B (en) System and method for modifying internal configuration of virtual machine on line
CN107729421A (en) The execution method, apparatus and storage medium of storing process
CN108696427A (en) A kind of data transmission method and device
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
TWI767427B (en) Monitoring server and equipment resource monitoring method
CN106533891A (en) Information processing method based on groups and device
CN109725931A (en) A kind of jenkins construction method and device

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