A visual radio frequency switch matrix equipment configuration method and device

By introducing a visual configuration method into the RF switch matrix device, testers can intuitively view and configure the internal links of the device, solving the problems of complex configuration and inefficiency in the prior art, and achieving more efficient automatic testing.

CN119047108BActive Publication Date: 2025-02-07成都华兴汇明科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411536883.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-07
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

During the automatic testing process of existing RF switch matrix devices, testers cannot intuitively view the internal link connection relationship of the device, and the configuration is complex, which affects the testing efficiency.

Method used

By imaged the ports of the RF switch matrix device, a visual configuration method is provided, allowing testers to drag and drop the device model from the device model library to the display interface, initialize the settings and configure the opposite routing port of the device model, and automatically find and display the shortest Link path, generate configuration commands and issue them to the switch matrix device.

Benefits of technology

This enables testers to intuitively view and configure the internal links of the RF switch matrix device, improves the efficiency of link switching configuration, and improves the efficiency of automatic testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047108B_ABST
    Figure CN119047108B_ABST
Patent Text Reader

Abstract

The present invention discloses a visualized radio frequency switch matrix equipment configuration method and device, which display all device models of the same type in the same display area, and arrange the display areas in sequence according to the actual device wiring sequence; initialize and set each device model according to the actual use state of the switch matrix equipment, and configure the opposite routing port of each device model; respond to the signal input port and the connection port of the product to be tested selected by the user, search the opposite routing port of each device model in sequence starting from the signal input port according to the actual device wiring sequence, and obtain the shortest link path; connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix equipment, and the switch matrix equipment switches the switch to the corresponding link according to the configuration command, and the visualized configuration helps to intuitively view the connectivity of the internal link of the actual switch matrix equipment to improve the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to a visualized radio frequency switch matrix equipment configuration method and device. Background Art

[0002] RF switch matrix equipment is widely used in various automatic test systems and is an indispensable core component in the field of automatic testing. RF switch matrix equipment can realize various distributed, automated, and non-interventional automatic test conditions. RF switch matrix equipment is usually composed of microwave nodes such as one-to-four, four-by-four, one-to-six microwave switches, attenuators, phase shifters, etc. connected by microwave cables.

[0003] During the automatic testing process, other devices such as signal sources and products to be tested need to be connected to the input and output ports of the RF switch matrix device respectively. Then, through the software control program of the RF switch matrix device, according to the path status of the matrix hardware routing connection, manpower is required to find the microwave switches, microwave devices and other devices that need to be controlled in series in the path, and hard-code the control information of these devices into the software of the switch matrix, so as to open the corresponding route when performing automatic testing.

[0004] However, since the RF switch matrix device only displays ports to the outside, in the routing path generated by the software control program, the tester cannot observe the link connection relationship inside the RF switch matrix device and cannot directly configure the internal link connection relationship intuitively. Summary of the invention

[0005] The purpose of the present invention is to provide a visualized RF switch matrix device configuration method and apparatus, which visualizes the ports of the switch matrix device, performs configuration based on the visualized ports, and automatically searches for and displays the shortest link based on given input and output ports, thereby helping testers to intuitively view the connectivity of the internal links of the actual switch matrix device, facilitate configuration when switching links, and improve test efficiency.

[0006] To achieve the above objectives, the solution of this application is:

[0007] On the one hand, the present invention provides a visualized radio frequency switch matrix device configuration method, which specifically includes the following steps:

[0008] S1. Drag the corresponding type and quantity of device models from the device model library to the display interface according to the composition of the switch matrix device;

[0009] S2, displaying all device models of the same type in the same display area, and arranging the display areas in sequence according to the actual device wiring sequence;

[0010] S3, initializing and setting each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model;

[0011] S4, in response to the signal input port and the connection port of the product to be tested selected by the user, searching for the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence, and obtaining the shortest link path;

[0012] S5. Connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

[0013] In some specific implementations, each device model includes a local input port and a local output port, and the specific process in step S3 is:

[0014] S31, for each device model, constructing an association relationship between a local input port and a local output port;

[0015] S32, obtaining the port occupancy status uploaded by the switch matrix device, and setting the port occupancy status attributes of the input port and the local output port of each device model;

[0016] S33, configuring only the opposite routing port of the local output port of each device model;

[0017] S34, storing the local output port and port occupancy status attribute associated with the local input port of each device model, the local input port and port occupancy status attribute associated with the local output port, and the opposite routing port in the device model attribute table;

[0018] S35 , summarizing all device model attribute tables in the same display area to obtain an area attribute table.

[0019] In some specific implementations, when configuring the opposite routing port of the local output port of each device model in step S33, the opposite routing port includes the local input ports of other device models located in the same display area as the device model and the local input ports of the device model in the next display area arranged in the order of actual device wiring, and they are sorted in the order of priority of the same display area when storing.

[0020] In some specific implementations, the specific process of step S4 is:

[0021] S41, locate the regional attribute tables where the signal input port and the connection port of the product to be tested are respectively located, and find the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested;

[0022] S42, starting from the device model attribute table of the device model corresponding to the signal input port, finding all the local output ports in each region attribute table, and determining the last level of local output ports through the device model corresponding to the connection port of the product to be tested;

[0023] S43, searching and combining all local output ports between the local output port corresponding to the signal input port and the local output port of the last level to form a plurality of switch link paths from the signal input port to the connection port of the product to be tested;

[0024] S44, selecting the shortest link path from a plurality of switch link paths.

[0025] In some specific implementations, the path search process in step S43 is:

[0026] For all local output ports, first determine the port occupancy status of each local output port, if it is not occupied, the local output port is available;

[0027] Find the local input port associated with each available local output port, and determine the port occupancy status of each local input port. If the local input port is not occupied, the local input port is available.

[0028] Starting from the signal input port, the opposite routing port of each available local output port and the associated available local input port are traversed in sequence, and it is determined whether the opposite routing port is an available local input port, until the connection port of the product to be tested is reached, forming a switch link path.

[0029] In some specific implementations, the method for selecting the shortest link path in step S44 is:

[0030] The number of ports passed by each switch link path is calculated, and the switch link path with the least number of ports passed is selected as the shortest link path.

[0031] In some specific implementations, the specific process of step S4 is:

[0032] S401, locate the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested, determine the starting local input port through the device model corresponding to the signal input port, and determine the last level local output port through the device model corresponding to the connection port of the product to be tested;

[0033] S402, find all available local output ports in each area attribute table, filter out local input ports in the same display area as the available local output port from all opposite routing ports of each available local output port, and save the filtered ports and attributes in a link lookup table;

[0034] S403 , according to the link lookup table, search and combine all the local output ports between the starting local input port and the last level local output port to obtain the shortest link path.

[0035] In some specific implementations, the process of connecting and displaying in step S5 is as follows:

[0036] Highlight all local input ports and local output ports corresponding to each device model in the shortest link path, display the name of the opposite routing port on each local output port, and display the names of the local output ports of other connected device models on each local input port;

[0037] Starting from the device model corresponding to the signal input port, the local input port and the local output port of each device model in the shortest link path are connected in sequence and displayed in the display interface.

[0038] In some specific implementations, when the user updates the selected signal input port or the connection port of the product to be tested, step S4 is repeated to obtain an updated link path, and then the difference between the updated link path and the shortest switch link is compared;

[0039] If the difference is only in the device model corresponding to the signal input port or the connection port of the product to be tested, the difference link corresponding to the difference is configured as a configuration command and sent to the switch matrix device, and the switch matrix device only switches the switch corresponding to the difference link.

[0040] In a second aspect, the present application provides a visualized radio frequency switch matrix device configuration device, comprising:

[0041] A visual display interface, including a display interface for displaying device models of corresponding types and quantities dragged from a device model library according to the composition of the switch matrix device;

[0042] The display interface includes several display areas arranged in sequence according to the actual device wiring sequence, and each display area is used to display all device models of the same type;

[0043] A configuration module, used for initializing each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model;

[0044] The link search module is used to respond to the signal input port and the connection port of the product to be tested selected by the user, and search the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence to obtain the shortest link path;

[0045] The switch switching module is used to connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

[0046] The beneficial effects of the present invention are:

[0047] This application visualizes the ports of the switch matrix device, configures based on the visualized ports, and automatically finds and displays the shortest link based on the given input and output ports, which helps testers to intuitively view the connectivity of the internal links of the actual switch matrix device. Through graphical control and configuration, the interface display and configuration of the internal links of the switch matrix device are provided to testers;

[0048] And when only the input or output port is changed, the link that needs to be switched can be quickly found through the graphical display interface, which improves the configuration efficiency of the link when switching and improves the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A flowchart of a graphical configuration method provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of a display interface composition provided by an embodiment of the present invention;

[0051] Figure 3 A schematic diagram of input and output ports provided for an embodiment of the present invention;

[0052] Figure 4 A schematic diagram of a link path provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of a link obtained by replacing a signal input port according to an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0056] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0057] Additionally, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness.One of ordinary skill in the art will recognize that various changes and modifications may be made to the examples described herein without departing from the spirit and scope of the present disclosure.

[0058] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0059] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0060] Example 1

[0061] like Figure 1 As shown, this embodiment provides a visualized RF switch matrix device configuration method, which specifically includes the following steps:

[0062] S1. Drag the corresponding type and quantity of device models from the device model library to the display interface according to the composition of the switch matrix device;

[0063] S2, displaying all device models of the same type in the same display area, and arranging the display areas in sequence according to the actual device wiring sequence;

[0064] S3, initializing and setting each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model;

[0065] Specifically, Figure 2As shown, each device model includes a local input port and a local output port. It should be noted that the local input port and the local output port in this application are relative, and the input port and output port of each device model are determined according to the signal input port and the connection port of the product to be tested selected by the user. For example, when the signal input port selected by the user is a 4-to-1 switch group, the local input port of each switch in the 4-to-1 switch group is the in port, and the local output port is the out port. When the connection port of the product to be tested is a 1-to-8 power splitter, the COM port is the local input port, and the out port is the local output port. If the signal input port selected by the user is a 1-to-8 power splitter, the COM port is the local output port, and the out port is the local input port. When the connection port of the product to be tested is a 4-to-1 switch group, the local input port of each switch in the 4-to-1 switch group is the out port, and the local output port is the in port. Each time the configuration is performed, only the local output port of each device is configured, which can reduce the configuration time.

[0066] The specific process in step S3 is:

[0067] S31, for each device model, constructing an association relationship between a local input port and a local output port;

[0068] S32, obtaining the port occupancy status uploaded by the switch matrix device, and setting the port occupancy status attributes of the input port and the local output port of each device model;

[0069] S33, configuring only the opposite routing port of the local output port of each device model;

[0070] In the present application, the opposite routing port refers to the output port of the current device model to which the input port of the next device model is connected according to routing requirements. Since the output of the current device model can be connected to the input port of any other device model, when the opposite routing port of the local output port of each device model is configured, the opposite routing port includes the local input ports of other device models located in the same display area as the device model and the local input ports of the device models in the next display area arranged in the actual device wiring sequence. When storing, they are sorted in the order of priority of the same display area.

[0071] S34, storing the local output port and port occupancy status attribute associated with the local input port of each device model, the local input port and port occupancy status attribute associated with the local output port, and the opposite routing port in the device model attribute table;

[0072] S35 , summarizing all device model attribute tables in the same display area to obtain an area attribute table.

[0073] S4, in response to the signal input port and the connection port of the product to be tested selected by the user, searching for the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence, and obtaining the shortest link path;

[0074] In this embodiment, two methods for finding the shortest link path are provided. The first method is to find the available local output ports and local input ports of all device models in the display interface based on all currently selected device models when the signal input port and the connection port of the product to be tested are given. Since the local input port and the local output port of each device model are associated, if the output port is determined, it can be automatically connected to the local input port. Then, a search traversal method is used to perform a link connectivity search from the local input port of the device model corresponding to the signal input port to the local output port of the device model corresponding to the connection port of the product to be tested among all available local input ports and local output ports. The specific process is as follows:

[0075] S41, locate the regional attribute tables where the signal input port and the connection port of the product to be tested are respectively located, and find the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested;

[0076] S42, starting from the device model attribute table of the device model corresponding to the signal input port, finding all the local output ports in each region attribute table, and determining the last level of local output ports through the device model corresponding to the connection port of the product to be tested;

[0077] S43, searching and combining all local output ports between the local output port corresponding to the signal input port and the local output port of the last level to form a plurality of switch link paths from the signal input port to the connection port of the product to be tested;

[0078] The path search process is:

[0079] For all local output ports, first determine the port occupancy status of each local output port, if it is not occupied, the local output port is available;

[0080] Find the local input port associated with each available local output port, and determine the port occupancy status of each local input port. If the local input port is not occupied, the local input port is available.

[0081] Starting from the signal input port, the opposite routing port of each available local output port and the associated available local input port are traversed in sequence, and it is determined whether the opposite routing port is an available local input port, until the connection port of the product to be tested is reached, forming a switch link path.

[0082] S44, calculating the number of ports that each switch link path passes through, and selecting the switch link path that passes through the least number of ports as the shortest link path. The shortest link path is selected from a plurality of switch link paths.

[0083] In the second method of finding the shortest link path, since various types of device models are displayed according to different display area partitions, when searching for connectivity, the shortest link path corresponds to the device model corresponding to the signal input port, which only passes through the shortest port in the display area where the signal input port is located and then connects to the input port of the device model in the next display area. In other words, when the signal input port and the connection port of the product to be tested are connected, at least the local input end and the local output end of one device model in each display area are passed through. Since each device is configured with an opposite routing port, and the opposite routing port includes the input ports of other device models of the same type and the input ports of different device models, the input port of the device model in the next display area can be screened out from the opposite routing port of the local output port. The specific process is as follows:

[0084] S401, locate the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested, determine the starting local input port through the device model corresponding to the signal input port, and determine the last level local output port through the device model corresponding to the connection port of the product to be tested;

[0085] S402, find all available local output ports in each area attribute table, filter out the local input port in the same display area as the available local output port from all opposite routing ports of each available local output port, delete the filtered local input port and the associated local output port from all available local output ports, and save the filtered ports and attributes in a link lookup table;

[0086] S403 , according to the link lookup table, search and combine all the local output ports between the starting local input port and the last level local output port to obtain the shortest link path.

[0087] S5. Connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

[0088] The process of connecting and displaying in step S5 is as follows:

[0089] Highlight all local input ports and local output ports corresponding to each device model in the shortest link path, display the name of the opposite routing port on each local output port, and display the names of the local output ports of other connected device models on each local input port;

[0090] Starting from the device model corresponding to the signal input port, the local input port and the local output port of each device model in the shortest link path are connected in sequence and displayed in the display interface.

[0091] When the user updates the selected signal input port or the connection port of the product to be tested, step S4 is repeated to obtain an updated link path, and then the difference between the updated link path and the shortest switch link is compared;

[0092] If the difference is only in the device model corresponding to the signal input port or the connection port of the product to be tested, the difference link corresponding to the difference is configured as a configuration command and sent to the switch matrix device, and the switch matrix device only switches the switch corresponding to the difference link.

[0093] like Figure 2 As shown, when the switch matrix device is automatically tested, the device combination used is a 4-to-1 switch, a 4X4 matrix and a 1-to-8 power divider. According to the actual device wiring sequence: the signal flows from the local input end of the 4-to-1 switch, passes through the 4X4 matrix, and is input from the output end of the 1-to-8 power divider to the product to be tested. Therefore, there are three types of devices, and three display areas are constructed, namely the first display area, the second display area, and the third display area. Eight 4-to-1 switches are dragged in the first display area to form a 4-to-1 switch group, and the eight 4-to-1 switches are arranged in sequence in the first display area. In the second display area, a 4X4 matrix is ​​dragged from the device model library. In the third display area, four 1-to-8 power dividers are selected from the device model library. The device model library in this application is an existing model library constructed in advance. The purpose of this application is to call these device models for configuration.

[0094] It can be seen that each 4-to-1 switch includes a local input port (in) and four local output ports (arranged as 1, 2, 3, and 4 in sequence), the 4×4 matrix includes four local input ports in1, in2, in3, and in4 and four local output ports out1, out2, out3, and out4, and each 1-to-8 power divider includes a local input port (COM) and 8 local output ports (out-1, .., out-8). Next, configure the above ports in the display interface. During configuration, since the local input port and local output port of each device are associated, that is, the local input port connected to the port can be obtained by finding the local output port of the device. Therefore, when configuring the opposite routing port, it is only necessary to configure the local output port of each device model. For example, when configuring the opposite routing port of the local output port 4 of the 4-to-1 switch 2, the opposite routing port can be the local input port in1-in4 of the 4x4 matrix, or the local input port in of the switch 4 located in the same display area as the switch 2. It can be seen that the local input port of the 4x4 matrix switch can be determined by the 4-to-1 switch. Therefore, it is only necessary to configure which local input port of the 1-to-8 power divider is pointed to by the opposite routing port of the local output port of the 4x4 matrix.

[0095] After configuring the opposite routing port of each port according to the above content, the device model attribute table of each device can be obtained as shown in Table 1 (taking switch 1 as an example):

[0096] Table 1 Switch 1 attribute table

[0097]

[0098] All device model attribute tables of each display area are summarized and arranged according to device type. In this embodiment, the local input port of the 4-to-1 switch is used as the signal input port, and the local output port -out of the 1-to-8 power splitter is used as the connection port of the product to be tested. Figure 3 As shown, when the user connects the signal source to the local input port 2-in of the switch 2 in the actual device and uses it as the signal input port, and the product to be tested is connected to the local output port out10-4 of the 1-to-8 power splitter 10 as the connection port of the product to be tested, since out10-4 is the local output port, its associated local input port COM10 can be directly found. Therefore, after the tester connects the test equipment, the known connection ports are 2-in, COM10, and out10-4. At this time, the process of generating the shortest link path is:

[0099] Find all available local input ports and local output ports in the attribute table that are idle. Assume that the available ports are: 2-3, 2-4, 4-in, 4-4, 5-in, 5-4, in2, in4, out3; then use the 2-in port as the starting point of the path and the COM10 port as the end point of the path, and use the above available ports to search for the path from 2-in to COM10. The path search principle is to start from the signal input port and find the opposite routing port that can be found according to the local output port of each device to get 16 link paths.

[0100] For example, start from port 2-in and search through the input and output ports in sequence. For example, the output ports associated with port 2-in are 2-3 and 2-4. Taking port 2-4 as an example, its opposite routing ports are 4-in, 5-in, in2, and in4. Since the only available output port on the local side of the 4x4 matrix is ​​out3, out3 is associated with in2 and in4. When the link searches for in2, it will be directly connected to out3. Figure 4 As shown, in this embodiment, link 1 of the longest link path and link 2 of the shortest link path are shown. Based on the shortest link principle, the link path information of link 2: (2-in→2-4→in2→out3→COM10→out10-4) generates a configuration command and sends it to the switch matrix for link switching.

[0101] It can be seen that the formation of the shortest link must pass through a 4-to-1 switch, a 4x4 matrix and a 1-to-8 power splitter because the actual device wiring sequence must be used. When searching for the shortest link, the known connection ports can be found first as 2-in, COM10, and out10-4. Then, from the existing available ports: 2-3, 2-4, 4-in, 4-4, 5-in, 5-4, in2, in4, out3, the available local output port opposite the routing port is removed as the input port and the associated output port of this group. The final ports obtained are: 2-3, 2-4, in2, in4, out3. There are two shortest link paths, and you can select any one of them as the shortest link path to configure the switch matrix device.

[0102] like Figure 5As shown in the figure, when replacing the device or the signal input interface, for the same product under test, when the status of other ports does not change, if only the signal input port and the signal output port change, and the signal input port changes from 2-in to 3-in, the shortest link channel should be: (3-in→3-4→in2→out3→COM10→out10-4). It can be seen that the only difference is that the output port of switch 3 changes. Therefore, only the link section 3-in→3-4→in2 can be configured as a configuration command sent to the switch matrix device, and the switch matrix device only switches the section 3-in→3-4→in2.

[0103] Example 2

[0104] This embodiment provides a visualized radio frequency switch matrix device configuration device, including:

[0105] A visual display interface, including a display interface for displaying device models of corresponding types and quantities dragged from a device model library according to the composition of the switch matrix device;

[0106] The display interface includes several display areas arranged in sequence according to the actual device wiring sequence, and each display area is used to display all device models of the same type;

[0107] A configuration module, used for initializing each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model;

[0108] The link search module is used to respond to the signal input port and the connection port of the product to be tested selected by the user, and search the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence to obtain the shortest link path;

[0109] The switch switching module is used to connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

[0110] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.

Claims

1. A visual RF switch matrix device configuration method, characterized in that: The following steps are involved: S1. Drag the corresponding type and quantity of device models from the device model library to the display interface according to the composition of the switch matrix device; S2, displaying all device models of the same type in the same display area, and arranging the display areas in sequence according to the actual device wiring sequence; S3, initializing and setting each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model; Each device model includes a local input port and a local output port. The specific process in step S3 is as follows: S31, for each device model, constructing an association relationship between a local input port and a local output port; S32, obtaining the port occupancy status uploaded by the switch matrix device, and setting the port occupancy status attributes of the input port and the local output port of each device model; S33, configuring only the opposite routing port of the local output port of each device model; S34, storing the local output port and port occupancy status attribute associated with the local input port of each device model, the local input port and port occupancy status attribute associated with the local output port, and the opposite routing port in the device model attribute table; S35, summarizing all device model attribute tables in the same display area to obtain an area attribute table; S4, in response to the signal input port and the connection port of the product to be tested selected by the user, searching for the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence, and obtaining the shortest link path; The specific process of step S4 is: S41, locate the regional attribute tables where the signal input port and the connection port of the product to be tested are respectively located, and find the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested; S42, starting from the device model attribute table of the device model corresponding to the signal input port, finding all the local output ports in each region attribute table, and determining the last level of local output ports through the device model corresponding to the connection port of the product to be tested; S43, searching and combining all local output ports between the local output port corresponding to the signal input port and the local output port of the last level to form a plurality of switch link paths from the signal input port to the connection port of the product to be tested; The path search process in step S43 is: For all local output ports, first determine the port occupancy status of each local output port. If it is not occupied, the local output port is available. Find the local input port associated with each available local output port, and determine the port occupancy status of each local input port. If the local input port is not occupied, the local input port is available. Starting from the signal input port, traverse the opposite routing port of each available local output port and the associated available local input port in turn, and determine whether the opposite routing port is an available local input port, until reaching the connection port of the product to be tested, to form a switch link path; S44, selecting the shortest link path from a plurality of switch link paths; S5. Connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

2. A visualized RF switch matrix device configuration method according to claim 1, characterized in that: When configuring the opposite routing port of the local output port of each device model in step S33, the opposite routing port includes the local input ports of other device models located in the same display area as the device model and the local input ports of the device model in the next display area arranged in the order of actual device wiring, and they are sorted in the order of priority of the same display area when storing.

3. A visualized RF switch matrix device configuration method according to claim 1, characterized in that: The method for selecting the shortest link path in step S44 is: The number of ports passed by each switch link path is calculated, and the switch link path with the least number of ports passed is selected as the shortest link path.

4. A visualized RF switch matrix device configuration method according to claim 2, characterized in that: The specific process of step S4 is: S401, locate the device model corresponding to the signal input port and the device model corresponding to the connection port of the product to be tested, determine the starting local input port through the device model corresponding to the signal input port, and determine the last level local output port through the device model corresponding to the connection port of the product to be tested; S402, find all available local output ports in each area attribute table, filter out local input ports in the same display area as the available local output port from all opposite routing ports of each available local output port, and save the filtered ports and attributes in a link lookup table; S403 , according to the link lookup table, search and combine all the local output ports between the starting local input port and the last level local output port to obtain the shortest link path.

5. A visualized RF switch matrix device configuration method according to claim 1, characterized in that: The process of connecting and displaying in step S5 is as follows: Highlight all local input ports and local output ports corresponding to each device model in the shortest link path, display the name of the opposite routing port on each local output port, and display the names of the local output ports of other connected device models on each local input port; Starting from the device model corresponding to the signal input port, the local input port and the local output port of each device model in the shortest link path are connected in sequence and displayed in the display interface.

6. A visualized RF switch matrix device configuration method according to claim 1, characterized in that: When the user updates the selected signal input port or the connection port of the product to be tested, step S4 is repeated to obtain an updated link path, and then the difference between the updated link path and the shortest switch link is compared; If the difference is only in the device model corresponding to the signal input port or the connection port of the product to be tested, the difference link corresponding to the difference is configured as a configuration command and sent to the switch matrix device, and the switch matrix device only switches the switch corresponding to the difference link.

7. A visualized RF switch matrix device configuration apparatus, using the visualized RF switch matrix device configuration method as claimed in claim 1, characterized in that: include: A visual display interface, including a display interface for displaying device models of corresponding types and quantities dragged from a device model library according to the composition of the switch matrix device; The display interface includes several display areas arranged in sequence according to the actual device wiring sequence, and each display area is used to display all device models of the same type; A configuration module, used for initializing each device model according to the actual use status of the switch matrix device, and configuring the opposite routing port of each device model; The link search module is used to respond to the signal input port and the connection port of the product to be tested selected by the user, and search the opposite routing ports of each device model in sequence starting from the signal input port according to the actual device wiring sequence to obtain the shortest link path; The switch switching module is used to connect and display the device model corresponding to the shortest link path, and generate a configuration command based on the shortest link path and send it to the switch matrix device. The switch matrix device switches the switch to the corresponding link according to the configuration command.

Citation Information

Patent Citations

  • Matching connection method based on touch screen switch matrix port annular arrangement display

    CN118625988A

  • System and method for controlling a multi-point matrix switch

    EP0507457A1