Method and device for managing data link, computer device and storage medium
By detecting signal quality and service load in the data link recovery device and conducting simulated tests on the main control device, dynamic management of the data link is achieved, which solves the transmission problems caused by data link instability and improves the availability and stability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-05-11
- Publication Date
- 2026-07-14
AI Technical Summary
The lack of refined management of data link self-recovery scenarios in existing technologies may lead to more serious data transmission problems when the data link is unstable, especially in high-traffic business scenarios, which can easily cause link failures and affect system availability.
By acquiring the target operating mode of the link recovery device, detecting the signal quality level of the data link and the front-end service pressure, and conducting simulation tests on the main control device when the service pressure is less than a preset threshold, corresponding control operations are performed based on the signal quality and test results to achieve dynamic management of the data link.
This effectively avoids link anomalies caused by high front-end business pressure, ensuring that the data link can automatically recover or perform necessary early warning operations after the fault is resolved, thus improving the availability and stability of the system.
Smart Images

Figure CN116560889B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to data link management methods, apparatus, computer equipment, and storage media. Background Technology
[0002] Currently, there is no independent data link automatic recovery management mechanism in the industry to provide fine-grained and unified management for such self-recovery scenarios. In the case of unstable data links, this kind of convenient operation and maintenance-lacking automatic recovery may lead to more serious data transmission problems. For example, under poor data link quality, although the system may restore all or part of its service capabilities, it is easy for the link to fail again in the face of subsequent sudden large-volume business scenarios. Ultimately, this will cause some controllers to be unable to carry the front-end business normally, thereby affecting the availability of the system. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a data link management method, apparatus, computer equipment, and storage medium to solve the data transmission problem caused by the inability of the data link to automatically recover, which leads to more serious data transmission issues.
[0004] In a first aspect, embodiments of the present invention provide a data link management method, comprising:
[0005] Obtain the current target operating mode of the link recovery device;
[0006] In the target operating mode, the signal quality level of the data link between the current control boxes is detected, and the front-end service pressure is obtained;
[0007] When the front-end service pressure is less than a preset threshold, a simulation test is performed on the main control device of each control box to obtain the simulation test results, wherein the preset threshold matches the target operating mode;
[0008] Based on the signal quality level and / or the simulation test results, perform corresponding control operations on the data link.
[0009] In an optional implementation, the step of performing a simulation test on the main control device of each control box to obtain the simulation test results includes:
[0010] Within a preset time period, the main control device of each control box is subjected to performance testing to obtain the first performance data of the main control chip;
[0011] Obtain the performance data threshold that matches the signal quality level;
[0012] The simulation test results are obtained by comparing the first performance data with the performance data threshold.
[0013] In an optional implementation, obtaining the performance data threshold matching the signal quality level includes:
[0014] Obtain the maximum performance data that matches the signal quality level, and the target ratio that matches the target operating mode;
[0015] Calculate the product between the maximum performance data and the target ratio, and use the product as the performance data threshold.
[0016] In an optional implementation, when the target operating mode is the first mode, the performance data threshold is the first performance data threshold.
[0017] The step of performing corresponding control operations on the data link based on the signal quality level and / or the simulation test results includes:
[0018] When the signal quality level is greater than or equal to the first preset level, and the simulation test result is that the first performance data is greater than or equal to the first performance data threshold, the data link is controlled to automatically recover after the fault is cleared.
[0019] If the signal quality level is lower than the first preset level, or if the simulation test result shows that the first performance data is lower than the first performance data threshold, a link warning operation is performed.
[0020] If the signal quality level is lower than the first preset level and the simulation test result shows that the first performance data is lower than the first performance data threshold, a link warning operation is performed and a prompt message is generated, wherein the prompt message is used to prompt whether to switch the first mode to the second mode.
[0021] In an optional implementation, when the target operating mode is the second mode, the performance data threshold is the second performance data threshold.
[0022] The step of performing corresponding control operations on the data link based on the signal quality level and / or the simulation test results includes:
[0023] When the signal quality level is greater than or equal to the second preset level, and the simulation test result is that the first performance data is greater than or equal to the second performance data threshold, the data link is controlled to automatically recover after the fault is cleared.
[0024] If the signal quality level is lower than the second preset level, or if the simulation test result shows that the first performance data is lower than the second performance data threshold, a link warning operation is performed.
[0025] When the signal quality level is between the third preset level and the second preset level, and the simulation test result is that the first performance data is less than the second performance data threshold, the data link is controlled to automatically recover after the fault is cleared.
[0026] If the signal quality level is lower than the third preset level, the data link is controlled to automatically recover after the fault is cleared, and the service acceptance service of the data link is suspended.
[0027] In an optional implementation, after controlling the data link to automatically recover after the fault is cleared and suspending the data link from undertaking front-end services, the method further includes:
[0028] Under the specified signal quality level, the main control device of each control box is subjected to multiple simulation tests to obtain the second performance data of the main control chip in each simulation test;
[0029] If the second performance data in each simulation test is greater than or equal to the third performance data threshold, the service acceptance of the data link is restored.
[0030] In an optional implementation, before the second performance data is greater than or equal to a third performance data threshold, the method further includes:
[0031] Obtain the preset ratio corresponding to the third preset gear;
[0032] The third performance threshold is calculated based on the maximum performance data corresponding to the second mode and the preset ratio.
[0033] Secondly, embodiments of the present invention provide a data link management device, the device comprising:
[0034] The acquisition module is used to acquire the current target operating mode of the link recovery device;
[0035] The detection module is used to detect the signal quality level of the data link between the current control boxes and obtain the front-end service pressure in the target operating mode.
[0036] The testing module is used to perform simulated testing on the main control device of each control box when the front-end business pressure is less than a preset threshold, and obtain the simulated test results. The preset threshold is matched with the target operating mode. Each control box includes: the control box itself and the control box to which it is controlled.
[0037] The control module is used to perform corresponding control operations on the data link based on the signal quality level and / or the simulation test results.
[0038] Thirdly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the data link management method described in the first aspect or any corresponding embodiment.
[0039] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which are used to cause a computer to execute the data link management method described in the first aspect or any corresponding embodiment.
[0040] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application uses a link recovery device to perform simulated tests on the main control devices of each control box when the service pressure is less than a preset threshold, thereby facilitating the determination of whether a link failure will occur subsequently. Simultaneously, the link recovery device also acquires the signal quality level of the data link between control boxes, and finally controls the data link based on the simulated test results and signal quality level, achieving dynamic management of the data link between control boxes and avoiding link abnormalities caused by high front-end service pressure. Attached Figure Description
[0041] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0042] Figure 1 This is a flowchart illustrating a data link management method according to some embodiments of the present invention;
[0043] Figure 2 This is a schematic diagram of the structure of a control block provided according to some embodiments of the present invention;
[0044] Figure 3 This is a structural block diagram of a data link management device according to an embodiment of the present invention;
[0045] Figure 4 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0047] According to embodiments of the present invention, a data link management method, apparatus, computer device, and storage medium are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0048] This embodiment provides a data link management method, which can be used in the aforementioned mobile terminals, such as mobile phones and tablet computers. Figure 1 This is a flowchart of a data link management method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0049] Step S11: Obtain the current target operating mode of the link recovery device.
[0050] In this embodiment, the Datalink Automatically Restore (DAR) device operates in two modes: a first mode and a second mode. The first mode is a normal mode, and the second mode is a high-availability mode. The DAR device is deployed in various control boxes, such as... Figure 2 As shown, the control frame includes: front-end devices, main control devices, and link recovery devices. Data acquisition links connect the control frames. The link recovery device can identify its own control frame as its own control frame and the control frames connected to it as its peer control frames. The link recovery device can dynamically manage its own front-end devices, its own main control devices, and the peer control frames' main control devices in both high-availability and normal modes.
[0051] It should be noted that the front-end device of this control frame connects to the service devices, which are typically the user's business servers, etc., and are connected to the front-end device of this control frame via FC / IP / RoCE / IB switches, etc. The DAR device can obtain real-time performance data (IOPS, bandwidth, latency, etc.) of the main control device of this control frame and the control frame's counterpart. The devices in this control frame and the counterpart control frame devices can be interconnected via high-speed links such as FC / IP / RoCE / IB / PCIE (or can share the high-speed link between the devices in this control frame and the counterpart control frame devices), and interlock information such as link quality can be performed.
[0052] Step S12: In the target operating mode, detect the signal quality level of the data link between the current control boxes and obtain the front-end service pressure.
[0053] In this embodiment, under the target operating mode, the DAR device can detect the signal quality of the data link between the current control frames and match the corresponding signal quality level. The DAR device has embedded various signal quality levels for the data link, including multiple levels. The smaller the level number, the better the communication quality. For example, the communication quality level of level 1 is higher than that of level 2, which means that the maximum performance of the controller at level 1 is higher than that at level 2.
[0054] In this embodiment of the application, in order to accurately determine the status of the data link, the DAR device can also obtain the current service pressure through the front-end device of this control frame.
[0055] Step S13: When the front-end business pressure is less than the preset threshold, perform a simulation test on the main control device of each control box to obtain the simulation test results. The preset threshold matches the target operating mode. Each control box includes: the control box itself and the control box to which it is controlled.
[0056] In this embodiment, the preset thresholds for the DAR device differ in different modes. For example, in the first mode (normal mode), the preset threshold C1 corresponds to the service pressure. In the second mode (high availability mode), the preset threshold C2 corresponds to the service pressure. Based on this, after obtaining the front-end service pressure, the DAR device obtains the preset threshold matching the target operating mode and compares the front-end service pressure with the preset threshold. If the front-end service pressure is less than the preset threshold, a simulation test is performed on the main control device of each control frame to obtain the simulation test results.
[0057] In this embodiment, the main control device of each control frame is simulated and tested to obtain simulation test results. This includes: performing performance tests on the main control device of each control frame within a preset time period to obtain first performance data of the main control chip; obtaining a performance data threshold that matches the signal quality level; and comparing the first performance data with the performance data threshold to obtain the simulation test results. The preset time period of the DAR device is different in different modes, and different signal quality levels correspond to different performance data thresholds.
[0058] Specifically, obtaining the performance data threshold matching the signal quality level includes: obtaining the maximum performance data matching the signal quality level and the target ratio matching the target operating mode; calculating the product between the maximum performance data and the target ratio, and using the product as the performance data threshold. For example: the performance data threshold is B, the target ratio corresponding to the first mode is 0.85, and the target ratio corresponding to the second mode is 0.75. In the first mode, the performance data threshold is B × 0.85. In the second mode, the performance data threshold is B × 0.75.
[0059] As an example, if the target operating mode is the first mode (normal mode), obtain the preset time period T1 corresponding to the normal mode and the performance data threshold B×0.85 corresponding to the signal quality level. Within the preset time period T1, perform performance tests on the main control device of each control box to obtain the first performance data a (IOPS, bandwidth, latency, etc.) of the main control chip. Then, compare the first performance data a with the performance data threshold B×0.85 to obtain the simulation test results.
[0060] Alternatively, if the target operating mode is the second mode (high availability mode), obtain the preset time period T2 corresponding to the normal mode and the performance data threshold B×0.75 corresponding to the signal quality level. Within the preset time period T2, perform performance tests on the main control device of each control box to obtain the first performance data a (IOPS, bandwidth, latency, etc.) of the main control chip. Then, compare the first performance data a with the performance data threshold B×0.75 to obtain the simulation test results.
[0061] Step S14: Based on the signal quality level and / or simulation test results, perform corresponding control operations on the data link.
[0062] In this embodiment of the application, when the target operating mode is the first mode, the performance data threshold is the first performance data threshold.
[0063] In this application embodiment, based on the signal quality level and / or simulation test results, corresponding control operations are performed on the data link, including the following situations:
[0064] (1) When the signal quality level is greater than or equal to the first preset level and the simulation test result is that the first performance data is greater than or equal to the first performance data threshold, the control data link is automatically restored after the fault is cleared.
[0065] (2) When the signal quality level is less than the first preset level, or when the simulation test result shows that the first performance data is less than the first performance data threshold, the link warning operation is executed.
[0066] (3) When the signal quality level is less than the first preset level and the simulation test result is that the first performance data is less than the first performance data threshold, the link warning operation is executed and a prompt message is generated, wherein the prompt message is used to prompt whether to switch the first mode to the second mode.
[0067] As an example, in normal mode, the DAR device divides the signal quality of the data link into 5 levels, with level 1 providing the best communication quality and level 5 providing the worst. Within a 30-minute time period, the DAR device continuously monitors the signal quality level between current control frames, and it performs a simulation test (ST) when the front-end service load is below a preset threshold.
[0068] If the simulation test result shows that the performance data a is greater than or equal to B×85%, and the signal quality level of the data link is greater than or equal to level 3, the data link can automatically recover after the fault is cleared.
[0069] If the simulation test result shows that the performance data 'a' is less than 85% of 'B', or the signal quality level of the data link is lower than level 3, then a level 1 link warning will be reported.
[0070] If the simulation test result shows that the performance data 'a' is less than 85% of 'B', and the signal quality level of the data link is lower than level 3, a level 1 link alarm will be reported. In this case, the data link cannot be automatically restored after the fault is cleared, and you need to be prompted whether to switch to high availability mode.
[0071] In this embodiment of the application, when the target operating mode is the second mode, the performance data threshold is the second performance data threshold.
[0072] In this application embodiment, based on the signal quality level and / or simulation test results, corresponding control operations are performed on the data link, including the following situations:
[0073] (1) When the signal quality level is greater than or equal to the second preset level, and the simulation test result is that the first performance data is greater than or equal to the second performance data threshold, the control data link is automatically restored after the fault is cleared.
[0074] (2) When the signal quality level is less than the second preset level, or when the simulation test result shows that the first performance data is less than the second performance data threshold, a link warning operation is performed.
[0075] (3) When the signal quality level is between the third preset level and the second preset level, and the simulation test result is that the first performance data is less than the second performance data threshold, the control data link will automatically recover after the fault is cleared.
[0076] (4) When the signal quality level is less than the third preset level, the control data link will automatically recover after the fault is cleared and the data link service will be suspended.
[0077] In this embodiment of the application, after the control data link is automatically restored after the fault is cleared and the data link is suspended from undertaking front-end services, the method further includes: performing multiple simulation tests on the main control device of each control box under the signal quality level to obtain the second performance data of the main control chip in each simulation test; and restoring the service undertaking service of the data link when the second performance data of each simulation test is greater than or equal to the third performance data threshold.
[0078] In this embodiment of the application, before the second performance data is greater than or equal to the third performance data threshold, the method further includes: obtaining the preset ratio corresponding to the third preset level; and calculating the third performance threshold based on the maximum performance data corresponding to the second mode and the preset ratio.
[0079] As an example, in high-availability mode, the DAR device divides the signal quality of the inter-frame data link into 20 levels, with level 1 providing the best communication quality and level 20 providing the worst. Within a 20-minute time period, the DAR device continuously monitors the signal quality level of the current control frame inter-frame data link, and performs a simulation test when the front-end service load is below a preset threshold.
[0080] If the simulation test result shows that the performance data a is greater than or equal to B×75%, and the signal quality level of the data link is greater than or equal to 12 levels, the data link can be automatically restored after the fault is cleared.
[0081] If the simulation test result shows that the performance data 'a' is less than 75% of 'B', or the signal quality level of the data link is lower than 12, then a secondary link warning will be reported.
[0082] If the simulation test result shows that the performance data a is less than B×75% and the signal quality level of the data link is lower than level 12, a secondary link alarm will be reported. If the signal quality level of the data link is not lower than level 15, the data link can be automatically restored after the fault is cleared.
[0083] If the signal quality level of the data link is lower than 15, the data link will be restored after the fault is cleared. However, the data link will not take over front-end services. Instead, a simulation test will be conducted for 35 minutes. If the performance data is greater than or equal to B×70% under the current signal quality level, the front-end service will be restored immediately.
[0084] This embodiment also provides a data link management device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0085] The method provided in this application embodiment uses a link recovery device to perform simulated tests on the main control devices of each control box when the service pressure is less than a preset threshold, thereby facilitating the determination of whether a link failure will occur subsequently. Simultaneously, the link recovery device also acquires the signal quality level of the data links between control boxes, and finally controls the data links based on the simulated test results and signal quality levels, achieving dynamic management of the data links between control boxes and preventing link anomalies caused by high front-end service pressure.
[0086] This embodiment provides a data link management device, such as... Figure 3 As shown, it includes:
[0087] The acquisition module 31 is used to acquire the current target operating mode of the link recovery device;
[0088] The detection module 32 is used to detect the signal quality level of the data link between the current control boxes and obtain the front-end service pressure under the target operating mode;
[0089] Test module 33 is used to simulate the test of the main control device of each control box when the front-end business pressure is less than the preset threshold, and obtain the simulation test results. The preset threshold matches the target operating mode. Each control box includes: the control box itself and the control box to which it is controlled.
[0090] The control module 34 is used to perform corresponding control operations on the data link based on the signal quality level and / or simulation test results.
[0091] In this embodiment, the test module 33 is used to perform performance tests on the main control device of each control box within a preset time period to obtain the first performance data of the main control chip; obtain the performance data threshold that matches the signal quality level; and compare the first performance data with the performance data threshold to obtain the simulation test result.
[0092] In this embodiment of the application, the test module 33 is used to obtain the maximum performance data that matches the signal quality level and the target ratio that matches the target operating mode; calculate the product between the maximum performance data and the target ratio, and use the product as the performance data threshold.
[0093] In this embodiment of the application, when the target operating mode is the first mode, the performance data threshold is the first performance data threshold.
[0094] In this embodiment, the control module 34 is configured to control the data link to automatically recover after the fault is cleared when the signal quality level is greater than or equal to the first preset level and the simulation test result shows that the first performance data is greater than or equal to the first performance data threshold; to perform a link warning operation when the signal quality level is less than the first preset level or the simulation test result shows that the first performance data is less than the first performance data threshold; and to generate a prompt message when the signal quality level is less than the first preset level and the simulation test result shows that the first performance data is less than the first performance data threshold, wherein the prompt message is used to prompt whether to switch the first mode to the second mode.
[0095] In this embodiment of the application, when the target operating mode is the second mode, the performance data threshold is the second performance data threshold.
[0096] In this embodiment, the control module 34 is configured to: control the data link to automatically recover after the fault is cleared when the signal quality level is greater than or equal to the second preset level and the simulation test result shows that the first performance data is greater than or equal to the second performance data threshold; execute a link warning operation when the signal quality level is less than the second preset level or the simulation test result shows that the first performance data is less than the second performance data threshold; control the data link to automatically recover after the fault is cleared when the signal quality level is between the third preset level and the second preset level and the simulation test result shows that the first performance data is less than the second performance data threshold; and control the data link to automatically recover after the fault is cleared and suspend the data link's service acceptance service when the signal quality level is less than the third preset level.
[0097] In this embodiment, the control module 34 is further configured to perform multiple simulation tests on the main control device of each control box under the signal quality level, and obtain the second performance data of the main control chip in each simulation test; and restore the service acceptance service of the data link when the second performance data of each simulation test is greater than or equal to the third performance data threshold.
[0098] In this embodiment, the control module 34 is used to obtain the preset ratio corresponding to the third preset gear; and to calculate the third performance threshold based on the maximum performance data corresponding to the second mode and the preset ratio.
[0099] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 4 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0100] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0101] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0102] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0103] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0104] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0105] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0106] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A data link management method, characterized in that, Applied to a link recovery device, the method includes: Obtain the current target operating mode of the link recovery device; In the target operating mode, the signal quality level of the data link between each control box is detected, and the front-end service pressure is obtained; When the front-end service pressure is less than a preset threshold, a simulation test is performed on the main control device of each control box to obtain the simulation test results. The preset threshold matches the target operating mode. Each control box includes: the control box itself and the control box to which it is controlled. Based on the signal quality level and / or the simulation test results, corresponding control operations are performed on the data link; The step of simulating the test of the main control device of each control box to obtain the simulation test results includes: performing a performance test on the main control device of each control box within a preset time period to obtain the first performance data of the main control device; obtaining a performance data threshold that matches the signal quality level; and comparing the first performance data with the performance data threshold to obtain the simulation test results. When the target operating mode is the first mode, the performance data threshold is the first performance data threshold; the step of performing corresponding control operations on the data link based on the signal quality level and / or the simulation test results includes: When the signal quality level is greater than or equal to the first preset level, and the simulation test result shows that the first performance data is greater than or equal to the first performance data threshold, the data link is controlled to automatically recover after the fault is cleared; when the signal quality level is less than the first preset level, or the simulation test result shows that the first performance data is less than the first performance data threshold, a link warning operation is performed; when the signal quality level is less than the first preset level, and the simulation test result shows that the first performance data is less than the first performance data threshold, a link warning operation is performed, and a prompt message is generated, wherein the prompt message is used to prompt whether to switch the first mode to the second mode; When the target operating mode is the second mode, the performance data threshold is the second performance data threshold; the step of performing corresponding control operations on the data link based on the signal quality level and / or the simulation test results includes: When the signal quality level is greater than or equal to the second preset level, and the simulation test result shows that the first performance data is greater than or equal to the second performance data threshold, the data link is controlled to automatically recover after the fault is cleared; when the signal quality level is less than the second preset level, or the simulation test result shows that the first performance data is less than the second performance data threshold, a link warning operation is performed; when the signal quality level is between the third preset level and the second preset level, and the simulation test result shows that the first performance data is less than the second performance data threshold, the data link is controlled to automatically recover after the fault is cleared; when the signal quality level is less than the third preset level, the data link is controlled to automatically recover after the fault is cleared, and the service acceptance of the data link is suspended.
2. The method according to claim 1, characterized in that, The step of obtaining the performance data threshold that matches the signal quality level includes: Obtain the maximum performance data that matches the signal quality level, and the target ratio that matches the target operating mode; Calculate the product between the maximum performance data and the target ratio, and use the product as the performance data threshold.
3. The method according to claim 1, characterized in that, After controlling the data link to automatically recover after the fault is cleared and suspending the data link from undertaking front-end services, the method further includes: Under the specified signal quality level, the main control device of each control box is subjected to multiple simulation tests to obtain the second performance data of the main control device in each simulation test; If the second performance data in each simulation test is greater than or equal to the third performance data threshold, the service acceptance of the data link is restored.
4. The method according to claim 3, characterized in that, Before the second performance data is greater than or equal to the third performance data threshold, the method further includes: Obtain the preset ratio corresponding to the third preset gear; The third performance threshold is calculated based on the maximum performance data corresponding to the second mode and the preset ratio.
5. A data link management device, characterized in that, The device includes: The acquisition module is used to acquire the current target operating mode of the link recovery device; The detection module is used to detect the signal quality level of the data link between each control box in the target operating mode and to obtain the front-end service pressure. The testing module is used to perform simulated tests on the main control device of each control box when the front-end business pressure is less than a preset threshold, and obtain the simulated test results. The preset threshold is matched with the target operating mode. Each control box includes: the control box itself and the control box to which it is controlled. The control module is used to perform corresponding control operations on the data link based on the signal quality level and / or the simulation test results; The testing module is used to perform performance tests on the main control device of each control box within a preset time period to obtain the first performance data of the main control device; obtain the performance data threshold that matches the signal quality level; and compare the first performance data with the performance data threshold to obtain the simulation test result. When the target operating mode is the first mode, the performance data threshold is the first performance data threshold; The control module is configured to: control the data link to automatically recover after the fault is cleared when the signal quality level is greater than or equal to a first preset level and the simulation test result shows that the first performance data is greater than or equal to the first performance data threshold; execute a link warning operation when the signal quality level is less than the first preset level or the simulation test result shows that the first performance data is less than the first performance data threshold; and execute a link warning operation and generate a prompt message when the signal quality level is less than the first preset level and the simulation test result shows that the first performance data is less than the first performance data threshold, wherein the prompt message is used to prompt whether to switch the first mode to the second mode. When the target operating mode is the second mode, the performance data threshold is the second performance data threshold; The control module is configured to: control the data link to automatically recover after the fault is cleared when the signal quality level is greater than or equal to a second preset level and the simulation test result shows that the first performance data is greater than or equal to the second performance data threshold; execute a link warning operation when the signal quality level is less than the second preset level or the simulation test result shows that the first performance data is less than the second performance data threshold; control the data link to automatically recover after the fault is cleared when the signal quality level is between a third preset level and a second preset level and the simulation test result shows that the first performance data is less than the second performance data threshold; and control the data link to automatically recover after the fault is cleared and suspend the service acceptance of the data link when the signal quality level is less than the third preset level.
6. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method of any one of claims 1 to 4.