Switch channel switching method and system, terminal equipment and storage medium

The control signal processed and preset by the control board and processed preset is transmitted to the radio frequency switch group, and the switching channel is switched, solving the problems of high difficulty and low stability of the switching device in the prior art, and improving the control stability and management simplicity of the equipment.

CN120185589AActive Publication Date: 2025-06-20NANJING RFLIGHT COMM ELECTRONICS CORP

Patent Information

Application Number
CN202510670219.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-06-20
Estimated Expiration
2045-05-23

AI Technical Summary

Technical Problem

In the prior art, when the switching device realizes state switching between products, only one control signal line can be powered on the same switch at the same time. Powering on multiple signal lines at the same time may lead to damage to the switch. In the case of multiple switches, the management complexity is greatly increased, resulting in high difficulty in equipment control and low stability.

Method used

The channel switching control information is received through the control board, and the control signal is generated after processing, and preset processing is performed through the function board to pass it to the radio frequency switch group. The radio frequency switch group completes switching of the switching channel based on the control signal after the preset processing.

Benefits of technology

It effectively reduces the difficulty of equipment control, improves the stability of control, avoids switch damage caused by the simultaneous power-up of multiple signal lines, and simplifies the status management of multiple switches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120185589A_ABST
    Figure CN120185589A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of switch control, and provides a switch channel switching method and system, terminal equipment and a storage medium. According to the switch channel switching method, a control board, at least one function board and at least two radio frequency switch groups are included, a control output port of the control board is connected with a control input port of the function board, and an output interface of the function board is connected with a control pin of the radio frequency switch group. Comprising the following steps: receiving channel switching control information through a control panel; 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 the control signal is subjected to preset processing through the function board; according to the technical scheme of the invention, the radio frequency switch group completes the switching of the switch channels according to the control signal which is preset by the function board, so that the equipment control difficulty can be effectively reduced, and the equipment stability can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal processing, and in particular, to a method, system, terminal device, and storage medium for switching switch channels. Background Art

[0002] With the development of science and technology, in order to better control the operation of various scientific and technological products, various switch devices are often applied in scientific and technological products to achieve the switching between the working state and the suspended working state of various products or cooperating products.

[0003] However, for the switch used to achieve the switching between the working state and the suspended working state of various products or cooperating products, usually at the same moment, only one control signal line of the same switch can be powered on. This means that if multiple signal lines of the switch are powered on simultaneously, it is very likely to cause damage to the switch. And when the number of mechanical switches is large, it means that there are more states of the power-on states of the current channel signal lines of each switch to be managed, and the complexity of control is greatly increased. Summary of the Invention

[0004] The purpose of the present application is to provide a method, system, terminal device, and storage medium for switching switch channels, aiming to solve the technical problems of large device control difficulty and low stability at present.

[0005] In a first aspect, the present application provides a method for switching switch channels. The control output port of a control board is connected to the control input port of a function board, and the output interface of the function board is connected to the control pins of a radio frequency switch group. The method includes: Receiving channel switching control information through the control board; Processing the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the function board, transmitting the control signal to the radio frequency switch group; Completing the switching of the switch channels through the radio frequency switch group according to the control signal after the preset processing through the function board.

[0006] For the method for switching switch channels provided by the embodiments of the present application, after receiving the channel switching control information through the control board, then processing the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the function board, so that the control signal can be split into multiple signals and transmitted to the radio frequency switch group. Furthermore, after the radio frequency switch group recognizes the control signal, it can perform control operations on multiple switches included in the radio frequency switch group to complete the switching of the switch channels, effectively reducing the device control difficulty and improving the control stability.

[0007] In some embodiments, processing the channel switching control information by the control board to obtain a control signal includes: Parsing and processing the channel switching control information by the control board to obtain the status word parameters of the global switch of the switch matrix; Generating the control word parameters according to the status word parameters, and using the control word parameters as the control signal.

[0008] 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 RF switch group are different.

[0009] In some embodiments, parsing and processing the channel switching control information by the control board to obtain the status word parameters of the global switch of the switch matrix includes: Parsing and processing the channel switching control information by the control board to obtain the switch number to be switched by the RF switch group 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, updating the historical status word parameters 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.

[0010] In some embodiments, generating the control word parameters according to the status word parameters, and using the control word parameters as the control signal includes: Determining the starting position status information of the target switch to be switched in the RF switch group according to the status word parameters; Determining 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; Determining the control word parameters according to the target offset and the starting position status information of the target switch to be switched in the RF switch group.

[0011] In some embodiments, the control board has at least two control output ports, each control output port is respectively connected to the control input port of a function board, and the output interface of each function board is connected to the control pin of an RF switch group.

[0012] In some embodiments, the signal type of the control signal is a serial signal.

[0013] Transmitting the control signal to the RF switch group after performing preset processing by the function board includes: After being processed in parallel by the function board, the control signal is transmitted to the RF switch group.

[0014] In a second aspect, the present application provides a switch channel switching system. 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 pins of the RF switch group. The system includes: A receiving module, configured to receive channel switching control information through the control board; 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 performing preset processing on the control signal through the function board; A switch switching module, configured to complete the switching of the switch channel according to the control signal that has undergone preset processing through the function board by means of the RF switch group.

[0015] In a third aspect, the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the switch channel switching method described above is implemented.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the switch channel switching method described above is implemented.

[0017] It can be understood that the beneficial effects of the above second to fourth aspects can refer to the relevant descriptions in the above first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 It is a flowchart for implementing the switch channel switching method provided by the embodiment of the present application; Figure 2 It is a specific flowchart for implementing step S12 of the switch channel switching method provided by the embodiment of the present application; Figure 3 It is a specific flowchart for implementing step S21 of the switch channel switching method provided by the embodiment of the present application; Figure 4 It is a specific flowchart for implementing step S22 of the switch channel switching method provided by the embodiment of the present application; Figure 5 This is a structural diagram of the switch channel switching system provided by the embodiments of the present application.

[0020] Figure 6 This is a schematic structural diagram of the terminal device provided by the embodiments of the present application.

[0021] Figure 7 This is a schematic diagram of the application scenario of the switch channel switching method provided by the embodiments of the present application.

[0022] Figure 8 This is a flowchart of the implementation of generating the status word parameters of the switch channel switching method provided by the embodiments of the present application.

[0023] Figure 9 This is a flowchart of the implementation of generating the control word parameters of the switch channel switching method provided by the embodiments of the present application.

[0024] Figure 10 This is a schematic table of the switch group control wiring of the switch channel switching method provided by the embodiments of the present application. Detailed implementation manners

[0025] In the following description, for the purpose of illustration rather than limitation, specific details such as specific device structures and technologies are presented to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details.

[0026] As used in the specification of the present application and the appended claims, the term "if" can be interpreted as "when" or "once" or "in response to determining" or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to detecting [the described condition or event]" according to the context.

[0027] In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0028] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that specific features, structures, or characteristics described in connection with that embodiment are included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0029] To illustrate the technical solutions described in this application, the following will be described through specific embodiments.

[0030] This application provides a switching channel switching method, which can reduce the control difficulty and debugging difficulty of the overall device and improve the stability of the system.

[0031] Please refer to Figure 1 , Figure 1 which is a flowchart of the implementation of a switching channel switching method provided by an embodiment of this application, including the following steps: This application provides a switching channel switching method, where 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 pins of the RF switch group, including: S11: Receive channel switching control information through the control board.

[0032] S12: Process the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the function board, transmit it to the RF switch group.

[0033] S13: Complete the switching of the switching channels through the RF switch group according to the control signal that has been preset-processed through the function board.

[0034] In this embodiment, each hardware is modularized, avoiding system coupling, and the hardware connections of each part of the switch matrix system are ingeniously made, and through the corresponding software control method, the control of this multi-input and multi-output non-full-switching non-holding RF switch matrix is realized.

[0035] The control board is used to receive and process specific RF channel switching instructions and generate a serial control signal for the serial-to-parallel function board.

[0036] The function board receives the serial control signal sent by the control board and converts it into the parallel control signal of the RF switch. The converted parallel control signal will also go through voltage step-up conversion, such as converting the voltage from 1V to 12V, for input to the final RF switch.

[0037] The RF switch group is a combination of mechanical non-latching RF switches adopted by this switch matrix, used to receive the control signal after conversion by the function board and execute the switching of specific RF switches.

[0038] In the embodiment, in order to manage the operating states of multiple switches, make the control more precise, reduce the design and R & D costs of the product, reduce the control difficulty and debugging difficulty of the overall device, improve the stability of the system, and be able to better adapt to the switch expansion requirements, first, 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 pins of the RF switch group. After the control board receives the channel switching control information sent by the host computer, then the control board processes the channel switching control information to obtain a control signal, and after the control signal is preprocessed by the function board, the control signal can be split into multiple signals and transmitted to the RF switch group, so that after the RF switch group recognizes the control signal, it can execute control operations on multiple switches included in the RF switch group to complete the switching of the switch channels, effectively reducing the device control difficulty and improving the control stability.

[0039] As for when to receive the channel switching control information through the control board, it includes but is not limited to the following scenarios: Scenario 1: When the host computer is turned on and the startup fluctuation voltage signal of the host computer is detected, the channel switching control information is received through the control board.

[0040] Scenario 2: When the control board starts and is in the running state, the channel switching control information is received.

[0041] Scenario 3: When it is determined that the work task executed by the target device ends, obtain the user portrait of the user operator of the target device, and according to the user portrait, instruct the host computer to generate the channel switching control information and send the channel switching control information to the control board.

[0042] The user portrait describes the user's habits of executing work tasks based on the target device and the time points of executing each work task. Based on the user's habits and the time points of executing work tasks, the timing of executing the next work task can be determined.

[0043] Therefore, the host computer can be instructed to generate the channel switching control information according to the user portrait and send the channel switching control information to the control board.

[0044] In an example, such as Figure 7, there are x control output ports such as IO1, IO2, IO3...IOx on the control board. These control ports utilize 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.

[0045] Now, the IO1 of the control board can be connected to the control input Control interface of a function board. At this time, the serial signal output by the control board's IO1 will pass through the function board to perform the serial-to-parallel operation of the control signal. In this way, a small number of pins of the IO1 interface can control 32 parallel radio frequency switches.

[0046] The control pins of these 32 effective radio frequency switches are respectively distributed in the SW1, SW2, and SW3 output interfaces of the function board. The number of pins of these 3 interfaces, SW1, SW2, and SW3, is 15 each, totaling 45 pins. The specific distribution method of the interface pins is that the 1st to 11th pins of the SW1 interface, the 1st to 11th pins of the SW2 interface, and the 1st to 10th pins of the SW3 interface, a total of 32 pins, are used as the control pins of the radio frequency switches. The remaining pins of SW1, SW2, and SW3, that is, the 12th to 15th pins of SW1, the 12th to 15th pins of SW2, and the 11th to 15th pins of SW3, are all used as the GND of the control lines of the radio frequency switches.

[0047] For example, in the 3x12SF type of switch matrix, the non-holding mechanical radio frequency switch group can select 3 1-to-4 switches SP4T to form Figure 7 the radio frequency switch group in. The control ports of this radio frequency switch group need to be connected to 12 control signal lines led out from SW1, SW2, and SW3.

[0048] Among them, 12 of the 32 effective control pins of the radio frequency switches of the SW1, SW2, and SW3 interfaces on the function board are taken as the control pins of this radio frequency switch group, and the interface pins of the function board SW1, SW2, and SW3 are connected to the corresponding control pins of the switch group. From Figure 10 , the specific wiring method can be seen: SW1_1, SW1_2, SW1_3, and SW1_4 of the function board are respectively connected to 1#1, 1#2, 1#3, and 1#4 of the radio frequency 1 switch in sequence (1#1, 1#2, 1#3, and 1#4 respectively represent the control lines of the 1st, 2nd, 3rd, and 4th channels of the 1st radio frequency switch).

[0049] SW2_1, SW2_2, SW2_3, and SW2_4 of the function board are respectively connected to 2#1, 2#2, 2#3, and 2#4 of the radio frequency 2 switch in sequence (2#1, 2#2, 2#3, and 2#4 respectively represent the control lines of the 1st, 2nd, 3rd, and 4th channels of the 2nd radio frequency switch).

[0050] SW3_1, SW3_2, SW3_3, and SW3_4 of the function board are respectively connected to 3#1, 3#2, 3#3, and 3#4 of the RF switch No. 3 in sequence (3#1, 3#2, 3#3, and 3#4 respectively represent the control lines of channels 1, 2, 3, and 4 of the RF switch No. 3).

[0051] Combined with Figure 2 , in some embodiments, the processing of the channel switching control information by the control board to obtain a control signal includes: S21: Parsing and processing the channel switching control information by the control board to obtain the status word parameters of the global switches of the switch matrix.

[0052] S22: Generating the control word parameters according to the status word parameters, and the control word parameters serve as the control signal.

[0053] In this embodiment, in order to better and more accurately control the switch and thus control the control device, the control board parses and processes the channel switching control information to obtain the status word parameters of the global switches of the switch matrix, so as to record the status of each switch in the switch matrix through the status word parameters of the global switches of the switch matrix. Then, according to the status word parameters, the control word parameters are generated, and the control word parameters serve as the control signal, so as to record the switch information to be operated through the control word parameters, and finally complete the switching of the switch channels.

[0054] In some embodiments, if the number of RF switch groups is greater than or equal to 2, the control word parameters corresponding to each RF switch group are different.

[0055] 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 RF switch groups is greater than or equal to 2, the control word parameters corresponding to each RF switch group are different.

[0056] Combined with 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: S31: Parsing and processing the channel switching control information by the control board to obtain the switch number to be switched by the RF switch group and the internal channel number corresponding to the switch number.

[0057] 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, then update the historical status word parameters according to the target switch number and the target internal channel number to obtain the status word parameters of the global switches of the switch matrix.

[0058] In this embodiment, in order to more precisely control the opening or closing of the switch, the control board analyzes and processes 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, so as to know the switch number that needs to be controlled for switching 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 parameter is updated according to the target switch number and the target internal channel number to obtain the status word parameter of the global switch of the switch matrix.

[0059] Exemplarily, combined with Figure 8 , the control board analyzes the channel switching instruction in the receive buffer to obtain the switch number Switch_Num that the RF switch matrix currently needs to switch and the channel number Switch_Port_Num inside the switch. For example, Figure 7 in the RF switch matrix, the switch numbers of the switches in RF switch group 1 include 1, 2, and 3, and the channel numbers inside each corresponding switch include 1, 2, 3, and 4. To ensure the correctness of the switch number and the channel number and prevent the generation of incorrect status words, it is necessary to judge the values of the switch number and the channel number. In the 3x12SF switch matrix system, there are a total of 3 1-to-4 switches. Then the switch number Switch_Num can take values from 1 to 3. Also, since each switch is 1-to-4, the internal channel number Switch_Port_Num can take values from 1 to 4.

[0060] If the switch number and the channel number in the instruction are correct, the global array SW_STA is used to store the status 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 correspondingly SW_STA[1] = 4, which means that the switch matrix will switch to channel 4 of switch 1.

[0061] In the 3x12SF switch matrix system, there are a total of 3 1-to-4 switches. Among them, the initial state of the switch status control word SW_STA is: SW_STA[1] = 0, SW_STA[2] = 0, SW_STA[3] = 0; that is, it represents that switches 1, 2, and 3 are all in the channel closed state in sequence. If the switch matrix is to switch to channel 4 of switch 1, then the corresponding value of the global status control word SW_STA at this time is: SW_STA[1] = 4, SW_STA[2] = 0, SW_STA[3] = 0.

[0062] In the process of generating the status word parameters of the global switches of the entire switch matrix, the status of the switches to be switched currently is stored in the system using the array SW_STA. Each group element of the array SW_STA stores the status of the corresponding switch independently. The change in the status of any one switch will not cause the status of other switches to change. And the array SW_STA is a global variable. During the operation of the entire switch matrix, it will not be reset and will always correctly record the status of each switch.

[0063] It can be seen that the method for managing the channel switching status of the switch matrix proposed in this application is very stable and efficient. The status 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 status of the corresponding switch, while the status of other switches remains stored without being lost.

[0064] In this way, on the one hand, it ensures the storage of the status of non-hold RF switches. Even if the number of switches is large, they can be stored independently. On the other hand, there is no need to design a separate and complex hardware device to manage the channel status of these switches, reducing the R & D and production costs of the product.

[0065] Combined with Figure 4 , in some embodiments, generating the control word parameter according to the status word parameter, and using the control word parameter as the control signal includes: 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.

[0066] S42: 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.

[0067] S43: Determine the control word parameter according to the target offset and the starting position status information of the target switch to be switched in the RF switch group.

[0068] In this embodiment, in order to be able to switch the switch channels more accurately, first determine the starting position status information of the target switch to be switched in the RF switch group according to the status 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, and then determine the control word parameter according to the target offset and the starting position status information of the target switch to be switched in the RF switch group.

[0069] In one embodiment, combined with Figure 9, it is necessary to generate a 32-bit control word parameter LocalVal according to the status word parameter SW_STA[Switch_Num] of the global switch of the switch matrix. First, define a 32-bit control word parameter LocalVal variable. Each bit in the 32 bits of the localVal variable value exactly corresponds to the 32-bit parallel control signal output by the function board. Each time the process of generating the control word parameter is entered, each bit of localVal is initialized to 0, that is, localVal = 0x00000000; The purpose of initializing the localVal variable in this way is to ensure that it will be automatically cleared before each loop entry, avoiding incorrect status values of localVal.

[0070] Next, according to the status word parameter SW_STA[Switch_Num] of the global switch of the switch matrix, calculate the starting position status Start_Index of each switch control line in the 32-bit control word LocalVal, that is, confirm the starting point of each switch. The starting position statuses of RF switch 1, switch 2, and switch 3 are regarded as the value statuses of bit0, bit1, and bit2, bit3 of the control word LocalVal respectively.

[0071] The operation implemented by the SET_PORT_VAL(SW_STA[Switch_Num]) expression in SET_PORT_VAL(SW_STA[Switch_Num]) is: shift the value 0x00000001 to the left by a specific number of bits, and the specific number of bits is obtained by subtracting 1 from the value of the parameter SW_STA[Switch_Num] inside the expression parentheses. For SW_STA[Switch_Num], when the switch number Switch_Num = 1, that is, SW_STA[1] = 4. So the expression SET_PORT_VAL(SW_STA[Switch_Num]) is simplified to SET_PORT_VAL(4), and further obtained that 0x00000001 is shifted left by (4 - 1) bits, that is, 0x00000001 << 3.

[0072] In short, the value of the SET_PORT_VAL(SW_STA[Switch_Num]) expression confirms the starting position status Start_Index of the signal line of the switch with the switch number Switch_Num to be switched in the 32-bit control word LocalVal. Calculate the offset Offset = (Switch_Num - 1) * delta. Here, the meaning of the offset Offset is the index difference of the 1st control line of each switch relative to SW1_1 (that is, bit0).

[0073] Each switch's control signal line has an index difference relative to SW1_1 of the function board.

[0074] The offset of the control line of Switch No. 1, Offset, is 0 because the first control pin of Switch No. 1 is exactly connected to SW1_1.

[0075] The offset of Switch No. 2, Offset, is 11 because the first control pin of Switch No. 2 is connected to SW2_1 and the index difference is 11.

[0076] The offset of Switch No. 3, Offset, is 22 because the first control pin of Switch No. 3 is connected to SW3_1 and the index difference is 22.

[0077] Note: In Offset = (Switch_Num - 1) * delta, Switch_Num is the switch number and delta is the coefficient for corresponding calculations. For example, the coefficient for calculating the control line offset of Switch No. 1, Offset, is 0; the coefficient for calculating the control line offset of Switch No. 2, Offset, is 11; and the coefficient for calculating the control line offset of Switch No. 3, Offset, is 22.

[0078] 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.

[0079] Then, the temporary control words of each switch are combined into the final control word LocalVal through an operation such as LocalVal |=, that is, LocalVal |= Start_Index << Offset.

[0080] For the obtained final 32-bit control word LocalVal, only one bit of the control line of the corresponding switch is 1 and the rest are 0 at the same moment. For example, for Switch No. 1, 1#1, 1#2, 1#3, and 1#4 respectively represent the control lines of channels 1, 2, 3, and 4 of the first RF switch, and also correspond to bit0, bit1, bit2, and bit3 of the control word respectively. At the same moment, only one of bit0, bit1, bit2, and bit3 is 1 and the rest of the bits are 0. This ensures that only one signal line of the same switch is powered on at a specific moment, and it is impossible for multiple signal lines of the same switch to be powered on simultaneously, which may cause damage to potential non-hold-type RF switches.

[0081] In some embodiments, the control board has at least two control output ports, each of the control output ports is respectively 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 RF switch group.

[0082] In this embodiment, in order to better control the switch and reduce the cost of switch control, the control board has at least two control output ports. Each of the control output ports is respectively connected to the control input port of a function board, and the output interface of each function board is connected to the control pin of a radio frequency switch group. The control board, combined with the corresponding number of function boards, can easily and conveniently expand more switch matrices for radio frequency input and output, greatly reducing the complexity of hardware connection and software control. The entire device has a delicate structure, and the corresponding switch matrix can greatly reduce the hardware volume. At the same time, since each radio frequency switch group corresponds to a unique 32-bit switch control word LocalVal, for example, radio frequency switch group 1 corresponds to LocalVal1, radio frequency switch group 2 corresponds to LocalVal2... radio frequency switch group X corresponds to LocalValX. In this way, each switch group will be independently controlled by the corresponding status word LocalValX, and there will be no interference phenomenon in the control signals of different switch groups.

[0083] For example, the IO1 interface of the control board is connected to function board 1, and function board 1 is connected to radio frequency switch group 1, thus forming a 3x12SF switch matrix. If it is necessary to add a 6x24SF switch matrix at this time, then on the basis of the 3x12SF switch matrix formed by IO1, IO2 can be used to connect to function board 2, and function board 2 is then connected to radio frequency switch group 2 to form a 6x24SF switch matrix. If 6x24SF still does not meet the requirements, this expansion idea can be continued until the IOX of the control board is connected to function board X, and function board X is then connected to radio frequency switch group X. It should be noted that for the newly expanded additional switch group, the number of switches corresponding to the switch group is not limited to 3 switches.

[0084] In some embodiments, the signal type of the control signal is a serial signal.

[0085] The step of transmitting the control signal to the radio frequency switch group after performing preset processing on the control signal through the function board includes: After the control signal is processed in parallel through the function board, it is transmitted to the radio frequency switch group.

[0086] In this embodiment, in order to better control the radio frequency switch group, and since the signal type of the control signal received by the control board is a serial signal, therefore, after the control signal is processed in parallel through the function board, the signal type of the control signal is converted into a parallel signal, and then it is respectively transmitted to the radio frequency switch group through each one.

[0087] It should be understood that the sequence numbers of the steps in the above embodiments do not imply the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0088] Corresponding to the switch channel switching method described in the above embodiments, Figure 5 The structural block diagram of the switch channel switching system provided by the embodiments of the present application is shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown.

[0089] Referring to Figure 5 , the system 100 includes: 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 pins of the RF switch group, including: A receiving module 101, configured to receive channel switching control information through the control board; A signal processing module 102, configured to process the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the function board, transmit the control signal to the RF switch group; A switch switching module 103, configured to complete the switching of the switch channel according to the control signal that has been preset-processed through the function board through the RF switch group.

[0090] In some embodiments, the signal processing module 102 is further configured to perform parsing processing on the channel switching control information through the control board to obtain the status word parameters of the global switch of the switch matrix; according to the status word parameters, generate the control word parameters, and the control word parameters serve as the control signal.

[0091] 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 RF switch group are different.

[0092] In some embodiments, the signal processing module 102 is further configured to perform parsing processing on 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 update the historical status word parameters 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.

[0093] In some embodiments, the signal processing module 102 is further configured to determine the start position status information of the target switch to be switched in the RF switch group according to the status word parameter; 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 and the preset control line offset information corresponding to the target switch to be switched; and determine the control word parameter according to the target offset and the start position status information of the target switch to be switched in the RF switch group.

[0094] In some embodiments, the control board has at least two control output ports, each of which is respectively connected to the control input port of a function board, and the output interface of each function board is connected to the control pin of an RF switch group.

[0095] In some embodiments, the signal type of the control signal is a serial signal.

[0096] The signal processing module 102 is further configured to transmit the control signal to the RF switch group through parallel processing by the function board.

[0097] Figure 6 The figure is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As Figure 6 shown, the terminal device 6 of this embodiment includes: at least one processor 60 ( Figure 6 only one processor is shown in the figure), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the steps in any of the above embodiments of the switch channel switching method are implemented.

[0098] The terminal device 6 may be a computing device such as a desktop computer, a notebook, a palm computer, and 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 can understand that Figure 6 merely examples of the terminal device 6, which do not constitute a limitation to the terminal device 6, and may include more or fewer components than shown in the figure, or combine some components, or different components. For example, it may further include input / output devices, network access devices, etc.

[0099] The processor 60 may be a microcontroller unit (MCU), a central processing unit (CPU), or the processor 60 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0100] In some embodiments, the memory 61 may be an internal storage unit of the terminal device 6, such as the 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. Further, the memory 61 may also include both the internal storage unit and the external storage device of the terminal device 6. The memory 61 is used to store an operating device, application programs, a boot loader, data, and other programs, such as the program code of the computer program, etc. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0101] It should be noted that for the content such as information interaction and execution process between the above-mentioned devices / units, since it is based on the same concept as the method embodiment of the present application, for its specific functions and the technical effects brought, reference may be specifically made to the method embodiment section, and details are not described herein again.

[0102] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working process of the units and modules in the above device can refer to the corresponding process in the foregoing method embodiment and will not be elaborated here.

[0103] An embodiment of this 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. When the processor executes the computer program, the steps in any of the foregoing method embodiments are implemented.

[0104] An embodiment of this application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.

[0105] An embodiment of this application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can be made to execute the steps in each of the foregoing method embodiments.

[0106] 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, to implement all or part of the processes in the above-described embodiment methods of this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc.

[0107] In the above embodiments, the descriptions of the various embodiments have their own focuses. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0108] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0109] The above-described embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for switching a switch channel, characterized in that, It includes a control board, at least one functional board and at least two radio frequency switch groups. The control output port of the control board is connected to the control input port of the functional board, and the output interface of the functional board is connected to the control pins of the radio frequency switch groups, including: Receiving channel switching control information through the control board; Processing the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the functional board, transmitting it to the radio frequency switch groups; Completing the switching of the switch channels through the radio frequency switch groups according to the control signal after preset processing through the functional board.

2. The method for switching a switch channel according to claim 1, characterized in that, The processing the channel switching control information through the control board to obtain a control signal includes: Parsing and processing the channel switching control information through the control board to obtain the status word parameters of the global switches of the switch matrix; Generating the control word parameters according to the status word parameters, and the control word parameters serve as the control signal.

3. The method for switching a switch channel according to claim 2, characterized in that, If the number of the radio frequency switch groups is greater than or equal to 2, the control word parameters corresponding to each radio frequency switch group are different.

4. The method for switching a switch channel according to claim 2, characterized in that, The parsing and processing the channel switching control information through the control board to obtain the status word parameters of the global switches of the switch matrix includes: Parsing and processing the channel switching control information through the control board to obtain the switch numbers that the radio frequency switch groups need to switch and the internal channel numbers corresponding to the switch numbers; If it is determined that the switch numbers and the internal channel numbers corresponding to the switch numbers are the target switch numbers and the target internal channel numbers, then updating the historical status word parameters according to the target switch numbers and the target internal channel numbers to obtain the status word parameters of the global switches of the switch matrix.

5. The method for switching a switch channel according to claim 2, characterized in that, The generating the control word parameters according to the status word parameters, and the control word parameters serve as the control signal includes: Determining the starting position status information of the target switch to be switched in the radio frequency switch group according to the status word parameters; Determining the target offset of the target switch to be switched in the radio frequency switch group according to the switch numbers of the target switches to be switched in the radio frequency switch group and the preset control line offset information corresponding to the target switches to be switched; Determining the control word parameters according to the target offset and the starting position status information of the target switches to be switched in the radio frequency switch group.

6. The method for switching a switch channel according to claim 1, characterized in that, The control board has at least two control output ports, each control output port is respectively connected to the control input port of a functional board, and the output interface of each functional board is connected to the control pins of a radio frequency switch group.

7. The method for switching a switch channel according to claim 1, characterized in that, The signal type of the control signal is a serial signal. The transmitting the control signal to the radio frequency switch groups after performing preset processing on the control signal through the functional board includes: Transmitting the control signal to the radio frequency switch groups after parallel processing through the functional board.

8. A switch channel switching system, characterized in that, The connection between the control output port of the control board and the control input port of the functional board, and the connection between the output interface of the functional board and the control pins of the radio frequency switch group include: A receiving module for receiving channel switching control information through the control board; A signal processing module, configured to process the channel switching control information through the control board to obtain a control signal, and after performing preset processing on the control signal through the function board, transmit the control signal to the radio frequency switch group; A switch switching module, configured to complete the switching of the switch channel through the radio frequency switch group according to the control signal that has undergone preset processing through the function board.

9. A terminal device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the switch channel switching method according to any one of claims 1 to 7 is implemented.

10. 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 7 is implemented.

Citation Information

Patent Citations

  • Signal channel switching method, terminal equipment, and computer-readable storage medium

    CN110850771A

  • Program control 4*6 channel radio frequency switching system and use method thereof

    CN116248101A

  • Multi-port radio frequency matrix and control method thereof

    CN117135132A

  • Multi-channel high-definition video display interface switching method and device

    CN117278701A

  • Circuit testing with ring-connected test instrument modules

    US20030105607A1

Cited By

  • Multi-input multi-output full-switching radio frequency switch matrix and control method thereof

    CN121966528A