Signal processing method and related device
By waking up the RF control chip based on the signal generated by the cellular module in the RF control system, the problem of high delay and power consumption of electronic devices when achieving antenna tuning is solved, and the coordinated work of fast response and low power consumption is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202311649620.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2043-12-01
AI Technical Summary
In scenarios such as mobile communication, Bluetooth, Wi-Fi networks, electronic devices have large delays and high power consumption when implementing functions such as antenna tuning or controlling antenna switching, which reduces the user experience.
By waking up the radio frequency control chip based on the signals generated by the cellular module in the radio frequency control system, the operating state of the cellular module is sensed in real time. The RF control chip enters a low-power sleep mode when it is idle, reducing the power consumption of electronic devices, and quickly wakes up the RF control chip according to the working state of the cellular module.
It realizes rapid response when the cellular module is working, and works in concert with the cellular module, improving the user experience and reducing the power consumption of electronic devices.
Smart Images

Figure CN120129030A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technologies, and in particular, to a signal processing method and related devices. Background Art
[0002] In scenarios such as mobile communication, Bluetooth, and Wi-Fi networks, electronic devices need to implement functions such as antenna tuning or controlling antenna switching.
[0003] However, in some scenarios, when an electronic device implements functions such as antenna tuning or controlling antenna switching, there is a large delay and high power consumption, which reduces the user experience. Summary of the Invention
[0004] The signal processing method and related devices provided in the embodiments of this application can use the signal generated based on the cellular module in the radio frequency control system to wake up the radio frequency control chip, so as to perceive the working state of the cellular module in real time.
[0005] In a first aspect, the signal processing method provided in the embodiments of this application is applied to an electronic device, which includes a first chip and a second chip, and both the first chip and the second chip are used to process cellular services. The method includes:
[0006] When the first chip is in a sleep state and the second chip is also in a sleep state, the electronic device receives a cellular service; wakes up the first chip, and wakes up the second chip based on the signal generated by the first chip. In this way, the radio frequency control chip can enter a low-power sleep mode when idle, reducing the power consumption of the electronic device. It can also quickly wake up the radio frequency control chip according to the working state of the cellular module, enabling the radio frequency control chip to not only reduce power consumption but also respond in a timely manner when the cellular module is working and cooperate with the cellular module.
[0007] In a possible implementation, the signal generated based on the first chip includes a clock signal with a first frequency provided for the first chip. In this way, the radio frequency control chip can be quickly woken up when receiving the cellular clock signal with the first frequency, so as to respond in a timely manner when the cellular module is working and cooperate with the cellular module, improving the user experience.
[0008] In a possible implementation, the signal generated based on the first chip includes a power supply signal that powers the first chip. In this way, the radio frequency control chip can be quickly woken up when receiving the power supply signal from the PMU, so as to respond in a timely manner when the cellular module is working and cooperate with the cellular module.
[0009] In a possible implementation, the signal generated based on the first chip includes the general-purpose input / output GPIO signal of the first chip. In this way, the radio frequency control chip can be quickly woken up when receiving the GPIO signal of the cellular module, so as to respond in a timely manner when the cellular module is working.
[0010] In a possible implementation, after waking up the second chip, it further includes: the second chip obtains a clock signal with a second frequency and processes cellular services based on the clock signal with the second frequency, where the second frequency is the same as or different from the first frequency. In this way, the second chip will not be unable to continue business processing because it fails to obtain the clock signal with the first frequency, and the second chip can continue to use the clock signal with the second frequency for business processing, improving the user experience.
[0011] In a possible implementation, the electronic device further includes an application processor AP and a clock generation circuit CKG. CKG is used to provide a clock signal with a first frequency for the first chip. Before the second chip obtains the clock signal with the second frequency, it further includes: the second chip transmits a first instruction to the AP, and the first instruction is used to instruct the second chip to request the clock signal with the second frequency from the CKG; the AP, based on the first instruction, instructs the CKG to provide the clock signal with the second frequency to the second chip; the second chip obtaining the clock signal with the second frequency includes: the second chip obtains the clock signal with the second frequency from the CKG. In this way, when the second chip fails to obtain the clock signal with the first frequency, the second chip can still continue to use the clock signal with the second frequency for business processing.
[0012] In a possible implementation, a crystal oscillator is included in the second chip. The second chip obtaining the clock signal with the second frequency includes: the second chip obtains the clock signal with the second frequency from the crystal oscillator. In this way, when the second chip fails to obtain the clock signal with the first frequency, the second chip can still continue to use the clock signal generated by the crystal oscillator for business processing, improving the user experience.
[0013] In a possible implementation, the method further includes: in the case where the first chip is in a sleep state, the second chip enters the sleep state based on the sleep signal of the first chip. In this way, business processing based on the sleep signal of the first chip can reduce the process of obtaining the clock signal with the second frequency from the CKG or the crystal oscillator and simplify the execution flow of the code.
[0014] In a possible implementation, the sleep signal of the first chip includes one or more of the following: the second chip fails to obtain the clock signal with the first frequency provided for the first chip, the second chip fails to obtain the power signal for supplying power to the first chip, or the second chip fails to obtain the general-purpose input / output GPIO signal of the first chip. In this way, business processing based on the sleep signal of the first chip can simplify the execution flow of the code and reduce the process of obtaining the clock signal with the second frequency from the CKG or the crystal oscillator.
[0015] In a possible implementation, the method further includes: when the first chip is in a sleep state, the second chip obtains the signal that the first chip is in a sleep state and does not enter the sleep state. In this way, when the first chip stops working, the second chip can continue to process services, ensuring the continuity of services and improving the user experience.
[0016] In a possible implementation, the second chip is further configured to process Global Navigation Satellite System (GNSS) services and Wireless Fidelity (Wi-Fi) network services. After the second chip is awakened, it further includes: when the second chip is processing services, the second chip is in an Active state; when the second chip is not processing services, the second chip is in a Standby state. In this way, it can not only reduce the power consumption of the second chip, but also maintain the timely response of service processing, improving the user experience.
[0017] In a second aspect, an embodiment of the present application provides a signal processing device, which may be an electronic device, or a chip or a chip system inside the electronic device. The device may include a processing unit. The processing unit is configured to implement any method related to processing performed by the electronic device in the first aspect or any possible implementation manner of the first aspect. When the device is an electronic device, the processing unit may be a processor. The device may further include a storage unit, which may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit so that the electronic device implements the method described in the first aspect or any possible implementation manner of the first aspect. When the device is a chip or a chip system inside the electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit so that the electronic device implements the method described in the first aspect or any possible implementation manner of the first aspect. The storage unit may be a storage unit inside the chip (for example, registers, caches, etc.), or a storage unit outside the chip and inside the electronic device (for example, read-only memory, random access memory, etc.).
[0018] Exemplarily, the processing unit is configured to obtain cellular services and is further configured to wake up the first chip, and specifically further includes waking up the second chip based on a signal generated by the first chip.
[0019] In a possible implementation manner, the signal generated by the first chip includes a clock signal with a first frequency provided for the first chip.
[0020] In a possible implementation manner, the signal generated by the first chip includes a power supply signal for supplying power to the first chip.
[0021] In a possible implementation manner, the signal generated by the first chip obtained by the processing unit includes a General-Purpose Input / Output (GPIO) signal of the first chip.
[0022] In one possible implementation, a processing unit is configured to obtain a clock signal with a second frequency and further process cellular services based on the clock signal with the second frequency.
[0023] In one possible implementation, a processing unit is configured to transmit a first instruction to an AP, further instruct a CKG to provide a clock signal with a second frequency to a second chip, and specifically obtain the clock signal with the second frequency from the CKG.
[0024] In one possible implementation, a processing unit is configured to obtain a clock signal with a second frequency from a crystal oscillator.
[0025] In one possible implementation, a processing unit is configured to enter a sleep state based on a signal indicating that the first chip is in a sleep state.
[0026] In one possible implementation, the signal indicating that the first chip is in a sleep state includes one or more of the following: the second chip cannot obtain a clock signal with a first frequency provided for the first chip, the second chip cannot obtain a power signal for supplying power to the first chip, or the second chip cannot obtain a general-purpose input / output (GPIO) signal of the first chip.
[0027] In one possible implementation, a processing unit is configured to obtain a signal indicating that the first chip is in a sleep state, and the second chip does not enter a sleep state.
[0028] In one possible implementation, a processing unit is configured to be in an Active state and further in a Standby state.
[0029] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory is configured to store code instructions, and the processor is configured to run the code instructions to execute the method described in the first aspect or any possible implementation of the first aspect.
[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program runs on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation of the first aspect.
[0032] Sixth aspect, the present application provides a chip or a chip system, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a circuit. The at least one processor is configured to run a computer program or instruction to execute the method described in the first aspect or any possible implementation manner of the first aspect. Among them, the communication interface in the chip can be an input / output interface, a pin, a circuit, etc.
[0033] In a possible implementation, the chip or chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory can be a storage unit inside the chip, such as a register, a cache, etc., or it can also be a storage unit of the chip (such as a read-only memory, a random access memory, etc.).
[0034] It should be understood that the second aspect to the sixth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, and will not be elaborated here. Description of the Drawings
[0035] Figure 1 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0036] Figure 2 It is a schematic diagram of a wake-up radio frequency control chip provided by an embodiment of the present application;
[0037] Figure 3 It is a schematic diagram of a cellular clock signal wake-up radio frequency control chip provided by an embodiment of the present application;
[0038] Figure 4 It is a schematic diagram of a power signal wake-up radio frequency control chip provided by an embodiment of the present application;
[0039] Figure 5 It is a schematic diagram of a GPIO signal wake-up radio frequency control chip of a cellular module provided by an embodiment of the present application;
[0040] Figure 6 It is a schematic diagram of the state machine mode switching of a radio frequency control chip provided by an embodiment of the present application;
[0041] Figure 7 It is a signal timing diagram of using a cellular clock signal to wake up a radio frequency control chip provided by an embodiment of the present application;
[0042] Figure 8 It is a signal timing diagram of using a power signal or a GPIO signal of a cellular module to wake up a radio frequency control chip provided by an embodiment of the present application;
[0043] Figure 9Schematic diagram of a signal processing method provided by an embodiment of the present application;
[0044] Figure 10 Schematic diagram of the structure of a chip provided by an embodiment of the present application. Detailed implementation manners
[0045] For the convenience of clearly describing the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:
[0046] 1. Antenna tuning: As the attitude of an electronic device changes, etc., the strength of the signal received by the antenna will vary. To receive a stronger signal, the electronic device can switch the antenna state so that the antenna can receive a signal in a certain direction strongly within a certain frequency band. This process can be called antenna tuning. Among them, an antenna with a predetermined directivity can be called a tuned antenna.
[0047] 2. State machine mode of the chip: The state machine mode of the chip can include an Active state, a Standby state, a Deep Sleep state, a Power off state, etc.
[0048] Active state: The Active state can be understood as an active state. When an electronic device or system is performing a task, it can be in the Active state. At this time, the electronic device or system will consume more energy to complete the task. For example, in the embodiments of the present application, when the radio frequency control chip has a high-frequency clock input and there is service processing, the radio frequency control chip can be in the Active state.
[0049] In the embodiments of the present application, the high-frequency clock can be understood as a clock that can make the radio frequency control chip be in the Active state or the Standby state. The high-frequency clock can also be called a high-precision clock. For example, the high-frequency clock can include a 76.8 MHz clock or a 38.4 MHz clock, etc. For the convenience of description, the 38.4 MHz clock will be used as an example for subsequent description.
[0050] Standby state: The Standby state can be understood as a standby state. At this time, the electronic device or system is in an on state but not performing a task. When the electronic device or system is in the Standby state, it can maintain a certain energy consumption to be ready to perform a task at any time. For example, in the embodiments of the present application, when the radio frequency control chip has a high-precision clock input but there is no service processing, the radio frequency control chip can be in the Standby state.
[0051] Deep Sleep state: Deep Sleep state can be understood as a dormant state or a deep dormant state, in which the electronic device or system can suspend all unnecessary activities to save power consumption. For example, in the embodiment of the present application, when the RF control chip does not have a high-precision clock input but has a low-frequency clock input, the RF control chip can be in the Deep Sleep state.
[0052] In the embodiment of the present application, the low-frequency clock can be understood as a clock that can put the RF control chip into a Deep Sleep state. The low-frequency clock can also be called a low-precision clock. For example, the low-frequency clock can include a 32KHz clock, etc.
[0053] Power off state: The Power off state can be understood as a power off state. In the embodiment of the present application, when the electronic device is turned off or the RF control chip has an abnormality and needs to be restarted, the RF control chip can be in the Power off state.
[0054] 3. PLL: Phase-locked loop (PLL), a frequency and phase synchronization technology that uses the principle of feedback control. Its function is to synchronize the clock output by the circuit with its external reference clock. When the frequency or phase of the reference clock changes, the phase-locked loop will detect this change and adjust the output frequency through its internal feedback system until the two are synchronized again. This synchronization can be called phase lock.
[0055] 4. Terminology
[0056] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0057] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0058] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the relationship between associated objects and indicates that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, or B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (item)" or a similar expression thereof refers to any combination of these items, including any combination of a single item or plural items. For example, at least one (item) of a, b, or c may mean: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple.
[0059] 5. Electronic device
[0060] The electronic device in the embodiments of the present application may also be a terminal device in any form. For example, the electronic device may include: mobile phone, tablet computer, handheld computer, laptop computer, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented reality (AR) device, wireless terminal in industrial control, wireless terminal in self - driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, vehicle - mounted device, wearable device, electronic device in a 5G network, or electronic device in a future - evolved public land mobile network (PLMN), etc. The embodiments of the present application are not limited thereto.
[0061] By way of example and not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. A wearable device, also known as a wearable intelligent device, is a general term for devices developed by applying wearable technologies to the intelligent design of daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is either directly worn on the body or integrated into the user's clothing or accessories. A wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can realize complete or partial functions without relying on a smart phone, such as smart watches or smart glasses, etc., and those that only focus on a certain type of application function and need to cooperate with other devices such as smart phones, such as various smart bracelets and smart jewelry for physical sign monitoring.
[0062] In addition, in the embodiments of the present application, the electronic device may also be an electronic device in an Internet of Things (IoT) system. The IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technologies, thereby realizing an intelligent network of human-machine interconnection and object-object interconnection.
[0063] The electronic device in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile platform, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device, etc.
[0064] In the embodiments of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also known as main memory). The operating system can be any one or more computer operating systems that implement service processing through processes, such as the Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system, etc. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software.
[0065] Exemplarily, Figure 1 shows a schematic structural diagram of the electronic device.
[0066] The electronic device 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 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, 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, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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.
[0067] It can be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented by hardware, software, or a combination of software and hardware.
[0068] 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 processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
[0069] In the embodiments of the present application, the AP may also be referred to as the main platform. The AP can communicate with a power management unit (PMU), a communication device module, and / or a clock generation circuit (CKG). The AP may further include a low-power sensor hub. It can be understood that when the electronic device's screen is off, the AP may enter a sleep state, while the sensor hub can operate with low power consumption.
[0070] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the above-mentioned memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0071] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), and / or a general-purpose input / output (GPIO) interface, etc.
[0072] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are only illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods or a combination of multiple interface connection methods in the above embodiments.
[0073] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc. The data storage area can store data created during the use of the electronic device, etc. In addition, the internal memory 121 can include high-speed random access memory, and can also include 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 electronic device by running the instructions stored in the internal memory 121, and / or the instructions stored in the memory provided in the processor.
[0074] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas.
[0075] The mobile communication module 150 can provide solutions for mobile communications including 2G / 3G / 4G / 5G, etc. applied to the electronic device. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by Antenna 1, and perform processing such as filtering and amplification on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. In the embodiments of the present application, the mobile communication module 150 can also be referred to as a radio frequency control system, and the radio frequency control system can include a power management unit PMU, a communication device module, a clock generation circuit CKG, and / or a radio frequency control chip, etc.
[0076] The communication device module can be used to perform related services for mobile communications including 2G / 3G / 4G / 5G, etc., and the communication device module can also be referred to as a communication device chip, a cellular module, or a cellular chip, etc. For the convenience of description, the cellular module will be used as an example for subsequent description. The power management unit PMU can also be referred to as a power control module, and can provide power for the cellular module; the clock generation circuit CKG can provide a clock for the cellular module.
[0077] The radio frequency control chip can work in cooperation with the cellular module to implement services related to mobile communication, Bluetooth, Wi-Fi networks, etc. The radio frequency control chip can also be referred to as a radio frequency chiplet or a functional chip. The radio frequency control chip may include a counter Timer wake-up source and / or an RC oscillator (resistor-capacitor oscillator, RCO) clock, etc. Among them, the Timer wake-up source can wake up the radio frequency control chip regularly according to service needs, and the RCO clock can be used to provide a 32KHz clock when the radio frequency control chip is in the Deep Sleep state.
[0078] The wireless communication module 160 can provide solutions for wireless communications applied to electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0079] 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 an antenna, frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signals to be sent from the processor 110, frequency-modulate them, amplify them, and convert them into electromagnetic waves through the antenna for radiation.
[0080] In scenarios such as mobile communication, Bluetooth, and Wi-Fi networks, the electronic device requires the radio frequency control chip to implement functions such as antenna tuning or antenna switching control, which makes the radio frequency control chip need to be in the wake-up state to perform related tasks such as antenna tuning.
[0081] To reduce the power consumption of the electronic device, the radio frequency control chip may sometimes be in the Deep Sleep state, and the electronic device can wake up the radio frequency control chip through methods such as GPIO wake-up source 1, GPIO wake-up source 2, GPIO wake-up source 3, and / or Timer wake-up source.
[0082] Such as Figure 2As shown in the figure, in a possible scenario of waking up the RF control chip through GPIO wakeup source 1, when the electronic device is turned off and still needs to perform signal scanning, the electronic device needs to provide signal scanning services through the RF control chip. Since the AP and the RF control chip may be in a dormant state after the electronic device is turned off, but the sensor hub can maintain low power consumption, at this time, the sensor hub can wake up the RF control chip through GPIO wakeup source 1.
[0083] In a possible scenario of waking up the RF control chip through GPIO wake-up source 2, when the phone screen is on, the AP is in working state, but the RF control chip may be in sleep state. At this time, the AP can wake up the RF control chip through GPIO wake-up source 2 and interact with the RF control chip. For example, when the posture of an electronic device changes, the strength of the signal received by the electronic device may weaken. The AP can send information such as the posture of the electronic device to the RF control chip, and the RF control chip can adjust the antenna state according to information such as the posture of the electronic device, so that the electronic device can receive a stronger signal.
[0084] In a possible scenario of waking up the RF control chip through GPIO wake-up source 3, when the electronic device needs the RF control chip to process GNSS, Wi-Fi network and other services, the RF control chip can be woken up through GPIO wake-up source 3, and then the RF control chip can adjust the antenna status through relevant information such as GNSS, Wi-Fi network, so that the electronic device can receive a stronger signal.
[0085] In addition, the Timer wake-up source can also wake up the RF control chip at a fixed time according to business needs.
[0086] It is understandable that in the hardware circuit of the cellular module, some functions can be controlled by the RF control chip, such as controlling antenna switching, etc. This means that when the cellular module is working, the RF control chip also needs to work together to achieve related functions such as antenna switching.
[0087] For example, a user can play a game while connected to a Wi-Fi network and use a Bluetooth headset for voice communication. In some implementations, Wi-Fi network communication and Bluetooth communication can share an antenna, which may result in poor Bluetooth headset call quality and / or game screen freezes due to poor Wi-Fi network.
[0088] When the radio frequency control chip determines that the user mainly uses Wi-Fi network communication and Bluetooth communication during gaming and has a low requirement for mobile communication, the radio frequency control chip can use the antenna for mobile communication for Wi-Fi network communication or Bluetooth communication. In this way, Wi-Fi network communication and Bluetooth communication can use their respective antennas, improving the call quality of the Bluetooth headset and / or the smoothness of the game screen, thereby enhancing the user experience.
[0089] However, in a possible scenario, when the cellular module is working, the radio frequency control chip may be in a sleep state, and the above-mentioned wake-up methods such as GPIO wake-up source 1, GPIO wake-up source 2, GPIO wake-up source 3, and / or Timer wake-up source cannot wake up the radio frequency control chip in a timely manner according to the working state of the cellular module, resulting in a delay in the radio frequency control chip when implementing the related functions of antenna switching and affecting the user experience. If the radio frequency control chip is always in a working state, the power consumption of the electronic device will be relatively high.
[0090] In view of this, the signal processing method provided in the embodiments of the present application can use the signal generated based on the cellular module in the radio frequency control system to wake up the radio frequency control chip, thereby real-time sensing the working state of the cellular module. In this way, the radio frequency control chip can enter the low-power sleep mode when idle, reducing the power consumption of the electronic device, and can also quickly wake up the radio frequency control chip according to the working state of the cellular module, enabling the radio frequency control chip to not only reduce power consumption but also respond in a timely manner when the cellular module is working and cooperate with the cellular module.
[0091] In a possible implementation, as Figure 3 shown, when the cellular module is working, CKG can provide the cellular clock signal clock to the cellular module. This cellular clock signal can be used to control the timing of the circuit, and this cellular clock signal can be a 38.4 MHz clock. When CKG provides the cellular clock signal clock to the cellular module, it can also synchronously provide this cellular clock signal clock to the radio frequency control chip. When the cellular clock signal clock in the radio frequency control chip is pulled high, it indicates that the cellular module starts to work, and then the radio frequency control chip also needs to start working, and further can cooperate with the cellular module to perform service processing.
[0092] When the radio frequency control chip has the cellular clock signal clock input, it can transmit the clk_request instruction to the AP. Among them, this clk_request instruction can be used to indicate a request for CKG to provide a high-precision clock. After the AP obtains the clk_request instruction, it can transmit a message to CKG indicating to provide a high-precision clock to the radio frequency control chip. After CKG obtains this information, it can provide a 38.4 MHz clock to the radio frequency control chip.
[0093] Optionally, when there is a cellular clock signal clock input to the RF control chip, the RF control chip may not send the clk_request instruction to the AP, but continue to use the cellular clock signal clock. It can be understood that in this scenario, when the cellular module stops working, the CKG no longer provides the cellular clock signal clock to the cellular module. At this time, the RF control chip cannot obtain the cellular clock signal clock from the CKG either, making it impossible for the RF control chip to continue business processing.
[0094] In another possible implementation, as Figure 4 shown, when the cellular module is working, the PMU can provide a power signal to the cellular module. At this time, the PMU can also provide a power signal to the RF control chip. When the RF control chip detects this power signal, it indicates that the cellular module has started working, so the RF control chip also needs to start working, and then can cooperate with the cellular module for business processing.
[0095] The RF control chip can send a clk_request instruction to the AP. This clk_request instruction can be used to indicate a request for the CKG to provide a high-precision clock. After the AP obtains the clk_request instruction, it can send a message to the CKG to indicate providing a high-precision clock to the RF control chip. After the CKG obtains this information, it can provide a 38.4 MHz clock to the RF control chip.
[0096] In yet another possible implementation, as Figure 5 shown, when the cellular module is working, the cellular module can provide a GPIO signal to the RF control chip. When the RF control chip detects this GPIO signal, it indicates that the cellular module has started working, so the RF control chip also needs to start working, and then can cooperate with the cellular module for business processing.
[0097] The RF control chip can send a clk_request instruction to the AP. This clk_request instruction can be used to indicate a request for the CKG to provide a high-precision clock. After the AP obtains the clk_request instruction, it can send a message to the CKG to indicate providing a high-precision clock to the RF control chip. After the CKG obtains this information, it can provide a 38.4 MHz clock to the RF control chip.
[0098] Optionally, when the RF control chip has an input of the cellular clock signal clock provided by the CKG to the cellular module, the power signal provided by the PMU to the cellular module, or the GPIO signal provided by the cellular module to the RF control chip, the RF control chip may not send the clk_request instruction to the AP, but start an external crystal oscillator.
[0099] In this way, the external crystal oscillator of the radio frequency control chip can provide a 38.4 MHz clock to the radio frequency control chip. When the radio frequency control chip fails to obtain the CKG to provide the cellular clock signal clock to the cellular module, the radio frequency control chip can still continue to use the clock signal generated by the crystal oscillator for service processing, improving the user experience. In some scenarios, the crystal oscillator can also be a crystal. For ease of description, the crystal oscillator will be used as an example for subsequent explanations.
[0100] It can be understood that embodiments of the present application can also use other signals generated based on the cellular module in the radio frequency control system to wake up the radio frequency control chip, and embodiments of the present application do not limit the specific signals.
[0101] In embodiments of the present application, the radio frequency control chip can be quickly woken up when receiving the cellular clock signal of CKG, the power signal of the PMU, or the GPIO signal of the cellular module, so that it can respond in a timely manner when the cellular module is working and cooperate with the cellular module to improve the user experience.
[0102] Figure 6 Illustrates the switching of the state machine mode of the radio frequency control chip. The state switching of the radio frequency control chip can include (1) switching between the Deep sleep state and the Active state, (2) switching between the Standby state and the Active state, and (3) switching between the Power off state and the Active state.
[0103] (1) Switching between the Deep sleep state and the Active state.
[0104] When the radio frequency control chip is in the Deep sleep state, if there is an input of a wake-up source to the radio frequency control chip, the radio frequency control chip can switch from the Deep sleep state to the Active mode. Among them, the wake-up source can include GPIO wake-up source 1, GPIO wake-up source 2, GPIO wake-up source 3, Timer wake-up source, and / or the cellular clock signal of CKG, etc. Among them, the cellular clock signal of CKG can be identified by 38.4MHz_clk_on_det. When the radio frequency control chip obtains the cellular clock signal of CKG, the radio frequency control chip can perform software configuration, and the corresponding configuration signal can be 38.4MHz_clk_on_det.
[0105] When the radio frequency control chip is in the Active state, if the radio frequency control chip has no service to process, no input of a wake-up source, or the timer countdown ends, the radio frequency control chip can switch from the Active mode to the Deep sleep mode.
[0106] It can be understood that when the radio frequency control chip is in the Deep sleep state, the CKG can provide a low-precision clock of 32 KHZ for the radio frequency control chip. Optionally, the low-precision clock of 32 KHZ can also be provided by the RCO clock in the radio frequency control chip. The embodiments of the present application do not make any limitations in this regard.
[0107] When the radio frequency control chip is in the Active state, the CKG can provide a high-precision clock of 38.4 MHz for the radio frequency control chip. Optionally, the high-precision clock of 38.4 MHz can also be provided by an external crystal oscillator of the radio frequency control chip. The embodiments of the present application do not make any limitations in this regard.
[0108] (2) Switching between the Standby state and the Active state.
[0109] When the radio frequency control chip is in the Standby state, if there is an input of a wake-up source to the radio frequency control chip, the radio frequency control chip can switch from the Standby state to the Active mode. The wake-up source can include GPIO wake-up source 1, GPIO wake-up source 2, GPIO wake-up source 3, Timer wake-up source, RFFE_det instruction, and / or the cellular clock signal of the CKG, etc.
[0110] Among them, the RFFE_det instruction can be understood as an instruction transmitted by the radio frequency control system to the radio frequency control chip for performing business processing-related operations. The specific business processing to be performed is not limited in the embodiments of the present application. The cellular clock signal of the CKG can also be identified by 38.4MHz_clk_off_det. When the cellular clock signal is turned off, the radio frequency control chip can perform software configuration, and the corresponding configuration signal can be 38.4MHz_clk_off_det.
[0111] When the radio frequency control chip is in the Active state, if the radio frequency control chip has no business to process, the radio frequency control chip can switch from the Active mode to the Standby mode.
[0112] It can be understood that when the radio frequency control chip is in the Standby state or the Active state, a high-precision clock of 38.4 MHz needs to be provided by the CKG or an external crystal oscillator.
[0113] (3) Switching between the Power off state and the Active state.
[0114] When the radio frequency control chip is in the Power off state, if the electronic device is powered on or the radio frequency control chip is restarted after an abnormality occurs, the radio frequency control chip can switch from the Power off state to the Active mode.
[0115] When the RF control chip is in the Active state, if the electronic device shuts down or the RF control chip malfunctions, the RF control chip can switch from the Active mode to the Power off mode.
[0116] It can be understood that every time the RF control chip switches modes, it needs to go through the Active mode. This is because software configuration is required when the RF control chip switches modes, and the software configuration needs to be performed when the RF control chip is in the Active mode.
[0117] In the embodiments of this application, the RF control chip can enter the low-power Deep sleep state when idle, reducing the power consumption of the electronic device. It can also quickly wake up the RF control chip according to the cellular clock signal of the CKG, enabling the RF control chip to enter the Active state. When the RF control chip needs to process services irregularly, the RF control chip can switch between the Active state and the Standby state. This can not only reduce the power consumption of the RF control chip but also respond in a timely manner when the cellular module is working and cooperate with the cellular module.
[0118] Figure 7 The signal timing diagram when using the cellular clock signal to wake up the RF control chip is shown.
[0119] It can be understood that when the RF control chip is in the Deep Sleep state, the corresponding clock can be a low-frequency clock of 32KHz. When a 38.4MHz clock signal is input to the RF control chip, the RF control chip can be in the Active state for software configuration, pull up the clk_request signal on the circuit, and then the RF control chip can transmit the clk_request instruction to the AP.
[0120] Among them, the 38.4MHz clock signal can be as Figure 7 shown in Signal 1, and the signal 38.4MHz_clk_on_det corresponding to the software configuration can be as Figure 7 shown in Signal 2, and the clk_request signal can be as Figure 7 shown in Signal 3.
[0121] After obtaining the clk_request instruction, the CKG can provide a 38.4MHz clock signal to the RF control chip. The 38.4MHz clock signal can be as Figure 7As shown by signal 4 therein. The radio frequency control chip can multiply the frequency of the 38.4 MHz clock signal through a phase-locked loop (PLL) to obtain the clock required for the radio frequency control chip to execute operations. For example, the 38.4 MHz clock signal can be multiplied in frequency to a 208 MHz clock signal, and then the radio frequency control chip can perform relevant operation processing. Among them, the signal of the phase-locked loop (PLL) can be as shown in Figure 7 signal 5 therein, and the 208 MHz clock signal can be as shown in Figure 7 signal 6 therein.
[0122] It should be noted that Figure 7 within the interval in the Standby state, when the radio frequency control chip has operations to process, it can be in the Active state; when the radio frequency control chip has no operations to process, it can be in the Standby state. That is to say, the radio frequency control chip can quickly switch between the Active state and the Standby state, which can improve the operation processing speed of the radio frequency control chip.
[0123] When the cellular module stops working and the radio frequency control chip has completed operation processing, the radio frequency control chip can be in the Active state for software configuration, and pull down the clk_request signal on the circuit. Among them, the signal 38.4MHz_clk_off_det corresponding to software configuration can be as shown in Figure 7 signal 7 therein. Furthermore, the above clk_request instruction, 38.4 MHz clock signal, signal of the phase-locked loop (PLL), 208 MHz clock signal, etc. are all pulled down, and the radio frequency control chip can enter the Deep Sleep state.
[0124] It can be understood that when the cellular module stops working, but the radio frequency control chip has not completed operation processing, the radio frequency control chip can also not pull down the clk_request signal on the circuit, and the radio frequency control chip can continue operation processing. When the radio frequency control chip has completed operation processing, the radio frequency control chip can pull down the clk_request signal on the circuit. Furthermore, the above clk_request instruction, 38.4 MHz clock signal, signal of the phase-locked loop (PLL), 208 MHz clock signal, etc. are all pulled down, and the radio frequency control chip can enter the Deep Sleep state. In this way, the radio frequency control chip can continue operation processing when the cellular module stops working, ensuring the continuity of operations and improving the user experience.
[0125] Figure 8 Shows the signal timing diagram when waking up the radio frequency control chip using the power supply signal of the PMU or the GPIO signal of the cellular module.
[0126] It can be understood that when the radio frequency control chip is in the Deep Sleep state, the corresponding clock can be a low-frequency clock of 32KHz. When the radio frequency control chip detects a power signal from the PMU or a GPIO signal from the cellular module, the radio frequency control chip can pull up the clk_request signal on the circuit, and then transmit the clk_request instruction to the AP. Among them, the power signal or GPIO signal can be as shown in the signal 1 in Figure 8 , and the clk_request signal can be as shown in the signal 2 in Figure 8 .
[0127] After CKG obtains the clk_request instruction, it can provide a 38.4MHz clock signal to the radio frequency control chip. The 38.4MHz clock signal can be as shown in the signal 3 in Figure 8 . The radio frequency control chip can multiply the frequency of the 38.4MHz clock signal through a phase-locked loop PLL to obtain the clock required for the radio frequency control chip to execute services. For example, the 38.4MHz clock signal is multiplied to a 208MHz clock signal. Then, the radio frequency control chip can perform relevant service processing. Among them, the signal of the phase-locked loop PLL can be as shown in the signal 4 in Figure 8 , and the 208MHz clock signal can be as shown in the signal 5 in Figure 8 .
[0128] It should be noted that Figure 8 in the interval in the Standby state, when the radio frequency control chip has services to process, it can be in the Active state; when the radio frequency control chip has no services to process, it can be in the Standby state. That is to say, the radio frequency control chip can quickly switch between the Active state and the Standby state, which can improve the service processing speed of the radio frequency control chip.
[0129] When the radio frequency control chip completes service processing, the radio frequency control chip can pull down the clk_request signal on the circuit. Then, the above-mentioned 38.4MHz clock signal, the signal of the phase-locked loop PLL, the 208MHz clock signal, etc. are all pulled down, and the radio frequency control chip can enter the Deep Sleep state.
[0130] The method of the embodiment of the present application will be described in detail below through specific embodiments. The following embodiments can be combined with each other or implemented independently. For the same or similar concepts or processes, they may not be repeated in some embodiments.
[0131] Figure 9The signal processing method according to an embodiment of the present application is shown. This method is applied to an electronic device, which includes a first chip and a second chip, and both the first chip and the second chip are used to process cellular services. The method includes:
[0132] S901. When the first chip is in a sleep state and the second chip is also in a sleep state, the electronic device obtains a cellular service.
[0133] In the embodiment of the present application, the first chip can be understood as the cellular module in the above embodiment. The first chip being in a sleep state can be understood as the first chip being in the Deep Sleep state.
[0134] The second chip can be understood as the radio frequency control chip in the above embodiment. The second chip being in a sleep state can be understood as the second chip being in the Deep Sleep state.
[0135] The cellular service may include services such as antenna tuning or controlling antenna switching in the above embodiment. For the specific cellular service, the embodiment of the present application does not make a limitation.
[0136] S902. Wake up the first chip and wake up the second chip based on the signal generated by the first chip.
[0137] In the embodiment of the present application, after waking up the first chip, the first chip can be in the Active state or the Standby state in the above embodiment. After waking up the second chip, the second chip can be in the Active state or the Standby state in the above embodiment.
[0138] The signal based on the first chip may include a clock signal, a power supply signal, a GPIO signal, etc. provided by the radio frequency control system. For the specific signal based on the first chip, the embodiment of the present application does not make a limitation.
[0139] Utilize the signal generated based on the cellular module in the radio frequency control system to wake up the radio frequency control chip, so as to sense the working state of the cellular module in real time. In this way, the radio frequency control chip can enter the low-power sleep mode when idle, reducing the power consumption of the electronic device, and can also quickly wake up the radio frequency control chip according to the working state of the cellular module, enabling the radio frequency control chip to not only reduce power consumption but also respond in a timely manner when the cellular module is working and cooperate with the cellular module.
[0140] Optionally, on the basis of the Figure 9 corresponding embodiment, the signal based on the first chip includes a clock signal with a first frequency provided for the first chip.
[0141] In the embodiments of the present application, the first frequency can be understood as the clock that enables the first chip to be in the Active state or the Standby state. For example, the first frequency can include 76.8 MHz or 38.4 MHz in the above embodiments, etc., which are not limited in the embodiments of the present application.
[0142] The clock signal with the first frequency provided for the first chip can be understood as the cellular clock signal clock provided by the CKG to the cellular module in the corresponding embodiments described above, and will not be elaborated further. Figure 3
[0143] The signal generated based on the first chip can include a clock signal. The process of specifically waking up the second chip through the clock signal can refer to the relevant descriptions in the corresponding embodiments described above, and will not be elaborated further. Figure 3
[0144] The radio frequency control chip can be quickly woken up when receiving the cellular clock signal with the first frequency, so that it can respond in a timely manner when the cellular module is working, cooperate with the cellular module, and improve the user experience.
[0145] Optionally, based on the corresponding embodiments, the signal generated based on the first chip includes a power supply signal for supplying power to the first chip. Figure 9
[0146] In the embodiments of the present application, the module for supplying power to the first chip can be understood as the power management unit PMU in the corresponding embodiments described above, and will not be elaborated further. Figure 3
[0147] The signal generated based on the first chip can include a power supply signal. The process of specifically waking up the second chip through the power supply signal can refer to the relevant descriptions in the corresponding embodiments described above, and will not be elaborated further. Figure 4
[0148] The radio frequency control chip can be quickly woken up when receiving the power supply signal from the PMU, so that it can respond in a timely manner when the cellular module is working, cooperate with the cellular module, and improve the user experience.
[0149] Figure 9 Optionally, based on the corresponding embodiments, the signal generated based on the first chip includes the general-purpose input / output GPIO signal of the first chip.
[0150] Figure 5 In the embodiments of the present application, the signal generated based on the first chip can include a GPIO signal. The process of specifically waking up the second chip through the GPIO signal can refer to the relevant descriptions in the corresponding embodiments described above, and will not be elaborated further.
[0151] When the radio frequency control chip receives the GPIO signal of the cellular module, it can be quickly awakened, so that it can respond in a timely manner when the cellular module is working, cooperate with the cellular module, and improve the user experience.
[0152] Optionally, based on the Figure 9 corresponding embodiment, after waking up the second chip, it may further include: the second chip obtains a clock signal of a second frequency and processes cellular services based on the clock signal of the second frequency, and the second frequency is the same as or different from the first frequency.
[0153] In the embodiments of the present application, the second frequency can be understood as a clock that can make the second chip in the Active state or the Standby state. For example, the second frequency may include 76.8 MHz or 38.4 MHz in the above embodiments, etc., which are not limited in the embodiments of the present application.
[0154] The process of the second chip obtaining the clock signal of the second frequency can refer to the above Figure 2 、 Figure 4 、or Figure 5 corresponding description of the embodiment, and will not be repeated.
[0155] It can be understood that when the first chip enters the sleep state, the first chip no longer needs the clock signal of the first frequency. At this time, the second chip will not be unable to continue business processing because it does not obtain the clock signal of the first frequency. The second chip can continue to use the clock signal of the second frequency for business processing to improve the user experience.
[0156] Optionally, based on the Figure 9 corresponding embodiment, the electronic device further includes an application processor AP and a clock generation circuit CKG. The CKG is used to provide the clock signal of the first frequency for the first chip. Before the second chip obtains the clock signal of the second frequency, it may further include: the second chip transmits a first instruction to the AP, and the first instruction is used to instruct the second chip to request the clock signal of the second frequency from the CKG; the AP, based on the first instruction, instructs the CKG to provide the clock signal of the second frequency for the second chip; the second chip obtains the clock signal of the second frequency, which may include: the second chip obtains the clock signal of the second frequency from the CKG.
[0157] In the embodiments of the present application, the first instruction can be understood as the clk_request instruction in the above Figure 2 、 Figure 4 、or Figure 5 corresponding embodiment, and will not be repeated. The specific process of the second chip obtaining the clock signal of the second frequency can refer to the above Figure 2 、 Figure 4 、or Figure 5 corresponding description of the embodiment, and will not be repeated.
[0158] In this way, when the second chip fails to obtain the clock signal of the first frequency, the second chip can still continue to use the clock signal of the second frequency for service processing, improving the user experience.
[0159] Optionally, based on the corresponding embodiment, the second chip includes a crystal oscillator. The second chip obtaining the clock signal of the second frequency may include: the second chip obtaining the clock signal of the second frequency from the crystal oscillator. Figure 9 In the embodiments of the present application, when the second chip fails to obtain the clock signal of the first frequency, the second chip can still continue to use the clock signal generated by the crystal oscillator for service processing, improving the user experience.
[0160] In the embodiments of the present application, when the second chip fails to obtain the clock signal of the first frequency, the second chip can still continue to use the clock signal generated by the crystal oscillator for service processing, improving the user experience.
[0161] Optionally, based on the corresponding embodiment, the method may further include: when the first chip is in a sleep state, the second chip enters a sleep state based on the sleep signal of the first chip. Figure 9 In the embodiments of the present application, when the second chip performs service processing based on the clock signal of the first frequency, when the first chip is in a sleep state, the second chip cannot obtain the clock signal of the first frequency and thus can enter a sleep state.
[0162] It can be understood that performing service processing based on the sleep signal of the first chip can reduce the process of obtaining the clock signal of the second frequency from the CKG or the crystal oscillator, simplifying the execution flow of the code.
[0163] It can be understood that performing service processing based on the sleep signal of the first chip can reduce the process of obtaining the clock signal of the second frequency from the CKG or the crystal oscillator, simplifying the execution flow of the code.
[0164] Optionally, based on the corresponding embodiment, the sleep signal of the first chip includes one or more of the following: the second chip fails to obtain the clock signal of the first frequency provided for the first chip, the second chip fails to obtain the power supply signal for providing power to the first chip, or the second chip fails to obtain the general-purpose input / output GPIO signal of the first chip. Figure 9 In the embodiments of the present application, for the specific clock signal of the first frequency, power supply signal, and GPIO signal, reference may be made to the relevant descriptions in the above embodiments and will not be elaborated herein.
[0165] In the embodiments of the present application, for the specific clock signal of the first frequency, power supply signal, and GPIO signal, reference may be made to the relevant descriptions in the above embodiments and will not be elaborated herein.
[0166] Performing service processing based on the sleep signal of the first chip can simplify the execution flow of the code and reduce the process of obtaining the clock signal of the second frequency from the CKG or the crystal oscillator.
[0167] Optionally, based on the corresponding embodiment, the method may further include: when the first chip is in a sleep state, the second chip obtains the sleep signal of the first chip and does not enter a sleep state. Figure 9 In the embodiments of the present application, when the first chip is in a sleep state, the second chip obtains the sleep signal of the first chip and does not enter a sleep state.
[0168] In the embodiments of the present application, when the second chip processes services based on a clock signal of a second frequency, in the case where the first chip is in a sleep state, the second chip cannot obtain a clock signal of a first frequency, but the second chip can not enter the sleep state. In this way, when the first chip stops working, the second chip can continue to process services, ensuring the continuity of services and enhancing the user experience.
[0169] Optionally, on the basis of the Figure 9 corresponding embodiments, the second chip is further configured to process Global Navigation Satellite System (GNSS) services and Wireless Fidelity (Wi-Fi) network services. After the second chip is awakened, it may further include: when the second chip processes services, the second chip is in an Active state; when the second chip does not process services, the second chip is in a Standby state.
[0170] In the embodiments of the present application, when the second chip needs to process services irregularly, the second chip can switch between the Active state and the Standby state. This can not only reduce the power consumption of the second chip but also maintain the timely response of service processing, enhancing the user experience.
[0171] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data that have been authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.
[0172] The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. To implement the above functions, it includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, in combination with the method steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0173] The embodiments of the present application can divide the device for implementing the method into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation.
[0174] As Figure 10 shown is a schematic structural diagram of a chip provided by an embodiment of the present application. The chip 1000 includes one or more than two (including two) processors 1001, a communication line 1002, a communication interface 1003, and a memory 1004.
[0175] In some embodiments, the memory 1004 stores the following elements: executable modules or data structures, or subsets thereof, or extended sets thereof.
[0176] The methods described in the above embodiments of the present application can be applied to the processor 1001 or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the processor 1001. The above-mentioned processor 1001 may be a general-purpose processor (for example, a microprocessor or a conventional processor), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate, transistor logic devices, or discrete hardware components. The processor 1001 can implement or execute the various processing-related methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
[0177] The steps of the method disclosed in the embodiments of the present application can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a mature storage medium in the art such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read-only memory (EEPROM). This storage medium is located in the memory 1004, and the processor 1001 reads the information in the memory 1004 and combines its hardware to complete the steps of the above method.
[0178] The processor 1001, the memory 1004, and the communication interface 1003 can communicate with each other through the communication line 1002.
[0179] In the above embodiments, the instructions stored in the memory for the processor to execute can be implemented in the form of a computer program product. Among them, the computer program product can be pre-written in the memory, or downloaded and installed in the memory in the form of software.
[0180] The embodiments of the present application also provide a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on a computer, they generate all or part of the processes or functions according to the embodiments of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center to another website, a computer, a server, or a data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can store, or a data storage device such as a server or a data center including one or more available media integrated. For example, the available medium can include magnetic media (such as floppy disks, hard disks, or magnetic tapes), optical media (such as digital versatile discs (DVDs)), or semiconductor media (such as solid state disks (SSDs)).
[0181] The embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. A computer-readable medium may include a computer storage medium and a communication medium, and may also include any medium that can transfer a computer program from one place to another. A storage medium may be any target medium accessible by a computer.
[0182] As a possible design, a computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disc storage; a computer-readable medium may include a magnetic disk storage or other magnetic disk storage device. Moreover, any connecting wire can also be appropriately referred to as a computer-readable medium. For example, if software is transmitted using coaxial cables, fiber optic cables, twisted pairs, DSL, or wireless technologies (such as infrared, radio, and microwave) from a website, server, or other remote source, then the coaxial cables, fiber optic cables, twisted pairs, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, magnetic disks and optical discs include optical discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where magnetic disks typically reproduce data magnetically, while optical discs use lasers to optically reproduce data.
[0183] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processing unit of the computer or other programmable data processing device generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
Claims
1. A signal processing method, characterized in that, the method is applied to an electronic device, the electronic device includes a first chip and a second chip, both the first chip and the second chip are used to process cellular services, and the method includes: when the first chip is in a sleep state and the second chip is in a sleep state, the electronic device obtains a cellular service; wake up the first chip, and wake up the second chip based on a signal generated by the first chip.
2. The method according to claim 1, characterized in that, the signal based on the first chip includes a clock signal with a first frequency provided for the first chip.
3. The method according to claim 1, characterized in that, the signal based on the first chip includes a power supply signal for supplying power to the first chip.
4. The method according to claim 1, characterized in that, the signal based on the first chip includes a general-purpose input / output GPIO signal of the first chip.
5. The method according to any one of claims 1-4, characterized in that, after waking up the second chip, it further includes: the second chip obtains a clock signal with a second frequency, and processes the cellular service based on the clock signal with the second frequency, and the second frequency is the same as or different from the first frequency.
6. The method according to claim 5, characterized in that, the electronic device further includes an application processor AP and a clock generation circuit CKG, the CKG is used to provide the clock signal with the first frequency for the first chip, and before the second chip obtains the clock signal with the second frequency, it further includes: the second chip transmits a first instruction to the AP, and the first instruction is used to instruct the second chip to request the clock signal with the second frequency from the CKG; the AP, based on the first instruction, instructs the CKG to provide the clock signal with the second frequency to the second chip; the second chip obtains the clock signal with the second frequency, including: the second chip obtains the clock signal with the second frequency from the CKG.
7. The method according to claim 5, characterized in that, a crystal oscillator is included in the second chip, and the second chip obtains the clock signal with the second frequency, including: the second chip obtains the clock signal with the second frequency from the crystal oscillator.
8. The method according to any one of claims 1-4, characterized in that, the method further includes: when the first chip is in a sleep state, the second chip enters a sleep state based on a signal indicating that the first chip is in a sleep state.
9. The method according to claim 8, characterized in that, the signal indicating that the first chip is in a sleep state includes one or more of the following: the second chip cannot obtain the clock signal with the first frequency provided for the first chip, the second chip cannot obtain the power supply signal for supplying power to the first chip, or the second chip cannot obtain the general-purpose input / output GPIO signal of the first chip.
10. The method according to any one of claims 1-7, characterized in that, the method further includes: When the first chip is in the sleep state, the second chip obtains the signal that the first chip is in the sleep state and does not enter the sleep state.
11. The method according to any one of claims 1-10, wherein, the second chip is further configured to process Global Navigation Satellite System (GNSS) services and Wireless Fidelity (Wi-Fi) network services. After the second chip is awakened, the following steps are further included: When the second chip is processing services, the second chip is in the Active state; When the second chip is not processing services, the second chip is in the Standby state.
12. An electronic device, wherein, it includes: a memory and a processor. The memory is used to store a computer program, and the processor is used to execute the computer program to perform the method according to any one of claims 1-11.
13. A computer-readable storage medium, wherein, the computer-readable storage medium stores instructions, and when the instructions are executed, the computer is caused to perform the method according to any one of claims 1-11.
14. A computer program product, wherein, it includes a computer program, and when the computer program is run, the electronic device is caused to perform the method according to any one of claims 1-11.
Citation Information
Patent Citations
Wireless network card, network, wireless network card communication method and networking method
CN102186225A
Terminal, wake-up method thereof and data reporting method and system of logistics system
CN109561493A
Methods for coordinating communication operations and mobile communication device
CN111741497A
Method for realizing radio wake-up of intelligent sensing terminal of Internet-of-Things
CN112601272A
Low-power-consumption management method of water conservancy composite monitoring equipment
CN112732063A