Service request processing method and device based on private ring protocol, and storage medium
Through the service request processing method based on the private ring protocol, network grouping requests and service requests are analyzed, and the target device needs to be connected to the private ring network, and interface blocking operations are performed, which solves the problem that devices in the ring network are vulnerable to attacks and improves data security.
Patent Information
- Application Number
- CN202311655650.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-05-06
AI Technical Summary
Devices in the ring network are easily attacked by unknown devices, resulting in low security of data in the ring network.
A service request processing method based on the private ring protocol is provided. By analyzing network requests and service requests, it determines whether the target device needs to access the private ring network, and performs interface blocking operations based on the effectiveness of the ring network protocol to prevent access to unknown devices.
Effectively prevent access to unknown devices, reduce the risk of network attacks and information leakage, and improve the security of data in the ring network.
Smart Images

Figure CN119945832A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital communications, and in particular to a service request processing method, device and storage medium based on a private ring protocol. Background Art
[0002] With the development of the Internet, the security and reliability requirements of various networks are getting higher and higher. As a specific form of networking, a ring network refers to a situation where the path of data transmission in the network forms a closed loop or ring structure. In a ring network, data can be transmitted along the loop. This structure is usually used to achieve redundancy and fault tolerance, ensuring that even if a part of the network fails, data can still be transmitted through other paths.
[0003] Currently, switch products generally form a ring network through open protocols such as STP (Spanning Tree Protocol). Devices in the ring network are easily attacked by unknown devices, resulting in low security of data in the ring network. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem that the equipment in the ring network is easily attacked by unknown equipment, resulting in low security of data in the ring network.
[0005] A first aspect of the present invention provides a method for processing a service request based on a private ring protocol, the method comprising: When a networking request is detected, parsing the ring network configuration parameters carried by the networking request; According to the ring network configuration parameters, a networking operation is performed to obtain a private ring network; When a service request initiated by a target device is detected, judging whether the target device needs to access the private ring network according to the requirements of the service request; If the target device needs to access the private ring network, parse out the ring network protocol carried by the service request; Determining whether the ring network protocol is a preset private ring protocol; If the ring network protocol is not the private ring protocol, the target device is determined to be an unknown device, the ring network protocol is discarded, and an interface blocking operation is performed on the target device.
[0006] Optionally, in a first implementation manner of the first aspect of the present invention, after the step of discarding the ring network protocol and performing a blocking interface operation on the target device if the ring network protocol is not the private ring protocol, the method further includes: If the ring network protocol is the private ring protocol, determining whether an internal switch in the private ring network is in a working state; If the internal switch in the private ring network is in working state, a prompt message indicating that the service request cannot be responded is output.
[0007] Optionally, in a second implementation of the first aspect of the present invention, the step of performing a networking operation according to the ring network configuration parameters to obtain a private ring network includes: Determining an internal switch among preset switches according to the ring network configuration parameters; A networking operation is performed on the internal switch to obtain a private ring network.
[0008] Optionally, in a third implementation manner of the first aspect of the present invention, after the step of performing a networking operation on the internal switch to obtain a private ring network, the method further includes: Acquire device information of the internal switch; Performing data statistics operations on the ring network configuration parameters and the device information to obtain ring status information of the private ring network; The ring status information is output.
[0009] Optionally, in a fourth implementation manner of the first aspect of the present invention, after the step of performing a networking operation on the internal switch to obtain a private ring network, the method further includes: Performing a fault detection operation on the private ring network to obtain a detection result; Determining whether the detection result includes fault information; If the ring status information includes fault information, determining a faulty switch among the internal switches; The backup link of the failed switch is enabled, and the process returns to execute acquisition of device information of the internal switch.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the step of enabling the backup link of the failed switch and returning to execute the step of obtaining the device information of the internal switch includes: Activate the backup link of the internal switch, execute a preset fault repair procedure and calculate the fault repair time; When the fault repair time reaches the preset time, the process returns to the step of obtaining the device information of the internal switch.
[0011] Optionally, in a sixth implementation manner of the first aspect of the present invention, before the step of determining whether the ring network protocol is a preset private ring protocol, the method further includes: When a protocol update request is detected, parsing the protocol to be updated carried in the protocol update request; The protocol to be updated is used as the preset private ring protocol.
[0012] Optionally, in a seventh implementation manner of the first aspect of the present invention, after the step of performing a networking operation according to the ring network configuration parameters to obtain a private ring network, the method further includes: When a ring network update request is detected, an update operation is performed on the private ring network according to the ring network update request.
[0013] The second aspect of the present invention provides a business request processing device based on a private ring protocol, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the business request processing device based on the private ring protocol executes the above-mentioned business request processing method based on the private ring protocol.
[0014] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned service request processing method based on the private ring protocol.
[0015] In the embodiment of the present invention, by parsing the networking request and the service request, the service request processing device based on the private ring protocol can accurately identify and verify the target device. The private ring network can provide an independent communication channel for meeting specific service requirements or connecting specific devices. According to the service request requirements of the target device, the service request processing device based on the private ring protocol can intelligently determine whether to connect the device to the private ring network. Through the interface blocking operation, the service request processing device based on the private ring protocol can timely reject the service request of the device that is illegal or does not meet the requirements, thereby ensuring the stability and reliability of the private ring network. The service request processing device based on the private ring protocol can automatically parse and execute the networking operation without manual intervention, thereby simplifying the process of ring network configuration. By judging the access requirements of the target device and the validity of the ring network protocol, the service request processing device based on the private ring protocol can quickly identify and process unknown devices, reduce the workload of the administrator, and improve management efficiency. When the target device needs to access the private ring network, the ring network protocol carried by the service request will be judged, and only the preset private ring protocol will be allowed to access. It can effectively prevent the access of unknown devices, reduce the risk of network attacks and information leakage, and improve the security of data in the ring network. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a first embodiment of a method for processing a service request based on a private ring protocol in an embodiment of the present invention; Figure 2 A schematic diagram of a specific embodiment of step 103 of the service request processing method based on the private ring protocol in an embodiment of the present invention; Figure 3 It is a schematic diagram of a specific embodiment after step 105 of the service request processing method based on the private ring protocol in an embodiment of the present invention; Figure 4 It is a schematic diagram of a specific implementation method after step 105 of the service request processing method based on the private ring protocol in an embodiment of the present invention; Figure 5 The figure is a schematic diagram of an embodiment of a service request processing device based on a private ring protocol in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The embodiment of the present invention provides a service request processing method, device and storage medium based on a private ring protocol.
[0018] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0019] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0020] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a service request processing method based on a private ring protocol in an embodiment of the present invention includes: 101. When a networking request is detected, parse out the ring network configuration parameters carried in the networking request; Specifically, the business request processing device based on the private ring protocol provides an interactive interface, and the user can input information through the interactive interface. The business request processing device based on the private ring protocol generates ring network configuration parameters based on the input information, thereby configuring the ring network and the ring network protocol instance. The input information includes the switch ring network interface, ring network role, ring network instance, etc.
[0021] 102. Perform networking operations according to the ring network configuration parameters to obtain a private ring network; Specifically, based on the user's input information, the device will generate corresponding ring network configuration parameters. For example: Switch Ring Network Interface: Save the switch ring network interface entered by the user as a string variable.
[0022] Ring Role: Save the ring role selected by the user as an enumeration or string variable.
[0023] Ring network instance: Save the ring network instance specified by the user as a string variable.
[0024] Configure the ring network and ring network protocol instance: The device uses the generated ring network configuration parameters to configure the ring network and create a ring network protocol instance. Specific operations include: Configure switch interface: The device applies the ring network configuration parameters to the specified switch ring network interface by communicating with the switch.
[0025] Create a ring network protocol instance: The device creates a corresponding ring network protocol instance based on the ring network instance specified by the user.
[0026] 103. When a service request initiated by a target device is detected, judging whether the target device needs to access the private ring network according to the requirements of the service request; Specifically, based on the service request information obtained through analysis, it is determined whether the target device needs to access the private ring network. The determination can be made by checking certain fields or identifiers in the request. For example, based on the service type field in the request, it is determined whether the device is of a type that needs to access the private ring network. Based on the resource requirement field in the request, it is determined whether the device needs specific resources provided by the private ring network. Based on the ring network association field in the request, it is determined whether the target device needs to be connected to an existing private ring network. Based on the determination result, the system determines whether the target device needs to access the private ring network.
[0027] For further information, see Figure 2 , Figure 2 This is a schematic diagram of a specific embodiment of step 103 of the service request processing method based on the private ring protocol in an embodiment of the present invention. Step 103 also includes the following specific implementation methods: 1031. Determine an internal switch in a preset switch according to the ring network configuration parameters; 1032. Perform a networking operation on the internal switch to obtain a private ring network.
[0028] In steps 1031-1032, the number and location of internal switches are determined based on the configuration parameters. The minimum spanning tree algorithm or the shortest path algorithm can be used to determine the connection between internal switches. These algorithms can help find the optimal path to connect all internal switches. Create internal switch objects and assign a unique identifier or name to each internal switch. For each internal switch, perform networking operations. This may include configuring the switch's ports, VLAN (Virtual Local Area Network), router settings, etc. Ensure that the connection between internal switches is reliable and secure.
[0029] Specifically, after step 1032, the following specific implementation methods are also included: 1033. Obtain device information of the internal switch; 1034. Perform a data statistics operation on the ring network configuration parameters and the device information to obtain ring status information of the private ring network; 1035. Output the ring status information.
[0030] In steps 1033-1035, by obtaining device information and ring network configuration parameters, combined with data statistics operations, the ring status information of the private ring network can be generated. This information can be used to create a network topology diagram, display the connection relationship between devices, and monitor the operation status of the network. Network administrators can more intuitively understand the topology structure and network performance of the private ring network, which is convenient for real-time monitoring, troubleshooting and performance optimization.
[0031] Furthermore, the ring status information of the private ring network can reveal the connection and communication status between devices. When the network fails or is abnormal, the problem can be located by analyzing the ring status information and the troubleshooting can be done quickly. At the same time, based on the ring status information, the administrator can perform regular network maintenance work, including updating device information, checking connection status, optimizing network topology, etc., to ensure the stable operation of the private ring network.
[0032] Furthermore, by outputting the ring status information, unknown devices or abnormal connections in the private ring network can be identified. This helps the network security team to promptly detect potential threats and take corresponding security measures, such as isolating unknown devices and blocking abnormal connections, to improve the security of the private ring network.
[0033] Furthermore, by analyzing the ring status information, we can understand the performance indicators such as communication load and delay between various devices in the private ring network. Based on this information, the administrator can make corresponding optimization decisions, such as adjusting the device layout and optimizing the routing strategy, to improve the performance and efficiency of the private ring network.
[0034] Specifically, after step 1032, the following specific implementation methods are also included: 1036. Perform a fault detection operation on the private ring network to obtain a detection result; 1037. Determine whether the detection result includes fault information; 1038. If the ring status information includes fault information, determine a faulty switch among the internal switches; 1039. Enable the backup link of the failed switch, and return to execute acquisition of device information of the internal switch.
[0035] In steps 1036-1039, the detection results are obtained in time through the fault detection operation, and the fault conditions existing in the private ring network can be quickly discovered. The detection results contain fault information, which can immediately determine the faulty switch and enable the backup link, which helps to speed up the fault response speed, reduce network interruption time, and improve network stability and reliability. If a faulty switch is found, the backup link can be enabled in time to effectively maintain the normal operation of the private ring network. By enabling the backup link, the affected network traffic can be transferred, ensuring business continuity and improving the recovery capability and fault tolerance of the private ring network. After identifying the faulty switch and enabling the backup link, the step of obtaining internal switch device information can be automatically returned. It helps to ensure the network's continuous service to key businesses.
[0036] Specifically, step 1039 also includes the following specific implementation methods: 10391. Activate the backup link of the internal switch, execute a preset fault repair procedure, and calculate the fault repair time. 10392. When the fault repair time reaches a preset time, return to the step of obtaining device information of the internal switch.
[0037] In steps 10391-10392, the fault repair speed can be accelerated by enabling the backup link of the internal switch and executing the preset fault repair procedure. The fault repair procedure can include automatic or manual processing measures, such as reconfiguring the switch, restarting the device, etc., to restore the normal operation of the private ring network. Rapid fault repair helps to reduce network interruption time and improve network availability. By executing the preset fault repair procedure, the impact of the fault on the business can be minimized, ensuring the continuous service of the private ring network to key businesses. In the process of executing the preset fault repair procedure, the fault repair time, that is, the length of time from the occurrence of the fault to the complete repair, can be counted. By returning to execute the step of obtaining the internal switch device information, an automated network operation and maintenance process is realized. The administrator does not need to intervene manually, and the system can automatically obtain device information to provide necessary data support for subsequent network management and maintenance work. Automated operation and maintenance improves operation and maintenance efficiency and reduces the possibility of manual errors.
[0038] 104. If the target device needs to access the private ring network, parse out the ring network protocol carried in the service request; Specifically, if the target device needs to access the private ring network, the service request processing device based on the private ring protocol parses the service request of the target device to obtain the ring network protocol information carried in the request.
[0039] According to the service request obtained by parsing, the ring network protocol information carried in the request is extracted, which can be accomplished by parsing the request message, extracting specific fields or identifiers, and the like.
[0040] Optionally, when a ring network update request is detected, an update operation is performed on the private ring network according to the ring network update request. By performing the update operation, security holes and weaknesses in the private ring network can be repaired and upgraded in a timely manner, thereby improving the security of the network. This helps prevent potential attacks and data leaks, and protect sensitive information and resources in the private ring network. The update operation may include adjusting and optimizing network devices, protocols, and configurations to improve the performance and efficiency of the network. For example, updating the firmware or driver of the network device, optimizing the configuration of routers and switches, etc. This helps to increase data transmission speed, reduce latency, and improve the working efficiency of the entire private ring network.
[0041] 105. Determine whether the ring network protocol is a preset private ring protocol; Specifically, a preset private ring protocol list is maintained, which contains the types of private ring protocols that are allowed to access. The ring network protocol information sent by the target device is compared with the preset private ring protocol list to check whether there is a match. Based on the results of the check, the system can determine whether the ring network protocol is the preset private ring protocol. If the match is successful, that is, the ring network protocol sent by the target device finds the corresponding item in the preset private ring protocol list, it is judged to be the preset private ring protocol. If the match fails, that is, the ring network protocol sent by the target device is not in the preset private ring protocol list, it is judged to be a non-preset private ring protocol. Based on the result of the judgment, the system can perform corresponding processing operations, such as allowing access, denying access, or triggering other necessary processes.
[0042] For details, please refer to Figure 3 , Figure 3 This is a schematic diagram of a specific embodiment after step 105 of the service request processing method based on the private ring protocol in an embodiment of the present invention. After step 105, the following specific implementation methods are also included: 107. When a protocol update request is detected, parse out the protocol to be updated carried in the protocol update request; 108. Use the protocol to be updated as the preset private ring protocol.
[0043] In steps 107-108, the protocol to be updated carried in the protocol update request is parsed to dynamically adapt to new protocol requirements, thereby improving the flexibility and scalability of the private ring protocol. This means that the system can update and adjust the private ring protocol according to actual needs without modifying the preset settings.
[0044] 106. If the ring network protocol is not the private ring protocol, determine that the target device is an unknown device, discard the ring network protocol and perform an interface blocking operation on the target device.
[0045] Specifically, if the ring network protocol is not a preset private ring protocol, the target device is identified as an unknown device and an interface blocking operation is performed. The interface blocking operation is performed to prevent further access by the unknown device. The specific operations may include: Close the target device's network connection.
[0046] Block the IP address or MAC address of the target device.
[0047] Record logs or alarms for subsequent review and processing.
[0048] In this embodiment, by parsing the networking request and the service request, the service request processing device based on the private ring protocol can accurately identify and verify the target device. The private ring network can provide an independent communication channel to meet specific service requirements or connect specific devices. According to the service request requirements of the target device, the service request processing device based on the private ring protocol can intelligently determine whether to connect the device to the private ring network. Through the interface blocking operation, the service request processing device based on the private ring protocol can promptly reject the service requests of illegal or non-compliant devices to ensure the stability and reliability of the private ring network. The service request processing device based on the private ring protocol can automatically parse and execute the networking operation without manual intervention, simplifying the process of ring network configuration. By judging the access requirements of the target device and the validity of the ring network protocol, the service request processing device based on the private ring protocol can quickly identify and process unknown devices, reduce the workload of administrators, and improve management efficiency. When the target device needs to access the private ring network, the ring network protocol carried by the service request will be judged, and only the preset private ring protocol will be allowed to access. It can effectively prevent the access of unknown devices, reduce the risk of network attacks and information leakage, and improve the security of data in the ring network.
[0049] See also Figure 4 , Figure 4 This is a schematic diagram of a specific implementation of the method for processing a service request based on a private ring protocol after step 105 in an embodiment of the present invention. After step 105, the following steps may be performed: 109. If the ring network protocol is the private ring protocol, determine whether the internal switch in the private ring network is in a working state; Specifically, the status information of all internal switches in the private ring network is obtained, including their connection status, data transmission status, etc. For each internal switch, the connection status between it and the adjacent device is checked. If the connection status is normal, it means that the internal switch is in working state; if the connection status is abnormal or disconnected, it may indicate that there is a problem with the internal switch.
[0050] Furthermore, in addition to the connection status, the data transmission status of the internal switch is checked, that is, whether the data is received and sent normally. If the data transmission status is normal, it can also be determined that the internal switch is in a working state; if the data transmission status is abnormal, further troubleshoot the problem.
[0051] 110. If the internal switch in the private ring network is in working state, output a prompt message indicating that the service request cannot be responded to; In this embodiment, outputting the prompt message of unresponsiveness helps to quickly locate the fault, indicating that the problem may occur on the internal switch in the private ring network. In this way, the network administrator can perform targeted troubleshooting and repair operations, saving troubleshooting time and minimizing the impact of service interruption.
[0052] Figure 5 1 is a schematic diagram of the structure of a service request processing device based on a private ring protocol provided by an embodiment of the present invention. The service request processing device 500 based on the private ring protocol may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the service request processing device 500 based on the private ring protocol. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the service request processing device 500 based on the private ring protocol.
[0053] The service request processing device 500 based on the private ring protocol may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. Those skilled in the art will appreciate that Figure 5 The structure of the service request processing device based on the private ring protocol shown does not constitute a limitation on the service request processing device based on the private ring protocol, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the service request processing method based on the private ring protocol.
[0055] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0056] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0057] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A service request processing method based on a private ring protocol, characterized in that: The service request processing method based on the private ring protocol includes: When a networking request is detected, parsing the ring network configuration parameters carried by the networking request; According to the ring network configuration parameters, a networking operation is performed to obtain a private ring network; When a service request initiated by a target device is detected, judging whether the target device needs to access the private ring network according to the requirements of the service request; If the target device needs to access the private ring network, parse out the ring network protocol carried by the service request; Determining whether the ring network protocol is a preset private ring protocol; If the ring network protocol is not the private ring protocol, the target device is determined to be an unknown device, the ring network protocol is discarded, and an interface blocking operation is performed on the target device.
2. The service request processing method based on the private ring protocol according to claim 1 is characterized in that: After the step of discarding the ring network protocol and performing a blocking interface operation on the target device if the ring network protocol is not the private ring protocol, the method further includes: If the ring network protocol is the private ring protocol, determining whether an internal switch in the private ring network is in a working state; If the internal switch in the private ring network is in working state, a prompt message indicating that the service request cannot be responded is output.
3. The service request processing method based on the private ring protocol according to claim 1 is characterized in that: The step of performing a networking operation according to the ring network configuration parameters to obtain a private ring network comprises: Determining an internal switch among preset switches according to the ring network configuration parameters; A networking operation is performed on the internal switch to obtain a private ring network.
4. The method for processing service requests based on a private ring protocol according to claim 3, characterized in that: After the step of performing a networking operation on the internal switch to obtain a private ring network, the method further includes: Acquire device information of the internal switch; Performing data statistics operations on the ring network configuration parameters and the device information to obtain ring status information of the private ring network; The ring status information is output.
5. The method for processing service requests based on a private ring protocol according to claim 3, characterized in that: After the step of performing a networking operation on the internal switch to obtain a private ring network, the method further includes: Performing a fault detection operation on the private ring network to obtain a detection result; Determining whether the detection result includes fault information; If the ring status information includes fault information, determining a faulty switch among the internal switches; The backup link of the failed switch is enabled, and the process returns to execute acquisition of device information of the internal switch.
6. The method for processing service requests based on a private ring protocol according to claim 5, characterized in that: The step of enabling the backup link of the failed switch and returning to execute the step of obtaining the device information of the internal switch comprises: Activate the backup link of the internal switch, execute a preset fault repair procedure and calculate the fault repair time; When the fault repair time reaches the preset time, the process returns to the step of obtaining the device information of the internal switch.
7. The method for processing service requests based on a private ring protocol according to claim 1, characterized in that: Before the step of determining whether the ring network protocol is a preset private ring protocol, the method further includes: When a protocol update request is detected, parsing the protocol to be updated carried in the protocol update request; The protocol to be updated is used as the preset private ring protocol.
8. The method for processing service requests based on a private ring protocol according to claim 1, characterized in that: After the step of performing a networking operation according to the ring network configuration parameters to obtain a private ring network, the method further comprises: When a ring network update request is detected, an update operation is performed on the private ring network according to the ring network update request.
9. A service request processing device based on a private ring protocol, characterized in that: The service request processing device based on the private ring protocol includes: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected through a line; The at least one processor calls the instruction in the memory to enable the private ring protocol-based service request processing device to execute the private ring protocol-based service request processing method according to any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for processing a service request based on a private ring protocol as described in any one of claims 1 to 8 is implemented.