Trigger detection method and device of radio frequency device, equipment and medium
Through the packet identification bit and flip-flop value detection of RF devices, the problem of failure to meet the speed standards and antenna imbalance during the RF device adaptation process is solved, and the performance and stability of RF devices are improved and guaranteed.
Patent Information
- Application Number
- CN202411120170.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-06
AI Technical Summary
During the adaptation process of RF devices, as the number of devices increases, problems such as failure to meet the speed standards and antenna imbalance are prone to occur during the debugging process, and the existing technology is difficult to effectively solve.
By obtaining the packet identification bit of the RF device, if it is a preset identification bit, all trigger values in the corresponding packet are obtained, and whether their duplication and number exceed the threshold. If there is duplication or exceeding, an error message will be generated and the user will be prompted to adjust. To avoid problems.
It effectively reduces the probability of failure to meet the speed standards and antenna imbalance, and improves the performance and stability of RF devices.
Smart Images

Figure CN119094047A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of radio frequency technology, and in particular to a trigger detection method, device, equipment and medium for a radio frequency device. Background Art
[0002] With the continuous evolution of communication technology, the requirements for software and hardware are also increasing. The higher the performance and the more functions, the more components the device needs. The increase in components makes software driver adaptation more complicated.
[0003] In the adaptation scenario of RF devices, as the number of project-driven devices increases, in some cases, problems such as substandard rate and unbalanced antenna may occur during the debugging process. Summary of the invention
[0004] Based on this, it is necessary to provide a trigger detection method, device, equipment and medium for a radio frequency device to address the above technical problems.
[0005] In a first aspect, an embodiment of the present disclosure provides a trigger detection method for a radio frequency device, comprising:
[0006] Obtaining the group identification bit of the radio frequency device;
[0007] If the group identification bit is a preset first identification bit or a second identification bit, then obtaining all trigger values under the group corresponding to the group identification bit;
[0008] If all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to the threshold, then the detection result is determined to be passed;
[0009] If all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, the detection result is determined to be failed, and an error message is generated according to the detection result.
[0010] In a second aspect, an embodiment of the present disclosure provides a trigger detection device for a radio frequency device, comprising:
[0011] A first acquisition module, used to acquire a group identification bit of a radio frequency device;
[0012] A second acquisition module is used to acquire all trigger values under the group corresponding to the group identification bit if the group identification bit is a preset first identification bit or a second identification bit;
[0013] A determination module, configured to determine that the detection result is passed if all trigger values under the corresponding group are not repeated and the number of trigger values under the corresponding group is less than or equal to a threshold;
[0014] An error reporting module is used to determine that the detection result is failed if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, and generate error information according to the detection result.
[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the trigger detection method of the radio frequency device described in the first aspect above.
[0016] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the trigger detection method of the radio frequency device described in the first aspect above is implemented.
[0017] The technical solution provided by the embodiment of the present disclosure has the following advantages compared with the prior art: by detecting the group identification bit and the trigger value, if the group identification bit is the preset first identification bit or the second identification bit, then all the trigger values under the group corresponding to the group identification bit are obtained, if all the trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, then an error message is generated, thereby, through the adaptation detection of the RF device, an error prompt is given when the trigger value under the corresponding group is repeated or greater than the threshold, so as to prompt the user to make adjustments, reduce the probability of problems such as substandard rate and antenna imbalance, ensure the performance of the RF device, and improve stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 A schematic diagram of a flow chart of a trigger detection method for a radio frequency device provided in an embodiment of the present disclosure;
[0021] Figure 2 A schematic flow chart of another trigger detection method for a radio frequency device provided in an embodiment of the present disclosure;
[0022] Figure 3A schematic diagram of the structure of a trigger detection device for a radio frequency device provided in an embodiment of the present disclosure;
[0023] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.
[0025] In one embodiment, Figure 1 As shown, a trigger detection method for a radio frequency device is provided, the method comprising the following steps:
[0026] Step 102: Obtain the group identification bit of the radio frequency device.
[0027] The method of the embodiment of the present disclosure can be applied to a trigger distribution detection scenario of a radio frequency device, wherein the radio frequency device includes but is not limited to an LNA (Low Noise Amplifier) device.
[0028] In this embodiment, in order to normally drive the RF device, a group identification bit is pre-assigned to each RF device to correspond to the adaptation group. When performing detection, the group identification bit of the RF device is first obtained. The group identification bit is used to distinguish different groups, which can be divided according to the purpose of the device.
[0029] Step 104: If the group identification bit is the preset first identification bit or the second identification bit, then obtain all trigger values under the group corresponding to the group identification bit.
[0030] In this embodiment, the group identification bit includes a first identification bit and a second identification bit, wherein the group identification bit of the radio frequency device is determined according to the purpose of the radio frequency device. Optionally, when the radio frequency device is an LNA device and the LNA device is used for primary receiver multiple input multiple output (PRX MIMO) or diversity receiver multiple input multiple output (DRXMIMO), the group identification bit of the radio frequency device is the first identification bit; when the radio frequency device is an LNA device and the LNA device is used for primary receiver (PRX) or diversity receiver (DRX), the group identification bit of the radio frequency device is the second identification bit.
[0031] As an example, the specific values of the first identification bit and the second identification bit are as follows: the first identification bit is 15, and the second identification bit is 14.
[0032] The trigger is an extended trigger. Each group includes at least one trigger value, and a trigger value is pre-assigned to each RF device. The trigger value is used to distinguish different triggers. For example, after assigning a group identification bit to the RF device, the trigger value under the group is assigned to the RF device, or the trigger value is assigned to the RF device and added to the group. If the group identification bit is the first identification bit or the second identification bit, all trigger values under the group corresponding to the group identification bit are obtained.
[0033] It should be noted that the allocation of the group identification bit and the trigger value to each radio frequency device may be manually allocated by relevant personnel, or may be automatically allocated by a processor by setting allocation rules, which is not limited here.
[0034] Step 106: If all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to the threshold, then the detection result is determined to be passed.
[0035] Step 108: If all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, the detection result is determined to be failed, and an error message is generated according to the detection result.
[0036] In this embodiment, after determining the group identification bit, for all N trigger values under the group corresponding to the group identification bit, it is determined whether the N trigger values are repeated, if the N trigger values are different from each other, it is determined that all trigger values are not repeated, and N is compared with a threshold to determine whether N is greater than the threshold. If all trigger values are not repeated and N is less than or equal to the threshold, the detection result of the group is determined to be passed, if any two trigger values are the same among the N trigger values, the detection result is determined to be failed, or if N is greater than the threshold, the detection result is determined to be failed.
[0037] As an example, the threshold is 8, and the number of trigger values under the corresponding group is less than or equal to the threshold, including: the number of trigger values under the corresponding group is less than or equal to eight.
[0038] In one embodiment of the present disclosure, after determining that the detection result is failed, an error message is generated according to the detection result, and the error message is used to prompt the error group identification bit and the specific error situation. The error message generated according to the detection result includes: if all trigger values under the corresponding group are repeated, then the repeated trigger values and the number of repetitions are obtained to generate a first error message based on the repeated trigger values and the number of repetitions; if the number of trigger values under the corresponding group is greater than a threshold, then a second error message is generated based on the number of trigger values under the corresponding group.
[0039] In the trigger allocation scenario of RF devices, as the number of devices driven by the project increases, in some cases, problems such as substandard rate and unbalanced antenna may occur during the debugging process. In this embodiment, after allocating group identification bits and trigger values to each RF device, a test is performed to determine that all trigger values under the corresponding group meet the requirement that all trigger values are not repeated and the number is less than or equal to eight. In this case, the test passes. If the above conditions are not met, the test fails. In this case, an error message is generated to prompt the user to modify the error point according to the error message to avoid problems such as substandard rate and unbalanced antenna. Among them, the first error message includes the group identification bit of the error, repeated trigger values and the corresponding number, and the second error message includes the group identification bit of the error and the number of trigger values to prompt the user to modify the point that needs to be modified.
[0040] In one embodiment of the present disclosure, the group identification bit of the radio frequency device also includes a third identification bit. Optionally, when the radio frequency device is a PA (power amplifier) device or an ETM (electronic test and measurement) device, the group identification bit of the radio frequency device is the third identification bit, for example, the third identification bit is 0. In this embodiment, after obtaining the group identification bit of the radio frequency device, if the group identification bit is not the first identification bit or the second identification bit, it is determined whether the group identification bit is the third identification bit; if the group identification bit is the third identification bit, it is determined that the test result is passed; if the group identification bit is not the third identification bit, it is determined that the test result is not passed, and an error message is generated according to the test result. Optionally, if the group identification bit is not any of the first identification bit, the second identification bit and the third identification bit, a third error message is generated.
[0041] According to the technical solution of the embodiment of the present disclosure, by detecting the group identification bit and the trigger value, if the group identification bit is the preset first identification bit or the second identification bit, all the trigger values under the group corresponding to the group identification bit are obtained, and if all the trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, an error message is generated. Therefore, through the adaptation detection of the RF device, an error prompt is given when the trigger value under the corresponding group is repeated or greater than the threshold, so as to prompt the user to modify the error point in time, and adjust the above-mentioned situation occurring during the adaptation process of the RF device to reduce the probability of problems such as substandard rate and antenna imbalance, so as to ensure the performance of the RF device and improve stability.
[0042] Based on the above embodiments, Figure 2 A flowchart of another trigger detection method for a radio frequency device provided by an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the method also includes:
[0043] Step 202: Obtain the radio frequency device to be adapted, and write the mobile industry processor interface line and user identification bit mounted on the radio frequency device to be adapted.
[0044] In this embodiment, allocation logic is set to perform adaptation operations on each RF device to be adapted according to the allocation logic. The interface line of the mounted mobile industry processor is obtained from the schematic diagram, and the user identification bit is obtained from the device specification.
[0045] Step 204: determine the group identification bit of the radio frequency device according to the purpose of the radio frequency device.
[0046] In this embodiment, the purpose of the radio frequency device is obtained, and the group identification bit of the radio frequency device is determined according to the purpose of the radio frequency device to implement group identification bit adaptation.
[0047] Wherein, when the RF device is an LNA device, and the LNA device is used for multiple-input multiple-output of main set reception or multiple-input multiple-output of diversity reception, the group identification bit of the RF device is the first identification bit. When the RF device is an LNA device, and the LNA device is used for main set reception or diversity reception, the group identification bit of the RF device is the second identification bit. When the RF device is a PA device or an ETM device, the group identification bit of the RF device is the third identification bit. Wherein, the number of the first identification bit, the second identification bit, and the third identification bit can be one or more.
[0048] In one embodiment of the present disclosure, a group identification bit of a radio frequency device is determined according to the purpose of the radio frequency device, including: obtaining a user identification bit of the radio frequency device; determining a candidate group identification bit according to the purpose of the radio frequency device; judging whether the user identification bit of the radio frequency device is consistent with the candidate group identification bit; if they are inconsistent, determining the candidate group identification bit as the group identification bit of the radio frequency device; if they are consistent, modifying the candidate group identification bit so that the user identification bit is inconsistent with the candidate group identification bit, and determining the modified candidate group identification bit as the group identification bit of the radio frequency device.
[0049] Optionally, the group identification bit allocation rules include: a maximum of 2 group identification bits appear on the same mobile industry processor interface line for automatic gain control; for devices with automatic gain control, the group identification bit is not the third identification bit to avoid affecting the propagation of other information on the same mobile industry processor interface line, resulting in an inability to distinguish devices; the group identification bit is not equal to the user identification bit.
[0050] Step 206: assign corresponding trigger values to the radio frequency devices according to a preset assignment strategy.
[0051] Optionally, the allocation strategy of the RF device includes: taking the LNA device as an example, under the group corresponding to the same group identification bit, one LNA can only have a unique trigger value. Optionally, under certain conditions, under the group corresponding to the same group identification bit, more than eight LNA devices are allowed to exist.
[0052] In one embodiment of the present disclosure, after each RF device is adapted, each group identification bit is obtained, and it is determined whether the group identification bit is the first identification bit, the second identification bit, or the third identification bit. If the group identification bit is the first identification bit or the second identification bit, it is determined whether all trigger values under the group are repeated and whether the number is greater than eight. If so, an error message is generated. If not, the detection passes. If the group identification bit is the third identification bit, the detection passes. If the group identification bit is not the first identification bit, the second identification bit, or the third identification bit, an error message is generated. The user checks and modifies according to the error message and re-executes the test.
[0053] In the disclosed embodiments, known device information is used to allocate and detect group identification bits and extended triggers, thereby achieving efficient allocation of group identification bits and extended triggers, normal driving, saving labor costs, and reducing the probability of problems.
[0054] It should be understood that although Figure 1 or Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 or Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0055] In one embodiment, Figure 3 As shown, a trigger detection device for a radio frequency device is provided, including: a first acquisition module 31, a second acquisition module 32, a determination module 33, and an error reporting module 34.
[0056] A first acquisition module 31 is used to acquire a group identification bit of a radio frequency device;
[0057] A second acquisition module 32 is configured to acquire all trigger values under the group corresponding to the group identification bit if the group identification bit is a preset first identification bit or a second identification bit;
[0058] A determination module 33, configured to determine that the detection result is passed if all trigger values under the corresponding group are not repeated and the number of trigger values under the corresponding group is less than or equal to a threshold;
[0059] The error reporting module 34 is used to determine that the detection result is failed if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, and generate error information according to the detection result.
[0060] In one embodiment, the apparatus further comprises:
[0061] An identification allocation module, used to determine the group identification bit of the radio frequency device according to the purpose of the radio frequency device;
[0062] Wherein, when the radio frequency device is an LNA device, and the LNA device is used for multiple-input multiple-output of main set reception or multiple-input multiple-output of diversity reception, the group identification bit of the radio frequency device is the first identification bit;
[0063] When the radio frequency device is an LNA device, and the LNA device is used for main set reception or diversity reception, the group identification bit of the radio frequency device is the second identification bit;
[0064] When the radio frequency device is a PA device or an ETM device, the group identification bit of the radio frequency device is the third identification bit.
[0065] In one embodiment, the identification allocation module is specifically used to:
[0066] Obtaining a user identification bit of the radio frequency device; the user identification bit is written according to the device specification;
[0067] Determining a candidate group identification bit according to the purpose of the radio frequency device;
[0068] Determining whether the user identification bit of the radio frequency device is consistent with the candidate group identification bit;
[0069] If they are inconsistent, the candidate group identification bit is determined as the group identification bit of the radio frequency device.
[0070] In one embodiment, the apparatus further comprises:
[0071] A generating module, configured to determine whether the group identification bit is the third identification bit if the group identification bit is not the first identification bit or the second identification bit;
[0072] If the group identification bit is the third identification bit, determining that the detection result is passed;
[0073] If the group identification bit is not the third identification bit, the detection result is determined to be failed, and an error message is generated according to the detection result.
[0074] In one embodiment, the apparatus further comprises:
[0075] The trigger allocation module is used to allocate corresponding trigger values to the radio frequency devices according to a preset allocation strategy.
[0076] In one embodiment, the number of trigger values under the corresponding group is less than or equal to a threshold, including: the number of trigger values under the corresponding group is less than or equal to eight.
[0077] In one embodiment, the error reporting module 34 is specifically used to:
[0078] If all trigger values under the corresponding group are repeated, the repeated trigger values and the number of repeated values are obtained to generate first error information according to the repeated trigger values and the number of repeated values;
[0079] If the number of trigger values under the corresponding group is greater than the threshold, second error information is generated according to the number of trigger values under the corresponding group.
[0080] For the specific definition of the trigger detection device of the radio frequency device, please refer to the definition of the trigger detection method of the radio frequency device above. It has the corresponding functional modules and beneficial effects of the execution method, which will not be repeated here. Each module in the trigger detection device of the above radio frequency device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0081] In one embodiment, an electronic device is provided. The electronic device may be a terminal or a smart device. The internal structure diagram thereof may be as follows: Figure 4 As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a trigger detection method for a radio frequency device is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0082] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0083] In one embodiment, the trigger detection device of the radio frequency device provided by the present disclosure can be implemented in the form of a computer program. The computer program can be Figure 4 The memory of the electronic device may store various program modules constituting the trigger detection device of the radio frequency device, for example, Figure 3 The computer program composed of the various program modules shown enables the processor to execute the steps of the trigger detection method of the radio frequency device of each embodiment of the present disclosure described in this specification.
[0084] For example, Figure 4 The electronic device shown can be Figure 3 The first acquisition module 31 in the trigger detection device of the radio frequency device shown executes to obtain the group identification bit of the radio frequency device; the second acquisition module 32 executes to obtain all trigger values under the group corresponding to the group identification bit if the group identification bit is the preset first identification bit or the second identification bit; the determination module 33 executes to determine that the detection result is passed if all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to the threshold; the error reporting module 34 executes to determine that the detection result is failed if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, and generates error information according to the detection result.
[0085] In one embodiment, an electronic device is provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: obtaining a group identification bit of a radio frequency device; if the group identification bit is a preset first identification bit or a second identification bit, obtaining all trigger values under the group corresponding to the group identification bit; if all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to a threshold, determining that the detection result is passed; if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, determining that the detection result is failed, and generating an error message based on the detection result.
[0086] According to the electronic device of the embodiment of the present disclosure, the above steps are implemented when the processor executes the computer program. Through the adaptation detection of the RF device, an error prompt can be given when the trigger value under the corresponding group is repeated or greater than the threshold, so as to prompt the user to make adjustments, reduce the probability of problems such as substandard rate and antenna imbalance, ensure the performance of the RF device, and improve stability.
[0087] In one embodiment, the processor further implements the following steps when executing the computer program: determining a group identification bit of the radio frequency device according to the purpose of the radio frequency device; wherein, when the radio frequency device is an LNA device, and the LNA device is used for main set reception of multiple input multiple output or diversity reception of multiple input multiple output, the group identification bit of the radio frequency device is the first identification bit; when the radio frequency device is an LNA device, and the LNA device is used for main set reception or diversity reception, the group identification bit of the radio frequency device is the second identification bit; when the radio frequency device is a PA device or an ETM device, the group identification bit of the radio frequency device is the third identification bit.
[0088] In one embodiment, the processor further implements the following steps when executing the computer program: obtaining a user identification bit of the radio frequency device; writing the user identification bit according to the device specification; determining a candidate group identification bit according to the purpose of the radio frequency device; determining whether the user identification bit of the radio frequency device is consistent with the candidate group identification bit; if not consistent, determining the candidate group identification bit as the group identification bit of the radio frequency device.
[0089] In one embodiment, the processor also implements the following steps when executing a computer program: if the group identifier is not the first identifier or the second identifier, determine whether the group identifier is the third identifier; if the group identifier is the third identifier, determine that the detection result is passed; if the group identifier is not the third identifier, determine that the detection result is failed, and generate an error message based on the detection result.
[0090] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: allocating corresponding trigger values to the radio frequency device according to a preset allocation strategy.
[0091] In one embodiment, when the processor executes the computer program, it further implements the following steps: determining that the number of trigger values under the corresponding group is less than or equal to eight.
[0092] In one embodiment, the processor also implements the following steps when executing the computer program: if there are duplicates in all trigger values under the corresponding group, the duplicate trigger values and the number of duplicates are obtained to generate a first error message based on the duplicate trigger values and the number of duplicates; if the number of trigger values under the corresponding group is greater than the threshold, a second error message is generated based on the number of trigger values under the corresponding group.
[0093] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining a group identification bit of a radio frequency device; if the group identification bit is a preset first identification bit or a second identification bit, obtaining all trigger values under the group corresponding to the group identification bit; if all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to a threshold, determining that the detection result is passed; if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, determining that the detection result is failed, and generating an error message based on the detection result.
[0094] In one embodiment, when the computer program is executed by the processor, the following steps may be further implemented: determining a group identification bit of the radio frequency device according to the purpose of the radio frequency device; wherein, when the radio frequency device is an LNA device, and the LNA device is used for main set reception of multiple input multiple output or diversity reception of multiple input multiple output, the group identification bit of the radio frequency device is the first identification bit; when the radio frequency device is an LNA device, and the LNA device is used for main set reception or diversity reception, the group identification bit of the radio frequency device is the second identification bit; when the radio frequency device is a PA device or an ETM device, the group identification bit of the radio frequency device is the third identification bit.
[0095] In one embodiment, when the computer program is executed by the processor, the following steps can also be implemented: obtaining the user identification bit of the radio frequency device; writing the user identification bit according to the device specification; determining the candidate group identification bit according to the purpose of the radio frequency device; judging whether the user identification bit of the radio frequency device is consistent with the candidate group identification bit; if not consistent, determining the candidate group identification bit as the group identification bit of the radio frequency device.
[0096] In one embodiment, when the computer program is executed by a processor, the following steps can also be implemented: if the group identifier is not the first identifier or the second identifier, determine whether the group identifier is the third identifier; if the group identifier is the third identifier, determine that the test result is passed; if the group identifier is not the third identifier, determine that the test result is failed, and generate an error message based on the test result.
[0097] In one embodiment, when the computer program is executed by the processor, the following steps may also be implemented: according to a preset allocation strategy, a corresponding trigger value is allocated to the radio frequency device.
[0098] In one embodiment, when the computer program is executed by the processor, the following steps may also be implemented: determining that the number of trigger values under the corresponding group is less than or equal to eight.
[0099] In one embodiment, when the computer program is executed by the processor, the following steps can also be implemented: if there are duplicates in all trigger values under the corresponding group, the duplicate trigger values and the number of duplicates are obtained to generate a first error message based on the duplicate trigger values and the number of duplicates; if the number of trigger values under the corresponding group is greater than the threshold, a second error message is generated based on the number of trigger values under the corresponding group.
[0100] According to the computer-readable storage medium of the embodiment of the present disclosure, through the adaptation detection of the radio frequency device, an error prompt is given when the trigger value under the corresponding group is repeated or greater than the threshold, so as to prompt the user to make adjustments, reduce the probability of problems such as substandard rate and antenna imbalance, ensure the performance of the radio frequency device, and improve stability.
[0101] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0102] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0103] The above-mentioned embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the patent of the present disclosure shall be subject to the attached claims.
Claims
1. A trigger detection method for a radio frequency device, It is characterized in that include: Obtaining the group identification bit of the radio frequency device; If the group identification bit is a preset first identification bit or a second identification bit, then obtaining all trigger values under the group corresponding to the group identification bit; If all trigger values under the corresponding group are not repeated, and the number of trigger values under the corresponding group is less than or equal to the threshold, then the detection result is determined to be passed; If all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, the detection result is determined to be failed, and an error message is generated according to the detection result.
2. The method according to claim 1, It is characterized in that Also includes: Determining a group identification bit of the radio frequency device according to the purpose of the radio frequency device; Wherein, when the radio frequency device is an LNA device, and the LNA device is used for multiple-input multiple-output of main set reception or multiple-input multiple-output of diversity reception, the group identification bit of the radio frequency device is the first identification bit; When the radio frequency device is an LNA device, and the LNA device is used for main set reception or diversity reception, the group identification bit of the radio frequency device is the second identification bit; When the radio frequency device is a PA device or an ETM device, the group identification bit of the radio frequency device is the third identification bit.
3. The method according to claim 2, It is characterized in that The determining, according to the purpose of the radio frequency device, the group identification bit of the radio frequency device includes: Obtaining a user identification bit of the radio frequency device; the user identification bit is written according to the device specification; Determining a candidate group identification bit according to the purpose of the radio frequency device; Determining whether the user identification bit of the radio frequency device is consistent with the candidate group identification bit; If they are inconsistent, the candidate group identification bit is determined as the group identification bit of the radio frequency device.
4. The method according to claim 2, It is characterized in that After obtaining the group identification bit of the radio frequency device, the method further includes: If the group identification bit is not the first identification bit or the second identification bit, determining whether the group identification bit is the third identification bit; If the group identification bit is the third identification bit, determining that the detection result is passed; If the group identification bit is not the third identification bit, the detection result is determined to be failed, and an error message is generated according to the detection result.
5. The method according to claim 2, It is characterized in that After determining the group identification bit of the radio frequency device, the method further includes: According to a preset allocation strategy, a corresponding trigger value is allocated to the radio frequency device.
6. The method according to claim 1, It is characterized in that The number of trigger values under the corresponding group is less than or equal to the threshold, including: The number of trigger values under the corresponding group is less than or equal to eight.
7. The method according to claim 1, It is characterized in that The generating error information according to the detection result includes: If all trigger values under the corresponding group are repeated, the repeated trigger values and the number of repeated values are obtained to generate first error information according to the repeated trigger values and the number of repeated values; If the number of trigger values under the corresponding group is greater than the threshold, second error information is generated according to the number of trigger values under the corresponding group.
8. A trigger detection device for a radio frequency device, It is characterized in that include: A first acquisition module, used to acquire a group identification bit of a radio frequency device; A second acquisition module is used to acquire all trigger values under the group corresponding to the group identification bit if the group identification bit is a preset first identification bit or a second identification bit; A determination module, configured to determine that the detection result is passed if all trigger values under the corresponding group are not repeated and the number of trigger values under the corresponding group is less than or equal to a threshold; An error reporting module is used to determine that the detection result is failed if all trigger values under the corresponding group are repeated, or the number of trigger values under the corresponding group is greater than the threshold, and generate error information according to the detection result.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
