Radio Frequency Parameter Adaptation Method, Apparatus, Device and Computer Readable Storage Medium
By obtaining the GPIO or ADC input signal of the target device, and reading PID and MID based on the preset correspondence relationship and the MIPI bus, the poor applicability of the RF parameter adjustment method is solved, and the hardware adjustment of the RF parameters is realized to reduce the equipment load.
Patent Information
- Application Number
- CN202211317966.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-10-26
AI Technical Summary
In the prior art, the RF parameter adjustment method has poor applicability, and multiple sets of software are required to adjust multiple sets of RF parameters separately, increasing the equipment load and making it inconvenient to adjust.
By obtaining the GPIO or ADC input signal of the target device, determining the target radio frequency parameters based on the preset correspondence relationship, and using the MIPI bus to read the PID and MID for adaptation, reducing the device load.
Hardware-based RF parameter adjustment is realized, reducing equipment load and improving the applicability of RF parameter adjustment.
Smart Images

Figure CN115515168B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer communication technology, and more specifically, to a radio frequency parameter adaptation method, apparatus, device, and computer-readable storage medium. Background Art
[0002] Currently, when users need to adjust the radio frequency (RF) parameters of a device, such as a PC (Personal Computer), they can adjust the RF parameters through software. However, the existing software and RF parameters have a one-to-one relationship, that is, one set of software can only adjust one set of RF parameters. Therefore, when multiple sets of RF parameters need to be adjusted, multiple sets of software need to be specified and installed on the target device, which increases the load on the target device, is inconvenient to adjust the RF parameters, and has poor applicability.
[0003] In summary, how to improve the applicability of the method for adjusting radio frequency parameters is an urgent problem to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a radio frequency parameter adaptation method, which can, to a certain extent, solve the technical problem of how to improve the applicability of the radio frequency parameter adjustment method. This application also provides a radio frequency parameter adaptation device, a computer device, and a computer-readable storage medium.
[0005] In a first aspect, the present application provides a radio frequency parameter adaptation method, which is applied to a communication module, comprising:
[0006] Acquire target input information generated by a target device, wherein the target input information includes a GPIO input signal or an ADC input signal;
[0007] Determining target radio frequency parameters corresponding to the target input information based on a preset target correspondence relationship, where the target correspondence relationship includes a correspondence between the input information generated by the target device and the radio frequency parameters;
[0008] The radio frequency parameters of the target device are adapted based on the target radio frequency parameters.
[0009] Optionally, obtaining target input information generated by the target device includes:
[0010] Acquire initial input information generated after the target device sets a target pin group, wherein the target pin group includes a first preset number of target pins, and the initial input information includes input signals of each of the target pins;
[0011] The initial input information is processed to obtain the target input information.
[0012] Optionally, the processing of the initial input information to obtain the target input information includes:
[0013] Sorting the input signals corresponding to the target pins in the initial input information according to the preset arrangement order of the target pins in the target pin group to obtain the target input information.
[0014] Optionally, the processing of the initial input information to obtain the target input information includes:
[0015] Performing level matching on the initial input information and using the level matching result as the target input information.
[0016] Optionally, the target pins include GPIO pins, and the input signals include high level, low level, or high impedance state.
[0017] Optionally, the target pins include ADC pins, and the input signals include input voltage values.
[0018] Optionally, the adapting the radio frequency parameters of the target device based on the target radio frequency parameters includes:
[0019] Reading the PID and MID of the target radio frequency device corresponding to the target radio frequency parameters based on the MIPI bus;
[0020] If it is determined to replace the target radio frequency device, then in the NVRAM of the target device, adapting the radio frequency parameters of the target radio frequency device based on the PID, the MID, and the target radio frequency parameters;
[0021] Restarting the target radio frequency device.
[0022] In a second aspect, the present application provides a radio frequency parameter adaptation device applied to a communication module, including:
[0023] An acquisition module, configured to acquire target input information generated by a target device, where the target input information includes GPIO input signals or ADC input signals;
[0024] A determination module, configured to determine target radio frequency parameters corresponding to the target input information based on a preset target correspondence, where the target correspondence includes the correspondence between the input information generated by the target device and radio frequency parameters;
[0025] An adaptation module, configured to adapt the radio frequency parameters of the target device based on the target radio frequency parameters.
[0026] In a third aspect, the present application provides a computer device, including:
[0027] A memory for storing a computer program;
[0028] A processor for implementing the steps of any of the above radio frequency parameter adaptation methods when executing the computer program.
[0029] A computer storage medium storing a computer program, and the steps of any of the above radio frequency parameter adaptation methods are implemented when the computer program is executed by a processor.
[0030] A radio frequency parameter adaptation method provided by the present application is applied to a communication module. Target input information generated by a target device is obtained, and the target input information includes a GPIO input signal or an ADC input signal; based on a preset target correspondence, target radio frequency parameters corresponding to the target input information are determined, and the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameters; the radio frequency parameters of the target device are adapted based on the target radio frequency parameters. In the present application, based on the correspondence between the input information generated by the target device and the radio frequency parameters, the target input information generated by the target device can be converted into target radio frequency parameters, and then the radio frequency parameters of the target device can be adapted based on the target radio frequency parameters. Since both the GPIO input signal and the ADC input signal are signals generated based on hardware, the radio frequency parameters of the target device are adjusted based on hardware itself, without running various sets of software on the target device, reducing the load of the target device and having good applicability. A radio frequency parameter adaptation device, a computer device, and a computer-readable storage medium provided by the present application also solve the corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative efforts.
[0032] Figure 1 It is the first flowchart of a radio frequency parameter adaptation method provided by an embodiment of the present application;
[0033] Figure 2 It is the second flowchart of a radio frequency parameter adaptation method provided by an embodiment of the present application;
[0034] Figure 3 It is the structural schematic diagram of a radio frequency parameter adaptation device provided by an embodiment of the present application;
[0035] Figure 4It is a structural diagram of a computer device 20 shown according to an exemplary embodiment. Detailed implementation manners
[0036] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0037] Currently, when a user needs to adjust the radio frequency (RF) parameters of a device, such as a PC (Personal Computer) device, etc., the RF parameters can be adjusted through software. However, the existing software has a one-to-one relationship with the RF parameters, that is, a set of software can only adjust a set of RF parameters. In this way, when multiple sets of RF parameters need to be adjusted, multiple sets of software need to be specified and multiple sets of software need to be installed on the device, which increases the load of the device and is not convenient for adjusting the RF parameters, and the applicability is poor. The RF parameter adaptation solution provided by the present application can improve the applicability of the method for adjusting RF parameters.
[0038] Please refer to Figure 1 , Figure 1 which is the first flowchart of a method for adapting radio frequency parameters provided by an embodiment of the present application.
[0039] A method for adapting radio frequency parameters provided by an embodiment of the present application, which is applied to a communication module, may include the following steps:
[0040] Step S101: Obtain target input information generated by a target device, where the target input information includes a GPIO input signal or an ADC input signal.
[0041] In practical applications, the target input information generated by the target device can be obtained first, and the target input information may include a GPIO (General Purpose Input / Output) input signal, an ADC (Analog to Digital Converter) input signal, etc. The specific type of the target input information can be determined according to the application scenario.
[0042] Step S102: Based on a preset target correspondence, determine target radio frequency parameters corresponding to the target input information, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameters.
[0043] In practical applications, after obtaining the target input information generated by the target device, the target radio frequency parameters corresponding to the target input information can be determined based on a preset target correspondence relationship. The target correspondence relationship includes the correspondence relationship between the input information generated by the target device and the radio frequency parameters. Specifically, the correspondence relationship between the input information and the radio frequency parameters can be pre-generated by the user, etc. This application does not make specific limitations here.
[0044] Step S103: Adapt the radio frequency parameters of the target device based on the target radio frequency parameters.
[0045] In practical applications, after determining the target radio frequency parameters corresponding to the target input information based on the preset target correspondence relationship, the radio frequency parameters of the target device can be adapted based on the target radio frequency parameters.
[0046] In a specific application scenario, considering that there are multiple radio frequency devices on the target device, in order to accurately adjust the radio frequency parameters of the corresponding radio frequency devices, during the process of adapting the radio frequency parameters of the target device based on the target radio frequency parameters, the PID (Parameter Identification Deion) and MID (Message Identification Deion) of the target radio frequency device corresponding to the target radio frequency parameters can be read based on the MIPI (Mobile Industry Processor Interface) bus; if it is determined to replace the target radio frequency device, in the NVRAM (Non-Volatile Random Access Memory) of the PC device, the radio frequency parameters of the target radio frequency device are adapted based on the PID, MID, and target radio frequency parameters; the target radio frequency device is restarted to complete the adaptation of the radio frequency parameters of the target radio frequency device.
[0047] It should be noted that in a specific application scenario, the communication module in this application can be a wireless communication module, etc., such as a modem of a PC device, etc., and can adapt the radio frequency parameters of the FM350-GL 5G module on the PC device, etc. This application does not make specific limitations here.
[0048] A radio frequency parameter adaptation method provided by the present application is applied to a communication module. The method includes obtaining target input information generated by a target device, where the target input information includes a GPIO input signal or an ADC input signal; determining target radio frequency parameters corresponding to the target input information based on a preset target correspondence, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameters; and adapting the radio frequency parameters of the target device based on the target radio frequency parameters. In the present application, based on the correspondence between the input information generated by the target device and the radio frequency parameters, the target input information generated by the target device can be converted into target radio frequency parameters, and then the radio frequency parameters of the target device can be adapted based on the target radio frequency parameters. Since both the GPIO input signal and the ADC input signal are signals generated based on hardware, the radio frequency parameters of the target device are adjusted based on hardware itself, without running various sets of software on the target device, reducing the load of the target device and having good applicability.
[0049] Please refer to Figure 2 , Figure 2 which is the second flowchart of a radio frequency parameter adaptation method provided by an embodiment of the present application.
[0050] A radio frequency parameter adaptation method provided by an embodiment of the present application, which is applied to a communication module, may include the following steps:
[0051] Step S201: Obtain initial input information generated after the target device sets a target pin group. The target pin group includes a first preset number of target pins, and the initial input information includes the input signals of each target pin.
[0052] Step S202: Process the initial input information to obtain target input information.
[0053] In practical applications, in the process of obtaining the target input information generated by the target device, the initial input information generated after the target device sets the target pin group can be obtained. The target pin group includes a first preset number of target pins, and the initial input information includes the input signals of each target pin. Then, the initial input information is processed to obtain the target input information.
[0054] In specific application scenarios, since the types of input signals of the target pins are few, if the types of target input information are many, individual input signals may not be able to correspond to all the target input information. To solve this problem, during the process of processing the initial input information to obtain the target input information, the input signals corresponding to the target pins in the initial input information can be sorted according to the preset arrangement order of the target pins in the target pin group to obtain the target input information, so as to obtain more types of target input information by sorting and combining the input signals. For the sake of easy understanding, assume that the number of target pins is 4 and the types of input signals of each target pin are 3, then 81 types of target input information can be obtained after permutation and combination.
[0055] In specific application scenarios, during the process of processing the initial input information to obtain the target input information, the initial input information can also be directly subjected to level matching, and the level matching result can be used as the target input information. For example, if there are 10 types of target input information, all the initial input information of the target pin group can be first divided into 10 levels, and the initial input information of each level is corresponded to the target input information one by one. In this way, the initial input information can be corresponded to the target input information based on the level. Of course, in specific application scenarios, the process of processing the initial input information to obtain the target input information can be flexibly determined according to actual needs. For example, the initial input information can be directly subjected to type conversion to obtain the target input information, etc. The present application does not make specific limitations here.
[0056] In specific application scenarios, the type of the target pin can be determined according to actual needs. For example, the target pin can include GPIO pins, and the input signal can include high level or low level or high impedance state, and the preset number can be 4, etc. At this time, during the process of processing the initial input information to obtain the target input information, the input signals corresponding to the target pins in the initial input information can be sorted according to the preset arrangement order of the target pins in the target pin group to obtain the target input information; for another example, the target pin can include ADC pins, and the input signal can include the input voltage value, and the preset number can be 1, etc. At this time, during the process of processing the initial input information to obtain the target input information, the initial input information can be directly subjected to level matching, and the level matching result can be used as the target input information, etc. The present application does not make specific limitations here.
[0057] It should be noted that in a specific application scenario, the target pin can be a GPIO pin or an ADC pin, or a combined pin of a GPIO pin and an ADC pin, etc. At this time, in the process of determining the target radio frequency parameter corresponding to the target input information based on a preset target correspondence, one of the target input information corresponding to the GPIO pin or the ADC pin can be selected to determine the target radio frequency parameter, or the same radio frequency parameter corresponding to the target input information corresponding to the GPIO pin and the ADC pin can be used as the target radio frequency parameter, etc. The present application does not make specific limitations here.
[0058] Step S203: Based on a preset target correspondence, determine the target radio frequency parameter corresponding to the target input information, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameter.
[0059] Step S204: Adapt the radio frequency parameter of the target device based on the target radio frequency parameter.
[0060] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a radio frequency parameter adaptation device provided by an embodiment of the present application.
[0061] A radio frequency parameter adaptation device provided by an embodiment of the present application, which is applied to a communication module, may include:
[0062] An acquisition module 101, configured to acquire target input information generated by a target device, where the target input information includes a GPIO input signal or an ADC input signal;
[0063] A determination module 102, configured to determine the target radio frequency parameter corresponding to the target input information based on a preset target correspondence, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameter;
[0064] An adaptation module 103, configured to adapt the radio frequency parameter of the target device based on the target radio frequency parameter.
[0065] For a radio frequency parameter adaptation device provided by an embodiment of the present application, the acquisition module may include:
[0066] An acquisition unit, configured to acquire initial input information generated after the target device sets a target pin group, where the target pin group includes a first preset number of target pins, and the initial input information includes the input signals of each target pin;
[0067] A processing unit, configured to process the initial input information to obtain the target input information.
[0068] According to an embodiment of the present application, a radio frequency parameter adaptation device, the processing unit can specifically be used for: sorting the input signals corresponding to the target pins in the initial input information according to the preset arrangement order of the target pins in the target pin group to obtain target input information.
[0069] According to an embodiment of the present application, a radio frequency parameter adaptation device, the processing unit can specifically be used for: performing level matching on the initial input information and using the level matching result as the target input information.
[0070] According to an embodiment of the present application, in a radio frequency parameter adaptation device, the target pins may include GPIO pins, and the input signals include high level or low level or high impedance state.
[0071] According to an embodiment of the present application, in a radio frequency parameter adaptation device, the target pins may include ADC pins, and the input signals include input voltage values.
[0072] According to an embodiment of the present application, the adaptation module of a radio frequency parameter adaptation device may include:
[0073] A reading unit, configured to read the PID and MID of a target radio frequency device corresponding to target radio frequency parameters based on the MIPI bus;
[0074] An adaptation unit, configured to, if it is determined to replace the target radio frequency device, adapt the radio frequency parameters of the target radio frequency device based on the PID, MID, and target radio frequency parameters in the NVRAM of the PC device;
[0075] A restart unit, configured to restart the target radio frequency device.
[0076] Furthermore, an embodiment of the present application also provides a computer device. Figure 4 It is a structural diagram of a computer device 20 shown according to an exemplary embodiment, and the content in the figure should not be considered as any limitation to the scope of use of the present application.
[0077] Figure 4 It is a schematic structural diagram of a computer device 20 provided by an embodiment of the present application. The computer device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the radio frequency parameter adaptation method disclosed in any of the foregoing embodiments. In addition, the computer device 20 in this embodiment may specifically be a server.
[0078] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the computer device 20; the communication interface 24 can create a data transmission channel between the computer device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and specific limitations are not imposed on it here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and specific limitations are not imposed here.
[0079] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, a random access memory, a magnetic disk, an optical disc, etc. The resources stored thereon can include an operating system 221, a computer program 222, video data 223, etc., and the storage method can be temporary storage or permanent storage.
[0080] Among them, the operating system 221 is used to manage and control each hardware device on the computer device 20 and the computer program 222 to enable the processor 21 to perform operations and processing on the massive video data 223 in the memory 22. It can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the radio frequency parameter adaptation method executed by the computer device 20 disclosed in any of the foregoing embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks. The data 223 can include various data collected by the computer device 20.
[0081] It should be noted that the computer device can specifically be a module capable of implementing positioning and communication functions or a terminal device including the module, etc. The terminal device can specifically be a mobile terminal and / or an intelligent device, etc. The mobile terminal can specifically be at least one of a mobile phone, a tablet computer, a notebook computer, etc. The intelligent device can specifically be at least one of a smart watch, a smart refrigerator, a smart speaker, a smart washing machine, a smart TV, etc. The module can specifically be any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, an NB-IOT communication module, etc.
[0082] Furthermore, an embodiment of this application also discloses a computer storage medium. A computer program is stored in the computer storage medium. When the computer program is loaded and executed by a processor, the steps of the radio frequency parameter adaptation method disclosed in any of the foregoing embodiments are implemented.
[0083] For the description of the relevant parts in a radio frequency parameter adaptation device, a computer device, and a computer-readable storage medium provided by the embodiments of the present application, please refer to the corresponding detailed description in the radio frequency parameter adaptation provided by the embodiments of the present application, and will not be elaborated herein. In addition, the parts of the above technical solutions provided by the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
[0084] It should also be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0085] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A radio frequency parameter adaptation method, characterized in that Applied to a communication module, including: Obtain target input information generated by a target device, where the target input information includes a GPIO input signal or an ADC input signal; Based on a preset target correspondence, determine target radio frequency parameters corresponding to the target input information, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameters; Adapt the radio frequency parameters of the target device based on the target radio frequency parameters; Among them, the adapting the radio frequency parameters of the target device based on the target radio frequency parameters includes: Based on the MIPI bus, read the PID and MID of a target radio frequency device corresponding to the target radio frequency parameters; If it is determined to replace the target radio frequency device, then in the NVRAM of the target device, adapt the radio frequency parameters of the target radio frequency device based on the PID, the MID, and the target radio frequency parameters; Restart the target radio frequency device; Among them, the communication module includes a modem.
2. The method according to claim 1, characterized in that, The obtaining the target input information generated by the target device includes: Obtain initial input information generated after the target device sets a target pin group, where the target pin group includes a first preset number of target pins, and the initial input information includes the input signals of each target pin; Process the initial input information to obtain the target input information.
3. The method according to claim 2, characterized in that The processing the initial input information to obtain the target input information includes: Sort the input signals corresponding to the target pins in the initial input information according to the preset arrangement order of the target pins in the target pin group to obtain the target input information.
4. The method according to claim 2, wherein The processing the initial input information to obtain the target input information includes: Perform level matching on the initial input information, and use the level matching result as the target input information.
5. The method according to claim 2, characterized in that, The target pins include GPIO pins, and the input signals include high level, low level, or high impedance state.
6. The method according to claim 2, characterized in that, The target pins include ADC pins, and the input signals include input voltage values.
7. A radio frequency parameter adaptation device, characterized in that Applied to a communication module, including: An obtaining module, configured to obtain target input information generated by a target device, where the target input information includes a GPIO input signal or an ADC input signal; A determining module, configured to determine target radio frequency parameters corresponding to the target input information based on a preset target correspondence, where the target correspondence includes the correspondence between the input information generated by the target device and the radio frequency parameters; An adapting module, configured to adapt the radio frequency parameters of the target device based on the target radio frequency parameters; Among them, the adapting module includes: A reading unit, configured to read the PID and MID of a target radio frequency device corresponding to the target radio frequency parameters based on the MIPI bus; An adapting unit, configured to, if it is determined to replace the target radio frequency device, then in the NVRAM of the target device, adapt the radio frequency parameters of the target radio frequency device based on the PID, the MID, and the target radio frequency parameters; A restarting unit, configured to restart the target radio frequency device; Among them, the communication module includes a modem.
8. A computer device, characterized in that, Comprising: a memory for storing a computer program; a processor for implementing the steps of the radio frequency parameter adaptation method according to any one of claims 1 to 6 when executing the computer program.
9. A computer storage medium, characterized in that, A computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the steps of the radio frequency parameter adaptation method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Control method and control device of frequency band in mobile communication terminal
CN108551346A