A method and system for application processor wake-up in paging scenarios

By controlling the state transitions of the communication processor and the application processor in paging scenarios, the wake-up current is reduced, the problem of increased power consumption in standby scenarios is solved, and a low-power processor wake-up method is realized.

CN120730452BActive Publication Date: 2025-10-31XIAMEN UNISOC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511246887.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-02
Publication Date
2025-10-31
Estimated Expiration
2045-09-02

AI Technical Summary

Technical Problem

In standby scenarios, when the communication processor and application processor are in the same power domain, wake-up in paging scenarios leads to an increase in overall power consumption. In existing technologies, the wake-up process results in high current and long-term load, which affects system power consumption.

Method used

When the target scenario of the wake-up source of the communication processor is determined to be a paging scenario, the communication processor is controlled to enter the running state, while the application processor enters the waiting state. After generating an interrupt signal, the application processor is notified to return to the sleep state. The operating system is only woken up to process the business when the current business does not meet the sleep conditions.

Benefits of technology

In paging scenarios, wake-up current is reduced, system power consumption is lowered, and normal service processing is ensured, achieving a low-power standby state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120730452B_ABST
    Figure CN120730452B_ABST
Patent Text Reader

Abstract

This invention relates to the field of processor wake-up technology, specifically to an application processor wake-up method and system based on a paging scenario. The method includes: when a communication processor is in a wake-up state, determining the target scenario to which the wake-up source of the communication processor belongs; if the target scenario to which the wake-up source belongs is a paging scenario, controlling the communication processor to enter a running state and the corresponding application processor to enter a waiting state; generating an interrupt signal when the communication processor completes its operation; responding to the interrupt signal, notifying the application processor to return from the waiting state to a sleep state; if the current service of the application processor does not meet preset sleep conditions, waking up the operating system corresponding to the application processor to process the current service. This method can both ensure normal service processing and reduce system power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of processor wake-up technology, and more specifically to an application processor wake-up method and system based on a paging scenario. Background Technology

[0002] Power consumption, as a crucial parameter for mobile devices, is a key performance indicator for project delivery. Power consumption in standby mode directly impacts the frequency of charging. In standby mode, the system suspends task execution and puts the CPU into a low-power or power-down state. If an internal or external event needs processing, the system will be woken up; after the event is processed, the system returns to a low-power state. Therefore, standby power consumption consists of two parts: when not woken up, it is in a stable low-power state, and the current output by the battery at this time is called the base current; when woken up, the current increases and is called the wake-up current. The wake-up current can be considered as the sum of the base current and the power consumption of the woken-up module.

[0003] For some IoT chips, to save costs and power consumption, the application processor (AP) and communication processor (CP) are usually located in the same power domain, and there is a binding relationship between the AP and CP. When the CP is in a paging scenario and processing services, it will wake up the AP at the same time, which will increase the paging wake-up current and thus affect the overall power consumption.

[0004] In related technologies, during CP paging, the wake-up AP first wakes up from the on-chip memory (CHIPRAM), then runs to the ARM Trusted Firmware (ATF) core component layer, finally undergoes the kernel resume process, and after handling the interrupt, goes through the kernel suspend process, eventually returning to the ATF layer to complete the sleep state. Thus, because the software enters the kernel, the process is lengthy and involves a high load, resulting in a wide and high wake-up current, which affects the overall power consumption. Summary of the Invention

[0005] The purpose of this invention is to provide an application processor wake-up method, system, and storage medium based on a paging scenario. The specific technical solution adopted is as follows:

[0006] In a first aspect, embodiments of the present invention provide an application processor wake-up method based on a paging scenario, the method comprising:

[0007] When the communication processor is in a wake-up state, determine the target scenario to which the wake-up source of the communication processor belongs;

[0008] If the target scenario of the wake-up source is a paging scenario, control the communication processor to enter the running state and the corresponding application processor to enter the waiting state;

[0009] An interrupt signal is generated when the communication processor completes its operation;

[0010] In response to the interrupt signal, the application processor is notified to return from the waiting state to the sleep state;

[0011] If the current service of the application processor does not meet the preset sleep conditions, the operating system corresponding to the application processor is woken up to process the current service.

[0012] Secondly, embodiments of the present invention provide an application processor wake-up system based on a paging scenario, the system comprising:

[0013] The determination module is used to determine the target scenario to which the wake-up source of the communication processor belongs when the communication processor is in a wake-up state.

[0014] The control module is used to control the communication processor to enter the running state and the corresponding application processor to enter the waiting state if the target scenario to which the wake-up source belongs is a paging scenario.

[0015] The generation module is used to generate an interrupt signal when the communication processor finishes running;

[0016] The notification module is used to notify the application processor to return from the waiting state to the sleep state in response to the interrupt signal;

[0017] The wake-up module is used to wake up the operating system corresponding to the application processor to process the current service if the current service of the application processor does not meet the preset sleep conditions.

[0018] Thirdly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the method described in the first aspect.

[0019] Fourthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the method described in the first aspect.

[0020] This invention offers the following advantages: When the communication processor is in a wake-up state, firstly, the target scenario to which the wake-up source belongs is determined. If the target scenario is a paging scenario, the communication processor is controlled to enter a running state, and the corresponding application processor enters a waiting state. Thus, when the communication processor is in a wake-up state, it is first determined whether the target scenario to which the wake-up source belongs is a paging scenario. If it is, the communication processor is first controlled to enter a running state, and the corresponding application processor enters a waiting state, thereby reducing the wake-up current. Then, when the communication processor finishes running, an interrupt signal is generated. In response to the interrupt signal, the application processor is notified to return to a sleep state from the waiting state. If the current service of the application processor does not meet the preset sleep conditions, the corresponding operating system of the application processor is woken up to process the current service. In this way, in a paging scenario, the application processor is first controlled to enter a waiting state instead of directly waking up the entire operating system of the application processor, thereby reducing the current in the paging scenario and thus reducing system power consumption. When the current service of the application processor does not meet the preset sleep conditions, the operating system is woken up to process the current service, thus ensuring normal service processing while reducing system power consumption. Attached Figure Description

[0021] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a schematic diagram illustrating the implementation process of an application processor wake-up method based on a paging scenario provided by an embodiment of the present invention;

[0023] Figure 2 This is a schematic diagram of another implementation process of an application processor wake-up method based on a paging scenario provided by an embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram illustrating the effect of an application processor wake-up method based on a paging scenario provided in an embodiment of the present invention;

[0025] Figure 4 This is a schematic diagram of the composition structure of an application processor wake-up system based on a paging scenario provided in an embodiment of the present invention;

[0026] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0027] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of an application processor wake-up method based on a paging scenario proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments may be combined from any suitable form.

[0028] In the description of the embodiments of the present invention, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" means two or more.

[0029] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0031] In CP paging scenarios, the CP subsystem periodically wakes up from standby. Therefore, from a current diagram perspective, while maintaining a constant standby current, the height and width of the wake-up current are crucial factors determining overall power consumption. When only the CP wakes up while the AP is in sleep mode, the height and width of the wake-up current are relatively low, meeting the low-power requirements. When the AP and CP are in the same power domain, CP paging will simultaneously wake up the AP, and AP wake-up typically represents a large current (because AP wake-up requires many software processes and interrupt handling). This large current cannot meet the power consumption requirements in terms of height and width.

[0032] Based on this, embodiments of the present invention provide an application processor wake-up method based on paging scenarios, which can significantly reduce power consumption in paging scenarios.

[0033] The specific solution of the application processor wake-up method based on a paging scenario provided by the present invention is described below with reference to the accompanying drawings. Please refer to... Figure 1This illustration shows a schematic diagram of the implementation flow of an application processor wake-up method based on a paging scenario according to an embodiment of the present invention. The method includes:

[0034] 101. When the communication processor is in a wake-up state, determine the target scenario to which the wake-up source of the communication processor belongs.

[0035] Here, when the communication processor is in a wake-up state, it synchronously wakes up the application processor in the same power domain to its initial state, but keeps the operating system corresponding to the application processor in a sleep state. The initial state of the application processor is the state before waking up the corresponding operating system; that is, the operating system is not woken up, but the application processor is run until the operating system is about to wake up, thus reducing wake-up current and power consumption. Next, the interrupt type of the wake-up source of the communication processor is determined, and based on the interrupt type, the target scenario to which the wake-up source belongs is determined. The interrupt type can be a paging-specific interrupt or other interrupts. By determining whether the interrupt type is a paging-specific interrupt, if the interrupt type is a paging-specific interrupt, the target scenario is determined to be the paging scenario.

[0036] In some possible implementations, a mini-program is pre-designed in the storage unit. This mini-program is used to determine whether it is a paging scenario and to wake up the application processor's initial state. That is, the storage unit with the pre-embedded mini-program is first obtained. The pre-embedded mini-program is used to determine the target scenario to which the wake-up source belongs. Then, when the communication processor is in the wake-up state, the application processor is controlled to start running from the read-only memory and jump to the storage unit to wake up the application processor's initial state.

[0037] Here, when the CP wakes up, it also wakes up the AP. The AP will distinguish whether the current scenario is paging, and thus decide whether to wake up the entire AP system. When the CP wakes up, the AP is woken up synchronously. The AP wake-up process starts from the read-only memory (ROM), and then jumps to the internal random access memory (IRAM) or flash memory, that is, it jumps to the storage unit to wake up the application processor to its initial state. The IRAM or flash memory contains a preset program for determining whether the wake-up source belongs to a paging scenario.

[0038] In some possible implementations, a pre-programmed method designed on the storage unit determines whether the interrupt type is a paging-specific interrupt; if the interrupt type is the paging-specific interrupt, the target scenario is determined to be the paging scenario. In this way, determining whether the interrupt type (memorial hall) is a paging-specific interrupt through a pre-programmed method can accurately determine whether it is a paging scenario without increasing system power consumption.

[0039] 102. If the target scenario to which the wake-up source belongs is a paging scenario, the control communication processor enters the running state, and the corresponding application processor enters the waiting state.

[0040] Here, a small program is designed on IRAM or flash to determine whether the current wake-up source is a paging-specified interrupt. If it is a paging scenario, the Generic Interrupt Controller (GIC) is initialized, and the communication processor is controlled to enter the running state, and the corresponding application processor is controlled to enter the waiting state.

[0041] In some possible implementations, step 102 above can be achieved by... Figure 2 The steps shown are to be implemented as follows:

[0042] 201. If the target scenario to which the wake-up source belongs is a paging scenario, initialize the general interrupt controller corresponding to the communication processor.

[0043] Here, if the wake-up source is a paging-specified interrupt, which belongs to the paging scenario, then the GIC is initialized to wake up the target interrupt part of the paging scenario in the GIC.

[0044] In some possible implementations, if the target scenario of the wake-up source is a paging scenario, firstly, a target interrupt portion matching the paging scenario is determined in the general interrupt controller; wherein, the target interrupt portion is used to characterize the interrupt parameters required in the paging scenario. Then, the target interrupt portion in the general interrupt controller is initialized. In this way, in the paging scenario, only the target interrupt portion matching the paging scenario is initialized, instead of waking up all parameters of the general interrupt controller, reducing the need for other irrelevant interrupts to wake up the system, thereby saving system power consumption.

[0045] 202. Based on the general interrupt controller, control the communication processor to enter the running state and the application processor core to enter the waiting state, so as to wait to wake up the application processor core.

[0046] Here, in the paging scenario, by initializing the general interrupt controller, the CP is notified to start running, and the AP core enters WFI, waiting for an interrupt to wake up the AP core, instead of directly waking up the entire operating system of the AP. This can reduce the current in the paging scenario and thus reduce the system power consumption.

[0047] 103. When the communication processor finishes running, an interrupt signal is generated.

[0048] Here, after the CP starts running and finishes processing the paging service, it generates and outputs an interrupt signal to the AP so as to wake up the AP from WFI.

[0049] 104. In response to the interrupt signal, the application processor is notified to return from the wait state to the sleep state.

[0050] Here, after the CP generates an interrupt signal, it wakes up the AP from WFI and notifies the AP to continue entering the sleep state. At this time, the AP determines whether to continue entering the sleep state. If yes, it directly proceeds with the process of entering the sleep state. If not, it wakes up the entire AP system to handle other related services.

[0051] In some possible implementations, step 104 above can be achieved through the following process:

[0052] First, in response to the interrupt signal, the application processor, which is in the waiting state, is woken up, and a notification message is sent to the application processor.

[0053] Here, after the CP generates an interrupt signal, it wakes up the AP from the waiting state and sends a notification message to the application processor to notify the application processor to determine whether to continue the sleep state.

[0054] Then, based on the notification message, the application processor is notified to return from the waiting state to the sleep state, so that the application processor can determine whether to return to the sleep state.

[0055] Here, after receiving the notification message, the application processor analyzes whether the current business meets the preset sleep conditions to determine whether to return to the sleep state.

[0056] 105. If the current service of the application processor does not meet the preset sleep conditions, wake up the operating system corresponding to the application processor to process the current service.

[0057] Here, if the current service does not match the notification message, it is determined that the current service does not meet the preset sleep conditions; for example, if the current service is not the paging-specified interrupt indicated by the notification message, it is determined that the current service does not match the notification message, thus determining that the current service does not meet the preset sleep conditions. Then, the operating system corresponding to the application processor is woken up based on the current service to process it.

[0058] Here, when the small program in the storage unit determines that the wake-up source is a paging-specified interrupt, after the CP starts running and finishes processing the paging service, it sends an interrupt to wake up the AP from WFI, notifying the AP to continue entering the sleep state. At this time, the AP determines whether to continue entering the sleep state. If so, it directly proceeds with the sleep state entry process. If another interrupt wakes up the AP from WFI, the entire AP system is woken up to handle the relevant interrupt. Through the application processor wake-up method based on paging scenarios provided by this embodiment of the invention, the current width in the paging scenario and the current width of other interrupt wake-up methods, such as... Figure 3 As shown, current width 31 is the current width in the paging scenario, and current width 32 is the current width for other interrupt wake-up scenarios. From Figure 3 It can be seen that the current width in the paging scenario is much smaller than that of other interrupt wake-up methods, which indicates that the application processor wake-up method based on the paging scenario has a smaller current width in the paging scenario, thereby reducing system power consumption.

[0059] In some embodiments, if the current service of the application processor meets the preset sleep conditions, the application processor is controlled to exit the waiting state and enter the sleep state; and the general interrupt controller is adjusted from the current state to the sleep state.

[0060] Here, if the current service of the application processor is a service without other interruptions, for example, no service needs to run, then the application processor continues to enter the sleep state and enters the sleep process, that is, the general interrupt controller adjusts from the current state to the sleep state to reduce system power consumption.

[0061] In this embodiment of the invention, when the communication processor is in a wake-up state, firstly, the target scenario to which the wake-up source of the communication processor belongs is determined. If the target scenario to which the wake-up source belongs is a paging scenario, the communication processor is controlled to enter a running state, and the corresponding application processor enters a waiting state. Thus, when the communication processor is in a wake-up state, it is first determined whether the target scenario to which the wake-up source belongs is a paging scenario. If it is a paging scenario, the communication processor is first controlled to enter a running state, and the corresponding application processor enters a waiting state, thereby reducing the wake-up current. Then, when the communication processor finishes running, an interrupt signal is generated. In response to the interrupt signal, the application processor is notified to return to a sleep state from the waiting state. If the current service of the application processor does not meet the preset sleep conditions, the operating system corresponding to the application processor is woken up to process the current service. Thus, in a paging scenario, the application processor is first controlled to enter a waiting state instead of directly waking up the entire operating system of the application processor, thereby reducing the current in the paging scenario and thus reducing system power consumption. When the current service of the application processor does not meet the preset sleep conditions, the operating system is woken up to process the current service, thus ensuring normal service processing while reducing system power consumption.

[0062] This invention provides an application processor wake-up system based on a paging scenario. Please refer to [link / reference]. Figure 4 This illustration shows a schematic diagram of the composition structure of an application processor wake-up system based on a paging scenario according to an embodiment of the present invention. The system 400 includes:

[0063] The determination module 401 is used to determine the target scene to which the wake-up source of the communication processor belongs when the communication processor is in a wake-up state.

[0064] The control module 402 is used to control the communication processor to enter the running state and the corresponding application processor to enter the waiting state if the target scenario to which the wake-up source belongs is a paging scenario.

[0065] The generation module 403 is used to generate an interrupt signal when the communication processor finishes running;

[0066] Notification module 404 is used to notify the application processor to return from the waiting state to the sleep state in response to the interrupt signal;

[0067] The wake-up module 405 is used to wake up the operating system corresponding to the application processor to process the current service if the current service of the application processor does not meet the preset sleep conditions.

[0068] In some possible implementations, the determining module 401 is further configured to, when the communication processor is in a wake-up state, wake up the initial state of the application processor and keep the operating system corresponding to the application processor in a sleep state; determine the interrupt type of the wake-up source of the communication processor; and, based on the interrupt type, determine the target scenario to which the wake-up source belongs.

[0069] In some possible implementations, the determining module 401 is further configured to obtain a storage unit containing a nested preset applet; wherein the preset applet is used to determine the target scene to which the wake-up source belongs; when the communication processor is in a wake-up state, it controls the application processor to start running from the read-only memory and jump to the storage unit to wake up the initial state of the application processor.

[0070] In some possible implementations, the determining module 401 is further configured to determine whether the interrupt type is a paging-specified interrupt based on the preset applet; if the interrupt type is the paging-specified interrupt, the target scenario is determined to be the paging scenario.

[0071] In some possible implementations, the control module 402 is further configured to initialize the general interrupt controller corresponding to the communication processor if the target scenario to which the wake-up source belongs is a paging scenario; and based on the general interrupt controller, control the communication processor to enter a running state and the application processor core to enter a waiting state, so as to wait to wake up the application processor core.

[0072] In some possible implementations, the control module 402 is further configured to, if the target scenario to which the wake-up source belongs is a paging scenario, determine a target interrupt portion matching the paging scenario in the general interrupt controller; and initialize the target interrupt portion in the general interrupt controller.

[0073] In some possible implementations, the notification module 404 is further configured to, in response to the interrupt signal, wake up the application processor in the waiting state and send a notification message to the application processor; based on the notification message, notify the application processor to return from the waiting state to the sleep state, so that the application processor can determine whether to return to the sleep state.

[0074] In some possible implementations, the notification module 404 is further configured to determine that the current service does not meet the preset sleep conditions if the current service does not match the notification message; and wake up the operating system corresponding to the application processor based on the current service to process the current service.

[0075] In some possible implementations, the wake-up module 405 is further configured to control the application processor to exit the waiting state and enter the sleep state if the current service of the application processor meets the preset sleep conditions; and to adjust the general interrupt controller from the current state to the sleep state.

[0076] Optionally, the transmission medium can be a wired link (e.g., but not limited to, coaxial cable, optical fiber, and Digital Subscriber Line (DSL)) or a wireless link (e.g., but not limited to, Wireless Fidelity (WIFI), Bluetooth, and mobile device networks). It should be noted that the system provided in the above embodiments is only an example illustrating the division of the functional modules described above. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.

[0077] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. For example, as shown... Figure 5 As shown, the computer device 500 includes: a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and running on the processor 502. When the processor 502 executes the computer program 503, the computer device can execute any of the application processor wake-up methods based on paging scenarios described above.

[0078] Furthermore, this embodiment of the invention also protects a system that may include a memory and a processor. The memory stores executable program code, and the processor is used to call and execute the executable program code to perform an application processor wake-up method based on a paging scenario provided by this embodiment of the invention. This embodiment can divide the system into functional modules based on the above method example. For example, each module can correspond to a specific function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents a logical functional division; other division methods may exist in actual implementation. It should also be noted that all relevant content of each step involved in the above method embodiment can be referenced to the functional description of the corresponding functional module, and will not be repeated here.

[0079] It should be understood that the system provided in this embodiment is used to execute the above-described application processor wake-up method based on a paging scenario, and therefore can achieve the same effect as the above-described implementation method. When using integrated units, the system may include a processing module and a storage module. When the system is applied to a device, the processing module can be used to control and manage the device's actions. The storage module can be used to support the device in executing mutual program code, etc. The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of Digital Signal Processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0080] Furthermore, the system provided in the embodiments of the present invention may specifically be a chip, component, or module. The chip may include a connected processor and a memory. The memory stores instructions, and when the processor calls and executes the instructions, the chip can execute the application processor wake-up method based on a paging scenario provided in the above embodiments. This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, it causes the computer to execute the aforementioned method steps to implement the application processor wake-up method based on a paging scenario provided in the above embodiments.

[0081] This embodiment also provides a computer program product. When the computer program product is run on a computer, it causes the computer to perform the aforementioned related steps to realize the application processor wake-up method based on a paging scenario provided in the above embodiment. The system, computer-readable storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they achieve can be referred to in the beneficial effects of the corresponding methods provided above, and will not be repeated here. Through the description of the above embodiments, those skilled in the art can understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by this invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of modules or units is merely a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, system or unit, and can be electrical, mechanical or other forms.

[0082] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multiple task processing and parallel processing are possible or may be advantageous. The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. The above content is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be covered within the protection scope of the present invention.

Claims

1. An application processor wake-up method based on a paging scenario, characterized in that, The application processor wake-up method based on paging scenarios includes: When the communication processor is in a wake-up state, it wakes up the initial state of the application processor and keeps the operating system corresponding to the application processor in a sleep state. Determine the interrupt type of the wake-up source for the communication processor; Based on the interrupt type, determine the target scenario to which the wake-up source belongs; If the target scenario to which the wake-up source belongs is a paging scenario, a target interrupt portion matching the paging scenario is determined in the general interrupt controller; wherein, the target interrupt portion is used to characterize the interrupt parameters required in the paging scenario; Initialize the target interrupt section in the general interrupt controller; Based on the general interrupt controller, the communication processor is controlled to enter the running state, and the core of the application processor is controlled to enter the waiting state, so as to wait to wake up the core of the application processor; An interrupt signal is generated when the communication processor completes its operation; In response to the interrupt signal, the application processor is notified to return from the waiting state to the sleep state; If the current service of the application processor does not meet the preset sleep conditions, the operating system corresponding to the application processor is woken up to process the current service.

2. The application processor wake-up method based on a paging scenario according to claim 1, characterized in that, The initial state for waking up the application processor when the communication processor is in a wake-up state includes: Obtain the storage unit of the nested preset mini-program; wherein, the preset mini-program is used to determine the target scene to which the wake-up source belongs; When the communication processor is in a wake-up state, it controls the application processor to start running from the read-only memory and jump to the storage unit to wake up the application processor's initial state.

3. The application processor wake-up method based on a paging scenario according to claim 1, characterized in that, The step of determining the target scenario to which the wake-up source belongs based on the interrupt type includes: The interrupt type is determined based on a preset mini-program to determine whether it is a paging specified interrupt; If the interrupt type is the paging-specified interrupt, then the target scenario is determined to be the paging scenario.

4. The application processor wake-up method based on a paging scenario according to claim 1, characterized in that, The step of responding to the interrupt signal and notifying the application processor to return from the waiting state to the sleep state includes: In response to the interrupt signal, the application processor in the waiting state is woken up, and a notification message is sent to the application processor; Based on the notification message, the application processor is notified to return from the waiting state to the sleep state, so that the application processor can determine whether to return to the sleep state.

5. The application processor wake-up method based on a paging scenario according to claim 4, characterized in that, If the current service of the application processor does not meet the preset sleep conditions, the operating system corresponding to the application processor is woken up to process the current service, including: If the current service does not match the notification message, it is determined that the current service does not meet the preset sleep conditions; The operating system corresponding to the application processor is woken up based on the current service to process the current service.

6. The application processor wake-up method based on a paging scenario according to claim 1, characterized in that, The method further includes: If the current service of the application processor meets the preset sleep conditions, control the application processor to exit the waiting state and enter the sleep state; Adjust the general interrupt controller from its current state to the sleep state.

7. An application processor wake-up system based on a paging scenario, characterized in that, The application processor wake-up system based on paging scenarios includes: The determination module is used to wake up the application processor to its initial state when the communication processor is in a wake-up state, and keep the operating system corresponding to the application processor in a sleep state; determine the interrupt type of the wake-up source of the communication processor; and determine the target scenario to which the wake-up source belongs based on the interrupt type. The control module is configured to, if the target scenario to which the wake-up source belongs is a paging scenario, determine a target interrupt portion matching the paging scenario in a general interrupt controller; wherein, the target interrupt portion is used to characterize the interrupt parameters required in the paging scenario; initialize the target interrupt portion in the general interrupt controller; and, based on the general interrupt controller, control the communication processor to enter a running state and the application processor core to enter a waiting state, so as to wait to wake up the application processor core; The generation module is used to generate an interrupt signal when the communication processor finishes running; The notification module is used to notify the application processor to return from the waiting state to the sleep state in response to the interrupt signal; The wake-up module is used to wake up the operating system corresponding to the application processor to process the current service if the current service of the application processor does not meet the preset sleep conditions.

Citation Information

Patent Citations

  • Sleep wake-up method for communication terminal

    CN110990066A

  • Standby control method for multi-core SoC chip and multi-core SoC chip

    CN118113137A