A control method for a high-density switch matrix device

CN122923831APending Publication Date: 2026-10-16WUHAN WEITAI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611171310.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-04
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

[0003]但是,在高密度开关矩阵装置执行高低电平信号、模拟信号以及微弱检测信号等多类型信号切换过程中,由于开关单元、连接线路以及电路板内部存在寄生电容、接触电阻以及线路耦合效应,当某一信号传输路径完成断开或者切换后,原传输路径中仍可能残留部分电荷,使实际电气状态与控制指令状态不一致

Benefits of technology

通过获取高密度开关矩阵装置的开关状态、连接关系以及异常记录,并建立矩阵连接关系图,使各开关单元之间的实际连接关系、状态变化关系以及历史异常影响关系得到统一描述,能够避免传统控制方式仅依据控制指令判断开关状态而无法准确反映真实连接状态的问题,提高了开关矩阵状态识别的准确性。通过根据目标任务确定目标连接路径,并分析关联开关单元和影响路径,能够提前识别目标连接路径切换过程中可能受到影响的关联开关单元,使控制过程不仅关注目标开关单元自身动作,还能够考虑相邻开关单元、共享连接节点以及潜在影响路径产生的影响,提高了复杂开关组合下路径规划的可靠性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122923831A_ABST
    Figure CN122923831A_ABST
Patent Text Reader

Abstract

The application provides a control method of a high-density switch matrix device, and relates to the field of data processing.In the method, the switching state, connection relationship and abnormal record of the high-density switch matrix device are acquired, and a matrix connection relationship diagram is established; a target connection path is determined according to a target task, and the associated switch unit and the influence path are analyzed to determine a normal change state; the target connection path switching is controlled according to the normal change state, and the actual response state is acquired to perform connection judgment; when the actual response state is abnormal, the abnormal influence path is determined based on the matrix connection relationship diagram; the abnormal position is determined according to the abnormal influence path; and the target connection path and the switching sequence are optimized based on the abnormal position, so that the high-density switch matrix device is controlled according to the optimized target connection path and switching sequence. The technical scheme provided by the application facilitates improving the control precision of the high-density switch matrix device in a complex signal environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and specifically to a control method for a high-density switching matrix device. Background Technology

[0002] With the development of automated testing, precision measurement, and multi-channel signal processing technologies, high-density switch matrix devices are widely used in scenarios such as multi-channel signal switching, test channel selection, and complex signal scheduling. Existing high-density switch matrix devices typically achieve signal connections between different input and output terminals by controlling the on and off states of multiple switch units, thereby meeting the switching requirements of multi-channel and multi-type signals.

[0003] However, during the switching of various signal types, including high- and low-level signals, analog signals, and weak detection signals, high-density switch matrix devices suffer from parasitic capacitance, contact resistance, and line coupling effects within the switch units, connecting lines, and circuit boards. This can lead to residual charge in the original transmission path after a signal transmission path is disconnected or switched, causing inconsistencies between the actual electrical state and the control command state. This residual charge can generate transient voltage changes, abnormal level responses, or false detection signals during subsequent signal switching, preventing the accurate establishment of the target connection path. Existing high-density switch matrix devices typically execute switch switching directly based on control commands and determine the connection result by detecting the on / off state. However, this method primarily focuses on whether the switch unit operates and whether the line is conductive, making it difficult to identify short-term abnormal states caused by residual charge and unable to effectively distinguish between real signal changes and false responses caused by residual charge. Especially during high-impedance detection, weak analog signal acquisition, and precision testing, the impact of residual charge is small in amplitude and short in duration, easily masked by normal signal changes, thus reducing the control accuracy of the switch matrix device.

[0004] Therefore, how to accurately identify the actual electrical state after switching in a high-density switching matrix device during the switching of multiple types of signals, reduce the impact of residual charge on subsequent signal transmission, and improve the control accuracy of the switching matrix device in complex signal environments has become an urgent technical problem to be solved. Summary of the Invention

[0005] This application provides a control method for a high-density switch matrix device, which facilitates accurate identification of the actual electrical state after switching during the switching of multiple types of signals in the high-density switch matrix device, reduces the impact of residual charge on subsequent signal transmission, and improves the control accuracy of the switch matrix device in complex signal environments.

[0006] A first aspect of this application provides a control method for a high-density switch matrix device. The method includes: acquiring the switching state, connection relationship, and anomaly records of the high-density switch matrix device, and establishing a matrix connection relationship diagram; determining a target connection path based on a target task, and analyzing associated switch units and influence paths to determine a normal change state; controlling the switching of the target connection path based on the normal change state, and acquiring the actual response state for connection judgment; when the actual response state is abnormal, determining an abnormal influence path based on the matrix connection relationship diagram; determining an abnormal location based on the abnormal influence path; optimizing the target connection path and switching sequence based on the abnormal location, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

[0007] A second aspect of this application provides a control system for a high-density switch matrix device. The system includes an acquisition module and a processing module. The acquisition module is used to acquire the switching status, connection relationships, and anomaly records of the high-density switch matrix device, and establish a matrix connection relationship diagram. The processing module is used to determine a target connection path based on a target task, and analyze associated switch units and influence paths to determine a normal change state. The processing module is also used to control the switching of the target connection path based on the normal change state, and acquire the actual response state for connection judgment. The processing module is also used to determine an abnormal influence path based on the matrix connection relationship diagram when an abnormality exists in the actual response state. The processing module is also used to determine an abnormal location based on the abnormal influence path. The processing module is also used to optimize the target connection path and switching sequence based on the abnormal location, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

[0008] A third aspect of this application provides an electronic device including a processor and a memory; the memory has a stored computer program, wherein the computer program, when executed by the processor, implements a control method for a high-density switching matrix device as described above.

[0009] In a fourth aspect, this application provides a non-transitory computer-readable storage medium storing instructions that, when executed, perform a control method for a high-density switching matrix device as described above.

[0010] In summary, one or more technical solutions provided in this application have at least the following technical effects or advantages: By acquiring the switching states, connection relationships, and anomaly records of a high-density switch matrix device and establishing a matrix connection diagram, the actual connection relationships, state change relationships, and historical anomaly impact relationships between each switch unit can be uniformly described. This avoids the problem of traditional control methods that rely solely on control commands to determine switch states and fail to accurately reflect the true connection states, thus improving the accuracy of switch matrix state identification. By determining the target connection path based on the objective task and analyzing associated switch units and impact paths, it is possible to identify associated switch units that may be affected during the target connection path switching process in advance. This allows the control process to not only focus on the action of the target switch unit itself but also consider the impact of adjacent switch units, shared connection nodes, and potential impact paths, improving the reliability of path planning under complex switch combinations.

[0011] By controlling the switching of the target connection path based on normal changing states and obtaining the actual response state for connection judgment, the process of establishing the target connection path is transformed from simply executing control commands into a closed-loop detection process based on the actual response state. This enables timely detection of deviations between the control state and the actual electrical state, reducing the risk of misjudgment caused by factors such as contact abnormalities, line coupling, and residual signals. When anomalies exist in the actual response state, the path of the anomaly is determined based on the matrix connection relationship diagram. This allows analysis of the propagation process after the anomaly occurs along the connection relationships between switching units, avoiding the problem of traditional detection methods that can only detect the existence of anomalies but cannot determine their source. This achieves effective identification of latent crosstalk, path coupling, and the influence of associated switches.

[0012] By determining the anomaly location based on the path of abnormal influence, the key location causing the anomaly in the target connection path can be further pinpointed. This refines the anomaly detection results from area-based judgment to specific switch locations, improving the accuracy of fault location in high-density switch matrix devices and reducing the efficiency reduction caused by manual channel-by-channel troubleshooting. Optimizing the target connection path and switching sequence based on the anomaly location allows the device to adjust subsequent control strategies according to the actual anomaly situation, avoiding connection areas affected by anomalies and selecting more stable connection paths to complete the target task. This improves the operational stability and task execution success rate of high-density switch matrix devices in complex signal environments. Therefore, it facilitates accurate identification of the actual electrical state after switching during multi-type signal switching in high-density switch matrix devices, reducing the impact of residual charge on subsequent signal transmission and improving the control accuracy of the switch matrix device in complex signal environments. Attached Figure Description

[0013] Figure 1 A flowchart illustrating a control method for a high-density switch matrix device provided in an embodiment of this application; Figure 2A schematic diagram of a control system for a high-density switch matrix device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0014] Explanation of reference numerals in the attached figures: 21. Acquisition module; 22. Processing module; 31. Processor; 32. Communication bus; 33. User interface; 34. Network interface; 35. Memory. Detailed Implementation

[0015] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0016] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.

[0017] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0018] To address the aforementioned technical problems, this application provides a control method for a high-density switching matrix device, referring to... Figure 1 , Figure 1 This is a flowchart illustrating a control method for a high-density switch matrix device provided in an embodiment of this application. The method is applied to a server and includes steps S110 to S160, which are as follows:

[0019] S110. Obtain the switching status, connection relationship, and abnormal records of the high-density switch matrix device, and establish a matrix connection relationship diagram.

[0020] In one possible implementation, the switching status, connection relationships, and anomaly records of a high-density switch matrix device are acquired, and a matrix connection relationship diagram is established. Specifically, this includes: acquiring the connection information and signal direction information of each switch unit of the high-density switch matrix device, and determining the direct connection relationships between each switch unit; analyzing the common nodes and signal influence relationships between switch units based on the direct connection relationships, and determining the indirect influence relationships; combining historical anomaly records to determine the associated switch units involved in the anomalies, and determining the anomaly influence relationships; constructing a matrix connection relationship diagram based on the direct connection relationships, indirect influence relationships, and anomaly influence relationships, and updating the matrix connection relationship diagram according to the current switching status.

[0021] Specifically, a server refers to a data processing device used to execute the control logic of a high-density switch matrix device. It can be a stand-alone physical server, an embedded processing unit integrated into the control system, or a cloud computing device. The server establishes a communication connection with the high-density switch matrix device to receive the switch status, connection relationship, signal response status, and anomaly records collected by the high-density switch matrix device, and performs path analysis, anomaly judgment, and control strategy optimization based on the received data.

[0022] The system acquires the connection and signal direction information of each switch unit in a high-density switch matrix device to determine the direct connection relationships between them. Specifically, the server reads the number, input, output, and current connection port information of each switch unit in the high-density switch matrix device. A switch unit refers to an independent switching device used to control signal on / off or signal path switching; connection information indicates whether there is an actual electrical connection between different switch units; and signal direction information indicates the direction of signal transmission between switch units. Based on the correspondence between the input and output terminals of each switch unit, the system determines whether a direct signal transmission relationship exists between two switch units and associates switch units with such a relationship, forming a direct connection. This direct connection describes the basic signal transmission paths that actually exist in the high-density switch matrix device, providing a basis for subsequent analysis of the influence relationships between switch units.

[0023] Based on the analysis of direct connection relationships, common nodes and signal influence relationships between switching units are determined to identify indirect influence relationships. In specific implementation, the server locates the nodes shared by multiple switching units based on direct connection relationships. A common node refers to a signal connection location shared by multiple switching units, such as a common input terminal, a common output terminal, or an intermediate connection node. When multiple switching units transmit signals through the same common node, even if there is no direct connection between two switching units, a change in the state of one switching unit may still affect the signal state of another. Therefore, based on the location relationship of the common node and the signal transmission direction, the potential signal influence relationships between switching units are analyzed, and switching units that do not have direct connection relationships but have state influence relationships are identified as having indirect influence relationships. Indirect influence relationships are used to describe the potential influence relationships between switching units due to shared connection structures.

[0024] By combining historical anomaly records, the associated switch units involved in the anomaly are identified, and the anomaly impact relationships are determined. Specifically, the server reads historical anomaly records generated during the operation of the high-density switch matrix device. These records include the anomaly occurrence time, location, corresponding switch unit, and affected area. The server locates the corresponding switch unit based on the anomaly location in the historical records and further analyzes other switch units that simultaneously experienced state changes or anomaly responses during the anomaly occurrence. Switch units associated with the anomaly location are identified as associated switch units. Based on the state change relationships between associated switch units, it is determined whether the anomaly was transmitted from one switch unit to another, and connections potentially affected by the anomaly are identified as anomaly impact relationships. These anomaly impact relationships represent the influence relationships between switch units due to abnormal states during historical operation, providing a basis for subsequent anomaly localization.

[0025] A matrix connection diagram is constructed based on direct connections, indirect influences, and abnormal influences. This diagram is updated according to the current switch states. In practice, the server treats each switch unit as a node in the matrix connection diagram, associating direct connections, indirect influences, and abnormal influences as connections between nodes, forming a matrix connection diagram that represents the actual connection states and influence relationships of the switch units. This matrix connection diagram describes the connection structure, signal influence relationships, and abnormal influence relationships between the switch units within the high-density switch matrix device. After constructing the matrix connection diagram, the server obtains the current on / off state, off state, and switching state of each switch unit in real time, and updates the state information of the corresponding nodes in the matrix connection diagram according to the current switch states, ensuring that the matrix connection diagram reflects the current actual connection state of the high-density switch matrix device in real time.

[0026] Through the above processing, the server unifies and associates the physical connection relationships, potential impact relationships, and historical anomaly relationships in the high-density switch matrix device to form a matrix connection relationship diagram that reflects the actual operating status. This enables subsequent target connection path determination, anomaly impact path analysis, and switching sequence optimization to be performed based on complete connection status information, thereby improving the accuracy of path judgment and anomaly handling capabilities in the control process of the high-density switch matrix device.

[0027] S120. Determine the target connection path based on the target task, analyze the associated switch units and the influence path, and determine the normal change state.

[0028] In one possible implementation, the target connection path is determined according to the target task, and the associated switch units and influence paths are analyzed to determine the normal change state. Specifically, this includes: determining the target connection path according to the target task, and determining the associated switch units and influence paths corresponding to the target connection path based on the matrix connection relationship diagram; analyzing the switch state change process corresponding to the target connection path based on historical switching records, and determining the normal change state during the target connection path switching process.

[0029] Specifically, the target connection path is determined based on the objective task, and the associated switch units and influencing paths corresponding to the target connection path are determined based on the matrix connection diagram. In practice, the server first obtains the signal input requirements, signal output requirements, and target transmission direction corresponding to the current objective task. Based on the signal input and output requirements, it searches the matrix connection diagram for multiple candidate connection paths that meet the signal transmission conditions. Here, the target connection path refers to the combination of switch units used to complete the current objective task and the corresponding signal transmission channel, while candidate connection paths refer to multiple optional paths that can achieve the same signal transmission function. The server determines the target connection path that meets the objective task requirements from among the multiple candidate connection paths based on the number of switch units, connection direction, and current switch state in the candidate connection paths.

[0030] Based on the switch unit information in the target connection path, the server searches the matrix connection diagram for other switch units that have a connection relationship or state influence relationship with the target connection path, and identifies associated switch units. Associated switch units refer to switch units that may be affected or may influence the target connection path during the switching process. The server analyzes the relationships between each switch unit in the target connection path and other switch units based on the direct connection relationships, indirect influence relationships, and abnormal influence relationships in the matrix connection diagram, identifying switch units that have signal transmission influence, state change influence, or historical abnormal influence on the target connection path as associated switch units.

[0031] Based on the positional and connection relationships of the associated switch units in the matrix connection diagram, the transmission process of the influence of the associated switch units on the target connection path is analyzed to determine the influence path. Here, the influence path refers to the transmission relationship where changes in the state of a switch unit in the target connection path affect the associated switch unit, or vice versa. The server searches for connection nodes between the target connection path and the associated switch unit along the connection direction in the matrix connection diagram, identifies paths that may cause signal interference, state changes, or abnormal transmission, and determines these paths as influence paths. This allows for proactive monitoring of potentially affected switch units during subsequent switching control.

[0032] Based on historical switching records, the server analyzes the switch state change process corresponding to the target connection path and determines the normal change state during the target connection path switching process. Specifically, the server reads historical switching processes that are the same as or similar to the current target connection path from the historical switching records. These historical switching records document the action sequence, state change process, and final connection result of each switch unit when the high-density switch matrix device performs switching operations under different tasks. The server extracts the action sequence of the target switch units, the state changes of associated switch units, and the stable signal transmission state corresponding to the target connection path from the historical switching records, thus forming the switch state change process corresponding to the target connection path.

[0033] The normal change state during the target connection path switching process is determined based on the switch state change process. In specific implementation, the server compares the switch state change processes in multiple historical switching records, filters out switching processes that meet the target task requirements and do not exhibit anomalies, and identifies the state change processes with stable and repetitive characteristics as normal change states. The normal change state represents the state changes of each switch unit after it operates in a preset sequence under normal switching conditions, including the action state of the target switch unit, the response state of associated switch units, and the final connection state of the target connection path. By determining the normal change state, subsequent control processes can determine whether there are any anomalies in the target connection path based on the difference between the actual response state and the normal change state.

[0034] S130. Control the target connection path switching based on the normal change status, and obtain the actual response status to make connection judgment.

[0035] In one possible implementation, the target connection path is switched based on the normal change state, and the actual response state is obtained for connection judgment. Specifically, this includes: determining the switching order corresponding to the target connection path based on the normal change state, and controlling the target switching unit to perform switching according to the switching order; obtaining the actual response state during the target connection path switching process, and comparing the actual response state with the normal change state; when the actual response state is consistent with the normal change state, it is determined that the target connection path is established normally; when the actual response state is inconsistent with the normal change state, it is determined that the target connection path is abnormal.

[0036] Specifically, the switching sequence corresponding to the target connection path is determined based on the normal change state, and the target switching units are controlled to perform switching according to the switching sequence. In practice, the server extracts the action sequence, conduction state change relationship, and stable holding state of each target switching unit based on the target connection path establishment process recorded in the normal change state. The switching sequence refers to the order in which multiple target switching units perform on, off, or state holding operations, used to avoid signal conflicts or inaccurate connection state determination caused by simultaneous changes in multiple switching units. The server generates the switching sequence corresponding to the target connection path based on the connection relationship between each target switching unit in the target connection path and the action sequence corresponding to the normal change state, and sends the switching sequence to the high-density switch matrix device, causing the target switching units to perform switching actions sequentially according to the switching sequence.

[0037] During the switching process of the target switch units according to the switching sequence, the server continuously acquires the actual response status corresponding to the target connection path and compares the actual response status with the normal change status. Specifically, the server uses the status detection unit in the high-density switch matrix device to acquire the actual conduction status of the target switch units, the signal transmission status of the target connection path, and the status changes of associated switch units, forming the actual response status. The actual response status refers to the status feedback generated by the target connection path during the actual switching process, reflecting whether the target connection path is established as expected. The server matches the status change process of each target switch unit in the actual response status with the corresponding status change process in the normal change status to determine whether the two are consistent in terms of switching sequence, status change, and connection result.

[0038] When the actual response status matches the normal change status, the target connection path is determined to be established normally. In practice, the server determines whether each target switch unit in the actual response status has completed its actions according to the switching sequence corresponding to the normal change status, and whether the target connection path has reached the final connection state corresponding to the normal change status. When the action sequence of the target switch units, the response status of the associated switch units, and the final connection state of the target connection path are all consistent with the normal change status, it indicates that the current target connection path has not been abnormally affected. The server marks the current target connection path as a normal connection path and allows the target task to continue execution.

[0039] When the actual response state differs from the normal change state, an anomaly is determined in the target connection path. In practice, the server analyzes the difference between the actual response state and the normal change state to determine the location of the anomaly. The location of the anomaly refers to the point where the actual response state first deviates from the normal change state; for example, the target switch unit may not operate in a preset sequence, associated switch units may experience unexpected state changes, or the target connection path may not form the expected connection state. Based on the location of the anomaly, the server determines whether the target connection path is affected by switch unit failure, changes in connection relationships, or associated switch units, and sends the anomaly determination result to the subsequent anomaly impact path analysis process to further determine the scope and location of the anomaly.

[0040] Through the above processing, when the high-density switch matrix device performs target connection path switching, it no longer judges the switching result solely based on the control command, but dynamically judges by combining the normal change state and the actual response state. This enables it to promptly identify the deviation between the control state and the actual connection state, thereby improving the accuracy and reliability of the target connection path establishment process.

[0041] S140. When there is an anomaly in the actual response status, the path of the anomaly is determined based on the matrix connection diagram.

[0042] In one possible implementation, when an anomaly exists in the actual response state, the path of the anomaly is determined based on the matrix connection diagram. Specifically, this includes: determining the location of the anomaly change based on the actual response state, and finding the associated switch unit corresponding to the location of the anomaly change based on the matrix connection diagram; analyzing the state change transmission relationship through the associated switch units to determine the scope of the anomaly; and tracing the state change process corresponding to the target connection path based on the scope of the anomaly to generate the path of the anomaly.

[0043] Specifically, the location of abnormal changes is determined based on the actual response status, and the associated switch unit corresponding to the abnormal change location is found based on the matrix connection relationship diagram. In practice, the server obtains the actual response status generated during the target connection path switching process and compares the actual response status with the normal change status to determine the switch unit that did not change according to the normal change status. Here, the abnormal change location refers to the location where the status deviation first occurs during the target connection path switching process, including the location where the target switch unit fails to complete the switching, the associated switch unit exhibits unexpected conduction, or the target connection path fails to form the expected connection status. The server maps the abnormal change location to the corresponding node in the matrix connection relationship diagram and finds switch units that have a direct connection relationship, indirect influence relationship, or abnormal influence relationship with that node based on the matrix connection relationship diagram, and determines the found switch units as associated switch units.

[0044] To determine the degree of deviation between the actual response state and the normal change state, the degree of abnormal change can be determined based on the difference in state changes. The calculation expression is as follows: in, It represents the degree of abnormal change between the actual response state and the normal change state, and its value range is a real number greater than or equal to 0; This indicates the number of switch units involved in the state determination in the target connection path, and its value ranges from 1 to the total number of switch units in the target connection path. Indicates the first The actual response state of each switching unit is obtained in real time by the state detection unit. Indicates the first The normal changing states corresponding to each switching unit are obtained by analyzing historical switching records; Indicates the first The state influence weight corresponding to each switching unit is determined based on the connection relationship between the switching unit and the target connection path, historical anomaly records, and the degree of signal influence, with a value ranging from 0 to 1. This expression determines the overall degree of anomaly by comparing the difference between the actual response state and the normal change state of each switching unit, and then filters the locations of abnormal changes based on the degree of anomaly.

[0045] By analyzing the state change propagation relationships among associated switch units, the scope of anomaly impact is determined. In practice, the server analyzes the sequence and direction of state changes among associated switch units corresponding to the location of the anomaly, based on the connection relationships recorded in the matrix connection diagram. The state change propagation relationship refers to the process by which a state change in one switch unit affects other associated switch units. For example, if a switch unit's switching causes a change in the electrical state of a common node, further affecting the response states of other switch units, then a state change propagation relationship is considered to exist between that switch unit and the affected switch units.

[0046] Based on the state change propagation relationship, the server searches along the matrix connection graph from the location of the abnormal change to obtain multiple associated switch units that have an impact relationship with the location of the abnormal change. Then, it determines the scope of the abnormal impact based on the actual response state changes of each associated switch unit. The scope of the abnormal impact refers to the set of switch units and connection areas that the abnormal state may affect, indicating that the abnormality does not exist only in a single switch unit but may spread to other switch units through connection relationships.

[0047] To determine the intensity of the influence between associated switch units, the degree of influence can be determined based on the connection relationship and state changes between the associated switch units. The calculation expression is as follows: in, Indicates the first The switching unit for the first The degree of influence of each switching unit, with a value ranging from 0 to 1; Indicates the first The first switching unit and the first The connection strength between individual switch units is determined according to the connection type in the matrix connection diagram, and its value ranges from 0 to 1. Indicates the first The state change of the first switching unit affects the... The degree of temporal correlation of the state changes of a switch unit is determined based on the time difference between the state changes of two switch units, and its value ranges from 0 to 1. Indicates the first The first switching unit and the first The degree of correlation between historical anomalies among individual switch units is determined based on historical anomaly records, and its value ranges from 0 to 1. , , The weight parameters represent the weights of different influencing factors, which are set according to actual control requirements, and all three parameters range from 0 to 1. This expression determines the degree of propagation of abnormal states among associated switch units by comprehensively considering connection relationships, temporal relationships of state changes, and historical anomaly relationships.

[0048] Based on the scope of anomaly impact, the server tracks the state change process corresponding to the target connection path, generating anomaly impact paths. In practice, the server, according to the determined scope of anomaly impact, tracks along the connection direction corresponding to the target connection path in the matrix connection relationship graph, obtaining the state change relationships between the target switch unit, associated switch units, and the location of the anomaly change within the target connection path. The anomaly impact path refers to the complete path from the location of the anomaly change, through multiple associated switch units, to the target connection path, representing the relationship between the anomaly's origin, propagation direction, and affected objects.

[0049] The server sorts the switch units within the anomaly's impact range according to the actual response status change time sequence, determines the anomaly propagation order, and connects the anomaly change location, associated switch units, and affected target switch units to form an anomaly impact path. Subsequently, the server associates the generated anomaly impact path with the matrix connection graph, adding anomaly impact information corresponding to the current target connection path to the matrix connection graph. This provides a basis for subsequently determining the anomaly location and optimizing the target connection path based on the anomaly impact path.

[0050] Through the above processing, the correlation between the actual response state and the matrix connection diagram can be used to track the anomalies generated during the target connection path switching process step by step. This not only identifies the location of the anomaly, but also analyzes the propagation process of the anomaly's impact through the associated switch units, thereby improving the accuracy of anomaly location and path optimization in high-density switch matrix devices.

[0051] S150. Determine the location of the anomaly based on the path of its impact.

[0052] In one possible implementation, determining the abnormal location based on the abnormal influence path specifically includes: obtaining the actual response state and state change sequence of each switch unit based on the abnormal influence path, and determining each switch unit in the abnormal influence path as a candidate abnormal location; determining the abnormal location based on the difference between the actual response state and the normal change state corresponding to each candidate abnormal location.

[0053] Specifically, based on the anomaly impact path, the actual response state and state change sequence of each switching unit are obtained, and each switching unit in the anomaly impact path is identified as a candidate anomaly location. In practice, the server reads each switching unit included in the anomaly impact path and obtains the actual response state of each switching unit during the target connection path switching process. The actual response state represents the operating state of the switching unit during the actual switching process, including the switching unit's on / off state, state change time, and signal response; the state change sequence represents the order in which the state changes of each switching unit occur within the anomaly impact path, reflecting the propagation direction of the anomaly state within the switching matrix.

[0054] The server correlates the actual response states and state change sequences of each switch unit based on the connection direction in the anomaly impact path, forming an anomaly state change sequence. This sequence describes the state change process of each switch unit after an anomaly occurs. For example, if a switch unit first exhibits a response delay or state deviation, and subsequently other switch units connected to that unit show abnormal responses, then that switch unit is considered a potential anomaly location. The server treats all switch units in the anomaly impact path as candidate anomaly locations and determines the analysis priority for each candidate anomaly location based on the anomaly state change sequence.

[0055] To comprehensively analyze the state deviation, time propagation relationship, and anomaly propagation impact of candidate anomaly locations, an anomaly impact evaluation function can be constructed based on the candidate anomaly locations. Its calculation expression is as follows: in, Indicates the first The abnormal impact evaluation value corresponding to each candidate abnormal location is a real number greater than or equal to 0. Indicates the first The state deviation value corresponding to each candidate anomaly location is determined based on the difference between the actual response state and the normal change state, and its value ranges from 0 to 1. Indicates the first The state transmission time characteristic corresponding to each candidate anomaly location is determined based on the state change time difference between the candidate anomaly location and the adjacent switching unit, and its value ranges from 0 to 1. Indicates the first The historical anomaly impact value corresponding to each candidate anomaly location is determined based on the number of anomalies, the duration of anomalies, and the scope of anomaly impact at that candidate anomaly location in the historical anomaly record, and its value ranges from 0 to 1. Indicates the first The path influence degree corresponding to each candidate anomaly location is determined based on the position of the candidate anomaly location in the anomaly influence path, the number of associated switch units, and the influence range, and its value range is from 0 to 1. Indicates the first The number of connection effects corresponding to each candidate anomaly location is determined based on the number of switch units associated with that candidate anomaly location in the matrix connection relationship diagram, and its value ranges from 1 to the total number of switch units. This represents the average number of connection impacts corresponding to all candidate anomaly locations, calculated based on the number of connection impacts corresponding to each candidate anomaly location. , , , The weight parameters representing state deviation, time propagation, historical anomalies, and path effects are set according to actual control requirements, and their values ​​range from 0 to 1. This represents the historical anomaly impact adjustment parameter, used to adjust the growth trend of historical anomaly impacts. Its value range is a real number greater than 0.

[0056] The aforementioned anomaly impact evaluation function, through joint analysis of state deviation, anomaly propagation time, historical anomaly characteristics, path influence range, and connectivity influence degree, enables candidate anomaly locations with significant anomaly impact to obtain higher anomaly impact evaluation values, thereby avoiding the problem of inaccurate location results caused by determining anomaly locations solely based on a single state change.

[0057] The anomaly location is determined based on the difference between the actual response state and the normal change state corresponding to each candidate anomaly location. Specifically, the server obtains the normal change state corresponding to each candidate anomaly location. The normal change state represents the expected state change process of the corresponding switching unit during normal switching of the target connection path, including the switching unit's action sequence, state change time, and final connection state. The server compares the actual response state corresponding to each candidate anomaly location with the normal change state, calculates the state deviation value for each candidate anomaly location, and combines this with the anomaly impact evaluation value to determine whether the candidate anomaly location is the location where the anomaly occurred.

[0058] In the specific judgment process, the server first determines the candidate anomaly location with a large state deviation based on the difference between the actual response state and the normal change state; then, based on the state change sequence corresponding to the candidate anomaly location, it determines whether the candidate anomaly location is in the initial stage of anomaly propagation; finally, based on the anomaly impact evaluation value, the multiple candidate anomaly locations are sorted, and the candidate anomaly location with the highest anomaly impact evaluation value and the earliest state change anomaly is determined as the anomaly location.

[0059] When multiple candidate anomaly locations exhibit abnormal state deviations, the server further analyzes the connectivity between these locations and the anomaly propagation sequence. It prioritizes the switch units that can explain the state changes at other candidate anomaly locations as the anomaly locations. This method distinguishes between the anomaly initiation location and the affected location, preventing subsequent abnormal responses during anomaly propagation from being misjudged as anomaly origin locations.

[0060] After determining the abnormal location, the server associates the switch unit information, connection relationship information, and abnormal impact path corresponding to the abnormal location with the matrix connection relationship diagram. This adds the abnormal location information corresponding to the current target connection path to the matrix connection relationship diagram, providing a data foundation for subsequent optimization of the target connection path and switching order based on the abnormal location.

[0061] S160. Optimize the target connection path and switching sequence based on abnormal locations, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

[0062] In one possible implementation, the target connection path and switching sequence are optimized based on the abnormal location to control the high-density switch matrix device according to the optimized target connection path and switching sequence. Specifically, this includes: determining the affected connection part based on the abnormal location and finding an alternative connection path based on the matrix connection relationship diagram; adjusting the switch switching sequence corresponding to the target connection path based on the alternative connection path to generate the optimized target connection path; obtaining the new actual response state through the optimized target connection path and determining the effective connection path when the target task requirements are met; and updating the matrix connection relationship diagram according to the switch state and connection relationship corresponding to the effective connection path.

[0063] Specifically, the affected connection portion is determined based on the abnormal location, and an alternative connection path is found based on the matrix connection relationship diagram. In practice, the server first reads the switch unit information corresponding to the abnormal location, and analyzes the connection relationship between the abnormal location and the target connection path in conjunction with the matrix connection relationship diagram. This identifies the connection nodes, connection lines, and associated switch units affected by the abnormality, and the affected area is defined as the affected connection portion. The affected connection portion refers to the part where the target connection path cannot be established normally or where signal transmission performance degrades due to the abnormal location, including the connection segment where the abnormal switch unit is located and connection segments that have an influence relationship with the abnormal switch unit.

[0064] Based on the position of the affected connection in the matrix connection diagram, the server searches for other connections that do not pass through the affected connection to obtain multiple candidate backup connection paths that meet the requirements of the target task. A backup connection path is a usable connection path that can replace the original target connection path to complete the signal transmission task and does not pass through the abnormal location or is minimally affected by the abnormality. The server filters the candidate backup connection paths based on the number of switching units, path stability, historical abnormality records, and signal transmission status to determine the backup connection paths that can be used to replace the original target connection path.

[0065] To comprehensively evaluate the availability of different backup connection paths, a calculation can be performed based on the path reliability corresponding to the backup connection path. The calculation expression is as follows: in, Indicates the first The reliability of the backup connection path is a real number greater than or equal to 0. Indicates the first The integrity of a backup connection path is determined by the number of valid connection nodes in the backup connection path and the total number of nodes in the path, and its value ranges from 0 to 1. Indicates the first The stability of the backup connection path is determined based on the number of times the backup connection path has maintained a normal state during historical operation, and its value ranges from 0 to 1. Indicates the first The historical anomaly ratio of the backup connection path is determined based on the number of times the backup connection path has anomalies and the number of times it has been used in the historical anomaly records, and its value ranges from 0 to 1. Indicates the first The degree of influence of a backup connection path is determined based on the number of switch units associated with the backup connection path and the scope of the associated influence, and its value ranges from 0 to 1. Indicates the first The path complexity corresponding to each backup connection path is determined based on the number of switching units, the number of connection nodes, and the number of switching operations in the path. This represents a reference value for the preset path complexity corresponding to the target task, which is determined based on the path complexity in historically executed tasks. , , , The weight parameters corresponding to different evaluation factors range from 0 to 1. , , This represents a nonlinear adjustment parameter used to adjust the influence trend of different evaluation factors on the reliability of the route. Its value range is a real number greater than 0. This expression selects backup connection routes with higher reliability by comprehensively analyzing the connection integrity, operational stability, historical anomalies, and route complexity of the backup connection routes.

[0066] The optimized target connection path is generated by adjusting the switch switching sequence corresponding to the target connection path based on the backup connection path. In practice, the server compares the backup connection path with the original target connection path to determine the abnormal connection parts that need to be replaced and the normal connection parts that need to be retained. It then rearranges the action sequence of the target switch units according to the connection relationships of the switch units in the backup connection path. The switch switching sequence refers to the order in which multiple target switch units perform on / off and state-maintaining actions, ensuring that the backup connection path can be established as expected.

[0067] The server adjusts the switching order of the original target connection path based on the connection direction, switch unit state change requirements, and the influence relationship of related switch units in the backup connection path. This ensures that stable connections are completed first during the switching process, followed by connections with influencing each other, thereby reducing the probability of signal conflicts or abnormal responses during the switching process. After the adjustment, the replaced connection relationships and the adjusted switching order are combined to generate the optimized target connection path.

[0068] The optimized target connection path is used to obtain a new actual response state, and a valid connection path is determined when the target task requirements are met. In specific implementation, the server controls the high-density switch matrix device to perform switching operations according to the optimized target connection path and switching sequence, and re-acquires the new actual response states corresponding to the target switch unit, associated switch unit, and signal transmission channel. The new actual response state represents the true connection state after the optimized target connection path is executed, including the switch unit state, signal transmission state, and connection stability state.

[0069] The server compares the new actual response status with the status requirements corresponding to the target task to determine whether the optimized target connection path meets the target task requirements. When the new actual response status matches the target task requirements and no abnormal status changes occur, the current optimized target connection path is determined as a valid connection path. A valid connection path refers to an actual usable connection path that can avoid the impact of anomalies and stably complete the target task.

[0070] To determine whether the optimized target connection path meets the task requirements, the path validity can be determined based on the degree of matching between the new actual response state and the target task state. The calculation expression is as follows: in, This represents the effectiveness evaluation value of the optimized target connection path, and its value ranges from 0 to 1. This indicates the number of state parameters involved in the judgment, and its value ranges from 1 to the total number of state parameters corresponding to the target connection path. Indicates the first The new actual response state corresponding to each state parameter is obtained by the state detection process; Indicates the first The target state requirements corresponding to each state parameter are determined based on the target task configuration. Indicates the first The importance weights corresponding to each state parameter range from 0 to 1. This represents an adjustment parameter to prevent the denominator from being zero; its value range is a real number greater than 0 and less than 1. This indicates the degree of abnormal residual, which is determined based on the number of abnormal states and the scope of abnormal impact in the optimized target connection path, and its value ranges from 0 to 1. This represents the adjustment parameter for the impact of abnormal residues, and its value is a real number greater than 0. This expression determines whether the optimized target connection path meets the target task requirements by comprehensively analyzing the degree of state matching and the situation of abnormal residues.

[0071] The matrix connection diagram is updated based on the switch states and connection relationships corresponding to the valid connection paths. In practice, the server obtains the actual switch states, switch unit connection relationships, and exception handling results during the execution of the valid connection paths, and updates the corresponding target connection path states in the original matrix connection diagram. The updates include the current state of the switch units, changes in connection relationships, and exception handling results.

[0072] The server marks the connection relationships corresponding to valid connection paths as normal connection relationships, and updates the connection relationships corresponding to abnormal locations as restricted connection relationships or abnormal record relationships, so that the matrix connection relationship diagram can reflect the actual operating status of the high-density switch matrix device. By continuously updating the matrix connection relationship diagram, subsequent target task execution can select target connection paths based on the latest connection status, avoiding the reuse of connection parts that have been affected by anomalies, and improving the control reliability of the high-density switch matrix device during long-term operation.

[0073] This application also provides a control system for a high-density switching matrix device, see reference. Figure 2 , Figure 2This is a schematic diagram of a control system for a high-density switch matrix device provided in an embodiment of this application. The system is a server, which includes an acquisition module 21 and a processing module 22. The acquisition module 21 is used to acquire the switching status, connection relationship, and abnormal records of the high-density switch matrix device and establish a matrix connection relationship diagram. The processing module 22 is used to determine the target connection path according to the target task, analyze the associated switch units and the influence path, and determine the normal change state. The processing module 22 is also used to control the switching of the target connection path according to the normal change state and acquire the actual response state for connection judgment. The processing module 22 is also used to determine the abnormal influence path based on the matrix connection relationship diagram when there is an abnormality in the actual response state. The processing module 22 is also used to determine the abnormal location according to the abnormal influence path. The processing module 22 is also used to optimize the target connection path and switching sequence based on the abnormal location, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

[0074] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0075] This application also provides an electronic device, with reference to... Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include: at least one processor 31, at least one network interface 34, a user interface 33, a memory 35, and at least one communication bus 32.

[0076] The communication bus 32 is used to enable communication between these components.

[0077] The user interface 33 may include a display screen and a camera, and may also include standard wired and wireless interfaces.

[0078] The network interface 34 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0079] The processor 31 may include one or more processing cores. The processor 31 connects to various parts of the server via various interfaces and lines, executing instructions, programs, code sets, or instruction sets stored in the memory 35, and calling data stored in the memory 35 to perform various server functions and process data. Optionally, the processor 31 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 31 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 31 and may be implemented as a separate chip.

[0080] The memory 35 may include random access memory (RAM) or read-only memory. Optionally, the memory 35 may include a non-transitory computer-readable storage medium. The memory 35 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 35 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 35 may also be at least one storage device located remotely from the aforementioned processor 31. Figure 3 As shown, the memory 35, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a control method of a high-density switching matrix device.

[0081] exist Figure 3In the electronic device shown, the user interface 33 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 31 can be used to call the application program stored in the memory 35 for a control method of a high-density switching matrix device. When executed by one or more processors, the electronic device performs one or more methods as described in the above embodiments.

[0082] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0083] This application also provides a non-transitory computer-readable storage medium storing instructions. When executed by one or more processors, these instructions cause an electronic device to perform one or more of the methods described in the above embodiments.

[0084] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0085] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings or direct couplings or communication connections may be through some service interfaces; indirect couplings or communication connections between apparatuses or units may be electrical or other forms.

[0086] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0087] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0088] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0089] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and the disclosure of practical truth. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.

Claims

1. A control method for a high-density switching matrix device, characterized in that, The method includes: Acquire the switching status, connection relationships, and anomaly records of the high-density switch matrix device, and establish a matrix connection relationship diagram; Determine the target connection path based on the target task, analyze the associated switch units and the impact path, and determine the normal change state; The target connection path is switched according to the normal change state, and the actual response state is obtained for connection judgment; When the actual response status is abnormal, the path of the abnormality is determined based on the matrix connection diagram; The location of the anomaly is determined based on the path of its impact. The target connection path and switching sequence are optimized based on the abnormal location, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

2. The control method for the high-density switch matrix device according to claim 1, characterized in that, The process of acquiring the switching status, connection relationships, and anomaly records of the high-density switch matrix device, and establishing a matrix connection relationship diagram, specifically includes: Obtain the connection information and signal direction information of each switch unit in the high-density switch matrix device, and determine the direct connection relationship between each switch unit; Based on the direct connection relationship, analyze the common nodes and signal influence relationships between the switching units to determine the indirect influence relationships; By combining historical anomaly records, the associated switch units involved in the anomaly are identified, and the impact relationship of the anomaly is determined; The matrix connection diagram is constructed based on the direct connection relationship, the indirect influence relationship, and the abnormal influence relationship, and the matrix connection diagram is updated according to the current switch state.

3. The control method for the high-density switch matrix device according to claim 1, characterized in that, The process of determining the target connection path based on the target task, analyzing the associated switch units and influencing paths, and determining the normal change state specifically includes: The target connection path is determined based on the target task, and the associated switch unit and influence path corresponding to the target connection path are determined based on the matrix connection relationship diagram. Based on the analysis of historical switching records, the switch state change process corresponding to the target connection path is determined, and the normal change state during the switching process of the target connection path is identified.

4. The control method for the high-density switch matrix device according to claim 1, characterized in that, The step of controlling the target connection path switching based on the normal change state and obtaining the actual response state for connection determination specifically includes: The switching sequence corresponding to the target connection path is determined based on the normal change state, and the target switching unit is controlled to perform switching according to the switching sequence; Obtain the actual response status during the target connection path switching process, and compare the actual response status with the normal change status; When the actual response state is consistent with the normal change state, it is determined that the target connection path is established normally; When the actual response state is inconsistent with the normal change state, it is determined that the target connection path is abnormal.

5. The control method for the high-density switch matrix device according to claim 1, characterized in that, When the actual response state is abnormal, determining the path of the abnormality based on the matrix connection diagram specifically includes: The location of the abnormal change is determined based on the actual response state, and the associated switch unit corresponding to the location of the abnormal change is found based on the matrix connection diagram; The state change transmission relationship is analyzed through the associated switch unit to determine the scope of the anomaly's impact; Based on the scope of the anomaly's impact, the state change process corresponding to the target connection path is tracked to generate the anomaly-affected path.

6. The control method for the high-density switch matrix device according to claim 1, characterized in that, Determining the anomaly location based on the anomaly impact path specifically includes: Based on the abnormal impact path, the actual response state and state change sequence of each switch unit are obtained, and each switch unit in the abnormal impact path is determined as a candidate abnormal location. The abnormal location is determined based on the difference between the actual response state and the normal change state corresponding to each of the candidate abnormal locations.

7. The control method for the high-density switch matrix device according to claim 1, characterized in that, The step of optimizing the target connection path and switching sequence based on the abnormal location, and controlling the high-density switching matrix device according to the optimized target connection path and switching sequence, specifically includes: The affected connection portion is determined based on the abnormal location, and an alternative connection path is found based on the matrix connection relationship diagram; Based on the backup connection path, the switch switching order corresponding to the target connection path is adjusted to generate an optimized target connection path; The new actual response status is obtained through the optimized target connection path, and a valid connection path is determined when the target task requirements are met. The matrix connection diagram is updated based on the switch status and connection relationship corresponding to the valid connection path.

8. A control system for a high-density switching matrix device, characterized in that, The system is used to execute the control method for the high-density switch matrix device as described in any one of claims 1 to 7, the system comprising an acquisition module and a processing module, wherein... The acquisition module is used to acquire the switching status, connection relationship and abnormal records of the high-density switch matrix device, and establish a matrix connection relationship diagram; The processing module is used to determine the target connection path according to the target task, analyze the associated switch units and the influencing path, and determine the normal change state. The processing module is also used to control the switching of the target connection path based on the normal change state, and to obtain the actual response state for connection judgment. The processing module is also used to determine the path of abnormality based on the matrix connection diagram when there is an abnormality in the actual response state. The processing module is also used to determine the location of the anomaly based on the path of the anomaly's impact. The processing module is further configured to optimize the target connection path and switching sequence based on the abnormal location, so as to control the high-density switch matrix device according to the optimized target connection path and switching sequence.

9. An electronic device, characterized in that, The electronic device includes a processor and a memory; the memory stores a computer program, wherein the computer program, when executed by the processor, implements a control method for a high-density switching matrix device as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores instructions that, when executed, perform a control method for a high-density switching matrix device as described in any one of claims 1 to 7.