CROSS-REFERENCE TO RELATED APPLICATION

This patent application is a 35 USC § 371 U.S. national stage of International Application No. PCT/CN2018/112409 filed on Oct. 29, 2018, which claims a priority of the Chinese Patent Application No. 201711097749.2 filed on Nov. 9, 2017, the disclosures of which are incorporated herein by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of communication technology, and in particular, to an information processing method for a Radio Frequency (RF) device and a mobile terminal.

BACKGROUND

In an early RF system, a digital logic part of each RF device is controlled by a General Radio Frequency Control (GRFC) port, and the controlling of each RF device requires multiple control ports according to the logic required by each device. With the development of technology, the RF system is becoming more and more complex, and the number of RF devices is increasing. A resource of the GRFC port has become a bottleneck in design.

An RF Front-End (RFFE) control interface protocol is a part of a Mobile Industry Processor Interface (MIPI) protocol, which is customized by the MIPI organization for the RF device. According to the RFFE protocol, a pair of RFFE control lines are able to control multiple devices conforming to the RFFE protocol, which save hardware resources and has been widely used in the RF hardware design.

A basic operation process of the RFFE protocol is as follows: the RFFE controller transmits a Sequency Start Condition (SSC), identifies a device to be read from and written to by a User Service Identification (USID), and then writes data and commands and related parity check data to a register of a specified device. The RFFE protocol specifies that a command of the register is executed only after the RFFE controller transmits a control command when all commands and data have been prepared.

In general, after an RFFE trigger signal is generated, the relevant RF device is able to timely complete various commands within the t time interval to avoid damage to the RF device by a RF high-power signal. However, some devices need a relatively long time to implement the switching operation, and the switching operation cannot be timely completed within the predetermined time t, so that the RF high-power signal may arrive before the RF device is ready, which may adversely affect a reliability of the RF device.

SUMMARY

According to a first aspect, an embodiment of the present disclosure provides an information processing method for a RF device, wherein the information processing method is applied to a first RF device and includes: transmitting RFFE data to a second RF device, wherein the RFFE data includes command information to be written to a corresponding register in the second RF device; transmitting an RFFE trigger instruction to the second RF device when transmission of the RFFE data is completed, to enable the second RF device to execute the command information in the register according to the RFFE trigger instruction.

According to a second aspect, an embodiment of the present disclosure further provides an information processing method for a RF device, wherein the information processing method is applied to a second RF device and includes: receiving RFFE data transmitted by a first RF device, wherein the RFFE data includes: command information to be written to a corresponding register in the second RF device; receiving an RFFE trigger instruction transmitted by the first RF device when reception of the REFE data is completed, and executing the command information in the register according to the RFFE trigger instruction.

According to a third aspect, an embodiment of the present disclosure provides a mobile terminal, including: a first transmitting module, configured to transmit RFFE data to a second RF device, wherein the RFFE data includes command information to be written to a corresponding register in the second RF device; a second transmitting module, configured to transmit an RFFE trigger instruction to the second RF device when transmission of the RFFE data is completed, to enable the second RF device to execute the command information in the register according to the RFFE trigger instruction.

According to a fourth aspect, an embodiment of the present disclosure further provides a mobile terminal, including: a first receiving module, configured to receive RFFE data transmitted by a first RF device, wherein the RFFE data includes command information to be written to a corresponding register in the second RF device; a second receiving module, configured to receive an RFFE trigger instruction transmitted by the first RF device when reception of the RFFE data is completed, and execute the command information in the register according to the RFFE trigger instruction.

According to a fifth aspect, an embodiment of the present disclosure further provides a mobile terminal including a processor, a memory, and a computer program stored in the memory and capable of being executed by the processor, wherein the processor is configured to execute the computer program to implement the above-described information processing method for the RF device.

According to a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing therein a computer program, wherein the computer program is configured to be executed by a processor, to implement the above-described information processing method for the RF device.

