System wake-up method, electronic device and computer-readable storage medium
By monitoring the RF front-end control bus in real-time in the RF front-end module and sending wake-up signals based on the signal characteristics of the MIPI RFFE control instructions, the problem of MIPI RFFE control instructions being lost and early wake-up in low-power mode is solved, and the system power consumption is reduced.
Patent Information
- Application Number
- CN202310092771.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-01-16
AI Technical Summary
In wireless communication technology, the system is awakened through clock signals or external interface signals, and changes in MIPI RFFE control instructions cannot be perceived in real time, resulting in partial loss of MIPI RFFE control instructions in low-power mode or early wake-up, increasing system power consumption.
In the low-power state, the RF front-end module monitors the RF front-end control bus in real time, sets preset requirements according to the signal characteristics of the MIPI RFFE control instructions, and sends a wake-up signal to switch the system from the low-power state to the working state or standby state to ensure MIPI RFFE controls the reception and response of instructions.
It reduces the partial loss of MIPI RFFE control instructions, extends the time the system is in low-power mode, and reduces system power consumption.
Smart Images

Figure CN117130671B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a system wake-up method, an electronic device, and a computer-readable storage medium. Background Art
[0002] In electronic devices that use wireless communication technology, in order to extend the battery life of the electronic devices and reduce power consumption, they will enter a low-power mode when signal processing is not required. When communication is required, the system will be woken up, allowing the electronic devices to enter a working mode for communication.
[0003] In the related art, the system is usually awakened by a clock signal or an external interface signal. However, the method of waking up the system by a clock signal or an external interface signal cannot perceive the changes of MIPI RFFE control instructions in real time, which may easily cause the problem of partial loss of MIPI RFFE control instructions in low power mode, or wake up the device in advance, reducing the time the device is in low power state, and increasing system power consumption. Summary of the invention
[0004] The present application provides a system wake-up method, an electronic device, and a storage medium, which can reduce the partial loss of MIPI RFFE control instructions in low power consumption mode, or wake up the system in advance, resulting in increased system power consumption.
[0005] In a first aspect, a system wake-up method is provided, comprising: in a low power consumption state, the RF front-end module monitors the RF front-end control bus in real time; when the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, a wake-up signal is sent to the register state control module; wherein the preset requirements are set according to the signal characteristics of the MIPI RFFE control instruction, and the wake-up signal is used to instruct the register state control module to generate an enable signal to switch the system from the low power consumption state to the working state or the standby state.
[0006] Specifically, the electronic device may monitor the RF front-end control bus in real time through a slave control module (RFFE slave device) of the RF control chip.
[0007] MIPI RFFE control instructions may include a sequence start condition (SSC), a slave address (SA), a data frame, a parity bit, and a bus park cycle (BPC).
[0008] Among them, the command start flag is the first part of the MIPI RFFE control command, indicating the start of the control command.
[0009] Specifically, the wake-up signal is used to instruct the register status control module (control and status register, CSR) to modify the state of the interrupt register, so that the interrupt register sends an enable signal to the subsequent system.
[0010] The above-mentioned post-stage system may specifically be a digital system clock phase locked loop module (phase locked loop, PLL) and a control module.
[0011] When the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it can be determined that the electronic device is receiving the MIPI RFFE control instruction. In order to avoid partial loss of the MIPI RFFE control instruction, a wake-up signal is immediately sent to wake up the system, so that the system enters the working state or standby state, and analyzes and responds to the MIPI RFFE control instruction. This can reduce the partial loss of the MIPI RFFE control instruction, reduce the early wake-up of the system, and reduce the time the system is in low power mode, thereby affecting the system power consumption.
[0012] Specifically, when the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, the RFFE slave device module can send a wake-up signal to the register state control module. When the register state control module receives the wake-up signal, it can modify the state of the interrupt register so that the interrupt register sends an enable signal to the above-mentioned digital system clock phase-locked loop module and control module.
[0013] From the above, it can be seen that when the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it can be determined that the electronic device is receiving the MIPI RFFE control instruction. In order to avoid the partial loss of the MIPI RFFE control instruction, a wake-up signal is sent to wake up the system without relying on the internal clock of the chip, so that the system enters the working state or standby state. This can not only reduce the partial loss of MIPI RFFE control instructions, but also reduce the early wake-up of the system and reduce the time the system is in low power consumption mode, thereby affecting the system power consumption.
[0014] In a possible implementation manner of the first aspect, the preset requirement is set in advance according to the instruction start flag of the MIPI RFFE control instruction.
[0015] When the RFFE slave device of the RF control chip receives a MIPI RFFE control instruction, it will first detect the instruction start flag. Therefore, the embodiment of the present application sets the preset requirements based on the instruction start flag (SSC), that is, the preset requirements can be set in advance according to the SSC characteristics of the MIPI RFFE control instruction.
[0016] In this way, when the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it can be determined that the electronic device is receiving MIPI RFFE control instructions.
[0017] In a specific application, if the RFFE slave device detects that no clock signal is received on the clock signal line, and the signal transmitted on the data signal line meets the characteristics of the instruction start mark, it can be determined that the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements; otherwise, it is determined that the signal characteristics of the signal transmitted by the RF front-end control bus do not meet the preset requirements.
[0018] It is understandable that as long as the RFFE slave device determines that it has received the MIPI RFFE control instruction, the system can be woken up. Therefore, the above preset requirements only need to meet the signal characteristics of the MIPI RFFE control instruction and ensure that the data of the MIPI RFFE control instruction is not lost. Therefore, the above preset requirements can also be set according to the first clock of the MIPI RFFE control instruction (that is, the first pulse received by the clock signal line). That is, when it is detected that the clock signal line outputs the clock signal pulse for the first time, it is determined that the signal characteristics transmitted by the RF front-end control bus meet the preset requirements.
[0019] Of course, in order to improve the accuracy of detection, the above-mentioned preset requirements can also be set according to the SSC characteristics and the first clock of the MIPI RFFE control instruction, that is, when the SSC characteristics are detected and the clock signal line is detected to output the clock signal pulse for the first time, it is determined that the signal characteristics transmitted by the RF front-end control bus meet the preset requirements.
[0020] As long as the system is woken up immediately upon receiving the MIPI RFFE control instruction, the problem of partial loss of MIPI RFFE control instructions can be reduced. This application does not limit the specific content of the preset requirements.
[0021] In a possible implementation manner of the first aspect, the RF front-end control bus includes a clock signal line and a data signal line. Accordingly,
[0022] If no clock signal is received on the clock signal line, and the signal transmitted on the data signal line meets the characteristics of the instruction start mark, it is determined that the signal characteristics of the signal transmitted on the RF front-end control bus meet the preset requirements.
[0023] In a possible implementation manner of the first aspect, when a signal characteristic of a signal transmitted by the RF front-end control bus meets a preset requirement, after sending a wake-up signal to the register state control module, the method further includes:
[0024] After receiving the wake-up signal, the register state control module modifies the state of the interrupt register so that the interrupt register outputs the enable signal.
[0025] When the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, the RFFE slavedevice module can send a wake-up signal to the register state control module. When the register state control module receives the wake-up signal, it can modify the state of the interrupt register so that the interrupt register sends an enable signal to the above-mentioned digital system clock phase-locked loop module and control module.
[0026] In a possible implementation manner of the first aspect, when a signal characteristic of the signal transmitted on the RF front-end control bus meets a preset requirement, after sending a wake-up signal to the register state control module, the method further includes:
[0027] The enable signal is sent to a digital system clock phase-locked loop module, so that the digital system clock phase-locked loop module outputs a clock signal.
[0028] After receiving the enable signal sent by the interrupt register, the digital system clock phase-locked loop module can generate a system-wide clock signal and output a clock control signal for the entire system, that is, start the clock source.
[0029] In a possible implementation manner of the first aspect, when a signal characteristic of the signal transmitted on the RF front-end control bus meets a preset requirement, after sending a wake-up signal to the register state control module, the method further includes:
[0030] The enable signal is sent to the control module, so that the control module enters the gated clock control module configuration process to enable clock gating.
[0031] The above-mentioned control module can be the processor of the above-mentioned electronic device, or the microcontroller (MCU) of the radio frequency control chip (RFIC), and of course it can also be other modules for controlling the working state switching of the electronic device. This application does not make any specific restrictions on this.
[0032] In a possible implementation manner of the first aspect, the wake-up signal is a control level.
[0033] The above-mentioned RFFE slave device module can send a wake-up signal to the register status control module (control and status register, CSR). Specifically, the RFFE slave device module can output a control level to the register status control module (control and status register, CSR). When the register status control module receives the control level, it will modify the state of the interrupt register to enable the interrupt register to output an enable signal.
[0034] In a specific application, the control level may be a high level signal or a low level signal, and may be set according to the actual application, and the present application does not impose any limitation on this.
[0035] In a second aspect, an embodiment of the present application provides an electronic device, including:
[0036] The detection module is used for the RF front-end module to monitor the RF front-end control bus in real time in a low power consumption state;
[0037] A wake-up module, used to send a wake-up signal to the register state control module when the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements;
[0038] Among them, the above-mentioned preset requirements are set according to the signal characteristics of the MIPI RFFE control instructions, and the above-mentioned wake-up signal is used to instruct the register state control module to output an enable signal so that the system switches from the low power consumption state to the working state or the standby state.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any method of the first aspect when executing the computer program.
[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the above-mentioned first aspects is implemented.
[0041] In a fifth aspect, an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any of the above methods in the first aspect. The chip system can be a single chip, or a chip module composed of multiple chips.
[0042] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the above methods in the first aspect.
[0043] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The diagram is a schematic diagram of a system architecture that applies the MIPI RFFE protocol.
[0045] Figure 2 It is a data structure diagram of a MIPI RFFE control instruction.
[0046] Figure 3 This is a schematic diagram of the current implementation process of waking up the system through the GPIO wake-up method.
[0047] Figure 4 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0048] Figure 5 It is a schematic diagram of the implementation flow of a system wake-up method provided in an embodiment of the present application.
[0049] Figure 6 It is a structural diagram of a radio frequency control chip.
[0050] Figure 7 yes Figure 6 The interactive diagram shown is when the RF control chip executes the system wake-up method. DETAILED DESCRIPTION
[0051] It should be noted that the terms used in the implementation methods of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two, "at least one" and "one or more" mean one, two or more than two.
[0052] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, it is defined that the "first" and "second" features may explicitly or implicitly include one or more of the features.
[0053] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0054] Radio frequency front-end modules (FEM) are processing modules that enable electronic devices to receive and send wireless signals. The devices in the RF front-end modules can be controlled by radio frequency integrated circuits (RFIC) to achieve wireless communication functions such as WiFi, Bluetooth, and cellular communications.
[0055] RF front-end modules usually include amplifiers, modems, filters, duplexers, RF switches, receivers / transmitters and other devices.
[0056] Among them, the amplifier is responsible for amplifying the RF signal of the transmitting channel, the modem is responsible for the modulation and demodulation of the RF signal, the filter is responsible for filtering the transmitting and receiving signals, the duplexer is responsible for the duplex switching of the frequency division duplex system and the RF signal filtering of the receiving channel / transmitting channel, the RF switch is responsible for switching between the receiving channel and the transmitting channel, and the receiver / transmitter is used for frequency conversion and channel selection of RF signals.
[0057] The antenna processes the received signal through the RFIC receiving path input of the RF front-end module; the RFIC can also transmit the transmit signal to the antenna through the transmit path of the RF front-end module, and radiate it from the antenna to realize the transmission and reception of wireless signals.
[0058] The mobile industry processor interface (MIPI) protocol is a communication protocol proposed by the mobile industry processor interface (MIPI) Alliance for standardizing communication between various devices in a mobile terminal system.
[0059] The MIPI RF Front-End Interface Standard Protocol (MIPI RFFE Protocol) is a control interface standard for mobile terminal RF front-end control launched by the RF Front-End Working Group of the MIPI Alliance.
[0060] Before the introduction of the MIPI RFFE protocol, the control scheme of the RF front-end module was mainly achieved through parallel general-purpose input / output (GPIO) interfaces, which required many interfaces and made the system difficult to load. In order to reduce the number of interfaces required for the control of the RF front-end module, the MIPI Alliance proposed the MIPI RFFE protocol for the control of RF front-end modules.
[0061] See also Figure 1 , Figure 1 FIG. 4 shows a system architecture using the MIPI RFFE protocol. Figure 1 As shown in the figure, a master control module (RFFE master device) can be mounted on a single RF front-end control bus (MIPI RFFE bus), where the master control module refers to a device used to control the MIPI RFFE bus, which can generally be an RFIC in an electronic device. At the same time, a single MIPI RFFE bus can mount up to 15 slave control modules (RFFE slave devices), where the slave control module refers to a controlled device, which is generally a device in an RF front-end module.
[0062] The MIPI RFFE bus uses two signal lines, one is the clock signal line (SCLK) controlled by the RFFE Master Device, and the other is the unidirectional / bidirectional data signal line (SDATA); in addition, there is an input / output reference voltage line (VIO), and SCLK and SDATA are connected to the bus in parallel. Each slave control module is provided with an input interface of the SCLK signal line, an input / output interface of the SDTA, and a VIO interface to achieve signal synchronization with the master control module.
[0063] See also Figure 2, MIPI RFFE control instructions may include a sequence start condition (SSC), a slave address (SA), a data frame, a parity bit, and a bus park cycle (BPC).
[0064] Among them, the command start flag is the first part of the MIPI RFFE control command, indicating the start of the control command.
[0065] In many electronic devices that use wireless communication technology (such as mobile phones, tablets, wearable devices, etc.), in order to extend battery life and reduce power consumption, they usually enter a low-power mode when not in use. When communication is required, the subsequent load circuit in the electronic device needs to be awakened for communication.
[0066] When communication is required, it is basically achieved by waking up the system through a clock signal or an external interface signal.
[0067] The following uses the low-power wake-up of the general-purpose input / output (GPIO) interface pull-up input external interface signal as an example to illustrate:
[0068] The GPIO interface has an internal pull-down resistor. When there is no signal input, the GPIO interface outputs a low level by default. When a signal is input and the subsequent load circuit of the electronic device needs to be awakened, the GPIO interface outputs a high level.
[0069] See also Figure 3 The low-power wake-up method of the GPIO pull-up input may include the following steps:
[0070] S301: When the register module detects that the output of the CPIO interface is at a high level, the interrupt register is configured to generate a corresponding enable signal.
[0071] S302: Sending an enable signal to the digital system clock phase-locked loop module and the control module respectively to wake up the digital system clock phase-locked loop module and the control module.
[0072] S303: When the digital system clock phase-locked loop module is awakened, it outputs the clock signal of the entire system.
[0073] S304: After the control module is awakened, it enters the interrupt program to configure the registers in the system registers, so that the system is converted from the low power consumption state to the working state or the standby state.
[0074] However, the clock signal wake-up or external interface wake-up method cannot make targeted system wake-up for MIPI RFFE control instructions, which can easily cause the loss of instructions in the low-power state, or wake up the system in advance, reducing the time the system is in low-power mode, thereby affecting the system power consumption.
[0075] In order to solve the above problems, an embodiment of the present application provides a system wake-up method. When the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it is determined that the electronic device is receiving a MIPI RFFE control instruction. In order to avoid partial loss of the MIPI RFFE control instruction, a wake-up signal is immediately sent to wake up the system without relying on the internal clock, so that the system enters a working state or a standby state. This can not only reduce the partial loss of the MIPI RFFE control instruction, but also reduce the early wake-up of the system and reduce the time the system is in low power consumption mode, thereby affecting the system power consumption.
[0076] The system wake-up method provided in the embodiment of the present application will be described in detail below in conjunction with the accompanying drawings. In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are proposed to facilitate a thorough understanding of the embodiment of the present application.
[0077] The execution subject of the above system wake-up method can be an electronic device, for example, it can be a mobile phone, a wearable device (such as a smart watch, a smart bracelet, smart glasses, smart jewelry, etc.), a tablet computer, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) and other electronic devices with network connection function.
[0078] Exemplary embodiments of the electronic device include but are not limited to Devices running Harmony OS or other operating systems. The above-mentioned electronic device may also be other electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel), etc. The embodiments of the present application do not impose any restrictions on the specific type of electronic device.
[0079] Take the above electronic device as a mobile phone as an example. Figure 4 , which is a schematic diagram of the structure of a mobile phone provided in an embodiment of the present application.
[0080] Figure 41 shows a schematic diagram of the structure of a mobile phone 100. The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 11, an antenna 12, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0081] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0082] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0083] The controller may be the nerve center and command center of the mobile phone 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0084] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0085] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuits sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0086] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface to realize the touch function of the mobile phone.
[0087] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to realize the shooting function of the mobile phone. The processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the mobile phone. The MIPI interface can also be applied to RFFE wireless signal processing, that is, the device control in the FEM can be controlled through the MIPI interface.
[0088] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0089] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other mobile phones, such as AR devices, etc.
[0090] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the mobile phone. In other embodiments of the present application, the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0091] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0092] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0093] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on mobile phones. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor modem for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor modem, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0094] The modem processor modem may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0095] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to mobile phones. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0096] In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).
[0097] In the absence of wireless communication, the mobile phone can be in a low power consumption state (sleep state). After receiving the control command, the mobile phone system is awakened, so that the mobile phone system is in a working state (active state) or a standby state.
[0098] In an embodiment of the present application, in order to reduce the situation where the mobile phone partially loses MIPI RFFE control instructions when it is in a low power consumption state, it is possible to determine whether the MIPI RFFE control instruction is input by detecting the characteristic part of the MIPI RFFE control instruction, and send a wake-up signal to wake up the system without relying on the internal clock signal, so that the system switches from a low power consumption state to a working state or a standby state.
[0099] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oled, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0100] A series of graphical user interfaces (GUIs) can be displayed on the display screen 194 of the mobile phone, and these GUIs are the main screen of the mobile phone. Generally speaking, the size of the display screen 194 of the mobile phone is fixed, and only limited controls can be displayed on the display screen 194 of the mobile phone. A control is a GUI element, which is a software component included in an application. It controls all data processed by the application and the interactive operations on these data. Users can interact with the control through direct manipulation to read or edit the relevant information of the application. Generally speaking, a control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0101] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0102] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. For example, in this embodiment, the processor 110 can generate a geographic fence by executing the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area may store data created during the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0103] The SIM card interface 195 is used to connect the SIM card. The SIM card can be connected to and separated from the mobile phone by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The mobile phone interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the mobile phone uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the mobile phone and cannot be separated from the mobile phone.
[0104] The execution subject of the system wake-up method provided in the embodiment of the present application may be the above-mentioned electronic device. The system wake-up method provided in the embodiment of the present application is described below in conjunction with the accompanying drawings.
[0105] See also Figure 5 , is a schematic diagram of the implementation flow of the system wake-up method provided in the embodiment of the present application. Figure 5 As shown, the above system wake-up method may specifically include the following steps:
[0106] S501: In a low power consumption state, real-time monitoring of the RF front-end control bus.
[0107] In an embodiment of the present application, the above-mentioned RF front-end control bus (MIPI RFFE bus) may include a clock signal line (SCLK) and a data signal line (SDATA).
[0108] In the embodiment of the present application, the electronic device may monitor the clock signal line and the data signal line in real time through a slave control module (RFFEslave device) in the radio frequency control chip.
[0109] In a specific application, the clock signal line can output a clock control signal, and the data signal line can realize data transmission between the main control module and the slave control module.
[0110] MIPI RFFE control instructions can be transmitted through the above clock signal line (SCLK) and the above data signal line (SDATA). For details about the data structure of MIPI RFFE control instructions, please refer to Figure 2 To avoid repetition, the relevant instructions are not elaborated here.
[0111] S502: Detect whether the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements. If so, execute S503; otherwise, continue to execute S501.
[0112] In specific applications, the above preset requirements are set according to the signal characteristics of the MIPI RFFE control instruction. As long as it is detected that the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, the control module can determine that the signal received by the electronic device is a MIPI RFFE control instruction.
[0113] In specific applications, MIPI RFFE control instructions may include a sequence start condition (SSC), a slave address (SA), a data frame, a parity bit, and a bus park cycle (BPC).
[0114] Among them, the command start flag is the first part of the MIPI RFFE control command, indicating the start of the control command.
[0115] When the RF front-end module receives a MIPI RFFE control instruction from the control module, the instruction start flag will be detected first. Therefore, the embodiment of the present application sets the preset requirements based on the instruction start flag (SSC), that is, the preset requirements can be set in advance according to the SSC characteristics of the MIPI RFFE control instruction.
[0116] In this way, when the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it can be determined that the electronic device is receiving MIPI RFFE control instructions.
[0117] In a specific application, if the control module detects that no clock signal is received on the clock signal line, and the signal transmitted on the data signal line meets the characteristics of the instruction start mark, it can be determined that the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements; otherwise, it is determined that the signal characteristics of the signal transmitted by the RF front-end control bus do not meet the preset requirements.
[0118] It is understandable that the system can be awakened as long as the control module determines that a MIPI RFFE control instruction is received. Therefore, the above preset requirements only need to meet the signal characteristics of the MIPI RFFE control instructions and ensure that the data of the MIPI RFFE control instructions is not lost. Therefore, the above preset requirements can also be set according to the first clock of the MIPI RFFE control instruction (that is, the first pulse received by the clock signal line). That is, when it is detected that the clock signal line outputs the clock signal pulse for the first time, it is determined that the signal characteristics transmitted by the RF front-end control bus meet the preset requirements.
[0119] Of course, in order to improve the accuracy of detection, the above-mentioned preset requirements can also be set according to the SSC characteristics and the first clock of the MIPI RFFE control instruction, that is, when the SSC characteristics are detected and the clock signal line is detected to output the clock signal pulse for the first time, it is determined that the signal characteristics transmitted by the RF front-end control bus meet the preset requirements.
[0120] As long as the system is woken up immediately upon receiving the MIPI RFFE control instruction, the problem of partial loss of MIPI RFFE control instructions can be reduced. This application does not limit the specific content of the preset requirements.
[0121] S503: Send a wake-up signal to the register state control module.
[0122] The wake-up signal is used to instruct the register status control module (control and status register, CSR) to modify the state of the interrupt register so that the interrupt register sends an enable signal to the subsequent system.
[0123] In a specific application, a wake-up signal is sent to the register state control module via the RFFE slave device in the RF control chip.
[0124] The above-mentioned post-stage system may specifically be a digital system clock phase locked loop module (phase locked loop, PLL) and a control module.
[0125] The above-mentioned control module can be the processor of the above-mentioned electronic device, or the microcontroller (MCU) of the radio frequency control chip (RFIC), and of course it can also be other modules for controlling the working state switching of the electronic device. This application does not make any specific restrictions on this.
[0126] In the low power state, when receiving the MIPI RFFE control instruction, the slavedevice inside the RF control chip can generate a control level to the CSR module without relying on the internal clock of the chip. The CSR module configures the interrupt register, and then configures the system's internal clock and other information to wake up the internal clock source and control module (taking the MCU as an example). After the MCU is awakened, the registers of the internal system of the entire RF control chip can be configured, so that the system switches from a low power state to a working state, and further processes the acquired information, reducing the partial loss of MIPI RFFE control instructions. At the same time, it can also reduce the situation where the system power consumption increases due to waking up the system in advance.
[0127] When the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, it can be determined that the slave control module is receiving the MIPI RFFE control instruction. In order to avoid partial loss of the MIPI RFFE control instruction, it is necessary to wake up the system immediately so that the system enters the working state and analyzes and responds to the MIPI RFFE control instruction. Therefore, the RFFEslave device sends a wake-up signal to the register state control module so that the register state control module modifies the state of the interrupt register so that the interrupt register outputs an enable signal.
[0128] In specific applications, when the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, the RFFE slave device module can send a wake-up signal to the register state control module. When the register state control module receives the wake-up signal, it can modify the state of the interrupt register so that the interrupt register sends an enable signal to the above-mentioned digital system clock phase-locked loop module and control module.
[0129] After receiving the enable signal sent by the interrupt register, the digital system clock phase-locked loop module can generate a system-wide clock signal and output a clock control signal for the entire system.
[0130] After receiving the enable signal sent by the interrupt register, the above control module can enter the configuration process of the gated clock control module (SYS_ctrl) and configure the registers in the system register to turn on the clock gating so that other functional modules can start working normally, that is, the system can be converted from a low-power state (sleep state) to a working state (active state) or a standby state (startup state).
[0131] In a specific application, the RFFE slave device module can send a wake-up signal to a register status control module (control and status register, CSR). Specifically, the RFFE slave device module can output a control level to a register status control module (control and status register, CSR). When the register status control module receives the control level, it modifies the state of the interrupt register to enable the interrupt register to output an enable signal.
[0132] In a specific application, the control level may be a high level signal or a low level signal, and may be set according to the actual application, and the present application does not impose any limitation on this.
[0133] In a specific application, the enable signal output by the interrupt register may also be a high-level signal or a low-level signal, which may be set according to the actual application, and the present application does not impose any limitation on this.
[0134] For example, see Figure 6 , Figure 6 Figure 1 is a schematic diagram of the structure of the RF control chip. Figure 6 As shown, the above-mentioned radio frequency control chip (RFIC) 60 may include a slave control module (RFFE slave device) 61, a register status control module (control and status register, CSR) 62, a digital system clock phase locked loop module (phase locked loop, PLL) 63, a control module 64, a gated clock module (SYS_ctrl) 65 and a functional module 66.
[0135] The slave control module 61 is connected to the clock signal line (SCLK) and the data signal line (SDATA), and determines whether the MIPI RFFE control instruction is received by detecting the signal on the clock signal line (SCLK) and the signal on the data signal line (SDATA), and sends a wake-up signal to the interrupt register of the register state control module 62 when it is determined that the MIPI RFFE control instruction is received. After receiving the wake-up signal, the register state control module 62 can output an enable signal, which is used to wake up the digital system clock phase-locked loop module 63 and the control module 64.
[0136] The slave control module 61 may be connected to the register control module 62 , the register control module 62 may be connected to the digital system clock phase-locked loop module 63 and the control module 64 , respectively, and the control module 64 may be connected to the gated clock module 65 and the functional module 66 , respectively.
[0137] See also Figure 7 , Figure 7 for Figure 6 The schematic interaction process of each module when executing the system wake-up method.
[0138] like Figure 7 As shown, the above system wake-up method may include the following steps:
[0139] S701: Detect the signals transmitted on the clock signal line and the data signal line in real time from the control module.
[0140] The slave control module is connected to the clock signal line SCLK through the CLK pin and to the data signal line SDATA through the DATA pin, so that it can receive signals transmitted on the clock signal line SCLK and the data signal line SDATA, and can perform real-time detection of the signals transmitted on the clock signal line and the data signal line to detect whether the MIPI RFFE control instructions are received.
[0141] S702: When the slave control module detects that the signal transmitted on the clock signal line and the signal transmitted on the data signal line meet preset requirements, the slave control module sends a wake-up signal to the register state control module.
[0142] In a specific application, the slave control module may output a high level signal to the register state control module, or may output a low level signal to the register state control module, which may be specifically set according to the actual application.
[0143] S703: After receiving the wake-up signal, the register state control module modifies the state of the interrupt register so that the interrupt register sends an enable signal to the digital system clock phase-locked loop module.
[0144] The register status control module can modify the status of the terminal register to 0 or 1, which can be specifically set according to the actual application.
[0145] After the register state control module modifies the state of the interrupt register, the interrupt register will output a corresponding enable signal, and the digital system clock phase-locked loop module is awakened by the enable signal.
[0146] S704: After receiving the wake-up signal, the register state control module modifies the state of the interrupt register so that the interrupt register sends an enable signal to the control module.
[0147] After the register status control module modifies the status of the interrupt register, the interrupt register will output a corresponding enable signal, and the control module is awakened by the enable signal.
[0148] Here, the execution order of the above S703 and the above S704 can be to execute S703 first and then execute S704; or, execute S704 first and then execute S703; or, execute S703 and S704 at the same time, and this application does not make any specific restrictions on this.
[0149] S705: After receiving the enable signal, the digital system clock phase-locked loop module generates an overall clock signal.
[0150] S706: After receiving the enable signal, the control module enters the configuration process of the gated clock control module, configures the registers in the system registers to enable clock gating, and enables the functional module to enter the working state or the standby state.
[0151] Similarly, the execution order of the above S705 and the above S706 can be to execute S705 first and then execute S706; or, execute S706 first and then execute S705; or, execute S705 and S706 at the same time, and this application does not make any specific restrictions on this.
[0152] The above functional modules may be amplifiers, modems, filters, duplexers, RF switches, receivers / transmitters and other modules.
[0153] Compared to Figure 3 The method shown in the figure is to wake up the system by pulling up the output level of the GPIO interface. Figure 7 The system wake-up method shown saves the GPIO interface and can wake up the system immediately when a MIPI RFFE control instruction is detected, thereby reducing the situation where the MIPI RFFE control instruction is partially lost. It can also reduce the situation where the system is woken up in advance before the MIPI RFFE control instruction is received, resulting in increased system power consumption.
[0154] It is understandable that the electronic device can set multiple wake-up methods at the same time. The electronic device can wake up the system through the GPIO wake-up method, the clock wake-up method, or the wake-up method provided in the embodiment of the present application by detecting the signal characteristics of MIPI RFFE to wake up the system, thereby realizing the sensing of MIPI RFFE antenna tuning characteristics, intelligent wake-up of antenna scenes, and intelligent state switching in tuning scenes.
[0155] From the above, it can be seen that the system wake-up method provided in the embodiment of the present application, when the signal characteristics transmitted by the RF front-end control bus meet the preset requirements, determines that the slave control module is receiving MIPI RFFE control instructions. In order to avoid partial loss of the MIPI RFFE control instructions, a wake-up signal will be immediately sent to wake up the system, so that the system enters a working state or a standby state. This can solve the current problem of partial loss of MIPI RFFE control instructions in low power consumption mode, or it is necessary to wake up the system in advance to reduce the time the system is in low power consumption mode, thereby affecting the system power consumption.
[0156] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.
[0157] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.
[0158] The embodiment of the present application further provides a chip system including instructions. When the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.
[0159] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
[0160] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0161] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A system wake-up method, characterized in that: include: Real-time monitoring of the RF front-end control bus in low power consumption state; When the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, a wake-up signal is sent to the register state control module; Among them, the above-mentioned preset requirements are set according to the signal characteristics of the MIPI RFFE control instructions, and the above-mentioned wake-up signal is used to instruct the register state control module to output an enable signal so that the system switches from the low power consumption state to the working state or the standby state.
2. The system wake-up method according to claim 1, characterized in that: The preset requirement is set in advance according to the instruction start flag of the MIPIRFFE control instruction.
3. The system wake-up method according to claim 2, characterized in that: The RF front-end control bus includes a clock signal line and a data signal line. Accordingly, If no clock signal is received on the clock signal line, and the signal transmitted on the data signal line meets the characteristics of the instruction start mark, it is determined that the signal characteristics of the signal transmitted on the RF front-end control bus meet the preset requirements.
4. The system wake-up method according to claim 1, characterized in that: When the signal characteristics of the signal transmitted by the RF front-end control bus meet the preset requirements, after sending the wake-up signal to the register state control module, the method further includes: After receiving the wake-up signal, the register state control module modifies the state of the interrupt register so that the interrupt register outputs the enable signal.
5. The system wake-up method according to claim 1, characterized in that: When the signal characteristic of the signal transmitted on the RF front-end control bus meets the preset requirement, after sending the wake-up signal to the register state control module, the method further includes: The enable signal is sent to a digital system clock phase-locked loop module, so that the digital system clock phase-locked loop module outputs a clock signal.
6. The system wake-up method according to claim 1, characterized in that: When the signal characteristic of the signal transmitted on the RF front-end control bus meets the preset requirement, after sending the wake-up signal to the register state control module, the method further includes: The enable signal is sent to the control module, so that the control module enters the gated clock control module configuration process to enable clock gating.
7. The system wake-up method according to any one of claims 1 to 6, characterized in that: The wake-up signal is a control level.
8. The system wake-up method according to claim 7, characterized in that: The control level is a high level or a low level.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the processor and the memory are coupled, and the memory is used to store a computer program. When the processor executes the computer program, the electronic device executes the steps of the method described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is run on a computer, the computer is caused to execute the steps of the method according to any one of claims 1 to 8.
11. A chip, characterized in that: The chip comprises a processor, the processor is coupled to a memory, the memory is used to store computer program instructions, when the processor executes the computer program instructions, the chip executes the steps of the method according to any one of claims 1 to 8.
