CN113098545A - Control method, device and equipment of radio frequency device and storage medium - Google Patents

Control method, device and equipment of radio frequency device and storage medium Download PDF

Info

Publication number
CN113098545A
CN113098545A CN202110336847.7A CN202110336847A CN113098545A CN 113098545 A CN113098545 A CN 113098545A CN 202110336847 A CN202110336847 A CN 202110336847A CN 113098545 A CN113098545 A CN 113098545A
Authority
CN
China
Prior art keywords
usid
radio frequency
frequency device
mipi
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110336847.7A
Other languages
Chinese (zh)
Other versions
CN113098545B (en
Inventor
文洲
王明宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110336847.7A priority Critical patent/CN113098545B/en
Publication of CN113098545A publication Critical patent/CN113098545A/en
Application granted granted Critical
Publication of CN113098545B publication Critical patent/CN113098545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a control method, a control device, control equipment and a storage medium of a radio frequency device, and belongs to the technical field of communication. The method comprises the following steps: for a MIPI line, acquiring a first USID set corresponding to the MIPI line, wherein the first USID set comprises USIDs of radio-frequency devices successfully connected with the MIPI line; determining the USID which is lacked by the first USID set relative to the pre-stored USID set as the first USID according to the pre-stored USID set and the first USID set; and according to the first USID, the register value of the corresponding radio frequency device is increased. The method effectively solves the problem that the terminal system cannot receive the MIPI signal sent by the radio frequency device under the condition that the quality of the MIPI signal sent by the radio frequency device is poor.

Description

Control method, device and equipment of radio frequency device and storage medium
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a method for controlling a radio frequency device, a device for controlling a radio frequency device, an electronic apparatus, and a readable storage medium.
Background
Currently, most rf devices transmit MIPI (Mobile Industry Processor Interface) signals to the terminal system through a MIPI (Mobile Industry Processor Interface). And the terminal system receives the MIPI signal and reads the related information of the radio frequency device from the MIPI signal. However, the quality of the MIPI signal sent by the radio frequency device is poor, so that the terminal system cannot receive the MIPI signal of the radio frequency device. At the moment, the quality of the MIPI signals sent by the radio frequency device can be improved by changing the parameter values of the components in the radio frequency device.
However, when the parameter values of the components in the rf front-end device are changed, the terminal system needs to read the USID (User Service Identification) of the rf device according to the MIPI signal. And under the condition that the quality of the MIPI signal sent by the radio frequency device is poor, the terminal system cannot acquire the USID of the radio frequency device, and further cannot change the parameter value in the radio frequency front-end device. That is, in the case that the quality of the MIPI signal sent by the radio frequency device is poor, the terminal system cannot receive the MIPI signal sent by the radio frequency device.
Content of application
An object of the embodiment of the present application is to provide a method for controlling a radio frequency device, which can effectively alleviate a problem that a terminal system cannot receive an MIPI signal sent by the radio frequency device under a condition that the quality of the MIPI signal sent by the radio frequency device is poor.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling a radio frequency device, including:
for a MIPI line, acquiring a first USID set corresponding to the MIPI line, wherein the first USID set comprises USIDs of radio-frequency devices successfully connected with the MIPI line;
determining the USID which is lacked by the first USID set relative to the pre-stored USID set as a first USID according to the pre-stored USID set and the first USID set;
and according to the first USID, the register value of the corresponding radio frequency device is increased.
In a second aspect, an embodiment of the present application provides a control apparatus for a radio frequency device, including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first USID set corresponding to a MIPI (million Instructions per second) line, and the first USID set comprises USIDs of radio-frequency devices successfully connected with the MIPI line;
the determining module is used for determining the USID which is lacked by the first USID set relative to the pre-stored USID set according to the pre-stored USID set and the first USID set and taking the USID as the first USID;
and the adjusting module is used for increasing the register value of the corresponding radio frequency device according to the first USID.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, for a MIPI line, a first USID set consisting of USIDs of radio-frequency devices which correspond to the MIPI line and are successfully connected with the MIPI line is obtained. Then, based on the pre-stored USID set and the first USID set, the USID that the first USID set lacks with respect to the pre-stored USID set, i.e., the first USID, can be determined. Therefore, the USID of the radio frequency device, which is sent out by the MIPI signal with poor signal quality so that the terminal system cannot receive the USID, can be determined. Further, according to the first USID, the register value of the corresponding radio frequency device is increased. Therefore, the driving capability of the radio frequency device corresponding to the first USID for sending the MIPI signal can be enhanced, the quality of the MIPI signal sent by the radio frequency device corresponding to the first USID is improved, and a basis is provided for receiving the MIPI signal sent by the radio frequency device. Therefore, the control method of the radio frequency device provided by the embodiment of the application can effectively alleviate the problem that the terminal system cannot receive the MIPI signal sent by the radio frequency device under the condition that the quality of the MIPI signal sent by the radio frequency device is poor.
Drawings
Fig. 1 is a schematic flowchart of a method for controlling a radio frequency device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an MIPI wire-connected radio frequency device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a control apparatus of a radio frequency device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a control method, an apparatus, a device, and a storage medium of a radio frequency device provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios thereof.
An embodiment of the present application provides a method for controlling a radio frequency device, as shown in fig. 1, the method includes the following steps S1100 to S1300:
s1100, for a MIPI line, a first USID set corresponding to the MIPI line is obtained.
Wherein the first USID set comprises USIDs of radio frequency devices successfully connected by the MIPI lines.
In the embodiment of the present application, as shown in fig. 2, a plurality of radio frequency devices are connected to one MIPI line. Each rf device corresponds to a USID, a PID (Product ID; Product ID), and a MID (Manufacturer ID). The radio frequency devices connected on the MIPI line may be, for example, a power amplifier, a low noise amplifier, a switch, an antenna regulator, a radio frequency power manager, and the like.
In the embodiment of the present application, the radio frequency device to which the MIPI line is successfully connected refers to a radio frequency device that sends out a MIPI signal with good signal quality so that a terminal system can receive the MIPI signal.
Correspondingly, the radio frequency device to which the MIPI line is not successfully connected refers to a radio frequency device which sends an MIPI signal with poor signal quality so that the terminal system cannot receive the MIPI signal, or a radio frequency device which cannot send the MIPI signal.
In an embodiment of the present application, the obtaining of the first USID set in S1100 is implemented by sending an instruction to report the USID of each radio frequency device connected to the MIPI line.
Based on the above, it can be understood that the radio frequency device successfully connected to the MIPI line may send an MIPI signal reporting its USID, and the MIPI signal reporting its USID may be acquired. And the radio frequency device which is not successfully connected with the MIPI line sends an MIPI signal for reporting the USID of the radio frequency device, and the MIPI signal for reporting the USID of the radio frequency device cannot be acquired due to poor MIPI signal quality.
It should be noted that fig. 2 illustrates an example in which the radio frequency device 1, the radio frequency device 2, and the radio frequency device 3 are connected to one MIPI line, the USID of the radio frequency device 1 is 0x00, the MID is 0x03, and the USID is 0x0F, the USID of the radio frequency device 2 is 0x01, the MID is 0x05, and the USID is 0x0F, and the USID of the radio frequency device 3 is 0x02, the MID is 0x07, and the USID is 0x 0E.
In one example of the present application, the first set of USIDs may be embodied in the form of a list.
S1200, determining the USID which is lacked by the first USID set relative to the pre-stored USID set as the first USID according to the pre-stored USID set and the first USID set.
In the embodiment of the application, the pre-stored USID set includes the USID of each radio frequency device connected by the MIPI line, that is, the pre-stored USID set includes the USID of a radio frequency device successfully connected by the MIPI line and the USID of a radio frequency device unsuccessfully connected by the MIPI line.
S1300, according to the first USID, the register value of the corresponding radio frequency device is increased.
In this embodiment of the present application, the specific implementation of S1300 may be: and sending an instruction for increasing the register value to the corresponding radio frequency device so as to increase the register value of the corresponding radio frequency device. On the basis, the radio frequency device increases the register value in the case of receiving the instruction for increasing the register value. Under the condition that the register value in the radio frequency device is increased, the driving capability of the MIPI signal sent by the radio frequency device is enhanced, so that the quality of the MIPI signal sent by the radio frequency device is improved.
The register value of the up register may specifically be: the register value is increased to the maximum value of the register value, or the register values of a plurality of levels from low to high are stored in the radio frequency device in advance, and the register value is increased to the register value which is one level higher than the current register value on the basis that the register value is larger when the level is higher.
In the embodiment of the application, for a MIPI line, a first USID set consisting of USIDs of radio-frequency devices which correspond to the MIPI line and are successfully connected with the MIPI line is obtained. Then, based on the pre-stored USID set and the first USID set, the USID that the first USID set lacks with respect to the pre-stored USID set, i.e., the first USID, can be determined. Therefore, the USID of the radio frequency device, which is sent out by the MIPI signal with poor signal quality so that the terminal system cannot receive the USID, can be determined. Further, according to the first USID, the register value of the corresponding radio frequency device is increased. Therefore, the driving capability of the radio frequency device corresponding to the first USID for sending the MIPI signal can be enhanced, the quality of the MIPI signal sent by the radio frequency device corresponding to the first USID is improved, and a basis is provided for receiving the MIPI signal sent by the radio frequency device. Therefore, the control method of the radio frequency device provided by the embodiment of the application can effectively alleviate the problem that the terminal system cannot receive the MIPI signal sent by the radio frequency device under the condition that the quality of the MIPI signal sent by the radio frequency device is poor.
In an embodiment of the present application, the method for controlling a radio frequency device provided in the embodiment of the present application further includes, after the foregoing S1300, the following S1310-S1312:
and S1310, acquiring a second USID set of the MIPI line.
And the second USID set comprises USIDs of radio frequency devices which are successfully connected with the MIPI line after the register value of the corresponding radio frequency device is increased.
In this embodiment of the present application, after performing the above S1300, the USIDs of the radio frequency devices successfully connected to the MIPI line are obtained again, so as to obtain the second USID set. Wherein the second USID set may be embodied in the form of a list.
S1311, determining USIDs, which are missing from the first USID set, of the second USID set according to the first USID set and the second USID set, and using the USIDs as the second USIDs.
It can be understood that the second USID is the USID of the radio frequency device that still sends the MIPI signal with poor signal quality after the register value is increased, so that the terminal system cannot receive the signal.
S1312, if the register value of the rf device corresponding to the second USID does not reach the maximum value, updating the second USID to the first USID, and repeating the above S1300.
In this embodiment of the application, under the condition that the register value of the radio frequency device corresponding to the second USID does not reach the maximum value, it indicates that the radio frequency device corresponding to the second USID may still send the MIPI signal with poor signal quality to make the terminal system unable to receive the MIPI signal because the driving capability of the MIPI signal is still insufficient. At this time, the second USID is updated to the first USID, and the step of S1300 is repeated, so that the register value of the radio frequency device corresponding to the second USID can be continuously increased, so that the driving capability of the MIPI signal of the radio frequency device corresponding to the second USID is sufficiently large, and the quality of the MIPI signal is improved, so that the terminal system can receive the MIPI signal.
Corresponding to the above S1312, the method for controlling a radio frequency device according to this embodiment further includes the following S1313:
s1313, recording that the radio frequency device corresponding to the second USID is lost when the register value of the radio frequency device corresponding to the second USID reaches the maximum value.
In this embodiment of the application, when the register value of the radio frequency device corresponding to the second USID reaches the maximum value, it indicates that the driving capability of the MIPI signal of the radio frequency device corresponding to the second USID is already maximum, but the radio frequency device corresponding to the second USID still sends out the MIPI signal with poor signal quality, so that the terminal system cannot receive the MIPI signal. Namely, the radio frequency device corresponding to the second USID does not send out the MIPI signal with poor signal quality due to insufficient driving capability of the MIPI signal, and at this time, it is recorded that the radio frequency device corresponding to the second USID is lost.
In an embodiment of the application, the method for controlling a radio frequency device according to the embodiment of the application further includes, before the foregoing S1300, the following S1320 and S1321:
s1320, determining whether the first USID has the first target USID according to the pre-stored USID set.
The first target USID is at least two USIDs in the pre-stored USID set.
In the embodiment of the application, since the radio frequency devices have the possibility of being designed by different manufacturers, a plurality of radio frequency devices connected on the MIPI line have the same USID. In the embodiment of the application, the USIDs with at least two USIDs in the USID set are recorded as the first target USIDs.
In one example, the set of pre-stored USIDs includes: 0x0F, 0x0F, 0x0E, 0x0E, and 0x0C, and the first USID set includes 0x0F, 0x0E, and 0x0C, then the first target USID is 0x0F and 0x0E, respectively.
S1321, under the condition that the first target USIDs exist and the first target USIDs are at least two different USIDs, setting the USID of the radio frequency device corresponding to the second target USID according to the MID and the PID corresponding to the second target USID, and sending the set USID to the radio frequency device corresponding to the second target USID.
And the second USID is the same USID as the first target USID except the first USID in the pre-stored USID set.
In the embodiment of the application, in the case that the first target USID exists, the MIPI line is described to connect at least two radio frequency devices with the same USID. On this basis, if the first target USIDs are at least two different USIDs, it is described that, of at least two radio frequency devices with the same USIDs, there is only one radio frequency device that sends an MIPI signal with poor signal quality so that the radio frequency device cannot receive the MIPI signal, and there is at least one radio frequency device that sends an MIPI signal with good signal quality so that the radio frequency device can receive the MIPI signal. On the basis, an instruction for reading the corresponding PID and MID can be sent to the corresponding radio frequency device according to the second target USID. At this time, the radio frequency device corresponding to the first target USID cannot receive the MIPI signal for reporting the PID and the MID sent after receiving the instruction, and only the radio frequency device corresponding to the second target USID can receive the MIPI signal for reporting the PID and the MID sent after receiving the instruction. Further, the USID of the radio frequency device corresponding to the second target is reset according to the read PIM and MID, and the reset USID is sent to the radio frequency device corresponding to the USID of the second target. Thus, the USIDs of the radio frequency devices connected on the MIPI line are different from each other.
In this embodiment of the present application, when performing the above-mentioned S1300, the register value of the radio frequency device that sends the MIPI signal with good signal quality and enables the terminal system to receive the MIPI signal, that is, the radio frequency device corresponding to the second target USID, is increased, and the register value of the radio frequency device that sends the MIPI signal with poor signal quality and enables the terminal system to not receive the MIPI signal, that is, the radio frequency device corresponding to the first target USID, is not increased. I.e. to avoid problems with misadjusting the rf device.
Corresponding to S1321, the specific implementation of S1300 may be as follows S1322:
and S1322, under the condition that the first target USID does not exist, increasing the register value of the corresponding radio frequency device according to the first USID.
In the embodiment of the present application, if the first target USID does not exist, it indicates that there is no problem of misadjusting the rf device, and at this time, the foregoing S1300 is directly performed.
Corresponding to the above S1321, the method for controlling the radio frequency device according to the embodiment of the present application further includes the following S1323:
s1323, recording that the radio frequency device corresponding to the first target USID is lost under the condition that the first target USID exists and the first target USID is the same with at least two USIDs.
In the embodiment of the application, in the case that the first target USID exists, the MIPI line is described to connect at least two radio frequency devices with the same USID. On this basis, if the first target USID is the same as at least two USIDs, it is not possible to distinguish which register value of the first target USID is turned higher. At this time, the loss of the radio frequency device corresponding to the first target USID is recorded.
Based on the above, the method for controlling a radio frequency device provided in the embodiment of the present application includes the following steps:
s2001, for a MIPI line, a first set of USIDs corresponding to the MIPI line is obtained, where the first set of USIDs includes USIDs of radio frequency devices successfully connected to the MIPI line.
And S2002, determining the USID which is lacked by the first USID set relative to the pre-stored USID set as the first USID according to the pre-stored USID set and the first USID set.
And S2003, determining whether a first target USID exists in the first USID according to the pre-stored UISD set, wherein the first target USID is at least two USIDs in the pre-stored USID set.
And S2004, under the condition that the first target USIDs exist and the first target USIDs are at least two different USIDs, setting the USIDs of the radio frequency devices corresponding to the second target USIDs according to the MID and the PID corresponding to the second target USIDs, and sending the set USIDs to the radio frequency devices corresponding to the second target USIDs, wherein the second USIDs are the same USIDs except the first USID set in the pre-stored USID set and the first target USIDs.
S2005, if the first target USID does not exist, S2007 to be described below is executed.
And S2006, recording that the radio frequency device corresponding to the first target USID is lost under the condition that the first target USID exists and the first target USID is the same with at least two USIDs.
And S2007, according to the first USID, the register value of the corresponding radio frequency device is increased.
And S2008, acquiring a second USID set of the MIPI, wherein the second USID set comprises USIDs of radio frequency devices successfully connected with the MIPI after the register values of the corresponding radio frequency devices are increased.
And S2009, determining the USID which is lacked by the second USID set relative to the first USID set as the second USID according to the first USID set and the second USID set.
S2010, if the register value of the rf device corresponding to the second USID does not reach the maximum value, updating the second USID to the first USID, and repeating the above S2007.
And S2011, recording that the radio frequency device corresponding to the second USID is lost when the register value of the radio frequency device corresponding to the second USID reaches the maximum value.
It should be noted that, in the control method of the radio frequency device provided in the embodiment of the present application, the execution main body may be a control apparatus of the radio frequency device, or a control module in the control apparatus of the radio frequency device, which is used for indicating execution of the control method for loading the radio frequency device. In the embodiment of the present application, a control method for a radio frequency device to execute a loading operation by a control apparatus of the radio frequency device is taken as an example, and the control method of the radio frequency device provided in the embodiment of the present application is described.
The embodiment of the present application provides a control apparatus 300 for a radio frequency device, as shown in fig. 3, the apparatus 300 includes an obtaining module 310, a determining module 320, and an adjusting module 330. Wherein:
the obtaining module 310 is configured to obtain, for a MIPI line, a first set of USIDs corresponding to the MIPI line, where the first set of USIDs includes USIDs of radio frequency devices successfully connected to the MIPI line.
The determining module 320 is configured to determine, according to a pre-stored USID set and the first USID set, a USID that the first USID set lacks with respect to the pre-stored USID set, as the first USID.
The adjusting module 330 is configured to increase a register value of the corresponding rf device according to the first USID.
In an embodiment of the present application, the obtaining module 310 is further configured to obtain a second USID set on the MIPI line, where the second USID set includes the USID of the radio frequency device successfully connected to the MIPI line after the register value of the corresponding radio frequency device is increased.
The determining module 320 is further configured to determine, as the second USID, a USID that is missing from the second USID set with respect to the first USID set according to the first USID set and the second USID set.
The adjusting module 330 is further configured to update the second USID to the first USID when the register value of the radio frequency device corresponding to the second USID does not reach a maximum value, and increase the register value of the corresponding radio frequency device according to the first USID repeatedly.
In an embodiment of the present application, the control apparatus of the radio frequency device provided in the embodiment of the present application further includes a recording module. And the recording module is used for recording that the radio frequency device corresponding to the second USID is lost when the register value of the radio frequency device corresponding to the second USID reaches the maximum value.
In an embodiment of the present application, the determining module 320 is further configured to determine whether a first target USID exists in the first USID according to the pre-stored UISD set, where the first target USID is a USID with a number of at least two in the pre-stored USID set.
In an embodiment of the present application, the control apparatus for a radio frequency device further includes a setting module, where the setting module is configured to set, when the first target USID exists and the first target USIDs are at least two different ones from each other, a USID of the radio frequency device corresponding to a second target USID according to an MID and a PID corresponding to the second target USID, where the second USID is a USID in the pre-stored USID set that is the same as the first target USID except for the first USID set.
In this embodiment of the present application, the control apparatus for a radio frequency device provided in this embodiment of the present application further includes a sending module, where the sending module is configured to send the set USID to the radio frequency device corresponding to the second target USID.
In an embodiment of the present application, the adjusting module 330 is specifically configured to, in the absence of the first target USID, increase a register value of a corresponding radio frequency device according to the first USID.
In an embodiment of the application, the recording module is further configured to record that the radio frequency device corresponding to the first target USID is lost when the first target USID exists and the first target USID is the same at least two USIDs.
The control device of the radio frequency device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the radio frequency device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control apparatus for a radio frequency device provided in this embodiment of the present application can implement each process implemented by the control apparatus for a radio frequency device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
In the embodiment of the application, for a MIPI line, the obtaining module obtains a first USID set composed of USIDs of radio-frequency devices corresponding to the MIPI line and successfully connected with the MIPI line. The determining module may then determine, based on the pre-stored set of USIDs and the first set of USIDs, the USIDs that the first set of USIDs lacks relative to the pre-stored set of USIDs, i.e., the first USIDs. Therefore, the USID of the radio frequency device, which is sent out by the MIPI signal with poor signal quality so that the terminal system cannot receive the USID, can be determined. Further, according to the first USID, the register value of the corresponding radio frequency device is increased. Therefore, the driving capability of the radio frequency device corresponding to the first USID for sending the MIPI signal can be enhanced, the quality of the MIPI signal sent by the radio frequency device corresponding to the first USID is improved, and a basis is provided for receiving the MIPI signal sent by the radio frequency device. Therefore, the control device of the radio frequency device provided by the embodiment of the application can effectively alleviate the problem that the terminal system cannot receive the MIPI signal sent by the radio frequency device under the condition that the quality of the MIPI signal sent by the radio frequency device is poor.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 410, a memory 409, and a program or an instruction stored in the memory 409 and executable on the processor 410, where the program or the instruction is executed by the processor 410 to implement each process of the above-mentioned embodiment of the control method for a radio frequency device, and can achieve the same technical effect, and details are not described here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The radio unit 401 includes a radio device, and is configured to report its USID to the processor 410 through the MIPI line.
A processor 110, configured to obtain, for a MIPI line, a first set of USIDs corresponding to the MIPI line, where the first set of USIDs includes USIDs of radio-frequency devices successfully connected to the MIPI line;
determining the USID which is lacked by the first USID set relative to the pre-stored USID set as a first USID according to the pre-stored USID set and the first USID set;
and according to the first USID, the register value of the corresponding radio frequency device is increased.
In an embodiment of the application, for a MIPI line, a processor acquires a first USID set consisting of USIDs of radio-frequency devices corresponding to the MIPI line and successfully connected with the MIPI line. Then, based on the pre-stored USID set and the first USID set, the USID that the first USID set lacks with respect to the pre-stored USID set, i.e., the first USID, can be determined. Therefore, the USID of the radio frequency device, which is sent out by the MIPI signal with poor signal quality so that the terminal system cannot receive the USID, can be determined. Further, according to the first USID, the register value of the corresponding radio frequency device is increased. Therefore, the driving capability of the radio frequency device corresponding to the first USID for sending the MIPI signal can be enhanced, the quality of the MIPI signal sent by the radio frequency device corresponding to the first USID is improved, and a basis is provided for receiving the MIPI signal sent by the radio frequency device. Therefore, the electronic device provided by the embodiment of the application can effectively alleviate the problem that the terminal system cannot receive the MIPI signal sent by the radio-frequency device under the condition that the quality of the MIPI signal sent by the radio-frequency device is poor.
Optionally, the processor 110 is further configured to obtain a second USID set of the MIPI line after the register value of the corresponding radio frequency device is increased according to the first USID, where the second USID set includes the USID of the radio frequency device successfully connected to the MIPI line after the register value of the corresponding radio frequency device is increased;
determining the USID of the second USID set which is lacked relative to the first USID set as a second USID according to the first USID set and the second USID set;
and under the condition that the register value of the radio frequency device corresponding to the second USID does not reach the maximum value, updating the second USID into the first USID, and repeatedly increasing the register value of the corresponding radio frequency device according to the first USID.
Optionally, the processor 110 is further configured to record that the radio frequency device corresponding to the second USID is lost when the register value of the radio frequency device corresponding to the second USID reaches the maximum value.
Optionally, the processor 110 is further configured to determine whether a first target USID exists in the first USID according to the pre-stored UISD set before the register value of the corresponding radio frequency device is increased according to the first USID, where the first target USID is at least two USIDs in the pre-stored USID set;
and under the condition that the first target USID exists and the first target USIDs are at least two different USIDs, setting the USID of the radio frequency device corresponding to the second target USID according to the MID and the PID corresponding to the second target USID, and sending the set USID to the radio frequency device corresponding to the second target USID, wherein the second USID is the same USID as the first target USID except the first USID set in the pre-stored USID set.
Optionally, the processor 110 is specifically configured to, in the absence of the first target USID, increase a register value of a corresponding radio frequency device according to the first USID.
Optionally, the processor 110 is further configured to record that the radio frequency device corresponding to the first target USID is lost when the first target USID exists and the first target USID is the same at least two USIDs.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method for the radio frequency device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment of the radio frequency device, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for controlling a radio frequency device, comprising:
for a MIPI line, acquiring a first USID set corresponding to the MIPI line, wherein the first USID set comprises USIDs of radio-frequency devices successfully connected with the MIPI line;
determining the USID which is lacked by the first USID set relative to the pre-stored USID set as a first USID according to the pre-stored USID set and the first USID set;
and according to the first USID, the register value of the corresponding radio frequency device is increased.
2. The method of claim 1, further comprising, after said turning up a register value of a corresponding rf device according to the first USID:
acquiring a second USID set of the MIPI, wherein the second USID set comprises USIDs of radio frequency devices which are successfully connected with the MIPI after register values of corresponding radio frequency devices are increased;
determining the USID of the second USID set which is lacked relative to the first USID set as a second USID according to the first USID set and the second USID set;
and under the condition that the register value of the radio frequency device corresponding to the second USID does not reach the maximum value, updating the second USID into the first USID, and repeatedly increasing the register value of the corresponding radio frequency device according to the first USID.
3. The method of claim 2, further comprising:
and recording that the radio frequency device corresponding to the second USID is lost under the condition that the register value of the radio frequency device corresponding to the second USID reaches the maximum value.
4. The method of claim 1, further comprising, prior to said turning up a register value of a corresponding rf device according to the first USID:
determining whether a first target USID exists in the first USID according to the pre-stored UISD set, wherein the first target USID is at least two USIDs in the pre-stored USID set;
and under the condition that the first target USID exists and the first target USIDs are at least two different USIDs, setting the USID of the radio frequency device corresponding to the second target USID according to the MID and the PID corresponding to the second target USID, and sending the set USID to the radio frequency device corresponding to the second target USID, wherein the second USID is the same USID as the first target USID except the first USID set in the pre-stored USID set.
5. The method of claim 4, wherein the turning up the register value of the corresponding RF device according to the first USID comprises:
and under the condition that the first target USID does not exist, the register value of the corresponding radio frequency device is increased according to the first USID.
6. The method of claim 4, further comprising:
and recording that the radio frequency device corresponding to the first target USID is lost under the condition that the first target USID exists and the first target USID is the same at least two USIDs.
7. An apparatus for controlling a radio frequency device, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first USID set corresponding to a MIPI (million Instructions per second) line, and the first USID set comprises USIDs of radio-frequency devices successfully connected with the MIPI line;
the determining module is used for determining the USID which is lacked by the first USID set relative to the pre-stored USID set according to the pre-stored USID set and the first USID set and taking the USID as the first USID;
and the adjusting module is used for increasing the register value of the corresponding radio frequency device according to the first USID.
8. The apparatus of claim 7,
the obtaining module is further configured to obtain a second USID set on the MIPI line, where the second USID set includes the USID of the radio frequency device successfully connected to the MIPI line after the register value of the corresponding radio frequency device is increased;
the determining module is further configured to determine, according to the first USID set and the second USID set, a USID that the second USID set lacks with respect to the first USID set, as a second USID;
the adjusting module is further configured to update the second USID to the first USID when the register value of the radio frequency device corresponding to the second USID does not reach a maximum value, and increase the register value of the corresponding radio frequency device repeatedly according to the first USID.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of controlling a radio frequency device according to any one of claims 1 to 6.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of a radio frequency device according to any one of claims 1 to 6.
CN202110336847.7A 2021-03-26 2021-03-26 Control method, device and equipment of radio frequency device and storage medium Active CN113098545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336847.7A CN113098545B (en) 2021-03-26 2021-03-26 Control method, device and equipment of radio frequency device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336847.7A CN113098545B (en) 2021-03-26 2021-03-26 Control method, device and equipment of radio frequency device and storage medium

Publications (2)

Publication Number Publication Date
CN113098545A true CN113098545A (en) 2021-07-09
CN113098545B CN113098545B (en) 2022-08-19

Family

ID=76671089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336847.7A Active CN113098545B (en) 2021-03-26 2021-03-26 Control method, device and equipment of radio frequency device and storage medium

Country Status (1)

Country Link
CN (1) CN113098545B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117130671A (en) * 2023-01-16 2023-11-28 荣耀终端有限公司 System wake-up method, electronic equipment and computer readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198427A1 (en) * 2012-01-30 2013-08-01 Infineon Technologies Ag System and method for a bus interface
US20160182250A1 (en) * 2014-12-22 2016-06-23 Sierra Wireless, Inc. Method and apparatus for register setting via multiplexed chip contacts
CN105871399A (en) * 2016-06-23 2016-08-17 广东欧珀移动通信有限公司 Radio-frequency communication module, radio-frequency front-end module and control method thereof
CN107147419A (en) * 2017-05-09 2017-09-08 广东欧珀移动通信有限公司 Reduce method, storage medium and the terminal of signal interference
CN107273238A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of radio-frequency devices operation
CN108449109A (en) * 2018-05-16 2018-08-24 成都通量科技有限公司 A kind of radio frequency front-end devices are from control interface arrangement
CN108933841A (en) * 2017-05-27 2018-12-04 嘉兴鹏武电子科技有限公司 A kind of control method and device of radio-frequency front-end equipment
CN109217895A (en) * 2018-08-31 2019-01-15 维沃移动通信有限公司 A kind of control method and terminal device of radio frequency front-end devices
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
US20190346876A1 (en) * 2018-05-10 2019-11-14 Qualcomm Incorporated Sharing a serial bus interface among devices having different operating speeds
CN110535539A (en) * 2019-08-29 2019-12-03 杭州博联智能科技股份有限公司 For the power compensating method of radio-frequency module, device, equipment and medium
CN210578535U (en) * 2019-12-13 2020-05-19 维沃移动通信有限公司 Radio frequency control circuit and electronic equipment
CN111525941A (en) * 2020-04-28 2020-08-11 维沃移动通信有限公司 Signal processing circuit and method and electronic equipment
CN111786737A (en) * 2020-06-30 2020-10-16 三维通信股份有限公司 Data transmission method, data transmission device, storage medium, and electronic device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198427A1 (en) * 2012-01-30 2013-08-01 Infineon Technologies Ag System and method for a bus interface
US20160182250A1 (en) * 2014-12-22 2016-06-23 Sierra Wireless, Inc. Method and apparatus for register setting via multiplexed chip contacts
CN105871399A (en) * 2016-06-23 2016-08-17 广东欧珀移动通信有限公司 Radio-frequency communication module, radio-frequency front-end module and control method thereof
CN107147419A (en) * 2017-05-09 2017-09-08 广东欧珀移动通信有限公司 Reduce method, storage medium and the terminal of signal interference
CN108933841A (en) * 2017-05-27 2018-12-04 嘉兴鹏武电子科技有限公司 A kind of control method and device of radio-frequency front-end equipment
CN107273238A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of radio-frequency devices operation
US20190346876A1 (en) * 2018-05-10 2019-11-14 Qualcomm Incorporated Sharing a serial bus interface among devices having different operating speeds
CN108449109A (en) * 2018-05-16 2018-08-24 成都通量科技有限公司 A kind of radio frequency front-end devices are from control interface arrangement
CN109217895A (en) * 2018-08-31 2019-01-15 维沃移动通信有限公司 A kind of control method and terminal device of radio frequency front-end devices
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN110535539A (en) * 2019-08-29 2019-12-03 杭州博联智能科技股份有限公司 For the power compensating method of radio-frequency module, device, equipment and medium
CN210578535U (en) * 2019-12-13 2020-05-19 维沃移动通信有限公司 Radio frequency control circuit and electronic equipment
CN111525941A (en) * 2020-04-28 2020-08-11 维沃移动通信有限公司 Signal processing circuit and method and electronic equipment
CN111786737A (en) * 2020-06-30 2020-10-16 三维通信股份有限公司 Data transmission method, data transmission device, storage medium, and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117130671A (en) * 2023-01-16 2023-11-28 荣耀终端有限公司 System wake-up method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113098545B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN109977859B (en) Icon identification method and related device
CN111368934A (en) Image recognition model training method, image recognition method and related device
CN106203459B (en) Picture processing method and device
CN111984162A (en) Page display method and device and electronic equipment
CN106204552A (en) The detection method of a kind of video source and device
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN110688347A (en) File storage method, file storage device and terminal equipment
CN107871000A (en) Audio frequency playing method, device, storage medium and electronic equipment
CN114025242A (en) Video processing method, video processing device and electronic equipment
CN113098545B (en) Control method, device and equipment of radio frequency device and storage medium
CN112215227A (en) Image target detection model attack method and device, terminal equipment and storage medium
CN109726726B (en) Event detection method and device in video
US20190019027A1 (en) Method and mobile terminal for processing image and storage medium
CN111401981B (en) Bidding method, device and storage medium of bidding cloud host
CN112333441A (en) Camera detection method and device and electronic equipment
CN112511890A (en) Video image processing method and device and electronic equipment
CN110086987B (en) Camera visual angle cutting method and device and storage medium
CN111861965B (en) Image backlight detection method, image backlight detection device and terminal equipment
CN111161578A (en) Learning interaction method and device and terminal equipment
CN113391779A (en) Parameter adjusting method, device and equipment for paper-like screen
CN108769527B (en) Scene identification method and device and terminal equipment
CN112135311B (en) Monitoring method and device for radio frequency device, electronic equipment and readable storage medium
CN110716908A (en) Log information writing method, system, storage medium and mobile terminal
CN114285814B (en) Chat parameter setting method and device, electronic equipment and storage medium
CN113780026B (en) Graphic code identification method, graphic code identification device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant