CN107395436B - Equipment configuration system and method for managing master-slave network equipment - Google Patents

Equipment configuration system and method for managing master-slave network equipment Download PDF

Info

Publication number
CN107395436B
CN107395436B CN201710731933.1A CN201710731933A CN107395436B CN 107395436 B CN107395436 B CN 107395436B CN 201710731933 A CN201710731933 A CN 201710731933A CN 107395436 B CN107395436 B CN 107395436B
Authority
CN
China
Prior art keywords
master
slave
network equipment
configuration
parameters
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
CN201710731933.1A
Other languages
Chinese (zh)
Other versions
CN107395436A (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.)
Chengdu DBAPPSecurity Co Ltd
Original Assignee
Chengdu DBAPPSecurity 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 Chengdu DBAPPSecurity Co Ltd filed Critical Chengdu DBAPPSecurity Co Ltd
Priority to CN201710731933.1A priority Critical patent/CN107395436B/en
Publication of CN107395436A publication Critical patent/CN107395436A/en
Application granted granted Critical
Publication of CN107395436B publication Critical patent/CN107395436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Abstract

The invention discloses a device configuration system for managing master-slave network devices, which comprises: setting a module: presetting master-slave relation of network equipment and presetting master-slave network equipment parameters; an inspection module: checking whether the master-slave network equipment meets the master-slave relationship; a configuration module: setting parameters of the master network device and the slave network devices; a verification module: and verifying whether the master and slave network devices can work normally. A method of managing a master and a slave network device, comprising: s1) the user presets the master-slave relationship of the network device in the setting module; s2) the checking module checks whether the master-slave relationship of the preset network equipment conflicts; s3) the configuration module configures the slave network device and the master network device; s4) the verification module verifies whether the master and slave network devices can operate normally. The slave network equipment is configured according to the parameter setting of the master network equipment by setting the master-slave relationship between the network equipment, so that the extra parameter setting work of the slave equipment is reduced, and the binding relationship between the master network equipment and the slave network equipment is enhanced.

Description

Equipment configuration system and method for managing master-slave network equipment
Technical Field
The invention relates to the technical field of network equipment management, in particular to an equipment configuration system and an equipment configuration method for managing master and slave network equipment.
Background
As the private cloud platforms are gradually popularized, the docking requirements between the private cloud platforms and between the private cloud platform and the public cloud platform are increasingly enhanced, and the problem of network configuration under the cloud platform is more and more concerned. In the past, a master device and a slave device need to be configured separately, the master device cannot actively select the slave device, and the binding relationship between the master device and the slave device is not obvious, so that the configuration process is dispersed and not uniform, the binding relationship between the master device and the slave device is easily split, and the device management is not facilitated.
Chinese patent application No. 200510124309.2 entitled network device configuration system and method discloses a network device configuration system, which includes: the foreground is used for providing a unified equipment maintenance platform, displaying the network equipment information, the equipment function information and the function display information to a user, receiving the operation of the user aiming at the network equipment and generating corresponding operation information; the background is used for processing the operation information, performing information interaction with the network equipment according to a processing result and feeding back an operation result; and the foreground and background interfaces are used for establishing a channel between the foreground and the background and transmitting the operation information and the operation result. Preferably, the background processing of the present invention is implemented using script files. The invention also discloses a network equipment configuration method. The invention can realize a uniform equipment configuration framework, thereby reducing the complexity of the configuration process.
In the above prior art, the network devices are configured through scripts, but the binding relationship between the master network device and the slave network device is still not solved.
Disclosure of Invention
The invention aims to provide a device configuration system and a device configuration method for managing master and slave network devices, which are used for solving the problem of the prior art that the configuration process is dispersed because the binding relationship between the master and slave network devices is not obvious.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a device configuration system for managing master and slave network devices, comprising:
setting a module: the system comprises a checking module, a master-slave network equipment parameter input module, a slave-slave network equipment parameter input module and a master-slave network equipment parameter input module, wherein the master-slave relationship and the master-slave network equipment parameter are used for presetting network equipment by a user;
an inspection module: comparing the parameters of the master and slave network devices preset by a user with the actual models of the master and slave network devices, and checking whether the master and slave network devices meet the master and slave relationship; if not, sending an error prompt to a setting module; if yes, sending a configuration starting signal to a configuration module;
a configuration module: setting parameters of a master network device and slave network devices according to master-slave network device parameters preset by a user;
a verification module: and the verification configuration module verifies whether the parameters of the master network equipment and the slave network equipment after parameter setting are consistent with the parameters preset by the user and whether the master network equipment and the slave network equipment can work normally.
The working principle is as follows:
the setting module is used as an interactive interface between the device configuration system and a user, so that the user can specify the master-slave relationship of the network devices, specify the master network device and the slave network device in the network devices with the master-slave relationship, and preset parameters of the master network device. These primary network device parameters are only parameters that are theoretically set for the primary network device, but do not actually change the parameters of the network device at this time. And the slave network equipment automatically generates slave network equipment parameters according to a master-slave network equipment binding rule preset by the equipment configuration system and preset master network equipment parameters. The master-slave network device binding rule is customized by a user, for example, the master-slave network device types cannot be the same, the slave network device types cannot conflict with the master network device type, and the like. The configuration module configures the slave network equipment according to the automatically generated slave network equipment parameters, namely the slave network equipment parameters are set on the corresponding slave network equipment. The checking module checks the configured parameters of the slave network equipment, judges whether the parameters are consistent with the automatically generated parameters of the slave network equipment or not, if not, the configuration process is wrong, the setting module is returned to reset, if so, the slave network equipment is successfully configured, the master network equipment is configured by the same method, and the parameters of the configured master network equipment are checked. Since the master network device is dependent on the slave network device to operate, the slave network device is set first because the master network device configuration makes no sense when the slave network device configuration is faulty. And after the slave network equipment and the master network equipment are successfully configured, the master-slave network equipment relation is bound. The verification module verifies whether the master network device and the slave network device are connected or not, and the verification basis is as follows: if the master network device and the slave network device are communicated, the data packet processed by the master network device can be acquired from the network device. If the master network device and the slave network device work normally, the data packet sent to the master network device for processing is processed by the slave network device and then sent out, so that whether the master network device and the slave network device are normally connected and work normally can be verified according to whether the slave network device obtains the data packet and whether the data packet is processed and forwarded. The master-slave relationship of the master network equipment is set, the parameter of the master network equipment is set, the slave network equipment automatically generates the parameter according to the parameter of the master network equipment, the binding relationship between the master network equipment and the slave network equipment is enhanced, the configuration module configures the master network equipment and the slave network equipment according to the master-slave relationship, the configuration process is unified, extra parameter setting work of the slave equipment is reduced, and the problem that the split configuration process of the binding relationship between the master network equipment and the slave network equipment is dispersed is solved.
A method of managing a master and a slave network device, comprising:
s1) the master-slave relation of the network equipment is preset by a setting module in the equipment configuration system by the user;
s2) the checking module in the device configuration system checks whether the master-slave relationship of the preset network device conflicts with the actual model of the network device; if yes, informing the user of conflict information and returning to S1), otherwise, entering the next step;
s3) a configuration module in the device configuration system configures the slave network device, a check module checks whether the slave network device has errors, if so, the check module notifies the user and returns to S1), if not, the configuration module configures the master network device, the check module checks whether the master network device has errors, if so, the check module notifies the user and returns to S1), and if not, the next step is carried out;
s4) the verification module in the device configuration system verifies whether the master and slave network devices can work normally.
The working principle is as follows:
the method comprises the steps that a user sets a master-slave relationship of network equipment in a setting module, the master network equipment and slave network equipment are appointed, an inspection module inspects whether types of the master network equipment and the slave network equipment appointed by the user conflict with a binding rule preset by an equipment configuration system, if so, the user is prompted to make an error in setting, the master-slave relationship is reset, if not, the slave network equipment is configured by a configuration module, after the configuration is finished and the configuration is checked by the inspection module to be successful, the master network equipment is configured, and after the configuration is finished, whether the master-slave network equipment can normally work is verified.
Further, the S1) specifically includes:
s1.1) appointing a master device label of a master network device and appointing a slave device label of a slave network device;
s1.2) presetting main network equipment parameters;
s1.3) the slave network equipment automatically generates slave network equipment parameters according to the master network equipment parameters and the master-slave network equipment binding rules defined by the equipment configuration system.
The working principle is as follows:
setting a master-slave relationship of a network device includes: the method comprises the steps of appointing a main device label and a slave device label, presetting main network device parameters for main network devices with the main device label, and automatically generating the slave network device parameters without manual setting by a user.
Further, the S2) is specifically:
s2.1) the checking module checks the types of the master network equipment and the slave network equipment respectively;
and S2.2) judging whether the types of the master network equipment and the slave network equipment meet the preset binding relation requirement.
The working principle is as follows:
the checking module checks the types of the network devices, such as a gateway, a network bridge and the like, and checks whether the types of the network devices meet the master-slave relationship binding rule, for example, the master network device of the same type cannot bind the same slave network device, and the network devices are in conflict with each other and cannot be bound as the master-slave relationship.
Further, the S3) is specifically:
s3.1) a configuration module in the equipment configuration system sets parameters of the slave network equipment on the slave network equipment;
s3.2) checking whether the parameters of the slave network equipment are consistent with the automatically generated parameters of the slave network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step;
s3.3) the configuration module sets the preset parameters of the main network equipment to the main network equipment;
s3.4) checking whether the parameters of the main network equipment are consistent with the preset parameters of the main network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step.
The working principle is as follows:
setting parameters of a set master network device and parameters of an automatically generated slave network device of the network device which accord with a master-slave relation binding rule in a configuration module, respectively setting the parameters of the master network device and the slave network device, checking whether the parameters of the network device after configuration are effective or not, and checking that the parameters corresponding to the device are not in accordance with the parameters which need to be set, judging that the configuration is failed, for example, bridge devices start an stp protocol, but after the configuration of the configuration module, the checking module finds that the bridge devices still do not start the stp protocol, and considering that the configuration is wrong; if the configuration information is consistent with the configuration information, the configuration process is correct, and if the configuration information is inconsistent with the configuration information, the actual configuration process may fail due to some reasons of the system, such as driving problems, the device being occupied by unknown programs, and the like, and at this time, the user is prompted to make a mistake, and the user needs to reset the configuration module.
Further, the S4) is specifically:
s4.1) sending a data packet to the master network device, checking whether the data packet is received by the slave network device by a verification module, if not, failing to verify, and returning to S1); if receiving, the master and slave network devices are communicated; entering the next step;
and S4.2) verifying whether the slave network equipment processes the data packet and then forwards the data packet to the master network equipment after receiving the data packet, wherein if the data packet is processed and forwarded, the master network equipment and the slave network equipment work normally, otherwise, the verification fails, and the step returns to S1).
The working principle is as follows:
if the master network device and the slave network device are communicated, the data packet which is thrown to the master network device for processing can be obtained from the network device. If the master network device and the slave network device work normally, the data packet which is thrown to the master network device for processing is processed by the slave network device and then sent out. By adopting the method, whether the master network equipment and the slave network equipment work normally can be verified.
Further, a configuration module is included between S2) and S3) to backup the preset master network device parameters and the automatically generated slave network device parameters.
The working principle is as follows:
the configuration module backups the set parameters of the master and slave network devices before configuring the master and slave network devices, and restores the setting before configuration when the configuration process fails.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) according to the invention, the binding relationship between the master device and the slave device is set, then the master device and the slave device are respectively configured, the slave device is configured through the parameter setting of the master device, the configuration process is unified, the extra parameter setting work of the slave device is reduced, the purpose of enhancing the binding relationship between the master device and the slave device is achieved, and the problem of the split binding relationship between the master device and the slave device is solved.
(2) In the invention, if the slave equipment configuration is wrong, the processing such as repair or warning can be known and executed, the time for checking the effective configuration is reduced, and the flow for configuring the slave equipment is accelerated; the master network equipment parameters and the slave network equipment parameters set by the setting module are backed up before the master network equipment and the slave network equipment are configured, and the backup can be recovered when the configuration is unsuccessful.
Drawings
FIG. 1 is a schematic block diagram of the system of the present invention;
FIG. 2 is a flow chart of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1:
referring to fig. 1, a device configuration system for managing master and slave network devices includes:
setting a module: the system comprises a checking module, a master-slave network equipment parameter input module, a slave-slave network equipment parameter input module and a master-slave network equipment parameter input module, wherein the master-slave relationship and the master-slave network equipment parameter are used for presetting network equipment by a user;
an inspection module: comparing the parameters of the master and slave network devices preset by a user with the actual models of the master and slave network devices, and checking whether the master and slave network devices meet the master and slave relationship; if not, sending an error prompt to a setting module; if yes, sending a configuration starting signal to a configuration module;
a configuration module: setting parameters of a master network device and slave network devices according to master-slave network device parameters preset by a user;
a verification module: and the verification configuration module verifies whether the parameters of the master network equipment and the slave network equipment after parameter setting are consistent with the parameters preset by the user and whether the master network equipment and the slave network equipment can work normally.
The working principle is as follows:
the setting module is used as an interactive interface between the device configuration system and a user, so that the user can specify the master-slave relationship of the network devices, specify the master network device and the slave network device in the network devices with the master-slave relationship, and preset parameters of the master network device. These primary network device parameters are only parameters that are theoretically set for the primary network device, but do not actually change the parameters of the network device at this time. And the slave network equipment automatically generates slave network equipment parameters according to a master-slave network equipment binding rule preset by the equipment configuration system and preset master network equipment parameters. The master-slave network device binding rule is customized by a user, for example, the master-slave network device types cannot be the same, the slave network device types cannot conflict with the master network device type, and the like. The configuration module configures the slave network equipment according to the automatically generated slave network equipment parameters, namely the slave network equipment parameters are set on the corresponding slave network equipment. The checking module checks the configured parameters of the slave network equipment, judges whether the parameters are consistent with the automatically generated parameters of the slave network equipment or not, if not, the configuration process is wrong, the setting module is returned to reset, if so, the slave network equipment is successfully configured, the master network equipment is configured by the same method, and the parameters of the configured master network equipment are checked. Since the master network device is dependent on the slave network device to operate, the slave network device is set first because the master network device configuration makes no sense when the slave network device configuration is faulty. And after the slave network equipment and the master network equipment are successfully configured, the master-slave network equipment relation is bound.
The verification module verifies whether the master network device and the slave network device are connected or not, and the verification basis is as follows: if the master network device and the slave network device are communicated, the data packet processed by the master network device can be acquired from the network device. If the master network device and the slave network device work normally, the data packet sent to the master network device for processing is processed by the slave network device and then sent out, so that whether the master network device and the slave network device are normally connected and work normally can be verified according to whether the slave network device obtains the data packet and whether the data packet is processed and forwarded. The master-slave relationship of the master network equipment is set, the parameter of the master network equipment is set, the slave network equipment automatically generates the parameter according to the parameter of the master network equipment, the binding relationship between the master network equipment and the slave network equipment is enhanced, the configuration module configures the master network equipment and the slave network equipment according to the master-slave relationship, the configuration process is unified, extra parameter setting work of the slave equipment is reduced, and the problem that the split configuration process of the binding relationship between the master network equipment and the slave network equipment is dispersed is solved.
Example 2:
referring to fig. 1 and fig. 2, a method for managing a master device and a slave device includes:
s1) the master-slave relation of the network equipment is preset by a setting module in the equipment configuration system by the user;
s2) the checking module in the device configuration system checks whether the master-slave relationship of the preset network device conflicts with the actual model of the network device; if yes, informing the user of conflict information and returning to S1), otherwise, entering the next step;
s3) a configuration module in the device configuration system configures the slave network device, a check module checks whether the slave network device has errors, if so, the check module notifies the user and returns to S1), if not, the configuration module configures the master network device, the check module checks whether the master network device has errors, if so, the check module notifies the user and returns to S1), and if not, the next step is carried out;
s4) the verification module in the device configuration system verifies whether the master and slave network devices can work normally.
The working principle is as follows:
the method comprises the steps that a user sets a master-slave relationship of network equipment in a setting module, the master network equipment and slave network equipment are appointed, an inspection module inspects whether types of the master network equipment and the slave network equipment appointed by the user conflict with a binding rule preset by an equipment configuration system, if so, the user is prompted to make an error in setting, the master-slave relationship is reset, if not, the slave network equipment is configured by a configuration module, after the configuration is finished and the configuration is checked by the inspection module to be successful, the master network equipment is configured, and after the configuration is finished, whether the master-slave network equipment can normally work is verified. If the slave network equipment configuration is wrong, the equipment configuration system can acquire and execute the treatment of repair or warning and the like, so that the time for checking the effective configuration is reduced, and the flow of configuring the slave equipment is accelerated.
Example 3:
on the basis of the embodiment 2, with reference to fig. 1-2, the S1) specifically includes:
s1.1) appointing a master device label of a master network device and appointing a slave device label of a slave network device;
s1.2) presetting main network equipment parameters;
s1.3) the slave network equipment automatically generates slave network equipment parameters according to the master network equipment parameters and the master-slave network equipment binding rules defined by the equipment configuration system.
The working principle is as follows:
setting a master-slave relationship of a network device includes: the method comprises the steps of appointing a main device label and a slave device label, presetting main network device parameters for main network devices with the main device label, and automatically generating the slave network device parameters without manual setting by a user. For example: the master-slave relationship between the bridge equipment and the bond equipment is established, the bond equipment is used as slave network equipment of the bridge equipment, and then the value of the master parameter in the parameters of the bond equipment is automatically generated according to the name of the bridge equipment.
Further, the S2) is specifically:
s2.1) the checking module checks the types of the master network equipment and the slave network equipment respectively;
and S2.2) judging whether the types of the master network equipment and the slave network equipment meet the preset binding relation requirement.
The working principle is as follows:
the checking module checks the types of the network devices, such as a gateway, a network bridge and the like, and checks whether the types of the network devices meet the master-slave relationship binding rule, for example, the master network device of the same type cannot bind the same slave network device, and the network devices are in conflict with each other and cannot be bound as the master-slave relationship.
Further, the S3) is specifically:
s3.1) a configuration module in the equipment configuration system sets parameters of the slave network equipment on the slave network equipment;
s3.2) checking whether the parameters of the slave network equipment are consistent with the automatically generated parameters of the slave network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step;
s3.3) the configuration module sets the preset parameters of the main network equipment to the main network equipment;
s3.4) checking whether the parameters of the main network equipment are consistent with the preset parameters of the main network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step.
The working principle is as follows:
setting parameters of a set master network device and parameters of an automatically generated slave network device of the network device which accord with a master-slave relation binding rule in a configuration module, respectively setting the parameters of the master network device and the slave network device, checking whether the parameters of the network device after configuration are effective or not, and checking that the parameters corresponding to the device are not in accordance with the parameters which need to be set, judging that the configuration is failed, for example, bridge devices start an stp protocol, but after the configuration of the configuration module, the checking module finds that the bridge devices still do not start the stp protocol, and considering that the configuration is wrong; if the configuration information is consistent with the configuration information, the configuration process is correct, and if the configuration information is inconsistent with the configuration information, the actual configuration process may fail due to some reasons of the system, such as driving problems, the device being occupied by unknown programs, and the like, and at this time, the user is prompted to make a mistake, and the user needs to reset the configuration module.
Further, the S4) is specifically:
s4.1) sending a data packet to the master network device, checking whether the data packet is received by the slave network device by a verification module, if not, failing to verify, and returning to S1); if receiving, the master and slave network devices are communicated; entering the next step;
and S4.2) verifying whether the slave network equipment processes the data packet and then forwards the data packet to the master network equipment after receiving the data packet, wherein if the data packet is processed and forwarded, the master network equipment and the slave network equipment work normally, otherwise, the verification fails, and the step returns to S1).
The working principle is as follows:
if the master network device and the slave network device are communicated, the data packet which is thrown to the master network device for processing can be obtained from the network device. If the master network device and the slave network device work normally, the data packet which is thrown to the master network device for processing is processed by the slave network device and then sent out. By adopting the method, whether the master network equipment and the slave network equipment work normally can be verified.
Example 4:
on the basis of the above embodiment, as shown in fig. 1-2, a configuration module is further included between S2) and S3) to backup the preset master network device parameters and the automatically generated slave network device parameters.
The working principle is as follows:
the configuration module backups the set parameters of the master and slave network devices before configuring the master and slave network devices, and restores the setting before configuration when the configuration process fails. If the slave equipment configuration is wrong, the processing of repairing or warning and the like can be known and executed, the time for checking the configuration to be effective is reduced, and the flow of configuring the slave equipment is accelerated; the master network equipment parameters and the slave network equipment parameters set by the setting module are backed up before the master network equipment and the slave network equipment are configured, and the backup can be recovered when the configuration is unsuccessful.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and all simple modifications and equivalent variations of the above embodiments according to the technical spirit of the present invention are included in the scope of the present invention.

Claims (6)

1. A device configuration system for managing master and slave network devices, comprising:
setting a module: the method comprises the steps that a user specifies a master-slave relationship of network equipment, specifies master network equipment and slave network equipment in the network equipment with the master-slave relationship, and presets master network equipment parameters;
an inspection module: checking whether the types of the master network equipment and the slave network equipment meet a master-slave relationship binding rule or not;
if not, prompting the user to set an error, and resetting the master-slave relationship;
if yes, sending a configuration starting signal to a configuration module;
a configuration module: setting the slave network equipment parameters to the slave network equipment according to the slave network parameters automatically generated by the master-slave network equipment binding rules and the preset master network equipment parameters;
checking whether the parameters of the slave network equipment are consistent with the parameters of the automatically generated slave network equipment, if not, configuring errors, prompting error information to a user and returning; if the configuration is consistent, the configuration is effective;
setting preset main network equipment parameters to main network equipment;
checking whether the parameters of the main network equipment are consistent with the preset parameters of the main network equipment, if not, configuring errors, prompting error information to a user and returning the error information; if the configuration is consistent, the configuration is effective;
a verification module: and verifying whether the master and slave network devices can work normally.
2. A method of managing a master and a slave network device, comprising:
s1) the master-slave relationship and the master network equipment parameter of the network equipment are preset by a setting module in the equipment configuration system by a user; generating slave network equipment parameters;
s2) the checking module in the device configuration system checks whether the types of the master network device and the slave network device conflict with the binding rules preset by the device configuration system; if yes, informing the user of conflict information and returning to S1), otherwise, entering the next step;
s3) a configuration module in the device configuration system configures the slave network device, a check module checks whether the slave network device has errors, if so, the check module notifies the user and returns to S1), if not, the configuration module configures the master network device, the check module checks whether the master network device has errors, if so, the check module notifies the user and returns to S1), and if not, the next step is carried out;
the S3 specifically includes:
s3.1) a configuration module in the equipment configuration system sets parameters of the slave network equipment on the slave network equipment;
s3.2) checking whether the parameters of the slave network equipment are consistent with the automatically generated parameters of the slave network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step;
s3.3) the configuration module sets the preset parameters of the main network equipment to the main network equipment;
s3.4) checking whether the parameter of the main network equipment is consistent with the preset parameter of the main network equipment, if not, making configuration errors, prompting error information to a user, returning to S1), if so, making the configuration effective, and entering the next step;
s4) the verification module in the device configuration system verifies whether the master and slave network devices can work normally.
3. The method according to claim 2, wherein the S1) specifically includes:
s1.1) appointing a master device label of a master network device and appointing a slave device label of a slave network device;
s1.2) presetting main network equipment parameters;
s1.3) the slave network equipment automatically generates slave network equipment parameters according to the master network equipment parameters and the master-slave network equipment binding rules defined by the equipment configuration system.
4. The method according to claim 3, wherein the S2) is specifically:
s2.1) the checking module checks the types of the master network equipment and the slave network equipment respectively;
and S2.2) judging whether the types of the master network equipment and the slave network equipment meet the preset binding relation requirement.
5. The method according to claim 4, wherein the S4) is specifically:
s4.1) sending a data packet to the master network device, checking whether the data packet is received by the slave network device by a verification module, if not, failing to verify, and returning to S1); if receiving, the master and slave network devices are communicated; entering the next step;
and S4.2) verifying whether the slave network equipment processes the data packet and then forwards the data packet to the master network equipment after receiving the data packet, wherein if the data packet is processed and forwarded, the master network equipment and the slave network equipment work normally, otherwise, the verification fails, and the step returns to S1).
6. A method for managing a master-slave network device according to any one of claims 2-5, wherein a configuration module is further included between S2) and S3) for backing up preset master network device parameters and automatically generated slave network device parameters.
CN201710731933.1A 2017-08-23 2017-08-23 Equipment configuration system and method for managing master-slave network equipment Active CN107395436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710731933.1A CN107395436B (en) 2017-08-23 2017-08-23 Equipment configuration system and method for managing master-slave network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710731933.1A CN107395436B (en) 2017-08-23 2017-08-23 Equipment configuration system and method for managing master-slave network equipment

Publications (2)

Publication Number Publication Date
CN107395436A CN107395436A (en) 2017-11-24
CN107395436B true CN107395436B (en) 2020-04-21

Family

ID=60345182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710731933.1A Active CN107395436B (en) 2017-08-23 2017-08-23 Equipment configuration system and method for managing master-slave network equipment

Country Status (1)

Country Link
CN (1) CN107395436B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410445A (en) * 2018-10-31 2019-03-01 湖南金码智能设备制造有限公司 A kind of method and self-help shopping system of multiple unit cabinets of selling goods
CN114488825A (en) * 2021-12-23 2022-05-13 海尔优家智能科技(北京)有限公司 Method and system for setting accessory equipment, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114941A (en) * 2007-06-28 2008-01-30 中兴通讯股份有限公司 Method for slave equipment to configuration data in master-salve equipments
WO2008025295A1 (en) * 2006-08-25 2008-03-06 Huawei Technologies Co., Ltd. An ethernet service configuration device, method and system in passive optical network
CN102123181A (en) * 2010-12-09 2011-07-13 广东高新兴通信股份有限公司 Method for automatically configuring IP address to network device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008025295A1 (en) * 2006-08-25 2008-03-06 Huawei Technologies Co., Ltd. An ethernet service configuration device, method and system in passive optical network
CN101114941A (en) * 2007-06-28 2008-01-30 中兴通讯股份有限公司 Method for slave equipment to configuration data in master-salve equipments
CN102123181A (en) * 2010-12-09 2011-07-13 广东高新兴通信股份有限公司 Method for automatically configuring IP address to network device

Also Published As

Publication number Publication date
CN107395436A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN109634258B (en) Bus message checking method, device and system for hardware-in-loop test
CN111190812A (en) Automatic test framework based on embedded equipment
CN106612204B (en) Service checking method and device
CN104123219A (en) Method and device for testing software
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
US10552242B2 (en) Runtime failure detection and correction
CN107395436B (en) Equipment configuration system and method for managing master-slave network equipment
US10055537B2 (en) Simulation methods and systems for an aircraft
CN107357694A (en) Error event reporting system and its method during startup self-detection
CN102707710A (en) Diagnosis function verification method and system for automobile electronic control unit
CN106020898A (en) Software upgrading method and system of multi-processor device
CN113986270B (en) Distributed application deployment method and device, storage medium and electronic equipment
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
CN110198222B (en) Plug-and-play test method and test master station for power distribution automation terminal
CN112817883A (en) Method, device and system for adapting interface platform and computer readable storage medium
CN105117311A (en) System deployment environment inspection method and system
CN110704307A (en) Application product testing method and device, user equipment and computer storage medium
CN114897523A (en) Payment channel docking method and system of electronic payment platform and electronic equipment
CN112099814B (en) System and method for managing vehicle-mounted machine application software installation environment
CN112463610A (en) Test process control method and device
CN111082984A (en) Method and device for simulating login of network equipment to carry out command line interaction
TWI587109B (en) System structure and deployment method for installing operating systems of a plurality of devices under test
CN109560970A (en) A kind of network failure healing process, device and system
US9417863B2 (en) System and method for expedited loading of an image onto a storage device
CN110971716A (en) Address configuration method, device, system and computer readable storage medium

Legal Events

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