Switch channel switching method, system, terminal device and storage medium
Through the processing of the control board and the function board, stable switching of the switching channel is achieved, solving the problems of damage and high complexity of the switching device in multi-signal line control, and improving the stability and control accuracy of the equipment.
Patent Information
- Application Number
- CN202510670219.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-05-23
AI Technical Summary
In the prior art, the switching device is prone to damage when controlling multiple signal lines at the same time, and has a high control complexity, resulting in low device stability.
The control board receives channel switching control information, performs analysis processing, and generates control signals, and performs preset processing through the function board to pass it to the radio frequency switch group to realize switching of switch channels, avoiding multiple signal lines being powered up at the same time, and adopts modular hardware and software control methods.
It reduces the difficulty of equipment control, improves system stability, reduces hardware and software complexity, and adapts to switch expansion requirements.
Smart Images

Figure CN120185589B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing technology, and in particular to a switch channel switching method, system, terminal device and storage medium. Background Art
[0002] With the development of science and technology, in order to better control the operation of various scientific and technological products, various switching devices are often used in scientific and technological products to achieve switching between working state or suspended working state between various products or products that cooperate with each other.
[0003] However, switches used to switch between active and suspended states for various products or cooperating products typically only have one control signal line energized at a time. This means that energizing multiple signal lines simultaneously can damage the switch. Furthermore, when there are a large number of mechanical switches, the current power states of each switch's channel signal lines must be managed in a greater number of states, significantly increasing control complexity. Summary of the Invention
[0004] The purpose of this application is to provide a switch channel switching method, system, terminal device and storage medium, aiming to solve the current technical problems of difficult device control and low stability.
[0005] In a first aspect, the present application provides a switch channel switching method, wherein a control output port of a control board is connected to a control input port of a function board, and the output interface of the function board is connected to a control pin of a radio frequency switch group, comprising:
[0006] Receive channel switching control information through the control board;
[0007] The control board processes the channel switching control information to obtain a control signal, and the control signal is transmitted to the radio frequency switch group after being pre-processed by the function board;
[0008] The switching of the switch channel is completed by the radio frequency switch group according to the control signal after the preset processing by the function board.
[0009] The switch channel switching method provided in the embodiment of the present application receives channel switching control information through the control board, then processes the channel switching control information through the control board to obtain a control signal, and performs preset processing on the control signal through the function board so that the control signal can be divided into multiple parts and transmitted to the RF switch group. Then, after the RF switch group recognizes the control signal, it performs control operations on multiple switches included in the RF switch group to complete the switching of the switch channels, effectively reducing the difficulty of device control and improving the stability of control.
[0010] In some embodiments, the processing of the channel switching control information by the control board to obtain a control signal includes:
[0011] The control board analyzes the channel switching control information to obtain the status word parameters of the global switch of the switch matrix;
[0012] The control word parameter is generated according to the status word parameter, and the control word parameter serves as the control signal.
[0013] In some embodiments, if the number of the RF switch groups is greater than or equal to 2, the control word parameters corresponding to each of the RF switch groups are different.
[0014] In some embodiments, the parsing and processing of the channel switching control information by the control board to obtain the status word parameters of the global switches of the switch matrix includes:
[0015] The control board parses the channel switching control information to obtain the switch number that the RF switch group needs to switch and the internal channel number corresponding to the switch number;
[0016] If it is determined that the switch number and the internal channel number corresponding to the switch number are the target switch number and the target internal channel number, the historical status word parameters are updated according to the target switch number and the target internal channel number to obtain the status word parameters of the global switch of the switch matrix.
[0017] In some embodiments, generating the control word parameter according to the status word parameter, wherein the control word parameter serves as the control signal, includes:
[0018] Determining the starting position state information of the target switch to be switched in the radio frequency switch group according to the state word parameter;
[0019] determining a target offset of the target switch to be switched in the RF switch group according to the switch number of the target switch to be switched in the RF switch group and preset control line offset information corresponding to the target switch to be switched;
[0020] The control word parameter is determined according to the target offset and the initial position state information of the target switch to be switched in the radio frequency switch group.
[0021] In some embodiments, the control board has at least two control output ports, each of which is connected to a control input port of a function board, and the output interface of each function board is connected to a control pin of a radio frequency switch group.
[0022] In some embodiments, the control signal is a serial signal.
[0023] The step of transmitting the control signal to the radio frequency switch group after the control signal is pre-processed by the function board includes:
[0024] The control signal is processed in parallel by the function board and then transmitted to the radio frequency switch group.
[0025] In a second aspect, the present application provides a switch channel switching system, wherein the control output port of the control board is connected to the control input port of the function board, and the output interface of the function board is connected to the control pin of the radio frequency switch group, including:
[0026] A receiving module, used for receiving channel switching control information through a control board;
[0027] a signal processing module, configured to process the channel switching control information through the control board to obtain a control signal, and transmit the control signal to the RF switch group after the control signal undergoes preset processing by the function board;
[0028] The switch switching module is used to complete the switching of the switch channel through the radio frequency switch group according to the control signal after the preset processing by the function board.
[0029] In a third aspect, the present application provides a terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the switch channel switching method when executing the computer program.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the switch channel switching method is implemented.
[0031] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0033] Figure 1 A flowchart of the implementation of the switch channel switching method provided in an embodiment of the present application;
[0034] Figure 2This is a flowchart of a specific implementation of step S12 of the switch channel switching method provided in an embodiment of the present application;
[0035] Figure 3 This is a flowchart of a specific implementation of step S21 of the switch channel switching method provided in an embodiment of the present application;
[0036] Figure 4 This is a flowchart of a specific implementation of step S22 of the switch channel switching method provided in an embodiment of the present application;
[0037] Figure 5 This is a structural diagram of the switch channel switching system provided in an embodiment of the present application.
[0038] Figure 6 A schematic diagram of the structure of the terminal device provided in an embodiment of the present application.
[0039] Figure 7 Schematic diagram of an application scenario of the switch channel switching method provided in an embodiment of the present application.
[0040] Figure 8 This is a flowchart for implementing the generation of status word parameters of the switch channel switching method provided in an embodiment of the present application.
[0041] Figure 9 This is a flowchart for implementing the generation of control word parameters of the switch channel switching method provided in an embodiment of the present application.
[0042] Figure 10 This is a schematic diagram of the switch group control wiring of the switch channel switching method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In the following description, specific details such as specific device structures and technologies are provided for the purpose of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details.
[0044] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0045] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0046] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0047] In order to illustrate the technical solution described in this application, specific embodiments are provided below.
[0048] The present application provides a switch channel switching method, which can reduce the control difficulty and debugging difficulty of the overall equipment and improve the stability of the system.
[0049] See also Figure 1 , Figure 1 This is a flow chart of an implementation method of a switch channel switching method provided in an embodiment of the present application, comprising the following steps:
[0050] The present application provides a switch channel switching method, wherein a control output port of a control board is connected to a control input port of a function board, and an output interface of the function board is connected to a control pin of a radio frequency switch group, including:
[0051] S11: Receive channel switching control information through the control board.
[0052] S12: Processing the channel switching control information through the control board to obtain a control signal, and transmitting the control signal to the radio frequency switch group after pre-processing by the function board.
[0053] S13: The RF switch group completes the switching of the switch channel according to the control signal after the preset processing by the function board.
[0054] In this embodiment, the hardware used is modularized to avoid system coupling, and the hardware connections of various parts of the switch matrix system are cleverly performed. Through the corresponding software control method, the control of the multi-input and output non-full-switching non-holding type RF switch matrix is realized.
[0055] The control board is used to receive and process specific RF channel switching instructions and generate serial control signals for the serial-to-parallel function board.
[0056] The function board receives the serial control signal from the control board and converts it into a parallel control signal for the RF switch. The converted parallel control signal will also undergo voltage step-up conversion, such as converting the voltage from 1V to 12V, for input to the final RF switch.
[0057] The RF switch group is a combination of mechanical non-retentive RF switches used in this switch matrix, which is used to receive the control signal after the function board is converted and execute the switching of specific RF switches.
[0058] In an embodiment, in order to manage the operating status of multiple switches, control more accurately, reduce product design and development costs, reduce the control difficulty and debugging difficulty of the overall equipment, improve system stability, and better adapt to switch expansion needs, the control output port of the control board is first connected to the control input port of the function board, and the output interface of the function board is connected to the control pin of the RF switch group. After the control board receives the channel switching control information sent by the upper computer, the control board processes the channel switching control information to obtain a control signal, and the control signal is preset by the function board so that the control signal can be divided into multiple and transmitted to the RF switch group. Then, after the RF switch group recognizes the control signal, it performs control operations on the multiple switches included in the RF switch group to complete the switching of the switch channels, effectively reducing the difficulty of device control and improving the stability of control.
[0059] The scenarios for receiving channel switching control information through the control board include but are not limited to the following:
[0060] Scenario 1: When the host computer is turned on and the startup fluctuation voltage signal of the host computer is detected, the control board receives the channel switching control information.
[0061] Scenario 2: When the control board is started and in operation, it receives channel switching control information.
[0062] Scenario 3: When it is determined that the work task performed by the target device is completed, the user profile of the user operator of the target device is obtained. Based on the user profile, the host computer is instructed to generate channel switching control information and send the channel switching control information to the control board.
[0063] User profiles describe the user's habits in performing tasks on the target device and the timing of each task. Based on these habits and the timing of task execution, the timing of the next task can be determined.
[0064] Therefore, the host computer can be instructed to generate channel switching control information according to the user portrait, and the channel switching control information can be sent to the control board.
[0065] In one example, if Figure 7 The control board has x control output ports, such as IO1, IO2, IO3...IOx, etc. These control ports use the limited control pins of the control board (MCU) to expand as many serial control signal ports as possible. Each independent IOx can generate an independent serial control signal.
[0066] Now you can connect the IO1 of the control board to the control input interface of a function board. At this time, the serial signal output by the IO1 of the control board will pass through the function board to perform the serial-to-parallel operation of the control signal. In this way, the small number of pins of the IO1 interface realizes the control signal of 32 parallel RF switches.
[0067] These 32 effective RF switch control pins are distributed across the function board's SW1, SW2, and SW3 output interfaces. Each of these interfaces has 15 pins, for a total of 45 pins. Specifically, pins 1 through 11 of the SW1 interface, pins 1 through 11 of the SW2 interface, and pins 1 through 10 of the SW3 interface, for a total of 32 pins, serve as RF switch control pins. The remaining pins of SW1, SW2, and SW3—pins 12 through 15 of SW1, SW2, and SW3, and pins 11 through 15 of SW3—serve as the GNDs for the RF switch control lines.
[0068] For example, in a 3x12SF type switch matrix, a non-holding mechanical RF switch group can select three 1-to-4 switches SP4T to form Figure 7 The control port of the RF switch group needs to be connected to the 12 control signal lines led out from SW1, SW2, and SW3.
[0069] Among them, take 12 of the 32 effective RF switch control pins of the SW1, SW2, and SW3 interfaces in the function board as the control pins of this RF switch group, and connect the interface pins of the function board SW1, SW2, and SW3 to the corresponding control pins of the switch group. Figure 10 In the figure, you can see the specific wiring method:
[0070] SW1_1, SW1_2, SW1_3, and SW1_4 on the function board are connected to 1#1, 1#2, 1#3, and 1#4 of RF switch 1 in sequence (1#1, 1#2, 1#3, and 1#4 represent the control lines of channels 1, 2, 3, and 4 of RF switch 1, respectively).
[0071] SW2_1, SW2_2, SW2_3, and SW2_4 on the function board are connected to 2#1, 2#2, 2#3, and 2#4 of RF switch 2 in sequence (2#1, 2#2, 2#3, and 2#4 represent the control lines of channels 1, 2, 3, and 4 of RF switch 2, respectively).
[0072] SW3_1, SW3_2, SW3_3, and SW3_4 on the function board are connected to 3#1, 3#2, 3#3, and 3#4 of RF switch 3 in sequence (3#1, 3#2, 3#3, and 3#4 represent the control lines of channels 1, 2, 3, and 4 of RF switch 3, respectively).
[0073] Combine Figure 2 In some embodiments, the processing of the channel switching control information by the control board to obtain a control signal includes:
[0074] S21: parsing the channel switching control information through the control board to obtain status word parameters of the global switches of the switch matrix.
[0075] S22: Generate the control word parameter according to the status word parameter, and use the control word parameter as the control signal.
[0076] In this embodiment, in order to better and more accurately control the switch and thus control the control device, the channel switching control information is parsed and processed by the control board to obtain the status word parameters of the global switch of the switch matrix. The status of each switch in the switch matrix is recorded through the status word parameters of the global switch of the switch matrix. Then, the control word parameters are generated based on the status word parameters. The control word parameters serve as the control signal, so that the switch information that needs to be operated is recorded through the control word parameters, and finally the switching of the switch channel is completed.
[0077] In some embodiments, if the number of the RF switch groups is greater than or equal to 2, the control word parameters corresponding to each of the RF switch groups are different.
[0078] In this embodiment, in order to meet the control requirements of more switches and make the control more accurate and stable, if the number of the RF switch groups is greater than or equal to 2, the control word parameters corresponding to each RF switch group are different.
[0079] Combine Figure 3 In some embodiments, the parsing and processing of the channel switching control information by the control board to obtain the status word parameters of the global switches of the switch matrix includes:
[0080] S31: parsing the channel switching control information through the control board to obtain the switch number that the RF switch group needs to switch and the internal channel number corresponding to the switch number.
[0081] S32: If it is determined that the switch number and the internal channel number corresponding to the switch number are the target switch number and the target internal channel number, the historical status word parameters are updated according to the target switch number and the target internal channel number to obtain the status word parameters of the global switch of the switch matrix.
[0082] In this embodiment, in order to more accurately control the opening or closing of the switch, the channel switching control information is parsed and processed by the control board to obtain the switch number that needs to be switched by the RF switch group and the internal channel number corresponding to the switch number, so as to understand the switch number that needs to be controlled to switch and the internal channel number corresponding to the switch number. If it is determined that the switch number and the internal channel number corresponding to the switch number are the target switch number and the target internal channel number, the historical status word parameters are updated according to the target switch number and the target internal channel number to obtain the status word parameters of the global switch of the switch matrix.
[0083] Example, combined Figure 8 , the control board parses the channel switching instruction in the receive buffer and obtains the switch number Switch_Num that the RF switch matrix currently needs to switch and the channel number Switch_Port_Num inside the switch, such as Figure 7 The switches in RF switch group 1 of the RF switch matrix are numbered 1, 2, and 3, and the corresponding internal channel numbers within each switch are 1, 2, 3, and 4. To ensure the correct switch and channel numbers and prevent incorrect status words, it is necessary to verify the switch and channel numbers. In a 3x12SF switch matrix system, there are three 1-to-4 switches. The switch number, Switch_Num, can take values from 1 to 3. Since each switch has a 1-to-4 split, the internal channel number, Switch_Port_Num, can take values from 1 to 4.
[0084] If the switch number and channel number in the instruction are correct, the global array SW_STA is used to store the current state of the switch to be switched in the system, that is, SW_STA[Switch_Num] = Switch_Port_Num; for example, Switch_Num = 1, Switch_Port_Num = 4, then SW_STA[1] = 4, which means that the switch matrix will switch to channel 4 of switch No. 1.
[0085] In a 3x12SF switch matrix system, there are three 1-to-4 switches. The initial state of the switch status control word SW_STA is: SW_STA[1] = 0, SW_STA[2] = 0, SW_STA[3] = 0; this means that switches 1, 2, and 3 are all in the channel-off state. If the switch matrix is to switch to channel 4 of switch 1, the corresponding value of the global status control word SW_STA is: SW_STA[1] = 4, SW_STA[2] = 0, SW_STA[3] = 0.
[0086] During the process of generating the global switch status parameters for the switch matrix, the SW_STA array is used to store the current state of the switch to be switched. Each element of the SW_STA array independently stores the state of the corresponding switch. Changing the state of any one switch does not affect the states of other switches. Furthermore, the SW_STA array is a global variable and is not reset during the operation of the switch matrix, accurately recording the state of each switch.
[0087] It can be seen that the state management method for channel switching of the switch matrix proposed in this application is very stable and efficient. The state of each switch is stored independently. After each switch switching instruction is received, the corresponding element of the array SW_STA will be updated synchronously to store the state of the corresponding switch, while the states of other switches are still stored and will not be lost.
[0088] On the one hand, this ensures the storage of the status of non-retentive RF switches, and can store them independently even if the number of switches is large. On the other hand, there is no need to design separate and complex hardware devices to manage the channel status of these switches, reducing product R&D and production costs.
[0089] Combine Figure 4 In some embodiments, generating the control word parameter according to the status word parameter, wherein the control word parameter serves as the control signal, includes:
[0090] S41: Determine the starting position status information of the target switch to be switched in the RF switch group according to the status word parameter.
[0091] S42: Determine a target offset of the target switch to be switched in the RF switch group according to the switch number of the target switch to be switched in the RF switch group and preset control line offset information corresponding to the target switch to be switched.
[0092] S43: Determine the control word parameter according to the target offset and the initial position state information of the target switch to be switched in the RF switch group.
[0093] In this embodiment, in order to more accurately switch the switch channel, the starting position state information of the target switch to be switched in the RF switch group is first determined according to the state parameter, so as to determine the target offset of the target switch to be switched in the RF switch group according to the switch number of the target switch to be switched in the RF switch group and the preset control line offset information corresponding to the target switch to be switched, thereby determining the control word parameter according to the target offset and the starting position state information of the target switch to be switched in the RF switch group.
[0094] In one embodiment, combining Figure 9 To achieve this, we need to generate the 32-bit control word parameter LocalVal based on the status word parameter SW_STA[Switch_Num] of the switch matrix's global switches. First, we define the 32-bit control word parameter LocalVal variable. Each of the 32 bits of the localVal variable value corresponds to the 32-bit parallel control signal output by the function board. Each time the control word parameter generation process begins, each bit of localVal is initialized to 0, that is, localVal = 0x00000000. This initialization of the localVal variable ensures that it is automatically cleared before each loop entry, preventing localVal from generating incorrect status values.
[0095] Next, based on the switch matrix's global switch status word parameter SW_STA[Switch_Num], the starting position state Start_Index of each switch control line in the 32-bit control word LocalVal is calculated, thereby confirming the starting point of each switch. The starting position states of RF switches 1, 2, and 3 are all considered to be the values of bits 0, 1, 2, and 3 of the control word LocalVal.
[0096] The SET_PORT_VAL expression in SET_PORT_VAL(SW_STA[Switch_Num]) performs the following operation: shifting the value 0x00000001 left by the specified number of bits, which is obtained by subtracting 1 from the value of the parameter SW_STA[Switch_Num] within the parentheses. For SW_STA[Switch_Num], when the switch number Switch_Num = 1, that is, SW_STA[1] = 4. Therefore, the expression SET_PORT_VAL(SW_STA[Switch_Num]) simplifies to SET_PORT_VAL(4), which further indicates that 0x00000001 is shifted left by (4-1) bits, that is, 0x00000001<<3.
[0097] In short, the value of the expression SET_PORT_VAL(SW_STA[Switch_Num]) determines the starting position of the signal line of the switch with switch number Switch_Num at Start_Index in the 32-bit control word LocalVal. The switch offset is calculated as Offset = (Switch_Num - 1) * delta. Here, Offset represents the actual index difference between control line 1 of each switch and SW1_1 (bit 0).
[0098] The control signal line of each switch has an index difference relative to SW1_1 of the function board.
[0099] The offset of the control line of switch 1 is 0 because the control pin 1 of switch 1 is connected to SW1_1.
[0100] The offset of switch 2 is 11 because control pin 1 of switch 2 is connected to SW2_1, and the index difference is 11.
[0101] The offset of switch 3 is 22 because control pin 1 of switch 3 is connected to SW3_1, and the index difference is 22.
[0102] Note: In Offset = (Switch_Num - 1) * delta, Switch_Num is the switch number, and delta is the coefficient used in the corresponding calculation. For example, the coefficient used to calculate the offset of switch control line 1 is 0, the coefficient used to calculate the offset of switch control line 2 is 11, and the coefficient used to calculate the offset of switch control line 3 is 22.
[0103] According to the calculated starting position state Start_Index and the calculated offset Offset, a temporary value of the control word LocalVal specific to each switch is obtained, that is, Start_Index << Offset.
[0104] Next, the temporary control word of each switch is combined into the final control word LocalVal through the operation LocalVal |=, that is, LocalVal |= Start_Index << Offset.
[0105] The resulting 32-bit control word, LocalVal, corresponds to a switch control line where only one bit is 1 at any given moment, with the rest being 0. For example, on switch #1, bits 1#1, 1#2, 1#3, and 1#4 represent the control lines for channels 1, 2, 3, and 4 of RF switch #1, respectively, corresponding to bits 0, 1, 2, and 3 of the control word. At any given moment, only one bit of bits 0, 1, 2, and 3 is 1, with the rest being 0. This ensures that only one signal line of the switch is energized at any given moment, preventing the simultaneous energization of multiple signal lines from the same switch, potentially damaging the non-retentive RF switch.
[0106] In some embodiments, the control board has at least two control output ports, each of which is connected to a control input port of a function board, and the output interface of each function board is connected to a control pin of a radio frequency switch group.
[0107] In this embodiment, to better control the switches and reduce switch control costs, the control board has at least two control output ports, each of which is connected to a control input port on a function board. The output port of each function board is connected to a control pin on a RF switch group. The control board, combined with a corresponding number of function boards, can easily and conveniently expand a switch matrix with more RF inputs and outputs, significantly reducing the complexity of hardware connections and software control. The overall device structure is compact, and the corresponding switch matrix can significantly reduce hardware size. Furthermore, because each RF switch group corresponds to a unique 32-bit switch control word, LocalVal—for example, RF switch group 1 corresponds to LocalVal1, RF switch group 2 corresponds to LocalVal2, and RF switch group X corresponds to LocalValX—each switch group is independently controlled by its corresponding status word, LocalValX, preventing interference between the control signals of different switch groups.
[0108] For example, the IO1 interface of the control board is connected to function board 1, and function board 1 is connected to RF switch group 1, thus forming a 3x12SF switch matrix. If you need to expand to a 6x24SF switch matrix, you can use IO2 to connect to function board 2 based on the 3x12SF switch matrix formed by IO1, and function board 2 is then connected to RF switch group 2 to form a 6x24SF switch matrix. If 6x24SF still does not meet the needs, you can continue this expansion idea until the IOX of the control board is connected to function board X, and function board X is then connected to RF switch group X. It should be noted that the number of switches in the newly expanded switch group is not limited to 3 switches.
[0109] In some embodiments, the control signal is a serial signal.
[0110] The step of transmitting the control signal to the radio frequency switch group after the control signal is pre-processed by the function board includes:
[0111] The control signal is processed in parallel by the function board and then transmitted to the radio frequency switch group.
[0112] In this embodiment, in order to better control the RF switch group, and since the signal type of the control signal received by the control board is a serial signal, the control signal is processed in parallel by the function board, and the signal type of the control signal is converted into a parallel signal, and then transmitted to the RF switch group through each board respectively.
[0113] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0114] Corresponding to the switch channel switching method described in the above embodiment, Figure 5 A structural block diagram of a switch channel switching system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0115] Reference Figure 5 , the system 100 includes:
[0116] The control output port of the control board is connected to the control input port of the function board, and the output interface of the function board is connected to the control pin of the radio frequency switch group, including:
[0117] Receiving module 101, used for receiving channel switching control information through the control board;
[0118] The signal processing module 102 is used to process the channel switching control information through the control board to obtain a control signal, and transmit the control signal to the RF switch group after the control signal is pre-processed by the function board;
[0119] The switch switching module 103 is configured to complete the switching of the switch channel through the RF switch group according to the control signal that has been pre-processed by the function board.
[0120] In some embodiments, the signal processing module 102 is further used to parse and process the channel switching control information through the control board to obtain the status word parameters of the global switch of the switch matrix; generate the control word parameters based on the status word parameters, and the control word parameters serve as the control signal.
[0121] In some embodiments, if the number of the RF switch groups is greater than or equal to 2, the control word parameters corresponding to each of the RF switch groups are different.
[0122] In some embodiments, the signal processing module 102 is further used to parse and process the channel switching control information through the control board to obtain the switch number that the RF switch group needs to switch and the internal channel number corresponding to the switch number; if it is determined that the switch number and the internal channel number corresponding to the switch number are the target switch number and the target internal channel number, then according to the target switch number and the target internal channel number, the historical status word parameters are updated to obtain the status word parameters of the global switch of the switch matrix.
[0123] In some embodiments, the signal processing module 102 is further configured to determine, based on the status word parameter, the starting position status information of the target switch to be switched in the RF switch group; determine, based on the switch number of the target switch to be switched in the RF switch group and the preset control line offset information corresponding to the target switch to be switched, the target offset of the target switch to be switched in the RF switch group; and determine the control word parameter based on the target offset and the starting position status information of the target switch to be switched in the RF switch group.
[0124] In some embodiments, the control board has at least two control output ports, each of which is connected to a control input port of a function board, and the output interface of each function board is connected to a control pin of a radio frequency switch group.
[0125] In some embodiments, the control signal is a serial signal.
[0126] The signal processing module 102 is further configured to transmit the control signal to the RF switch group after parallel processing via the function board.
[0127] Figure 6 This is a schematic diagram of the structure of a terminal device provided in one embodiment of the present application. Figure 6 As shown, the terminal device 6 of this embodiment includes: at least one processor 60 ( Figure 6 Only one processor is shown), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, wherein the processor 60 implements the steps of any of the above-mentioned embodiments of the switch channel switching method when executing the computer program 62.
[0128] The terminal device 6 can be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that Figure 6It is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0129] The processor 60 may be a microcontroller unit (MCU), a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor.
[0130] In some embodiments, the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or memory of the terminal device 6. In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 6. Furthermore, the memory 61 may include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store operating devices, application programs, boot loaders, data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is about to be output.
[0131] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.
[0132] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0133] An embodiment of the present application also provides a terminal device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above-mentioned method embodiments when executing the computer program.
[0134] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.
[0135] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0137] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0138] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0139] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A switch channel switching method, characterized in that: The system comprises a control board, at least one function board and at least two RF switch groups, wherein the control output port of the control board is connected to the control input port of the function board, and the output interface of the function board is connected to the control pin of the RF switch group, including: Receive channel switching control information through the control board; The control board processes the channel switching control information to obtain a control signal, and the control signal is transmitted to the RF switch group after being pre-processed by the function board; wherein the signal type of the control signal is a serial signal, The processing of the channel switching control information by the control board to obtain a control signal includes: The control board analyzes the channel switching control information to obtain a status word parameter of the global switch of the switch matrix; and generates a control word parameter according to the status word parameter, and the control word parameter serves as the control signal; The step of transmitting the control signal to the radio frequency switch group after the control signal is pre-processed by the function board includes: The control signal is processed in parallel by the function board and then transmitted to the radio frequency switch group; The switching of the switch channel is completed by the radio frequency switch group according to the control signal after the preset processing by the function board.
2. The switch channel switching method according to claim 1, characterized in that: If the number of the RF switch groups is greater than or equal to 2, the control word parameters corresponding to each of the RF switch groups are different.
3. The switch channel switching method according to claim 1, characterized in that: The process of parsing the channel switching control information by the control board to obtain the status word parameters of the global switches of the switch matrix includes: The control board parses the channel switching control information to obtain the switch number that the RF switch group needs to switch and the internal channel number corresponding to the switch number; If it is determined that the switch number and the internal channel number corresponding to the switch number are the target switch number and the target internal channel number, the historical status word parameters are updated according to the target switch number and the target internal channel number to obtain the status word parameters of the global switch of the switch matrix.
4. The switch channel switching method according to claim 1, characterized in that: Generating the control word parameter according to the status word parameter, wherein the control word parameter serves as the control signal, includes: Determining the starting position state information of the target switch to be switched in the radio frequency switch group according to the state word parameter; determining a target offset of the target switch to be switched in the RF switch group according to the switch number of the target switch to be switched in the RF switch group and preset control line offset information corresponding to the target switch to be switched; The control word parameter is determined according to the target offset and the initial position state information of the target switch to be switched in the radio frequency switch group.
5. The switch channel switching method according to claim 1, characterized in that: The control board has at least two control output ports, each of which is connected to a control input port of a function board, and the output interface of each function board is connected to a control pin of a radio frequency switch group.
6. A switch channel switching system, characterized in that: The control output port of the control board is connected to the control input port of the function board, and the output interface of the function board is connected to the control pin of the radio frequency switch group, including: A receiving module, used for receiving channel switching control information through a control board; A signal processing module is used to process the channel switching control information through the control board to obtain a control signal, and transmit the control signal to the RF switch group after preset processing by the function board; wherein the signal type of the control signal is a serial signal, The processing of the channel switching control information by the control board to obtain a control signal includes: The control board analyzes the channel switching control information to obtain a status word parameter of the global switch of the switch matrix; and generates a control word parameter according to the status word parameter, and the control word parameter serves as the control signal; The step of transmitting the control signal to the radio frequency switch group after the control signal is pre-processed by the function board includes: After parallel processing, the control signal is transmitted to the RF switch group through the function board The switch switching module is used to complete the switching of the switch channel through the radio frequency switch group according to the control signal after the preset processing by the function board.
7. A terminal device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the switch channel switching method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the switch channel switching method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Multi-port radio frequency matrix and control method thereof
CN117135132A