Switch configuration collaborative batch management method and system based on block chain encryption

The synergistic batch management of switch configuration is realized through blockchain encryption technology, solving the problems of inefficiency in traditional configuration management and data security, and improving configuration efficiency and network stability.

CN119299067APending Publication Date: 2025-01-10CHANGSHA XIANGJI HAIDUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411355584.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The traditional manual configuration management model is inefficient and prone to errors when deploying large-scale switches, and there is a risk of leakage and tampering of data transmission.

Method used

Adopt a switch configuration collaborative batch management method based on blockchain encryption, edit function lists through the configuration interface, generate and encrypt configuration files, and use the consensus mechanism of the blockchain network to add and broadcast configuration blocks to realize master switches to slave switches Identity and configuration management.

Benefits of technology

It significantly improves configuration efficiency, reduces the number of manual operations and complexity, ensures the security of configuration data, reduces the risk of configuration errors, and improves network stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299067A_ABST
    Figure CN119299067A_ABST
Patent Text Reader

Abstract

The invention discloses a switch configuration collaborative batch management method based on block chain encryption. The method comprises the following steps: editing and updating a function list through a configuration interface; generating a configuration file according to the function list, encrypting the configuration file through the public key, and packaging the encrypted configuration file and related metadata into a configuration block; adding the configuration block into the block chain through a consensus mechanism of a block chain network, and broadcasting the hash value of the configuration block to all slave switches; after receiving an on-chain configuration block request sent by the slave switch, identifying the identity of the slave switch, and after the identity is successfully identified, sending a corresponding configuration block to the slave switch; receiving configuration information fed back by the slave switch, and performing configuration monitoring and configuration management operation on the slave switch; according to the invention, the master switch collaboratively manages a plurality of slave switches in batches for simultaneous configuration or updating, so that the time required for configuration can be remarkably reduced, and the overall working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a switch configuration collaborative batch management method and system based on blockchain encryption. Background Art

[0002] With the rapid development of information technology, the scale of networks is expanding, and the network structure is becoming more and more complex. In large enterprises and data centers, switches, as core components of network infrastructure, undertake important functions such as data forwarding, network isolation, and security control.

[0003] However, the traditional manual configuration management mode is inefficient and prone to errors when facing large-scale switch deployment. The configuration of each switch needs to be independently logged in, operated and verified one by one. This process is lengthy and repetitive. The expansion of the network scale has exacerbated the surge in workload. At the same time, during the manual configuration process, configuration errors caused by human factors (such as negligence, fatigue, etc.) are difficult to avoid. These errors may cause network failures and affect the normal operation of the business. In addition, there is a risk of the switch being stolen or tampered with during data transmission.

[0004] In view of the above problems, technicians in this field are in urgent need of a switch configuration collaborative batch management method and system based on blockchain encryption. Summary of the invention

[0005] In view of the above-mentioned problems in the prior art, the purpose of the present invention is to provide a switch configuration collaborative batch management method and system to solve the problems of low configuration efficiency and easy leakage of transmission data in the existing switch configuration management method when facing large-scale switch deployment.

[0006] In order to achieve the above object, the present invention adopts the following technical scheme:

[0007] In a first aspect, an embodiment of the present invention provides a switch configuration collaborative batch management method based on blockchain encryption, which is applied to a master switch in a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the method includes:

[0008] Edit and update the function list through the configuration interface;

[0009] Generate a configuration file based on the function list, encrypt the configuration file using a public key, and package the encrypted configuration file and its related metadata into a configuration block;

[0010] Through the consensus mechanism of the blockchain network, the configuration block is added to the blockchain, and the hash value of the configuration block is broadcast to all slave switches;

[0011] After receiving the on-chain configuration block request sent by the slave switch, identify the identity of the requesting slave switch, and after successful identity identification, send the corresponding specific configuration block to the slave switch;

[0012] Receive configuration information fed back from the slave switch and perform configuration monitoring and configuration management operations on the slave switch.

[0013] Optionally, before editing and updating the function list through the configuration interface, the method further includes:

[0014] Receiving a configuration request sent from a switch; the configuration request includes identification information and a public key of the slave switch;

[0015] The slave switch identity is verified according to the slave switch identification information, and after the slave switch identity authentication is successful, the public key is received.

[0016] Optionally, after receiving the on-chain configuration block request sent by the slave switch, identifying the identity of the requesting slave switch, and after successful identity identification, sending a corresponding specific configuration block to the slave switch, includes:

[0017] Receiving an on-chain configuration block request sent from a switch; the on-chain configuration block request includes a specific configuration block address and identification information of the slave switch;

[0018] After the master switch receives the on-chain configuration block request sent by the slave switch, it identifies the slave switch through the identification information of the slave switch;

[0019] After the slave switch is successfully identified, the corresponding configuration block is retrieved from the blockchain network according to the specific configuration block address and sent to the slave switch.

[0020] Optionally, the configuration management includes fault handling and retry configuration.

[0021] In a second aspect, an embodiment of the present invention provides a switch configuration collaborative batch management method based on blockchain encryption, which is applied to a slave switch in a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the method includes:

[0022] After receiving the configuration block hash value broadcast by the master switch, send an on-chain configuration block request to the master switch according to the configuration requirements; the on-chain configuration block request includes a specific configuration block address and its own identification information;

[0023] Receive the specific configuration block sent by the main switch, decrypt the specific configuration block using the private key, and obtain the specific configuration file;

[0024] Perform function configuration according to specific configuration files, record configuration information in real time during the configuration process, and feed it back to the main switch.

[0025] Optionally, after receiving the hash value of the configuration file block and before sending the on-chain configuration block request to the main switch, the method further includes:

[0026] In response to the opening instruction initiated by the user, an asymmetric encryption key pair is generated and the private key is saved;

[0027] Send a configuration request to the master switch; the configuration request includes a public key and self-identification information.

[0028] In a third aspect, an embodiment of the present invention provides a switch configuration collaborative batch management system based on blockchain encryption, which is applied to a master switch in a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the system includes:

[0029] List editing module, used to edit and update the function list through the configuration interface;

[0030] A configuration encryption module is used to generate a configuration file according to the function list, encrypt the configuration file by using a public key, and package the encrypted configuration file and its related metadata into a configuration block;

[0031] The configuration module is used to add the configuration block to the blockchain through the consensus mechanism of the blockchain network, and broadcast the hash value of the configuration block to all slave switches;

[0032] The identity recognition module is used to receive the on-chain configuration block request sent by the slave switch, identify the identity of the requesting slave switch, and send the corresponding specific configuration block to the slave switch after the identity recognition is successful;

[0033] The configuration monitoring module is used to receive the configuration information fed back from the switch and perform configuration monitoring and configuration management operations on the slave switch.

[0034] In a fourth aspect, an embodiment of the present invention provides a switch configuration collaborative batch management system based on blockchain encryption, which is applied to a slave switch in a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the system includes:

[0035] A configuration request module, configured to send an on-chain configuration block request to the main switch according to the configuration requirements after receiving the configuration block hash value broadcast by the main switch; the on-chain configuration block request includes a specific configuration block address and its own identification information;

[0036] A configuration decryption module is used to receive a specific configuration block sent by the main switch, decrypt the specific configuration block using a private key, and obtain a specific configuration file;

[0037] The function configuration module is used to configure functions according to specific configuration files, record the configuration information in real time during the configuration process, and feed it back to the main switch.

[0038] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the switch configuration collaborative batch management method as described above.

[0039] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the switch configuration collaborative batch management method as described above.

[0040] The beneficial effects brought by the embodiments provided by the present invention include:

[0041] The present invention can significantly reduce the number and complexity of manual operations by coordinating batch management of multiple slave switches for simultaneous configuration or updating through the master switch, significantly reduce the time required for configuration, and improve overall work efficiency; the present invention is based on the confidentiality and consensus mechanism of blockchain to ensure the security of configuration files during transmission and storage, and effectively prevent the leakage and tampering of configuration data; the present invention reduces human intervention and the risk of configuration errors through automated configuration processes. At the same time, the master switch receives the configuration feedback information sent by the slave switch in real time, can monitor the configuration process of the slave switch, promptly discover and correct problems in the configuration process, ensure that all slave switches are correctly configured with the required functions, and improve network stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 A schematic diagram of a process flow of a configuration collaborative batch management method according to an embodiment of the present disclosure is schematically shown;

[0044] Figure 2 The interactive schematic diagram of the configuration collaborative batch management method according to an embodiment of the present disclosure is schematically shown;

[0045] Figure 3Schematically shows a structural block diagram of a configuration collaborative batch management system according to an embodiment of the present disclosure;

[0046] Figure 4 The structural block diagram of a configuration collaborative batch management system according to another embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0048] However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, the description of the known technology is omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0049] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The term "comprising" used herein indicates the existence of features, steps, operations, but does not exclude the existence or addition of one or more other features. It should be noted that all terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used here should be interpreted as having meanings consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0050] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.

[0051] Example 1

[0052] Figure 1 A process interaction diagram of a configuration collaborative batch management method according to an embodiment of the present disclosure is schematically shown;

[0053] like Figure 1 As shown, the following will be combined Figure 1 A method for collaborative batch management of switch configurations based on blockchain encryption provided by the present invention is described.

[0054] like Figure 1 As shown, a switch configuration collaborative batch management method based on blockchain encryption, the method comprising:

[0055] S1: Edit and update the function list in the main switch through the configuration interface of the main switch;

[0056] S2: The master switch generates a configuration file based on the function list, encrypts the configuration file using the public key, and packages the encrypted configuration file and its related metadata into a configuration block;

[0057] S3: The master switch adds the configuration block to the blockchain through the consensus mechanism of the blockchain network, and broadcasts the hash value of the configuration block to all slave switches;

[0058] S4: After receiving the configuration block hash value broadcast by the master switch, the slave switch sends an on-chain configuration block request to the master switch according to the configuration requirements; wherein the on-chain configuration block request includes a specific configuration block address and the slave switch's own identification information;

[0059] S5: After receiving the on-chain configuration block request sent by the slave switch, the master switch identifies the slave switch through the identification information of the slave switch, and after the slave switch is successfully identified, the master switch retrieves the corresponding specific configuration block from the blockchain network according to the specific configuration block address and sends it to the slave switch;

[0060] S6: The slave switch receives the specific configuration block sent by the master switch, decrypts the specific configuration block using the private key, and obtains the specific configuration file;

[0061] S7: The slave switch performs function configuration according to a specific configuration file, records the configuration information in real time, and feeds it back to the master switch;

[0062] S8: The master switch receives the configuration information fed back by the slave switch, and performs configuration monitoring and configuration management operations on the slave switch.

[0063] Figure 2 The interactive schematic diagram of the configuration collaborative batch management method according to an embodiment of the present disclosure is schematically shown;

[0064] like Figure 2 As shown, in this embodiment, before S1, the method further includes:

[0065] The slave switch generates an asymmetric encryption key pair in response to the opening instruction initiated by the user, and saves the private key;

[0066] The slave switch sends a configuration request to the master switch; the configuration request includes the public key and its own identification information

[0067] The master switch receives the configuration request sent by the slave switch;

[0068] The master switch verifies the identity of the slave switch based on the slave switch identification information and receives the public key after the slave switch identity verification succeeds.

[0069] The user initiates the start command when starting the slave switch or triggering the slave switch to enter the configuration state.

[0070] In some embodiments, S8 includes the following specific contents:

[0071] The master switch receives the configuration information fed back by the slave switch in real time; wherein the configuration information includes the configuration progress and configuration result;

[0072] If the configuration information received by the master switch is an error code returned by the slave switch, it means that the slave switch configuration has failed. At this time, the master switch considers fault handling and retrying the configuration operation to ensure the success rate and accuracy of the configuration.

[0073] If the master switch waits for the slave switch to feedback configuration information for longer than the preset waiting time, it will resend the configuration block to allow the slave switch to reconfigure. At the same time, if the slave switch feedbacks configuration information for three consecutive times, the master switch records the error information and notifies the user.

[0074] In this embodiment, before editing and updating the function list in the master switch through the configuration interface, it is necessary to first set the function list to be enabled on the master switch, and the list includes the functions to be enabled for all slave switches to be configured;

[0075] Exemplarily, the function items in the function list include virtual local area network (VLAN), port forwarding, MAC address learning, link aggregation (LAG), stacking, port mirroring, quality of service (QoS), access control list (ACL), bandwidth management, dynamic host configuration protocol, static routing, switch management, simple network management protocol (SNMP) and switch clustering, etc.

[0076] In this embodiment, the slave switch selects a specific configuration block address based on the hash value of the configuration block according to its own configuration requirements. The master switch retrieves the corresponding specific configuration block through the specific configuration block address and sends it to the slave switch, so that different switches can select specific configurations according to their own needs, which fully reflects the flexibility and scalability of this embodiment.

[0077] In some embodiments, the blockchain network includes multiple switches, and a switch with stronger performance and higher stability in the blockchain network is selected as the main switch, and the remaining switches are slave switches.

[0078] In this embodiment, the master switch coordinates batch management of multiple slave switches for simultaneous configuration or updating, which can greatly reduce the number and complexity of manual operations, significantly reduce the time required for configuration, and improve overall work efficiency; at the same time, based on the confidentiality and consensus mechanism of the blockchain, the security of the configuration file during transmission and storage is ensured, and the configuration data is effectively prevented from being leaked and tampered. In this embodiment, all operation logs and times during the configuration process are recorded through the blockchain, and based on the tamper-proof nature of the blockchain, all aspects of the slave switch configuration process are monitored and recorded.

[0079] Example 2

[0080] The following will be combined Figure 3-4 A switch configuration collaborative batch management system based on blockchain encryption provided by the present disclosure is described;

[0081] Figure 3 The structural block diagram of the configuration collaborative batch management system according to an embodiment of the present disclosure is schematically shown.

[0082] like Figure 3 As shown, the switch configuration collaborative batch management system 300 may include a list editing module 301, a configuration encryption module 302, a configuration uplink module 303, an identity recognition module 304, and a configuration monitoring module 305. The switch configuration collaborative batch management system 300 may be applied to a master switch in a blockchain network; wherein the blockchain network includes a master switch and multiple slave switches.

[0083] List editing module 301, used to edit and update the function list through the configuration interface;

[0084] A configuration encryption module 302 is used to generate a configuration file according to the function list, encrypt the configuration file by using a public key, and package the encrypted configuration file and its related metadata into a configuration block;

[0085] The configuration uplink module 303 is used to add the configuration block to the blockchain through the consensus mechanism of the blockchain network, and broadcast the hash value of the configuration block to all slave switches;

[0086] The identity recognition module 304 is used to receive the on-chain configuration block request sent by the slave switch, identify the identity of the requesting slave switch, and send the corresponding specific configuration block to the slave switch after the identity recognition is successful;

[0087] The configuration monitoring module 305 is used to receive configuration information fed back from the slave switch and perform configuration monitoring and configuration management operations on the slave switch.

[0088] Figure 4 The structural block diagram of a configuration collaborative batch management system according to another embodiment of the present disclosure is schematically shown.

[0089] like Figure 4 As shown, the switch configuration collaborative batch management system 400 may include a configuration request module 401, a configuration decryption module 402, and a function configuration module 403. The switch configuration collaborative batch management system 400 may be applied to slave switches in a blockchain network.

[0090] The configuration request module 401 is used to send an on-chain configuration block request to the main switch according to the configuration requirements after receiving the configuration block hash value broadcast by the main switch; wherein the on-chain configuration block request includes a specific configuration block address and its own identification information;

[0091] The configuration decryption module 402 is used to receive the specific configuration block sent by the main switch, decrypt the specific configuration block using the private key, and obtain the specific configuration file;

[0092] The function configuration module 403 is used to perform function configuration according to a specific configuration file, record the configuration information in the configuration process in real time, and feed it back to the main switch.

[0093] Example 3

[0094] This embodiment provides an electronic device, comprising at least one control processor and a memory for communicating with the at least one control processor;

[0095] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0096] The non-transient software program and instructions required to implement the switch configuration collaborative batch management method based on blockchain encryption in the above embodiment are stored in the memory. When executed by the processor, the switch configuration collaborative batch management method based on blockchain encryption in the above embodiment is executed, for example, the above described Figure 1 The method comprises steps S1 to S8.

[0097] The system embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0098] Example 4

[0099] This embodiment provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a switch configuration collaborative batch management method based on blockchain encryption as described in Example 1.

[0100] It should be noted that the computer-readable storage medium of the present embodiment may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0101] In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device, or device. In this embodiment, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program used by or in combination with an instruction execution system, device, or device. The computer program contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0102] The computer readable storage medium can be written in one or more programming languages ​​or a combination thereof to execute the computer program of the present embodiment, and the programming language includes an object-oriented programming language, such as Python, Java, C++, and also includes a conventional procedural programming language, such as C language or similar programming languages. The program can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0103] The above description is only a preferred embodiment of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention.

Claims

1. A switch configuration collaborative batch management method based on blockchain encryption, characterized in that: A master switch applied to a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the method includes: Edit and update the function list through the configuration interface; Generate a configuration file based on the function list, encrypt the configuration file using a public key, and package the encrypted configuration file and its related metadata into a configuration block; Through the consensus mechanism of the blockchain network, the configuration block is added to the blockchain, and the hash value of the configuration block is broadcast to all slave switches; After receiving the on-chain configuration block request sent by the slave switch, identify the identity of the requesting slave switch, and after successful identity identification, send the corresponding specific configuration block to the slave switch; Receive configuration information fed back from the slave switch and perform configuration monitoring and configuration management operations on the slave switch.

2. The method according to claim 1, characterized in that: Before editing and updating the function list through the configuration interface, the method further includes: Receiving a configuration request sent from a switch; the configuration request includes identification information and a public key of the slave switch; The slave switch identity is verified according to the slave switch identification information, and after the slave switch identity authentication is successful, the public key is received.

3. The method according to claim 1, characterized in that After receiving the on-chain configuration block request sent by the slave switch, identifying the identity of the requesting slave switch, and after successful identity identification, sending the corresponding specific configuration block to the slave switch, including: Receiving an on-chain configuration block request sent from a switch; the on-chain configuration block request includes a specific configuration block address and identification information of the slave switch; After the master switch receives the on-chain configuration block request sent by the slave switch, it identifies the slave switch through the identification information of the slave switch; After the slave switch is successfully identified, the corresponding specific configuration block is retrieved from the blockchain network according to the specific configuration block address and sent to the slave switch.

4. The method according to claim 1, characterized in that The configuration management includes fault handling and retry configuration.

5. A switch configuration collaborative batch management method based on blockchain encryption, characterized in that: A slave switch applied to a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the method includes: After receiving the configuration block hash value broadcast by the master switch, send an on-chain configuration block request to the master switch according to the configuration requirements; the on-chain configuration block request includes a specific configuration block address and its own identification information; Receive the specific configuration block sent by the main switch, decrypt the specific configuration block using the private key, and obtain the specific configuration file; Perform function configuration according to specific configuration files, record configuration information in real time during the configuration process, and feed it back to the main switch.

6. The method according to claim 1, characterized in that After receiving the hash value of the configuration file block, before sending the on-chain configuration block request to the main switch, the method further includes: In response to the opening instruction initiated by the user, an asymmetric encryption key pair is generated and the private key is saved; Send a configuration request to the master switch; the configuration request includes a public key and self-identification information.

7. A switch configuration collaborative batch management system based on blockchain encryption, characterized in that: A master switch applied to a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the system includes: List editing module, used to edit and update the function list through the configuration interface; A configuration encryption module is used to generate a configuration file according to the function list, encrypt the configuration file by using a public key, and package the encrypted configuration file and its related metadata into a configuration block; The configuration module is used to add the configuration block to the blockchain through the consensus mechanism of the blockchain network, and broadcast the hash value of the configuration block to all slave switches; The identity recognition module is used to receive the on-chain configuration block request sent by the slave switch, identify the identity of the requesting slave switch, and send the corresponding specific configuration block to the slave switch after the identity recognition is successful; The configuration monitoring module is used to receive the configuration information fed back from the switch and perform configuration monitoring and configuration management operations on the slave switch.

8. A switch configuration collaborative batch management system based on blockchain encryption, characterized in that: A slave switch applied to a blockchain network, wherein the blockchain network includes a master switch and multiple slave switches, and the system includes: A configuration request module, configured to send an on-chain configuration block request to the main switch according to the configuration requirements after receiving the configuration block hash value broadcast by the main switch; the on-chain configuration block request includes a specific configuration block address and its own identification information; A configuration decryption module is used to receive a specific configuration block sent by the main switch, decrypt the specific configuration block using a private key, and obtain a specific configuration file; The function configuration module is used to configure functions according to specific configuration files, record the configuration information in real time during the configuration process, and feed it back to the main switch.

9. An electronic device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the switch configuration collaborative batch management method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the switch configuration collaborative batch management method according to any one of claims 1 to 6.