CN106878426A - A kind of configuration distributing method and device - Google Patents

A kind of configuration distributing method and device Download PDF

Info

Publication number
CN106878426A
CN106878426A CN201710097643.6A CN201710097643A CN106878426A CN 106878426 A CN106878426 A CN 106878426A CN 201710097643 A CN201710097643 A CN 201710097643A CN 106878426 A CN106878426 A CN 106878426A
Authority
CN
China
Prior art keywords
configuration
managed
equipment
file
allocated segments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710097643.6A
Other languages
Chinese (zh)
Inventor
史计达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710097643.6A priority Critical patent/CN106878426A/en
Publication of CN106878426A publication Critical patent/CN106878426A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of configuration distributing method and device, and methods described includes:Receive and preserve the allocated segments file that the management platform sends;When the configuration-direct that the management platform sends is received, corresponding configuration treatment is performed according to the configuration-direct and the local allocated segments file for preserving.Configuration distributing efficiency can be improved using the embodiment of the present invention.

Description

A kind of configuration distributing method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of configuration distributing method and device.
Background technology
With the high speed development of Internet technology, the application of internet is increasingly popularized, and correspondingly, occurs in that some more Complicated networking.In these networkings, there is substantial amounts of equipment (equipment referred to herein as to be managed).In order to ensure networking just Often operation, equipment to be managed is required for correspondingly being configured, and if these configurations can be produced big by keeper's manual configuration The workload of amount, and mistake is easily produced, influence service fulfillment and operation.
The content of the invention
The present invention provides a kind of key generation method and device, low with configuration distributing efficiency in solving configuration distributing scheme Problem.
A kind of first aspect according to embodiments of the present invention, there is provided configuration distributing method, is applied to equipment to be managed, the party Method includes:
Receive and preserve the allocated segments file that the management platform sends;
When the configuration-direct that the management platform sends is received, according to the configuration-direct and it is local preserve match somebody with somebody Put clip file and perform corresponding configuration treatment.
A kind of second aspect according to embodiments of the present invention, there is provided configuration distributing method, is applied to management platform, the method Including:
To equipment send configuration clip file to be managed;
When needing to issue configuration to target equipment to be managed, instructed to target equipment send configuration to be managed, with Target equipment to be managed is set to perform corresponding configuration according to the configuration-direct and the local allocated segments file for preserving Treatment.
A kind of third aspect according to embodiments of the present invention, there is provided configuration distributing device, is applied to equipment to be managed, the dress Put including:
Receiving unit, for receiving the allocated segments file that the management platform sends;
Storage unit, for preserving the allocated segments file that the management platform sends;
Processing unit, for when the receiving unit receives the configuration-direct that the management platform sends, according to institute State configuration-direct and the local allocated segments file for preserving performs corresponding configuration treatment.
A kind of fourth aspect according to embodiments of the present invention, there is provided configuration distributing device, is applied to management platform, the device Including:
Transmitting element, for equipment send configuration clip file to be managed;
The transmitting element, is additionally operable to when needing to issue configuration to target equipment to be managed, to be managed to the target Equipment send configuration is instructed, so that target equipment to be managed is according to the configuration-direct and the local allocated segments for preserving File performs corresponding configuration treatment.
Using the embodiment of the present invention, management platform by be managed by equipment send configuration clip file to be managed, being set It is standby to preserve the allocated segments file for receiving;When needing to issue configuration, management platform issues configuration-direct to equipment to be managed; When equipment to be managed receives configuration-direct, performed according to the configuration-direct for receiving and the local allocated segments file for preserving Corresponding configuration treatment, improves configuration distributing efficiency.
Brief description of the drawings
Fig. 1 is a kind of network architecture schematic diagram of configuration distributing provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of configuration distributing method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of configuration distributing method provided in an embodiment of the present invention;
Fig. 4 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of configuration distributing device provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another configuration distributing device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of configuration distributing device provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another configuration distributing device provided in an embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real Applying the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
Fig. 1 is referred to, is a kind of network architecture schematic diagram of configuration distributing provided in an embodiment of the present invention, as shown in figure 1, The network architecture schematic diagram can include management platform and equipment to be managed (equipment 1-N as shown in Figure 1), wherein, should Equipment to be managed can be including nucleus equipment, convergence device or access device etc..Equipment 1-N and management platform IP (Internet Protocol, Internet protocol) it is reachable.
In the embodiment of the present invention, management platform can issue allocated segments file to each equipment to be managed, by each to be managed Equipment preserves the allocated segments file for receiving;When management platform needs to issue configuration, management platform can set to be managed Standby send configuration instruction, is performed corresponding by equipment to be managed according to the configuration-direct and the local allocated segments file for preserving Configuration is processed, and the batch such that it is able to realize configuration is issued, and improves configuration distributing efficiency.
Based on the network architecture shown in Fig. 1, a kind of configuration distributing method is the embodiment of the invention provides, refer to Fig. 2, be A kind of schematic flow sheet of configuration distributing method provided in an embodiment of the present invention, wherein, the configuration distributing method can apply to Equipment to be managed in the network architecture shown in Fig. 1, as shown in Fig. 2 the method may comprise steps of:
The allocated segments file that step 201, equipment to be managed are received and preservation management platform sends.
In the embodiment of the present invention, after equipment to be managed accesses system to be managed, management platform can be sent out to equipment to be managed Clip file is put in delivery;When equipment to be managed receives the allocated segments file of management platform transmission, institute can be preserved local The allocated segments file for receiving.
Used as a kind of optional implementation method, in embodiments of the present invention, equipment to be managed receives what management platform sent Allocated segments file, can include:
Receive the allocated segments file that management platform sends;Wherein, the allocated segments file be by management platform with Equipment to be managed sets up what is sent after management passage.
In this embodiment, after management platform sets up management passage with equipment to be managed, management platform can be actively To equipment send configuration clip file to be managed;After equipment to be managed receives allocated segments file, institute can be preserved local The allocated segments file for receiving.It should be noted that some allocated segments files that are stored with management platform, match somebody with somebody at each Put and be stored with clip file configuration information, equipment to be managed performs the configuration information and can complete configuration.
Used as another optional implementation method, in embodiments of the present invention, equipment to be managed receives management platform and sends Allocated segments file, can include:
To management platform send configuration clip file download request;
Receive management platform and respond the allocated segments file that allocated segments file download request sends.
In this embodiment, after equipment access management system to be managed, can be actively to management platform send configuration piece Segment file download request;When management platform receives allocated segments file download request, can be sent to equipment to be managed and matched somebody with somebody Put clip file;When equipment to be managed receives the allocated segments file of management platform transmission, can be received in local preservation The allocated segments file for arriving.
Wherein, equipment to be managed can be by FTP (File Transfer Protocol, FTP)/TFTP (Trivial File Transfer Protocol, TFTP) mode is literary from management platform download configuration fragment Part.Correspondingly, in networking management platform and equipment to be managed needs to support that FTP/TFTP is serviced.
In one of embodiment preferably, to management platform send configuration fragment download request, can wrap Include:
When equipment to be managed and management platform set up management passage, to management platform send configuration fragment download request.
In this embodiment, when equipment to be managed and management platform set up management passage (equipment such as to be managed initially with pipe Platform sets up management passage) when, equipment to be managed can actively to management platform send configuration clip file download request, with Request download configuration clip file.
In another embodiment preferably, to management platform send configuration fragment download request, can include:
When the instruction message of newly-increased allocated segments file of management platform transmission is received, to management platform send configuration Clip file, wherein, the newly-increased allocated segments text carried in the instruction message is carried in allocated segments file download request The identification information of part.
In this embodiment, when allocated segments file is increased in management platform newly, management platform can match somebody with somebody according to newly-increased Put clip file and send instruction message to corresponding equipment to be managed, the instruction message has new matching somebody with somebody for indicating equipment to be managed Putting clip file can be downloaded, and the identification information of newly-increased allocated segments file can be carried in the instruction message.When to be managed When equipment receives the instruction message, the newly-increased allocated segments file can be downloaded to management platform request.
Further, as a kind of optional implementation method, in order to reduce the allocated segments file that equipment to be managed is preserved Quantity, save the memory space of equipment to be managed, and improve configuration distributing efficiency, the allocated segments file in management platform can It is identified with the device role by equipment to be managed, when management platform needs to issue allocated segments file to equipment to be managed When, management platform can only issue the allocated segments file matched with the device role of the equipment to be managed to equipment to be managed; Correspondingly, only need to preserve the allocated segments file with equipment of itself role match in each equipment to be managed.
Wherein, device role can include but is not limited to nucleus equipment, convergence device or access device etc..
Because in the system comprising management platform and equipment to be managed, equipment to be managed there may be different equipment angles Color, for example, nucleus equipment, convergence device and access device etc., then for an equipment to be managed, can match somebody with somebody in download Before putting clip file, the device role of itself is informed to management platform, so that management platform can will meet the equipment The allocated segments file of device role is handed down to the equipment to be managed.For example, in an equipment to be managed and management platform During setting up management passage, device role can be informed to management platform, or, can after management passage is set up, The download request of the allocated segments file for carrying device role is sent to management platform, to cause that management platform will be with the equipment The allocated segments file of role match is handed down to equipment to be managed.
In this embodiment, the allocated segments file for being preserved in management platform can be identified by device role, For example, allocated segments file can be named with " device role+allocated segments type ".
Correspondingly, when management platform needs to issue allocated segments file to equipment to be managed, treated for example, connecing and can carry The device role of management equipment) when, management platform can be according to the inquiry of the device role of equipment to be managed and the equipment to be managed Device role matching allocated segments file, and the allocated segments file is sent to the equipment to be managed.
Wherein, when allocated segments file download request in also carry allocated segments file identification information (herein with As a example by allocated segments file name) when, management platform it is determined that in the allocated segments file request carry device role with match somebody with somebody In the case of putting the matching of clip file title, directly allocated segments file corresponding with the allocated segments file name can be sent out Give the equipment to be managed.
Further, in this embodiment, can include outside device role in allocated segments file name, can be with Including port role.
For example, for convergence device, the allocated segments file of the corresponding convergence device preserved in management platform may be used also Specifically to divide into the configuration file of different port on correspondence convergence device, for example, be directed on convergence device connecting access device Port allocated segments file name can be " AGG_ACC.config ", on convergence device connect nucleus equipment end The allocated segments file name of mouth can be " AGG_CORE.config ";And it is directed to the global command/precondition of convergence device Allocated segments file name then need not include port role, for example, the type allocated segments file name can be " AGG_ Global”。
Wherein, in this example, when the allocated segments file download that management platform receives convergence device transmission is asked, What above-mentioned allocated segments file name included " AGG " is the allocated segments file matched with the device role of convergence device.
Step 202, when the configuration-direct of management platform transmission is received, according to configuration-direct and it is local preserve match somebody with somebody Put clip file and perform corresponding configuration treatment.
In the embodiment of the present invention, when management platform needs to issue configuration, management platform can set to be managed accordingly Standby send configuration instruction.Equipment to be managed receive management platform transmission configuration-direct when, can according to the configuration-direct with And the local allocated segments file for preserving performs corresponding configuration treatment.I.e. it is to be understood that configuration-direct indicates equipment to be managed Local some allocated segments file for preserving is performed so as to complete the process of configuration.
Wherein, the configuration-direct that management platform is issued to equipment to be managed can include but is not limited to configuration increase instruction, Instruction is deleted in configuration or instruction etc. is deleted in configuration.
Used as a kind of optional implementation method, in embodiments of the present invention, the configuration-direct that management platform sends can be Configuration increases instruction, and allocated segments file name is carried in the configuration-direct;
Correspondingly, the above-mentioned allocated segments file according to configuration-direct and local preservation performs corresponding configuration treatment, Can include:
In the local allocated segments file matched with allocated segments file name that is being carried in configuration-direct that is preserving of acquisition Configuration information, and according to the configuration information perform configuration operation.
In this embodiment, when the configuration during management platform wishes that equipment to be managed performs certain allocated segments file, Management platform can to equipment to be managed issue for the allocated segments file configuration increase instruction, the configuration increase instruction in Corresponding allocated segments file name can be carried.
When equipment to be managed receives configuration increase instruction, the configuration slice carried in instruction can be increased according to the configuration The allocated segments file that segment file name query is locally preserved.When corresponding allocated segments file is inquired, equipment to be managed The configuration information in the allocated segments file can be obtained, and perform configuration operation, i.e. basis according to configuration information should match somebody with somebody confidence Breath is configured accordingly locally.
As another optional implementation method, in embodiments of the present invention, the configuration-direct that management platform sends be with Increase instruction is put, allocated segments file name is carried in the configuration-direct;
The above-mentioned allocated segments file according to configuration-direct and local preservation performs corresponding configuration treatment, can wrap Include:
The local allocated segments file matched with allocated segments file name that is being carried in the configuration-direct that is preserving is deleted, And delete locally configuration corresponding with the configuration information in the allocated segments file.
In this embodiment, when management platform needs to cancel some configuration (wherein, the management platforms in equipment to be managed The configuration operation of each equipment executed to be managed can be recorded) when, management platform can issue configuration and delete to equipment to be managed The title that the corresponding allocated segments file of configuration for needing to cancel can be carried in instructing is deleted in instruction, the configuration.
When equipment to be managed receives configuration deletion instruction, the configuration slice carried in instruction can be deleted according to the configuration The corresponding allocated segments file of segment file name query, deletes the allocated segments file, and deletes and match somebody with somebody in the allocated segments file Confidence ceases corresponding configuration.
As an example it is assumed that it is ena-bung function A that management platform indicates the configuration information in the allocated segments file deleted, then When platform to be managed receives configuration deletion instruction, the allocated segments file can be deleted, and remove ena-bung function A.
Used as another optional implementation method, in embodiments of the present invention, the configuration-direct that management platform sends can be with It is configuration smoothing instructions.
Correspondingly, the above-mentioned allocated segments file according to configuration-direct and local preservation performs corresponding configuration treatment, Can include:
When configuration-direct is for configuration smoothing instructions, the local allocated segments file for preserving is counted using preset algorithm Calculate, obtain the first check value, and the first check value is reported into management platform, so that management platform judges equipment to be managed with pipe Whether the allocated segments file stored in platform is consistent;
When the allocated segments file stored in equipment to be managed and management platform is inconsistent, matching somebody with somebody for local preservation is deleted Clip file is put, and to management platform send configuration download request, re-downloads what is matched with the device role of equipment to be managed Allocated segments file.
In this embodiment, in order to ensure the uniformity of allocated segments file in facilities and administration platform to be managed, pipe Platform periodically (cycle can set according to concrete application scene, such as 24 hours) can be initiated to configure smooth operation, Or, management platform can be re-established after equipment to be managed is disconnected with management platform initiated when being connected the smooth behaviour of configuration Make.
Specifically, when management platform determines that needs carry out configuration smooth operation, management platform can be matched somebody with somebody to needs Put the equipment send configuration smoothing instructions to be managed of smooth operation.When equipment to be managed receives the configuration smoothing instructions, utilize Preset algorithm is calculated the local allocated segments file for preserving, and obtains the first check value.
For example, equipment to be managed can carry out MD5 (Message Digest to the local allocated segments file for preserving Algorithm 5, Message Digest 5 the 5th edition) encryption the first check value of generation.
It should be appreciated that above-mentioned MD5 algorithms are only a kind of specific example of preset algorithm in the embodiment of the present invention, without It is limiting the scope of the present invention, i.e., in the embodiment of the present invention, preset algorithm can also be other algorithms, the present invention is implemented Example is not limited this.
In this embodiment, after equipment to be managed generates the first check value, first check value can be reported Management platform;Management platform is received after the first check value that the equipment to be managed is reported, can be according to first check value Judge whether equipment to be managed is consistent with the allocated segments file stored in management platform.
Specifically, management platform can (equipment side to be managed calculates verification with management platform side using above-mentioned preset algorithm The algorithm of value must be consistent) the local allocated segments file for preserving is calculated, obtain the second check value, and judge the Whether one check value is consistent with the second check value;If consistent, it is determined that equipment to be managed and allocated segments file in management platform Unanimously, management platform determines verification failure, otherwise, it determines equipment to be managed is inconsistent with allocated segments file in management platform, Management platform determines that verification passes through.
What deserves to be explained is, in embodiments of the present invention, if the allocated segments file preserved in equipment to be managed is and oneself The allocated segments file of body device role matching, then when management platform needs to calculate the second check value, management platform needs elder generation The allocated segments file matched with the device role of equipment to be managed, and profit are inquired in the allocated segments file preserved from itself The allocated segments file that this is matched with the device role of equipment to be managed is calculated with above-mentioned preset algorithm, obtains the second school Test value.
In this embodiment, when management platform determines that equipment to be managed is inconsistent with allocated segments file in management platform When (the first check value and the second check value are inconsistent), management platform can send verification failed message to equipment to be managed;Treat When management equipment receives the verification failed message, equipment to be managed can determine itself configuration slice with storage in management platform Segment file is inconsistent, and now, equipment to be managed can delete the allocated segments file of local preservation, and match somebody with somebody to management platform transmission Download request is put, re-request downloads the allocated segments file with equipment of itself role match.
Wherein, when management platform determines equipment to be managed (the first check value consistent with allocated segments file in management platform It is consistent with the second check value) when, management platform can send verification and pass through message to equipment to be managed;Equipment to be managed is received When the verification passes through message, it may be determined that allocated segments file in the local allocated segments file for preserving and management platform (with The allocated segments file of the device role matching to be managed) it is consistent.
What deserves to be explained is, in embodiments of the present invention, when management platform is to equipment send configuration smoothing instructions to be managed, The local allocated segments file for preserving can also be calculated first with above-mentioned preset algorithm, obtain the second check value, and will Second check value is carried and is sent to equipment to be managed in smoothing instructions are configured;Equipment to be managed receives configuration smoothing instructions When, it is possible to use above-mentioned preset algorithm is calculated the local allocated segments file for preserving, and obtains the first check value, and judge Whether first check value is consistent with the second check value;If inconsistent, the local allocated segments file for preserving is deleted, and to pipe Platform send configuration download request, re-request downloads the allocated segments file matched with self-role.
What deserves to be explained is, in embodiments of the present invention, the local allocated segments file for preserving is entered according to preset algorithm Row is calculated, and obtains the first check value, can at least include following two modes:
Mode one, equipment to be managed are utilized respectively preset algorithm and local each configuration slice segment for preserving are counted Calculate, obtain the first check value corresponding with each allocated segments file;
Mode two, equipment utilization preset algorithm to be managed are calculated the local all allocated segments files for preserving, and are obtained Obtain the first check value corresponding with the local all allocated segments files for preserving.
Wherein, in mode one, equipment to be managed is calculated after the first check value, can respectively by each allocated segments text Corresponding first check value of part is sent to management platform, so that management platform carries out uniformity school to each allocated segments file respectively Test.In this approach, can directly to determine which allocated segments file be present inconsistent (i.e. to be managed for management platform The allocated segments file that equipment is preserved is inconsistent with the corresponding allocated segments file of preservation in management platform), and then, can be with Only the allocated segments file that there are inconsistence problems is re-issued;In addition, if not set after determining inconsistence problems Put and issue allocated segments file automatically, and only alerted, then staff can have matching somebody with somebody for inconsistence problems according to this Put the important Sexual behavior mode more reasonably processing mode of clip file.
In mode two, equipment to be managed is calculated after the first check value, and it is flat that first check value is sent into management Platform, so that management platform carries out the consistency desired result of allocated segments file.In this approach, when management platform determines local preservation Allocated segments file and equipment to be managed in the allocated segments file that preserves it is inconsistent when, to be managed will directly can be set with this The standby all allocated segments files for being matched are re-issued to equipment to be managed, and way to manage is more simple.
Further, in embodiments of the present invention, in order to improve configuration distributing accuracy, it is to avoid equipment to be managed performs mistake By mistake configuration-direct, when management platform is instructed to equipment send configuration to be managed, can also in configuration-direct Portable device The information such as management ip address or/and device role, so that equipment control of the equipment to be managed in the configuration-direct for receiving The information such as IP address or/and device role determines the need for responding the configuration-direct.
Correspondingly, in a kind of optional implementation method, in the configuration-direct that management platform is sent to equipment to be managed also Can be with Portable device management ip address or/and device role;
Before the above-mentioned allocated segments file according to configuration-direct and local preservation performs corresponding configuration treatment, may be used also To include:
Judge the equipment control IP address or/and device role of equipment to be managed and the equipment control of carrying in configuration-direct Whether IP address or/and device role are consistent;
If consistent, it is determined that perform and perform corresponding configuration according to configuration-direct and the local allocated segments file for preserving The step for the treatment of.
In this embodiment, as a example by equipment control IP address and device role are carried in configuration-direct.
When equipment to be managed receives the configuration-direct of management platform transmission, can obtain what is carried in the configuration-direct Equipment control IP address and device role, and judge the equipment pipe of the equipment control IP address of itself and carrying in the configuration-direct Whether reason IP address is consistent, and whether the device role of itself is consistent with the device role carried in the configuration-direct;If two Person's (equipment control IP address and device role) is consistent, then equipment to be managed can with itself need respond the configuration-direct;It is no Then, i.e., equipment control IP address or/and device role are inconsistent, then equipment to be managed can determine that the configuration-direct is not directed to The configuration-direct of itself, therefore, it can without responding the configuration-direct.
Further, in inventive embodiments, in order to avoid equipment task to be managed it is more when, leakage perform management platform hair The configuration-direct for sending, when equipment to be managed receives the configuration-direct of management platform transmission, can first cache the configuration-direct, And when being currently executing for task is completed, the instruction in caching is performed according to certain order, for example, can be according to caching The sequencing of time or according to default priority sequence etc..
What deserves to be explained is, when message caching has been carried out at equipment to be managed, equipment to be managed is processing caching After message, the message of the caching can be deleted, to improve memory space utilization rate, and improve Message Processing efficiency.
Further, in embodiments of the present invention, equipment to be managed has been performed according to the configuration-direct that management platform sends After corresponding configuration operation, can be to management platform feedback configuration implementing result, so that management platform is according to matching somebody with somebody for receiving Put implementing result and update configuration distributing state.
For example, when management platform issues the configuration increase instruction or configuration for certain allocated segments file to equipment to be managed When deleting instruction, during the configuration distributing state of management platform side can be performed for configuration;When management platform receives to be managed setting During the configuration implementing result of standby feedback, configuration distributing state can be updated to by configuration successful according to the configuration implementing result or matched somebody with somebody Put unsuccessfully.
Based on the network architecture shown in Fig. 1, the embodiment of the present invention additionally provides a kind of configuration distributing method, refers to Fig. 3, It is a kind of schematic flow sheet of configuration distributing method provided in an embodiment of the present invention, wherein, the configuration distributing method can be applied Management platform in the network architecture shown in Fig. 1, as shown in figure 3, the method may comprise steps of:
Step 301, management platform are to equipment send configuration clip file to be managed.
In the embodiment of the present invention, after equipment to be managed accesses system to be managed, management platform can be sent out to equipment to be managed Clip file is put in delivery;When equipment to be managed receives the allocated segments file of management platform transmission, institute can be preserved local The allocated segments file for receiving.
As a kind of optional implementation method, in embodiments of the present invention, to equipment send configuration clip file to be managed, Including:
After management platform sets up management passage with equipment to be managed, to equipment send configuration clip file to be managed.
In this embodiment, after management platform sets up management passage with equipment to be managed, management platform can be actively To equipment send configuration clip file to be managed;After equipment to be managed receives allocated segments file, institute can be preserved local The allocated segments file for receiving.
As another optional implementation method, in embodiments of the present invention, to equipment send configuration fragment to be managed text Part, including:
When the allocated segments file download request that equipment to be managed sends is received, sent to the equipment to be managed and matched somebody with somebody Put clip file.
In this embodiment, after equipment access management system to be managed, can be actively to management platform send configuration piece Segment file download request;When management platform receives allocated segments file download request, can be sent to equipment to be managed and matched somebody with somebody Put clip file;When equipment to be managed receives the allocated segments file of management platform transmission, can be received in local preservation The allocated segments file for arriving.
Wherein, equipment to be managed can be by FTP/TFTP modes from management platform download configuration clip file.Correspondingly, Management platform and equipment to be managed in networking need to support that FTP/TFTP is serviced.
Further, as a kind of optional implementation method, in order to reduce the allocated segments file that equipment to be managed is preserved Quantity, save the memory space of equipment to be managed, and improve configuration distributing efficiency, the allocated segments file in management platform can It is identified with the device role by equipment to be managed, when management platform needs to issue allocated segments file to equipment to be managed When, management platform can only issue the allocated segments file matched with the device role of the equipment to be managed to equipment to be managed; Correspondingly, only need to preserve the allocated segments file with equipment of itself role match in each equipment to be managed.
In this embodiment, to equipment send configuration clip file to be managed, including:
The allocated segments file matched with the device role of equipment to be managed is sent to equipment to be managed.
Further, in embodiments of the present invention, when being increased newly in management platform or deleting allocated segments file, management is flat Platform needs to notify that equipment to be managed carries out allocated segments file renewal, to ensure management platform with device configuration fragment to be managed text The uniformity of part.
Correspondingly, in a kind of optional implementation method, when management platform determines newly-increased or deletion allocated segments file, Can also include:
To equipment send configuration clip file more new command to be managed, the allocated segments file more new command includes newly-increased Allocated segments file, or, the title of the allocated segments file deleted.
In this embodiment, when management platform is newly-increased or deletes allocated segments file, management platform can be to waiting to manage Reason equipment send configuration clip file more new command, the allocated segments file more new command includes newly-increased allocated segments file, Or, the title of the allocated segments file deleted.
When equipment to be managed receives allocated segments file more new command, can be updated in the local allocated segments file that preserves The newly-increased allocated segments file carried in instruction, or delete the configuration with the deletion carried in allocated segments file more new command The corresponding allocated segments file of title of clip file.
Step 302, when need issue configuration to target equipment to be managed when, refer to target equipment send configuration to be managed Order, so that target equipment to be managed is performed at corresponding configuration according to configuration-direct and the local allocated segments file for preserving Reason.
In the embodiment of the present invention, when management platform needs to issue configuration, management platform can set to be managed accordingly Standby send configuration instruction.Equipment to be managed receive management platform transmission configuration-direct when, can according to the configuration-direct with And the local allocated segments file for preserving performs corresponding configuration treatment.
Wherein, the configuration-direct that management platform is issued to equipment to be managed can include but is not limited to configuration increase instruction, Instruction is deleted in configuration or instruction etc. is deleted in configuration.
In the embodiment of the present invention, when the configuration during management platform wishes that equipment to be managed performs certain allocated segments file, Management platform can to equipment to be managed issue for the allocated segments file configuration increase instruction, the configuration increase instruction in Corresponding allocated segments file name can be carried.
When equipment to be managed receives configuration increase instruction, the configuration slice carried in instruction can be increased according to the configuration The allocated segments file that segment file name query is locally preserved.When corresponding allocated segments file is inquired, equipment to be managed The configuration information in the allocated segments file can be obtained, and perform configuration operation, i.e. basis according to configuration information should match somebody with somebody confidence Breath is configured accordingly locally.
When management platform need to cancel in equipment to be managed some configuration (wherein, management platform can record and respectively wait to manage The configuration operation of reason equipment executed) when, management platform can issue configuration and delete instruction to equipment to be managed, and the configuration is deleted The title of the corresponding allocated segments file of configuration for needing to cancel can be carried in instruction.
When equipment to be managed receives configuration deletion instruction, the configuration slice carried in instruction can be deleted according to the configuration The corresponding allocated segments file of segment file name query, deletes the allocated segments file, and deletes and match somebody with somebody in the allocated segments file Confidence ceases corresponding configuration.
Further, in embodiments of the present invention, in order to ensure allocated segments file in facilities and administration platform to be managed Uniformity, management platform periodically (cycle can set according to concrete application scene, such as 24 hours) can initiate to match somebody with somebody Smooth operation is put, or, management platform can re-established after equipment to be managed is disconnected with management platform and sent out when being connected Play configuration smooth operation.
Specifically, when management platform determines that needs carry out configuration smooth operation, management platform can be matched somebody with somebody to needs Put the equipment send configuration smoothing instructions to be managed of smooth operation.When equipment to be managed receives the configuration smoothing instructions, utilize Preset algorithm is calculated the local allocated segments file for preserving, and obtains the first check value.
For example, equipment to be managed can carry out md5 encryption to the local allocated segments file for preserving generates the first check value.
It should be appreciated that above-mentioned MD5 algorithms are only a kind of specific example of preset algorithm in the embodiment of the present invention, without It is limiting the scope of the present invention, i.e., in the embodiment of the present invention, preset algorithm can also be other algorithms, the present invention is implemented Example is not limited this.
In this embodiment, after equipment to be managed generates the first check value, first check value can be reported Management platform;Management platform is received after the first check value that the equipment to be managed is reported, can be according to first check value Judge whether equipment to be managed is consistent with the allocated segments file stored in management platform.
Specifically, management platform can (equipment side to be managed calculates verification with management platform side using above-mentioned preset algorithm The algorithm of value must be consistent) the local allocated segments file for preserving is calculated, obtain the second check value, and judge the Whether one check value is consistent with the second check value;If consistent, it is determined that equipment to be managed and allocated segments file in management platform Unanimously, management platform determines verification failure, otherwise, it determines equipment to be managed is inconsistent with allocated segments file in management platform, Management platform determines that verification passes through.
What deserves to be explained is, in embodiments of the present invention, if the allocated segments file preserved in equipment to be managed is and oneself The allocated segments file of body device role matching, then when management platform needs to calculate the second check value, management platform needs elder generation The allocated segments file matched with the device role of equipment to be managed, and profit are inquired in the allocated segments file preserved from itself The allocated segments file that this is matched with the device role of equipment to be managed is calculated with above-mentioned preset algorithm, obtains the second school Test value.
In this embodiment, when management platform determines that equipment to be managed is inconsistent with allocated segments file in management platform When (the first check value and the second check value are inconsistent), management platform can send verification failed message to equipment to be managed;Treat When management equipment receives the verification failed message, equipment to be managed can determine itself configuration slice with storage in management platform Segment file is inconsistent, and now, equipment to be managed can delete the allocated segments file of local preservation, and match somebody with somebody to management platform transmission Download request is put, re-request downloads the allocated segments file with equipment of itself role match.
Wherein, when management platform determines equipment to be managed (the first check value consistent with allocated segments file in management platform It is consistent with the second check value) when, management platform can send verification and pass through message to equipment to be managed;Equipment to be managed is received When the verification passes through message, it may be determined that allocated segments file in the local allocated segments file for preserving and management platform (with The allocated segments file of the device role matching to be managed) it is consistent.
What deserves to be explained is, in embodiments of the present invention, when management platform is to equipment send configuration smoothing instructions to be managed, The local allocated segments file for preserving can also be calculated first with above-mentioned preset algorithm, obtain the second check value, and will Second check value is carried and is sent to equipment to be managed in smoothing instructions are configured;Equipment to be managed receives configuration smoothing instructions When, it is possible to use above-mentioned preset algorithm is calculated the local allocated segments file for preserving, and obtains the first check value, and judge Whether first check value is consistent with the second check value;If inconsistent, the local allocated segments file for preserving is deleted, and to pipe Platform send configuration download request, re-request downloads the allocated segments file matched with self-role.
Further, in embodiments of the present invention, in order to improve configuration distributing accuracy, it is to avoid equipment to be managed performs mistake By mistake configuration-direct, when management platform is instructed to equipment send configuration to be managed, can also in configuration-direct Portable device The information such as management ip address or/and device role, so that equipment control of the equipment to be managed in the configuration-direct for receiving The information such as IP address or/and device role determines the need for responding the configuration-direct.
Further, in embodiments of the present invention, equipment to be managed has been performed according to the configuration-direct that management platform sends After corresponding configuration operation, can be to management platform feedback configuration implementing result;Management platform receives equipment hair to be managed During the configuration implementing result sent, configuration distributing state can be updated according to the configuration implementing result for receiving.
In order that those skilled in the art more fully understand technical scheme provided in an embodiment of the present invention, with reference to specific Application scenarios are described to technical scheme provided in an embodiment of the present invention.
Fig. 4 is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, as shown in figure 4, In the application scenarios, equipment to be managed include nucleus equipment, convergence device and access device (device role be respectively AGG, ACC and CORE);Preserve the allocated segments file for each equipment to be managed in management platform, allocated segments file is " setting Standby role+port role+allocated segments type " name.
For example, can include for the allocated segments file of the port that convergence device is connected on nucleus equipment:CORE_ AGG.config1、CORE_AGG.config2…;For the allocated segments file of the port that access device is connected on convergence device Can include:AGG_ACC.config1、AGG_ACC.config2…;For the global command/precondition of access device Allocated segments file can include:ACC_Global1, ACC_Global2 ... etc..
IP is reachable between management platform and each equipment to be managed, and management platform and each equipment to be managed support FTP/TFTP Service.
Based on the application scenarios shown in Fig. 4, configuration distributing scheme provided in an embodiment of the present invention realizes that flow is as follows:
1st, when equipment to be managed and management platform are set up to be connected, equipment to be managed can be by FTP/TFTP modes to pipe Platform send configuration download request, carries the device role (being assumed to be AGG) of equipment to be managed in the configuration download request.
2nd, when management platform receives the configuration download request that equipment to be managed sends, taken according in the configuration download request The device role of band, the allocated segments file that inquiry is matched with the device role from the local allocated segments file for preserving, and Equipment to be managed is sent to by FTP/TFTP modes.
In this embodiment, the device role for being carried in configuration download request is AGG, and management platform receives configuration and downloads During request, can be according to the allocated segments file of the device role match query, it is assumed that including AGG_ACC.config1, AGG_ ACC.config2 ... AGG_CORE.config1, AGG_CORE.config2 ... AGG.Global1, AGG.Global2 ... etc., And the allocated segments file that will be inquired is sent to the equipment to be managed by FTP/TFTP modes.
3rd, when equipment to be managed receives the allocated segments file of management platform transmission, allocated segments text is locally being preserved Part.
4th, when management platform needs to issue configuration to equipment to be managed, management platform can send to equipment to be managed matches somebody with somebody Instruction is put, the equipment control IP address (being assumed to be IP1) and device role of the equipment to be managed can be carried in the configuration-direct (being assumed to be AGG).
5th, when equipment to be managed receives the configuration-direct, in can comparing equipment of itself management ip address and configuration-direct The device role carried in the equipment control IP address of carrying, and equipment of itself role and configuration-direct.
In this embodiment, if the equipment control IP address of the equipment to be managed be IP1, and device role be AGG, then when The equipment to be managed can respond the configuration-direct;Otherwise, the equipment to be managed can without responding the configuration-direct, for example, Directly abandon the configuration-direct;Or equipment to be managed can be to management platform feedback configuration mistake, and it is former to carry configuration error Cause.
Wherein, if equipment to be managed receives configuration-direct, other tasks are carrying out, or there are other priority more Task high needs to perform, then equipment to be managed can first cache the configuration-direct, and when being carrying out for task is completed, or its When its priority tasks carrying higher is completed, then perform the configuration-direct.
1), when configuration-direct increases instruction for configuration, equipment to be managed can be according to matching somebody with somebody for being carried in the configuration-direct Put clip file title and inquire about corresponding allocated segments file, and configuration information in the allocated segments file is carried out accordingly Configuration operation;
Wherein, if allocated segments file name of the equipment to be managed in configuration-direct does not inquire corresponding configuration slice Segment file, equipment to be managed can be initiated for the corresponding allocated segments file of the allocated segments file name to management platform Download request, and when the allocated segments file is downloaded to, the configuration information in the allocated segments file performs corresponding Configuration operation;
2), when configuration-direct deletes instruction for configuration, when equipment to be managed receives the configuration-direct, can be according to this The allocated segments file name carried in configuration-direct inquires about corresponding allocated segments file, deletes the allocated segments file, and Delete the local configuration to configuration information that should be in allocated segments file;
Wherein, if allocated segments file name of the equipment to be managed in configuration-direct does not inquire corresponding configuration slice During segment file, equipment to be managed can respond the configuration-direct, for example, equipment to be managed can directly abandon the configuration Instruction;Or, equipment to be managed can fail to management platform feedback configuration, and feedback configuration failure cause;
3), when configuration-direct is for configuration smoothing instructions, equipment to be managed can be matched somebody with somebody using MD5 algorithms to local preservation Put clip file to be calculated, obtain the first check value, and first check value is reported into management platform;Management platform is received During to first check value, it is possible to use MD5 algorithms are to the local allocated segments file matched with device role AGG for preserving (the allocated segments file of entitled AGG.***) is calculated, and obtains the second check value, and judge the first check value and the second check value It is whether consistent, if inconsistent, verification failed message is sent to equipment to be managed;
When equipment to be managed receives verification failed message, the allocated segments file of local preservation can be deleted, and to Management platform send configuration download request, re-request downloads the allocated segments file with equipment of itself role match.
6th, equipment to be managed according to the configuration-direct that management platform sends performed it is corresponding configuration operation after, Ke Yixiang Management platform feedback configuration implementing result, so that management platform updates configuration distributing shape according to the configuration implementing result for receiving State.
What deserves to be explained is, in embodiments of the present invention, can not in the allocated segments file of same equipment to be managed Configuration information including mutual exclusion.
For example, it is assumed that in allocated segments file 1 configuration information be ena-bung function A, and in allocated segments file 2 with confidence Breath is on the premise of ena-bung function A is removed, to perform configuration B, then the configuration information in allocated segments file 1 and allocated segments file Configuration information mutual exclusion in 2.
When management platform needs to issue configuration, but when finding to have the configuration information of mutual exclusion, management platform needs first to delete With the configuration of the configuration conflict to be issued in equipment to be managed;Or, when equipment to be managed receives configuration-direct, find to need The configuration of execution and local executed certain configuration mutual exclusion, then platform to be managed can be to management platform feedback configuration conflict feelings Condition, is processed by management platform or keeper.
For example, still by taking above-mentioned example as an example, when management platform needs to issue the configuration increasing for allocated segments file 2 Plus during instruction, management platform needs first to issue the configuration deletion instruction for allocated segments file 1 to equipment to be managed, by waiting to manage Reason equipment is gone after ena-bung function A, then issues the configuration increase instruction for allocated segments file 2.
By above description as can be seen that in the technical scheme that the embodiment of the present application is provided, management platform is by treating Management equipment send configuration clip file, the allocated segments file for receiving is preserved by equipment to be managed;When needs issue configuration When, management platform issues configuration-direct to equipment to be managed;When equipment to be managed receives configuration-direct, according to matching somebody with somebody for receiving Put instruction and the local allocated segments file for preserving performs corresponding configuration treatment, improve configuration distributing efficiency.
Fig. 5 is referred to, is a kind of structural representation of configuration distributing device provided in an embodiment of the present invention, wherein, it is described Device can apply in the equipment to be managed of above method embodiment, as shown in figure 5, the configuration distributing device can include:
Receiving unit 510, for receiving the allocated segments file that the management platform sends;
Storage unit 520, for preserving the allocated segments file that the management platform sends;
Processing unit 530, during for the configuration-direct that the management platform transmission is received when the receiving unit 510, Corresponding configuration treatment is performed according to the configuration-direct and the local allocated segments file for preserving.
In an alternative embodiment, the processing unit 530, specifically for being instructed for configuration increases when the configuration-direct When, in the local allocated segments file matched with allocated segments file name that is being carried in the configuration-direct that is preserving of acquisition Configuration information, and configuration operation is performed according to the configuration information;When the configuration-direct deletes instruction for configuration, delete local Preserve with the allocated segments file that match of allocated segments file name carried in the configuration-direct, and deletion locally with this The corresponding configuration of configuration information in allocated segments file.
In an alternative embodiment, the processing unit 530, is additionally operable to when the configuration-direct is for configuration smoothing instructions, The local allocated segments file for preserving is calculated using preset algorithm, obtains the first check value;
Correspondingly, it is the structural representation of another configuration distributing device provided in an embodiment of the present invention please also refer to Fig. 6 Figure, as shown in fig. 6, on the basis of configuration distributing device shown in Fig. 5, configuration distributing device shown in Fig. 6 can also include:
Transmitting element 540, for first check value to be reported into the management platform, so that the management platform is sentenced Whether the equipment to be managed of breaking is consistent with the allocated segments file stored in the management platform;
The processing unit 530, is additionally operable to when the configuration slice stored in the equipment to be managed with the management platform When segment file is inconsistent, the local allocated segments file for preserving is deleted;
The transmitting element 540, is additionally operable to, to the management platform send configuration download request, re-download and treated with described The allocated segments file of the device role matching of management equipment.
Fig. 7 is referred to, is a kind of structural representation of configuration distributing device provided in an embodiment of the present invention, wherein, it is described Device can apply in the management platform of above method embodiment, as shown in fig. 7, the configuration distributing device can include:
Transmitting element 710, for equipment send configuration clip file to be managed;
The transmitting element 710, is additionally operable to, when needing to issue configuration to target equipment to be managed, wait to manage to the target Reason equipment send configuration is instructed, so that target equipment to be managed is according to the configuration-direct and the local configuration slice for preserving Segment file performs corresponding configuration treatment.
In an alternative embodiment, the transmitting element 710, specifically for when the management platform and the equipment to be managed After setting up management passage, to the equipment send configuration clip file to be managed.
It is the structural representation of another configuration distributing device provided in an embodiment of the present invention please also refer to Fig. 8, such as schemes Shown in 8, on the basis of configuration distributing device shown in Fig. 7, configuration distributing device shown in Fig. 8 can also include:
Receiving unit 720, for receiving the allocated segments file download request that equipment to be managed sends;
The transmitting element 710, specifically for receiving the configuration slice that equipment to be managed sends when the receiving unit 720 During segment file download request, to the equipment send configuration clip file to be managed.
In an alternative embodiment, the transmitting element 710, waits to manage specifically for being sent to the equipment to be managed with described The allocated segments file of the device role matching of reason equipment.
In an alternative embodiment, the transmitting element 710, is additionally operable to when the management platform determines newly-increased or deletes configuration During clip file, to the equipment send configuration clip file more new command to be managed, the allocated segments file more new command Including the allocated segments file for increasing newly, or, the title of the allocated segments file deleted.
The function of unit and the implementation process of effect correspond to step in specifically referring to the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, at management platform, larger configuration file is divided into multiple small fragments, is being treated (such as set up management passage or sent to management platform and ask) when management equipment needs these allocated segments files, send one by one To equipment to be managed, by equipment send configuration clip file to be managed, the configuration slice for receiving being preserved by equipment to be managed Segment file.When need to treat management equipment configured when, management platform issues configuration-direct to equipment to be managed, makes to be managed The allocated segments file execution that relevant information of the equipment in the configuration-direct for receiving finds local preservation is matched somebody with somebody accordingly Treatment is put, the efficiency that management equipment is configured is treated so as to improve management platform.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including undocumented common knowledge in the art of the invention Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.

Claims (15)

1. a kind of configuration distributing method, is applied to equipment to be managed, it is characterised in that the method includes:
Receive and preserve the allocated segments file that the management platform sends;
When the configuration-direct that the management platform sends is received, according to the configuration-direct and the local configuration slice for preserving Segment file performs corresponding configuration treatment.
2. method according to claim 1, it is characterised in that it is described according to the configuration-direct and it is local preserve match somebody with somebody Put clip file and perform corresponding configuration treatment, including:
When the configuration-direct is for configuration increase instruction, the local configuration slice with carrying in the configuration-direct that is preserving is obtained Configuration information in the allocated segments file of segment file name-matches, and configuration operation is performed according to the configuration information;
When the configuration-direct is for configuration deletion instruction, the local configuration slice with carrying in the configuration-direct that is preserving is deleted The allocated segments file of segment file name-matches, and delete locally corresponding with the configuration information in the allocated segments file matching somebody with somebody Put.
3. method according to claim 1, it is characterised in that it is described according to the configuration-direct and it is local preserve match somebody with somebody Put clip file and perform corresponding configuration treatment, including:
When the configuration-direct is for configuration smoothing instructions, the local allocated segments file for preserving is counted using preset algorithm Calculate, obtain the first check value, and first check value is reported into the management platform, so that the management platform judges institute Whether state equipment to be managed consistent with the allocated segments file stored in the management platform;
When the allocated segments file stored in the equipment to be managed with the management platform is inconsistent, local preservation is deleted Allocated segments file, and to the management platform send configuration download request, re-download and set with the equipment to be managed The allocated segments file of standby role match.
4. a kind of configuration distributing method, is applied to management platform, it is characterised in that the method includes:
To equipment send configuration clip file to be managed;
When needing to issue configuration to target equipment to be managed, instructed to target equipment send configuration to be managed, so that institute State target equipment to be managed and corresponding configuration treatment is performed according to the configuration-direct and the local allocated segments file for preserving.
5. method according to claim 4, it is characterised in that described to equipment send configuration clip file to be managed, bag Include:
After the management platform sets up management passage with the equipment to be managed, to the equipment send configuration fragment to be managed File;Or,
When the allocated segments file download request that equipment to be managed sends is received, to the equipment send configuration piece to be managed Segment file.
6. the method according to claim 4 or 5, it is characterised in that described to equipment send configuration clip file to be managed, Including:
The allocated segments file matched with the device role of the equipment to be managed is sent to the equipment to be managed.
7. method according to claim 4, it is characterised in that methods described also includes:
When the management platform determines newly-increased or deletion allocated segments file, to the equipment send configuration fragment text to be managed Part more new command, the allocated segments file more new command includes newly-increased allocated segments file, or, the allocated segments text deleted The title of part.
8. a kind of configuration distributing device, is applied to equipment to be managed, it is characterised in that the device includes:
Receiving unit, for receiving the allocated segments file that the management platform sends;
Storage unit, for preserving the allocated segments file that the management platform sends;
Processing unit, for when the receiving unit receives the configuration-direct that the management platform sends, being matched somebody with somebody according to described Put instruction and the local allocated segments file for preserving performs corresponding configuration treatment.
9. device according to claim 8, it is characterised in that
The processing unit, specifically for when the configuration-direct increases instruction for configuration, obtain it is local it is preserving with it is described Configuration information in the allocated segments file of the allocated segments file name matching carried in configuration-direct, and confidence is matched somebody with somebody according to this Breath performs configuration operation;When the configuration-direct deletes instruction for configuration, delete it is local it is preserving with the configuration-direct in Carrying allocated segments file name matching allocated segments file, and delete locally with the allocated segments file in confidence Cease corresponding configuration.
10. device according to claim 8, it is characterised in that
The processing unit, is additionally operable to when the configuration-direct is for configuration smoothing instructions, using preset algorithm to local preservation Allocated segments file calculated, obtain the first check value;
Described device also includes:
Transmitting element, for first check value to be reported into the management platform, so that the management platform judges described Whether equipment to be managed is consistent with the allocated segments file stored in the management platform;
The processing unit, is additionally operable to the allocated segments file stored in the equipment to be managed and the management platform not When consistent, the local allocated segments file for preserving is deleted;
The transmitting element, is additionally operable to the management platform send configuration download request, re-downloads and to be managed is set with described The allocated segments file of standby device role matching.
A kind of 11. configuration distributing devices, are applied to management platform, it is characterised in that the device includes:
Transmitting element, for equipment send configuration clip file to be managed;
The transmitting element, is additionally operable to when needing to issue configuration to target equipment to be managed, to target equipment to be managed Send configuration is instructed, so that target equipment to be managed is according to the configuration-direct and the local allocated segments file for preserving Perform corresponding configuration treatment.
12. devices according to claim 11, it is characterised in that
The transmitting element, specifically for after the management platform sets up management passage with the equipment to be managed, to described Equipment send configuration clip file to be managed.
13. devices according to claim 11, it is characterised in that described device also includes:
Receiving unit, for receiving the allocated segments file download request that equipment to be managed sends;
The transmitting element, specifically for receiving the allocated segments file download that equipment to be managed sends when the receiving unit During request, to the equipment send configuration clip file to be managed.
14. device according to claim 12 or 13, it is characterised in that
The transmitting element, specifically for sending what is matched with the device role of the equipment to be managed to the equipment to be managed Allocated segments file.
15. devices according to claim 11, it is characterised in that
The transmitting element, is additionally operable to, when the management platform determines newly-increased or deletion allocated segments file, wait to manage to described Reason equipment send configuration clip file more new command, the allocated segments file more new command includes newly-increased allocated segments text Part, or, the title of the allocated segments file deleted.
CN201710097643.6A 2017-02-22 2017-02-22 A kind of configuration distributing method and device Pending CN106878426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710097643.6A CN106878426A (en) 2017-02-22 2017-02-22 A kind of configuration distributing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710097643.6A CN106878426A (en) 2017-02-22 2017-02-22 A kind of configuration distributing method and device

Publications (1)

Publication Number Publication Date
CN106878426A true CN106878426A (en) 2017-06-20

Family

ID=59167743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710097643.6A Pending CN106878426A (en) 2017-02-22 2017-02-22 A kind of configuration distributing method and device

Country Status (1)

Country Link
CN (1) CN106878426A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367943A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Data transmission verification method, system, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909524A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Automatic configuration method and system for digital household terminal
CN101335666A (en) * 2007-06-29 2008-12-31 杭州华三通信技术有限公司 Configuration transmitting method, access control equipment and access point
CN102315957A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method for remotely managing mass access equipment and Ethernet equipment
US20130054794A1 (en) * 2006-09-08 2013-02-28 Aten International Co., Ltd. System and method for recording and monitoring user interactions with a server
CN103500191A (en) * 2013-09-17 2014-01-08 华为技术有限公司 Flow table configuration, query and table item deleting method and device
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105577524A (en) * 2015-12-25 2016-05-11 北京奇虎科技有限公司 Mail client, configuration method and server for configuring mail client
CN105610704A (en) * 2015-12-30 2016-05-25 青岛高校信息产业股份有限公司 Building energy use acquisition gateway with multiple servers for reporting

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909524A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Automatic configuration method and system for digital household terminal
US20130054794A1 (en) * 2006-09-08 2013-02-28 Aten International Co., Ltd. System and method for recording and monitoring user interactions with a server
CN101335666A (en) * 2007-06-29 2008-12-31 杭州华三通信技术有限公司 Configuration transmitting method, access control equipment and access point
CN102315957A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method for remotely managing mass access equipment and Ethernet equipment
CN103500191A (en) * 2013-09-17 2014-01-08 华为技术有限公司 Flow table configuration, query and table item deleting method and device
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105577524A (en) * 2015-12-25 2016-05-11 北京奇虎科技有限公司 Mail client, configuration method and server for configuring mail client
CN105610704A (en) * 2015-12-30 2016-05-25 青岛高校信息产业股份有限公司 Building energy use acquisition gateway with multiple servers for reporting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367943A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Data transmission verification method, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US7269721B2 (en) Method, system, and apparatus for booting with remote configuration data
TWI602124B (en) Baseboard Management Controller Firmware Updating Method For Fan Speed Control
CN108595207A (en) A kind of gray scale dissemination method, regulation engine, system, terminal and storage medium
JP2003114806A (en) Os updating method, security control method, and apparatus for accomplishing the same
CN107861760A (en) BIOS collocation method, terminal and server
TW201721474A (en) File upload method, file download method and associated server
CN103746977A (en) Connection method and device for Linux server
CN108923985A (en) The method of the batch upgrade network equipment in distributed network management system
JP3612043B2 (en) System and method for updating program file being executed
CN108471361A (en) A kind of version upgrading method and device
WO2017107886A1 (en) Method and device for transmitting data between ip hard disks
CN106878426A (en) A kind of configuration distributing method and device
CN108112268A (en) Management and the relevant load balancer of automatic expanded set
JP6562744B2 (en) System and control method
US10977069B2 (en) Systems and methods for performing virtual machine updates without rebuild of distributed databases thereon
CN106254440A (en) The upgrade method of a kind of AP and device
CN116233107A (en) File transmission method and device, electronic equipment and readable storage medium
US20160224331A1 (en) Dual-bank telecommunication apparatus and method of upgrading firmware in dual-bank telecommunication apparatus
CN114884955A (en) Transparent agent deployment system and method
JPH05250239A (en) Computer network system
CN113489775A (en) VPP-based seven-layer load balancing server and load balancing method
US20150205592A1 (en) System and method for managing application program for terminal
JP2000315192A (en) Client-server system, method for managing server application and recording medium
CN107454011A (en) A kind of message forwarding method, apparatus and system
WO2015127758A1 (en) Backup file data retransmission method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620