CN102724067B - Equipment configuration method and device - Google Patents

Equipment configuration method and device Download PDF

Info

Publication number
CN102724067B
CN102724067B CN201210191905.2A CN201210191905A CN102724067B CN 102724067 B CN102724067 B CN 102724067B CN 201210191905 A CN201210191905 A CN 201210191905A CN 102724067 B CN102724067 B CN 102724067B
Authority
CN
China
Prior art keywords
url
configuration file
configuration
equipment
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210191905.2A
Other languages
Chinese (zh)
Other versions
CN102724067A (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 CN201210191905.2A priority Critical patent/CN102724067B/en
Publication of CN102724067A publication Critical patent/CN102724067A/en
Application granted granted Critical
Publication of CN102724067B publication Critical patent/CN102724067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of equipment configuration method and device, wherein method comprises: send uniform resource position mark URL request to document management apparatus, described URL request comprises the device identification of communication equipment; Receive the described URL of the configuration file corresponding with described device identification that described document management apparatus returns; Send configuration file request to described document management apparatus, comprise described URL in described configuration file request, receive the described configuration file corresponding with described URL that described document management apparatus returns; Be configured according to described configuration file.Invention increases efficiency and the accuracy of Equipments Setting, reduce deployment cost, ensure that the fail safe of configuration data simultaneously.

Description

Equipment configuration method and device
Technical Field
The present invention relates to communications technologies, and in particular, to a device configuration method and apparatus.
Background
Communication equipment such as routers, switches and the like may need to be configured with parameters in both open-end and current network operation; for example, when the device is deployed on the network for the first time, it needs to perform opening configuration, mainly configuring service parameters, user information, IP addresses, and the like; in the operation of the existing network, the device may need to modify the configured parameters due to networking change or device software upgrade.
In the prior art, the device configuration parameters are mainly configured manually, that is, the configuration is completed by manually logging in the device to perform human-computer interaction. For example, the operator of the device may perform an open configuration or modify parameters of the configuration via a command line provided by the device. However, the technical drawbacks of this approach are: because the operating personnel is needed to carry out configuration one by one, when the equipment is more, the manual configuration efficiency is low, the labor cost is higher, and the accuracy of the manual configuration is difficult to ensure.
Disclosure of Invention
The invention provides a device configuration method and a device, which are used for improving the efficiency and the accuracy of device configuration and reducing the configuration cost.
The first aspect of the present invention provides a device configuration method, including:
sending a Uniform Resource Locator (URL) request to a file management device, wherein the URL request comprises a device identifier of communication equipment;
receiving the URL of the configuration file corresponding to the equipment identifier, which is returned by the file management device;
sending a configuration file request to the file management device, wherein the configuration file request comprises the URL;
receiving the configuration file corresponding to the URL returned by the file management device;
and configuring according to the configuration file.
Another aspect of the present invention provides a device configuration method, including:
receiving a Uniform Resource Locator (URL) request sent by communication equipment, wherein the URL request comprises an equipment identifier of the communication equipment;
sending the URL of the configuration file corresponding to the equipment identification to the communication equipment;
receiving a configuration file request of the communication equipment, wherein the configuration file request comprises the URL;
and sending the configuration file corresponding to the URL to the communication equipment so that the communication equipment performs configuration according to the configuration file.
Another aspect of the present invention is to provide a communication apparatus including:
the device comprises a URL acquisition unit, a file management device and a communication device, wherein the URL acquisition unit is used for sending a Uniform Resource Locator (URL) request to the file management device, and the URL request comprises a device identifier of the communication device; receiving the URL of the configuration file corresponding to the equipment identifier, which is returned by the file management device;
a configuration file obtaining unit, configured to send a configuration file request to the file management apparatus, where the configuration file request includes the URL obtained by the URL obtaining unit; receiving the configuration file corresponding to the URL returned by the file management device;
and the file configuration unit is used for configuring according to the configuration file acquired by the configuration file acquisition unit.
Still another aspect of the present invention provides a file management apparatus including:
the device comprises a URL management unit, a URL processing unit and a communication device, wherein the URL management unit is used for receiving a Uniform Resource Locator (URL) request sent by the communication device, and the URL request comprises a device identifier of the communication device; sending the URL of the configuration file corresponding to the equipment identification to the communication equipment;
the file management unit is used for receiving a configuration file request of the communication equipment, wherein the configuration file request comprises the URL; and sending the configuration file corresponding to the URL to the communication equipment.
The technical effects of the equipment configuration method and the equipment configuration device are as follows: by acquiring the URL of the configuration file from the file management device by the communication equipment and acquiring the corresponding configuration file according to the URL, the efficiency and the accuracy of configuration of the configuration file are improved, and the configuration cost is reduced.
Drawings
Fig. 1 is a schematic flowchart of an apparatus configuration method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another apparatus configuration method according to an embodiment of the present invention;
fig. 3 is a system architecture diagram applied by the device configuration method according to the embodiment of the present invention;
fig. 4 is a signaling diagram of a device configuration method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a file management apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a file management apparatus according to an embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart illustrating a method for configuring a device according to an embodiment of the present invention, where the method may be executed by a communication device, as shown in fig. 1, the method according to the embodiment includes:
101. sending a Uniform Resource Locator (URL) request to a file management device, wherein the URL request comprises a device identifier of a communication device;
the communication device includes a router, a switch, and the like, and the URL requests a URL for acquiring a configuration file of the communication device.
Where URL is an identification method for completely describing the addresses of web pages and other resources on the Internet; the URL may be an http:// start, such as http:// www.huawei.com, and may include detailed information such as a hypertext (with an extension of. html or. xml) name. Using the URL, a specified file on the Internet can be located accurately.
In the operation of an open office and an existing network, it may be necessary to configure device parameters of the communication device, where the device parameters include, for example, an IP address, user information, service parameters, and the like, and the communication device sends a URL request to the file management apparatus, and carries a device identifier of the communication device in the URL request. The device identifier is information capable of uniquely identifying the communication device, such as an IP address, a MAC address, a device barcode, and the like.
In this embodiment, a configuration file including device parameters to be configured by the communication device is set, the configuration file may be customized according to a service to be deployed by the communication device, for example, and the configuration file is stored in the file management apparatus, and a storage location of the configuration file is identified by a URL. And the communication equipment acquires the corresponding configuration file from the file management device by accessing the corresponding URL. Optionally, for example, the URL of this embodiment may be manually set according to a device barcode of the communication device, that is, a unique URL is allocated to the configuration file of the communication device according to the device barcode, and the configuration file is identified by the URL.
102. Receiving the URL of the configuration file corresponding to the equipment identifier, which is returned by the file management device;
after receiving the URL request in 101, the file management apparatus sends the URL of the configuration file corresponding to the device identifier to the communication device according to the device identifier carried in the URL request; the URL is used to identify the storage location of the profile required by the communication device.
103. Sending a configuration file request to the file management device, wherein the configuration file request comprises the URL;
after acquiring the URL of the configuration file, the communication equipment sends a configuration file request to a file management device according to the URL, wherein the configuration file request is used for acquiring the configuration file and comprises the URL; in practical implementation, the configuration file request may be sent by accessing the URL, and the request necessarily carries the URL.
104. Receiving the configuration file corresponding to the URL returned by the file management device;
105. and configuring according to the configuration file.
After receiving the configuration file, the communication device executes automatic configuration according to the configuration file to complete self service deployment, or self software upgrading and the like; for example, when the software of the communication device needs to be upgraded, the configuration file includes some configuration parameters corresponding to the upgraded software, and the communication device executes automatic configuration according to the configuration file, and modifies the configuration parameters of the software on the communication device into the configuration parameters in the configuration file, thereby completing the software upgrade.
Compared with the device configuration method in the prior art, the device configuration method of the embodiment stores the configuration file including the device parameters of the communication device in the file management device, and through the URL identifier, when the communication device needs to be configured, the communication device actively acquires the URL of the configuration file from the file management device, and acquires the corresponding configuration file according to the URL for automatic configuration, so that the problems that in the prior art, the manual configuration efficiency is low, the labor cost is high, and the manual configuration accuracy cannot be guaranteed can be solved. By adopting the technical scheme provided by the embodiment of the invention, the communication equipment can automatically acquire the configuration file and complete the configuration without manual operation, thereby improving the efficiency and the accuracy of the equipment configuration and reducing the configuration cost.
Fig. 2 is a schematic flowchart of another device configuration method according to an embodiment of the present invention, where the method may be executed by a file management apparatus, as shown in fig. 2, the method according to the embodiment includes:
201. receiving a Uniform Resource Locator (URL) request sent by communication equipment, wherein the URL request comprises an equipment identifier of the communication equipment;
the file management device stores the corresponding relation between the equipment identification of the communication equipment and the URL, and the URL is used for identifying the storage position of the configuration file required by the communication equipment; when the communication device requests the URL of the configuration file from the file management apparatus, the device identifier uniquely identifying the device itself needs to be carried in the URL request. For example, the device identification may be a device barcode.
And when the communication equipment needs to be automatically configured, the communication equipment sends the URL request to the file management device.
202. Sending the URL of the configuration file corresponding to the equipment identification to the communication equipment;
after receiving the URL request, the file management apparatus acquires the URL of the configuration file corresponding to the device identifier according to the correspondence between the device identifier and the URL, and sends the URL to the communication device.
203. And receiving a configuration file request of the communication equipment, wherein the configuration file request comprises the URL.
After the communication equipment acquires the URL of the configuration file, sending a configuration file request to a file management device according to the URL, wherein the configuration file request is used for requesting to acquire the configuration file and comprises the URL; for example, the configuration file request may be sent by accessing the URL.
204. Sending the configuration file corresponding to the URL to the communication equipment so that the communication equipment can be configured according to the configuration file;
according to the equipment configuration method, the configuration file of the communication equipment is stored through the file management device, the URL uniquely identifying the storage position of the configuration file is distributed, and the corresponding configuration file is sent to the communication equipment according to the URL request and the configuration file request of the communication equipment, so that the communication equipment can be automatically configured, the equipment configuration efficiency and accuracy are improved, and the configuration cost is reduced.
As shown in fig. 3, a system architecture diagram applied to the device configuration method according to the embodiment of the present invention includes a head office device 31, a plurality of branch devices 32, and a network server 33. The headquarters device 31 is a means for managing the plurality of branch devices 32, and the headquarters device 31 and the branch devices 32 may be switches, routers, or the like. The plurality of branch devices 32 can establish communication connection with the headquarters device 31 and the web server 33 via the Internet. Further, as shown in fig. 3, the web server 33 may be directly connected to the Internet or may be connected to the Internet through the headquarters device 31. The present embodiment is described by taking an open configuration of one of the branch devices as an example.
It should be noted that, in the embodiment of the present invention, the file management apparatus may include, for example, a URL management unit and a file management unit, where the URL management unit is configured to feed back a URL of a corresponding configuration file according to a device identifier of a communication device, and the file management unit is configured to feed back the corresponding configuration file according to the URL, and the file management apparatus may be deployed in a distributed manner, that is, the two function units are respectively deployed on different devices.
For example, as shown in fig. 3, the URL management unit is provided on the headquarters device 31, and the file management unit is provided on the web server 33; in a specific implementation, the network server 33 may store the configuration file of the branch device 32, and the corresponding relationship between the configuration file and the URL, so that the corresponding configuration file can be found according to the URL; storing, by the headquarters device 31, the URL and the correspondence of the URL to the device identification of the communication device to which the configuration file belongs, so that the corresponding URL can be found from the device identification; the generation method of the URL is not limited in this embodiment, and a commonly used generation method of the URL may be adopted, for example, the URL of the configuration file may be manually set and then the URL may be stored in the headquarter device 31.
As shown in fig. 4, a signaling diagram of the device configuration method according to the embodiment of the present invention is shown, in which a headquarter device 31 and a network server 33 jointly implement a file management apparatus in the system shown in fig. 3, and interact with a branch device 32 to implement the device configuration method according to the present invention. The device configuration method of the present embodiment also describes processing before the branch device starts requesting to obtain the URL; the following steps of the present embodiment are not limited to the execution order described below. As shown in fig. 4, the method may include:
401. storing the configuration file on a network server;
for example, in network planning, configuration information for planning branch devices in a network may be stored on a network server, where the configuration information is stored in the form of a configuration file; the configuration file can be automatically generated, customization can be supported according to the requirements of network users, and the customized file can be obtained only by the URL.
In addition, the configuration file may not be stored in the network server during network planning, but may be stored at other times, as long as it can be guaranteed to be stored in the network server before the branch device is enabled, so that the configuration file can be taken out when the branch device is started.
402. Setting a URL corresponding to the configuration file, and storing the URL on headquarter equipment;
the headquarter device stores the correspondence between the device identifier of the branch device and the URL of the configuration file of the branch device, and the network server stores the configuration file in the corresponding URL, which corresponds to the correspondence between the configuration file and the URL.
After the configuration file of the branch equipment is stored in the corresponding URL of the network server and the corresponding relationship between the equipment identifier of the branch equipment and the URL of the configuration file of the branch equipment is stored in the headquarter equipment, the branch equipment can be set to be automatically configured, that is, the branch equipment is set so that the equipment can automatically execute the equipment configuration method provided by the embodiment of the invention when the equipment is opened.
403. The branch equipment sends a URL request to headquarter equipment, wherein the URL request comprises equipment identification of the branch equipment;
after the installation of the branch equipment is completed and the branch equipment is started, the branch equipment communicates with the headquarter equipment through the Internet, sends the URL request and requests the headquarter equipment to acquire the URL of the configuration file of the branch equipment; the URL request includes a device identification, such as a device barcode, for the branch device.
Optionally, in this embodiment, the URL request may be encapsulated by internet protocol security (IPSec). IPSec is an industry standard network security protocol, and is used to provide transparent security service for IP network communication, protect TCP/IP communication from eavesdropping and tampering, and effectively protect against network attacks while maintaining ease of use. The IPSec encapsulation has the advantages that the safety of an IP data packet can be protected, and protective measures are provided for resisting network attacks; IPSec can provide security management such as password protection and key management for data packets, and can provide strong security protection for communications between branch devices and file management apparatuses. The URL information and the configuration file are pushed based on the IPSec, so that the security of file transmission can be improved.
404. The headquarter equipment returns the URL of the configuration file of the branch equipment to the branch equipment;
in this embodiment, after receiving a URL request sent by a branch device, a headquarters device finds a URL of a configuration file corresponding to an equipment identifier according to the equipment identifier carried in the URL request and a correspondence between the equipment identifier stored in the headquarters device and the URL, and sends the URL to the branch device.
Also, the URL returned by the headquarters device to the branch device may be encapsulated by IPSec. The IPSec encapsulation mode adopted in 403 and 404 can improve the security of URL delivery.
405. The branch equipment sends a configuration file request to a network server according to the acquired URL, wherein the configuration file request comprises the URL;
after acquiring the URL of the configuration file of the branch device, the branch device may send a configuration file request to the web server through the IPSec encapsulation mode, where the configuration file request is used to request to acquire the configuration file, and specifically, the acquired URL is encapsulated through the IPSec, and the configuration file request is sent to the web server according to the URL.
406. The network server returns a configuration file corresponding to the URL to the branch equipment;
after receiving the configuration file request of the branch equipment, the network server analyzes the URL in the configuration file request, obtains the URL where the configuration file requested by the branch equipment is located, and obtains the configuration file stored at the URL.
Also, in order to ensure secure transmission of the configuration file, the network server may transmit the configuration file deposited at the URL to the branch device via an IPSec-based file transfer protocol.
407. After receiving the configuration file, the branch device can return confirmation of the completion of the transmission of the configuration file to the network server;
408. the branch equipment automatically completes configuration according to the configuration file;
optionally, after the configuration of the branch device is completed, the head office device may be notified that the configuration is completed and the network deployment is successful. Optionally, the embodiment is an example of an open deployment, and may also be applied to other scenarios. For example, a device running on the network modifies the configured parameters due to a networking change or software upgrade, etc. At this time, when the configuration file is updated, the branch equipment is triggered manually to send a URL request, and then the configuration file is acquired to complete automatic configuration; or the headquarter equipment informs the branch equipment to start to acquire the URL and then acquire the configuration file to finish automatic configuration. As long as the branch device is given a configuration indication that triggers a URL request when there is an update in the configuration file.
Optionally, in this embodiment, the URL information and the configuration file are obtained by IPSec as an example; the method can also be applied to any other file types supported by the device, for example, the configuration file described in the embodiment of the present invention may be a program and other data file of the device, such as a software upgrade file on the device.
According to the equipment configuration method, the URL of the configuration file is automatically acquired through the communication equipment, the configuration file is acquired and automatically configured according to the URL, the equipment configuration efficiency and accuracy are improved, the labor cost in equipment configuration is saved, the request and transmission of the URL and the configuration file are carried out through IPSec, and the transmission safety of the URL and the file is improved.
Fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention, where the communication device is, for example, one of the branch devices shown in fig. 3, and as shown in fig. 5, the communication device according to this embodiment may include: a URL obtaining unit 51, a profile obtaining unit 52, and a profile configuring unit 53;
the URL obtaining unit 51 is configured to send a uniform resource locator URL request to the file management apparatus, where the URL request includes a device identifier of the communication device; receiving the URL of the configuration file corresponding to the equipment identifier, which is returned by the file management device;
a profile acquiring unit 52 configured to send a profile request to a file management apparatus, where the profile request includes the URL acquired by the URL acquiring unit 51; receiving the configuration file corresponding to the URL returned by the file management device;
a file configuration unit 53, configured according to the configuration file acquired by the configuration file acquisition unit 52.
Fig. 6 is another schematic structural diagram of the communication device according to the embodiment of the present invention, and as shown in fig. 6, the communication device according to the embodiment further includes, on the basis of the structure shown in fig. 5: a security processing unit 54, configured to encapsulate the URL request sent by the URL obtaining unit 51 by IPSec, and further configured to perform IPSec encapsulation on the configuration file request sent by the configuration file obtaining unit 52. Correspondingly, the URL obtaining unit 51 is specifically configured to send, to the file management apparatus, a URL request after IPSec encapsulation performed by the security processing unit 54; the configuration file obtaining unit 52 is specifically configured to send a configuration file request after IPSec encapsulation performed by the security processing unit 54 to the file management apparatus.
Fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present invention, and as shown in fig. 7, the communication device may further include, on the basis of the structure shown in fig. 6: a triggering unit 55, configured to, upon receiving a configuration instruction for triggering the URL request, notify the URL obtaining unit to execute sending of a uniform resource locator URL request to a file management apparatus.
Fig. 8 is a schematic structural diagram of a file management apparatus according to an embodiment of the present invention, and this embodiment only briefly describes the structure of the file management apparatus, and the specific working principle of the file management apparatus may be described with reference to the device configuration method according to the embodiment of the present invention. As shown in fig. 8, the file management apparatus may include: a URL management unit 81 and a file management unit 82; wherein,
a URL management unit 81, configured to receive a uniform resource locator URL request sent by a communication device, where the URL request includes a device identifier of the communication device; sending the URL of the configuration file corresponding to the equipment identification to the communication equipment;
a file management unit 82, configured to receive a configuration file request of the communication device, where the configuration file request includes the URL; and sending the configuration file corresponding to the URL to the communication equipment.
Fig. 9 is another schematic structural diagram of a file management apparatus according to an embodiment of the present invention, and as shown in fig. 9, the file management apparatus according to the embodiment may further include, on the basis of the structure shown in fig. 8: a security processing unit 83, configured to perform IPSec encapsulation on the URL of the configuration file sent by the URL management unit 81, and perform IPSec encapsulation on the configuration file sent by the file management unit 82.
Further, the file management apparatus may adopt a distributed deployment, the URL management unit 81 may be provided on a first device, and the file management unit 82 may be provided on a second device. For example, in the system shown in fig. 3, the URL management unit 81 is provided on the headquarters device, and the file management unit 82 is provided on the web server.
In this embodiment, the file management unit 82 in the file management apparatus is configured to store a configuration file of the communication device and a corresponding relationship between the configuration file and the URL; a URL management unit 81 for storing the URL and the correspondence between the device identification of the communication device and the URL.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A device configuration method is characterized in that a system applied by the method comprises: headquarters equipment, a plurality of communication equipment and a network server, the method comprising:
the communication equipment sends a Uniform Resource Locator (URL) request to the headquarters equipment, wherein the URL request comprises an equipment identifier of the communication equipment;
the communication equipment receives a URL (uniform resource locator) of a configuration file corresponding to the equipment identifier, which is returned by the headquarter equipment, wherein the URL is used for positioning and uniquely identifying the configuration file of the communication equipment;
the communication equipment sends a configuration file request to the network server according to the acquired URL, wherein the configuration file request comprises the URL;
the communication equipment receives the configuration file corresponding to the URL, which is returned by the network server, wherein the configuration file comprises equipment parameters required to be configured by the communication equipment and configuration parameters corresponding to the upgraded software of the communication equipment;
and the communication equipment executes automatic configuration according to the configuration file, modifies the equipment parameters on the communication equipment into the equipment parameters in the configuration file, and modifies the configuration parameters of software on the communication equipment into the configuration parameters in the configuration file.
2. The device configuration method of claim 1, wherein the URL request is encapsulated by IPSec;
the URL returned by the headquarter equipment is encapsulated by IPSec;
the configuration file request is encapsulated by IPSec;
and the configuration file returned by the network server is encapsulated by IPSec.
3. The device configuration method according to claim 1 or 2, wherein before the communication device sends a uniform resource locator, URL, request to a headquarters device, further comprising:
the communication device receives a configuration indication for triggering the URL request.
4. A device configuration method is characterized in that a system applied by the method comprises: a headquarters device, a plurality of communication devices and a network server, the method being performed by a file management apparatus comprising: a URL management unit provided on the headquarters device and a file management unit provided on the web server, the method comprising:
the URL management unit receives a Uniform Resource Locator (URL) request sent by communication equipment, wherein the URL request comprises an equipment identifier of the communication equipment;
the URL management unit sends a URL of a configuration file corresponding to the equipment identifier to the communication equipment, wherein the URL is used for positioning and uniquely identifies the configuration file of the communication equipment;
the file management unit sends the configuration file corresponding to the URL to the communication equipment, wherein the configuration file comprises equipment parameters required to be configured by the communication equipment and configuration parameters corresponding to the upgraded software of the communication equipment, so that the communication equipment executes automatic configuration according to the configuration file, modifies the equipment parameters on the communication equipment into the equipment parameters in the configuration file, and modifies the configuration parameters of the software on the communication equipment into the configuration parameters in the configuration file.
5. The device configuration method according to claim 4, before the URL management unit receives a uniform resource locator URL request sent by a communication device, further comprising:
the network server acquires the configuration file of the communication equipment and sets the URL corresponding to the configuration file;
the URL management unit stores the corresponding relation between the equipment identification of the communication equipment and the URL so as to acquire the corresponding URL according to the equipment identification;
and the network server stores the corresponding relation between the URL and the configuration file so as to acquire the corresponding configuration file according to the URL.
6. A communication device, wherein a system in which the communication device is located comprises: headquarters equipment, a plurality of said communication equipment and a network server, said communication equipment comprising:
a URL obtaining unit, configured to send a Uniform Resource Locator (URL) request to the headquarters device, where the URL request includes a device identifier of a communication device; receiving a URL (uniform resource locator) of a configuration file corresponding to the equipment identifier, which is returned by the headquarter equipment, wherein the URL is used for positioning and uniquely identifies the configuration file of the communication equipment;
the configuration file acquisition unit is used for sending a configuration file request to the network server according to the acquired URL, wherein the configuration file request comprises the URL; receiving the configuration file corresponding to the URL, which is returned by the network server, wherein the configuration file comprises the equipment parameters required to be configured by the communication equipment and the configuration parameters corresponding to the upgraded software of the communication equipment;
and the file configuration unit is used for executing automatic configuration according to the configuration file acquired by the configuration file acquisition unit, modifying the equipment parameters on the communication equipment into the equipment parameters in the configuration file, and modifying the configuration parameters of the software on the communication equipment into the configuration parameters in the configuration file.
7. The communication device of claim 6, further comprising:
the security processing unit is used for carrying out IPSec packaging on the URL request and also used for carrying out IPSec packaging on the configuration file request;
accordingly, the number of the first and second electrodes,
the URL obtaining unit is specifically configured to send, to the headquarters device, a URL request obtained by performing IPSec encapsulation by the security processing unit;
the configuration file obtaining unit is specifically configured to send, to the network server, a configuration file request after IPSec encapsulation performed by the security processing unit.
8. The communication device according to claim 6 or 7, further comprising:
and the triggering unit is used for triggering the URL obtaining unit to send the URL request to the headquarters equipment when a configuration instruction is received.
9. A file management apparatus, characterized in that the file management apparatus comprises: a URL management unit and a file management unit, the system where the file management apparatus is located includes: a headquarters device, a plurality of communication devices and a web server, said URL management unit being provided on said headquarters device, said file management unit being provided on said web server, wherein:
the device comprises a URL management unit, a URL processing unit and a communication device, wherein the URL management unit is used for receiving a Uniform Resource Locator (URL) request sent by the communication device, and the URL request comprises a device identifier of the communication device; sending a URL of a configuration file corresponding to the equipment identifier to the communication equipment, wherein the URL is used for positioning and uniquely identifying the configuration file of the communication equipment;
the file management unit is configured to send the configuration file corresponding to the URL to the communication device, where the configuration file includes device parameters to be configured by the communication device and configuration parameters corresponding to the upgraded software of the communication device, so that the communication device executes automatic configuration according to the configuration file, modifies the device parameters on the communication device into the device parameters in the configuration file, and modifies the configuration parameters of the software on the communication device into the configuration parameters in the configuration file.
10. The file management apparatus according to claim 9, further comprising:
and the security processing unit is used for carrying out IPSec packaging on the URL sent by the URL management unit and carrying out IPSec packaging on the configuration file sent by the file management unit.
CN201210191905.2A 2012-06-12 2012-06-12 Equipment configuration method and device Active CN102724067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210191905.2A CN102724067B (en) 2012-06-12 2012-06-12 Equipment configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210191905.2A CN102724067B (en) 2012-06-12 2012-06-12 Equipment configuration method and device

Publications (2)

Publication Number Publication Date
CN102724067A CN102724067A (en) 2012-10-10
CN102724067B true CN102724067B (en) 2016-03-02

Family

ID=46949736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210191905.2A Active CN102724067B (en) 2012-06-12 2012-06-12 Equipment configuration method and device

Country Status (1)

Country Link
CN (1) CN102724067B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219101B (en) * 2014-10-08 2018-03-16 上海恒彤云视信息科技有限公司 A kind of system and its implementation for realizing that equipment automatically configures using mobile phone
CN105635320A (en) * 2016-03-04 2016-06-01 江苏盟广信息技术有限公司 Method and equipment for calling configuration information
CN111143262A (en) * 2018-11-05 2020-05-12 致伸科技股份有限公司 Switching device, instrument control system and instrument control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN102064966A (en) * 2010-12-29 2011-05-18 北京世纪互联工程技术服务有限公司 Configuration method, server, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100403690C (en) * 2005-04-30 2008-07-16 华为技术有限公司 Method and its system for managing user stationed equipment configuration
CN100472445C (en) * 2006-09-04 2009-03-25 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN102064966A (en) * 2010-12-29 2011-05-18 北京世纪互联工程技术服务有限公司 Configuration method, server, equipment and system

Also Published As

Publication number Publication date
CN102724067A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN104767649B (en) Dispose the method and device of bare metal server
WO2015090091A1 (en) Method and system for updating optical distribution network (odn) device by using intelligent management terminal
CN112217771B (en) Data forwarding method and data forwarding device based on tenant information
CN102185716B (en) Universal management method and system for communication equipment
CN108833565B (en) Method and device for monitoring server, server and storage medium
CN104253833B (en) Remote processes operating method and system
CN103747020B (en) Safety controllable method for accessing virtual resources by public network
CN110198229B (en) Network configuration method and device, storage medium and electronic device
CN100399747C (en) Computer network strategy management system and strategy management method
CN103118443B (en) A kind of remote branch equipment configuration method and device
CN107317852A (en) Smart machine, communication system and the method extended based on MODBUS
CN102724067B (en) Equipment configuration method and device
CN109787849A (en) A kind of OLT logical network test method
CN111066014B (en) Apparatus, method, and program for remotely managing devices
EP2880832B1 (en) Method for configuring network nodes of a telecommunications network, telecommunications network, program and computer program product
CN110808847B (en) Method and device for managing DAS (data-based system), electronic device and storage medium
CN106909826B (en) Password substitution device and system
CN102394770A (en) Off-line configuration method for network equipment based on simple network management protocol (SNMP)
EP4035438A1 (en) Test method for verification of an rsp process and active test system providing such a test method
CN106572136A (en) Server operation control method, device and system
CN102752752B (en) base station maintenance method and apparatus
CN100426753C (en) Network managing method based on SNMP
CN107517126B (en) Method for installing network equipment in batches
CN103384246A (en) Safety supervision system login assistant method
CN100473049C (en) Method for realizing access device long-distance identification-dialing user service proxy authentication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant