CN111225434B - Application response method, system, storage medium and communication module - Google Patents

Application response method, system, storage medium and communication module Download PDF

Info

Publication number
CN111225434B
CN111225434B CN201911253733.5A CN201911253733A CN111225434B CN 111225434 B CN111225434 B CN 111225434B CN 201911253733 A CN201911253733 A CN 201911253733A CN 111225434 B CN111225434 B CN 111225434B
Authority
CN
China
Prior art keywords
communication module
bootapp
source
preset
bootloader
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911253733.5A
Other languages
Chinese (zh)
Other versions
CN111225434A (en
Inventor
卢潇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Cheerzing Technology Co ltd
Original Assignee
Xiamen Cheerzing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Cheerzing Technology Co ltd filed Critical Xiamen Cheerzing Technology Co ltd
Priority to CN201911253733.5A priority Critical patent/CN111225434B/en
Publication of CN111225434A publication Critical patent/CN111225434A/en
Application granted granted Critical
Publication of CN111225434B publication Critical patent/CN111225434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The invention provides an application program response method, an application program response system, a storage medium and a communication module, wherein the method comprises the following steps: when a communication module is awakened from a power-saving mode, acquiring an awakening source of the communication module; judging whether the awakening source is a preset awakening source or not; and if not, executing a local control function of the preset program to locally respond to the application program request. According to the invention, when the wake-up source other than the preset wake-up source is obtained, the local control function of the preset program is adopted, so that the request of the application program is responded locally and quickly, only the processor on the communication module is used when the preset program runs, and the communication function is not used, so that the system initialization time after the communication module is awakened is greatly shortened, the App response time delay is shortened to be within 5 milliseconds from the usual 2-3 seconds, the real-time control requirement of all low-power-consumption IoT systems can be basically met, the system control MCU of the low-power-consumption IoT product can be completely removed in the hardware design, and the hardware cost of the low-power-consumption IoT product is reduced.

Description

Application response method, system, storage medium and communication module
Technical Field
The invention belongs to the technical field of products of the Internet of things, and particularly relates to an application response method, an application response system, a storage medium and a communication module.
Background
In order to reduce the product cost and exploit the computing potential of the communication module as much as possible, the Internet of things (IoT) product transfers the work of the MCU to the communication module through the OpenCPU technology and completes all tasks of the MCU in the form of APP, so that the Application program (APP) of the user runs in the communication module, and thus the MCU on the Internet of things product can be omitted, and the hardware cost of the Internet of things device can be reduced without reducing the function and performance.
The existing OpenCPU products load an App developed based on an OpenCPU API after an RTOS (Real Time Operating System) normally operates and a communication module completes System initialization and can normally work, and at this Time, the App software can start to operate, so that the Time for the App to start to operate is usually 2-3 seconds later than the Time for communication (depending on the System initialization Time). This approach is not problematic in common applications, but has significant drawbacks for scenarios where power consumption requirements are very stringent and real-time control requirements are high, such as NB-IoT products.
The communication module of the NB-IoT product supports a PSM state (power saving Mode), and in order to ensure that very low power consumption is achieved in this state, all on-chip devices including a memory except a Real-time clock (RTC) are turned off in the PSM state, and power supply and a clock of an RTC-related module are reserved so that the PSM can exit from the PSM state and enter a normal operating state when the RTC-related module needs to operate. Because the large-capacity memory is closed before the PSM state is entered and partial system data is lost, the system needs to be reinitialized after the PSM mode exits, the initialization process can be completed within almost 2-3 seconds, so that response of the App is delayed for 2-3 seconds due to system initialization, power consumption increased by the delay cannot be accepted in low-power-consumption IoT products, and the MCU cannot be directly removed on the low-power-consumption IoT products.
Disclosure of Invention
The invention aims to provide an application response method, an application response system, a storage medium and a communication module, and aims to solve the technical problem that an MCU cannot be removed from an existing low-power-consumption IoT OpenCPU product.
The embodiment of the invention is realized in such a way that an application response method is applied to a communication module, and the method comprises the following steps:
when the communication module is awakened in a power-saving mode, acquiring an awakening source of the communication module;
judging whether the awakening source is a preset awakening source or not;
and if not, executing a local control function of the preset program to locally respond to the application program request.
Further, before the step of executing the local control function of the preset program to respond to the application program locally, the method further comprises:
and turning off other clocks and power supplies except for a preset clock and a power supply which are needed by the running of the preset program.
Still further, the method further comprises:
and if so, initializing and starting the communication module, and responding to the application program request after the communication module is initialized.
Further, after the step of executing the local control function of the preset program to respond to the application program locally, the method further comprises:
judging whether the preset program completes all preset works or not;
and when the judgment result is yes, controlling the communication module to enter a sleep mode.
Further, after the step of determining whether the preset program completes all preset tasks, the method further includes:
and if not, controlling the communication module to enter a WFI state, and executing the preset program again after waiting for the communication module to be interrupted and awakened.
Further, the step of determining whether the preset program completes all preset tasks includes:
judging whether the execution return value of the preset program is a preset value or not;
when the execution return value is the preset value, judging that the preset program completes all preset work;
and when the execution return value is not the preset value, judging that the preset program does not finish all preset work.
Further, after the step of executing the local control function of the preset program to respond to the application program locally, the method further comprises:
and storing the execution data of the preset program in a file system of a communication module.
In addition, an embodiment of the present invention further provides an application response system, which is applied in a communication module, and the system includes:
a wake-up source acquiring module, configured to acquire a wake-up source of the communication module when the communication module is woken up from a power saving mode;
the awakening source judging module is used for judging whether the acquired awakening source is a preset awakening source or not;
and the application program response module is used for executing the local control function of the preset program to locally respond to the application program request when judging that the awakening source is not the preset awakening source.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the application response method as described above.
Furthermore, an embodiment of the present invention further provides a communication module, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the application response method as described above.
Compared with the prior art: when the wake-up source other than the preset wake-up source is acquired, the local control function of the preset program is adopted, so that the application program request is locally responded, and only the processor on the communication module is used without using the communication function when the preset program runs, so that the system initialization time after the communication module is awakened is greatly shortened, the App response time delay is shortened to be within 5 milliseconds from the common 2-3 seconds, the requirements of all low-power-consumption IoT system control can be basically met, the MCU can be completely removed from the low-power-consumption IoT product in the aspect of hardware design, and the hardware cost of the low-power-consumption IoT product is reduced.
Drawings
Fig. 1 is a schematic flowchart of an application response method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an application response method according to a second embodiment of the present invention;
fig. 3 is a schematic block diagram of an application response system according to a third embodiment of the present invention;
fig. 4 is a schematic block diagram of a communication module according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an application program response method, a system, a storage medium and a communication module, aiming at the problem that the response of an App is delayed for a long time due to the system initialization work of a communication module of the existing low-power-consumption IoT product, so that the App cannot be operated in the communication module and the MCU cannot be directly removed, so that the App can be operated in the communication module by adopting the local control function of a preset program when a wakeup source other than the preset wakeup source is obtained, and the system initialization time after the communication module is awakened is greatly shortened, so that the App can be operated in the communication module, and the MCU can be removed in the hardware design.
Example one
Please refer to fig. 1, which is a flowchart illustrating an application response method according to an embodiment of the present invention, wherein the application response method is applied to a communication module, the communication module can implement the method through software and/or hardware, and the method specifically includes steps S01 to S03.
Step S01, when the communication module is woken up in the power saving mode, acquiring a wake-up source of the communication module.
It should be noted that the power saving mode is a low power consumption state of the PSM, and the communication module may turn off all on-chip devices including the mass storage except the RTC in the PSM state, and only reserve the power supply and the clock of the module related to the RTC, so that when the communication module needs to wake up to work, the communication module is controlled to exit the PSM state to enter a normal working state.
The wake-up source may be a trigger event for waking up the communication module, and the wake-up source is configured to wake up the communication module, so that the communication module exits the PSM state and enters the normal operating state. The wake-up source may specifically be an external interrupt wake-up, an RTC wake-up, an Alarm wake-up (Tracking Area Update) of TAU, or the like.
Step S02, determining whether the wake-up source is a preset wake-up source.
Wherein, the awakening source is a currently acquired awakening source, and when the awakening source is judged not to be a preset awakening source, the step S03 is executed; when the wake-up source is determined to be the preset wake-up source, step S04 is executed. Specifically, the preset wake-up source may be TAU Alarm wake-up, and generally, non-TAU Alarm wake-up indicates that the system has a real-time control task request (such as a key, system power down, timing data sampling, and the like), and at this time, a preset program in the execution communication module may be called to perform detection, processing, control, and the like required by the system, so as to respond to the operation of the application program. And the TAU Alarm awakens to indicate that the system has a request for updating the tracking area, and the latest condition of the area must be updated by networking through the communication function of the communication module.
In step S03, the local control function of the preset program is executed to locally respond to the application request.
The preset program may be a BootApp, and specifically, a Bootloader may be added to the communication module (if the communication module of the Bootloader already exists, the Bootloader does not need to be added), and the Bootloader calls and executes the BootApp to execute a local control function of the BootApp to perform detection, processing, control and other operations required by the system, so as to quickly respond to the request of the application program locally.
In specific implementation, the BootApp code may be stored in an independent storage space, the BootApp and the Bootloader share a stack space by using an SRAM space independent from the Bootloader, the BootApp may be compiled by a special SDK independent from the App, and the BootApp may be downloaded into the communication module by a special downloading tool, or may be downloaded into an independent BootApp partition by using a downloading tool the same as the App.
Step S04, initializing and starting the communication module, and responding to the application request after the communication module is initialized.
It should be noted that, after the communication module completes system initialization and can work normally, the communication function of the communication module is restarted, and the communication module is used to network update the region and respond to the request of the application program.
To sum up, in the application response method in this embodiment, when an awake source other than the preset awake source is acquired, the local control function of the preset program is adopted to locally respond to the application request, and because the preset program only uses the processor on the communication module and does not need to use the communication function when running, the system initialization time after the communication module is awakened is greatly shortened, the App response delay is shortened from 2-3 seconds to within 5 milliseconds, the requirements of controlling all low-power IoT systems can be basically met, so that the MCU can be completely removed from the hardware design of the low-power IoT product, and the hardware cost of the low-power IoT product is reduced.
Example two
Please refer to fig. 2, which is a flowchart illustrating an application response method according to a second embodiment of the present invention, wherein the application response method is applied to a communication module, the communication module can be implemented by software and/or hardware, and the method specifically includes steps S11 to S19.
Step S11, when the communication module is woken up in the power saving mode, acquiring a wake-up source of the communication module.
Step S12, determining whether the wake-up source is a preset wake-up source.
The awakening source is a currently acquired awakening source, and the preset awakening source is TAU Alarm awakening. And executing the step S13 to the step S18 when the wake-up source is judged not to be the preset wake-up source, and directly jumping to execute the step S19 when the wake-up source is judged to be the preset wake-up source. In specific implementation, a Bootloader may be added to the communication module (if the communication module of the Bootloader already exists, the Bootloader does not need to be added), and the Bootloader distinguishes different wake-up sources.
And step S13, turning off clocks and power supplies other than the preset clock and power supply, which are the clocks and power supplies required for the operation of the preset program.
It can be understood that by turning off the clocks and power supplies of all the unused devices and executing the preset program BootApp with the lowest system power consumption, the power consumption of the communication module can be effectively reduced, so that the communication module operates in an extremely low power consumption state.
Step S14, executing the local control function of the preset program to locally respond to the application program request.
The preset program may be a BootApp, and specifically, the BootApp may be executed by calling an entry function of the BootApp through a Bootloader, so as to perform operations such as detection, processing, and control required by the system.
Step S15, storing the execution data of the preset program in the file system of the communication module.
The execution data of the preset program can be contained in the execution return value of the preset program or extracted from the execution log of the preset program, and useful data produced in the BootApp execution are stored in the file system of the communication module for the App to access.
And step S16, judging whether the preset program completes all preset works.
When it is determined that the preset program completes all the preset tasks, step S17 is executed, and when it is determined that the preset program does not complete all the preset tasks, step S18 is executed.
In specific implementation, the step S16 may be specifically implemented according to the following refining steps, where the refining steps specifically include:
judging whether the execution return value of the preset program is a preset value or not; and when the execution return value is not the preset value, judging that the preset program does not finish all preset works.
The preset value can be 0, that is, after the BootApp finishes executing the requests of all the application programs, an execution state value of 0 is returned to the Bootloader to represent that the BootApp finishes executing all the work; otherwise, returning an execution state value which is not 0 to the Bootloader so as to represent that the BootApp executes the request of partial application program.
Step S17, controlling the communication module to enter the power saving mode.
Step S18, controlling the communication module to enter a WFI state, and waiting for the communication module to be woken up by interruption and then executing the preset program again.
Specifically, whether the PSM state or the WFI state is directly entered again is determined through the BootApp return value, if the PSM state is entered, all work is finished and waiting for the next task, if the PSM state is entered, all work is finished, and if the WFI state is entered, partial work is finished, and the communication module enters the low-power-consumption WFI state and waits for the communication module to be interrupted and woken up and then executes the BootApp again.
Step S19, initializing and starting the communication module, and responding to the application request after the communication module is initialized.
It should be noted that, after the communication module completes system initialization and can work normally, the communication function of the communication module is started, and the tracking area information is updated by the communication function of the communication module, and the request of the application program is responded.
In addition, it should be further noted that in this embodiment, all the steps may be executed by a Bootloader of the communication module, but the present invention is not limited thereto, and in other embodiments, the BootApp may be used to replace the Bootloader, so as to determine, in the BootApp, whether to start the communication module or execute a local control function of the BootApp according to the wakeup source.
EXAMPLE III
Another aspect of the present invention further provides an application response system, please refer to fig. 3, which is a module schematic diagram of an application response system according to a third embodiment of the present invention, and the application response system is applied to a communication module, where the communication module may be implemented by software and/or hardware, and the application response system specifically includes:
a wake-up source obtaining module 11, configured to obtain a wake-up source of the communication module when the communication module is woken up in a power saving mode;
a wake-up source determining module 12, configured to determine whether the acquired wake-up source is a preset wake-up source;
and the application response module 13 is configured to, when it is determined that the wake-up source is not the preset wake-up source, execute a local control function of a preset program to locally respond to an application request.
It should be noted that the power saving mode is a low power consumption state of the PSM, and the communication module may turn off all on-chip devices including the mass storage except the RTC in the PSM state, and only reserve the power supply and the clock of the module related to the RTC, so that when the communication module needs to operate, the communication module is controlled to exit the PSM state to enter a normal operating state.
The wake-up source may be a trigger event for waking up the communication module, and the wake-up source is configured to wake up the communication module, so that the communication module exits the PSM state and enters the normal operating state. The wake-up source may specifically be an external interrupt wake-up, an RTC wake-up, a TAU (Tracking Area Update, Update Tracking Area alert wake-up, or the like.
Specifically, the preset wake-up source may be TAU Alarm wake-up, and generally, non-TAU Alarm wake-up indicates that the system has a real-time control request (such as a key, system power down, timing data sampling, and the like), and at this time, a preset program in the communication module may be called to perform detection, processing, control, and the like required by the system, so as to respond to the operation of the application program. And the TAU Alarm awakens to indicate that the system has a request for updating the tracking area, and the tracking area information must be updated through networking by means of the communication function of the communication module.
The preset program may be a BootApp, and specifically, a Bootloader may be added to the communication module (if the communication module of the Bootloader already exists, the Bootloader does not need to be added), and the Bootloader is invoked to execute the BootApp to execute a local control function of the BootApp to perform operations such as detection, processing, and control required by the system. In specific implementation, the BootApp code may be stored in an independent storage space, an SRAM and a Flash space independent of the Bootloader are used, the BootApp and the Bootloader share a stack space, the BootApp may be compiled by a special SDK independent of the App, and the BootApp may be downloaded to the communication module by a special downloading tool, or may be downloaded to an independent BootApp partition by using a same downloading tool as the App.
To sum up, in the application response system in this embodiment, when acquiring a wake-up source other than the preset wake-up source, the local control function of the preset program is used to locally respond to the application request, and because the preset program is run only using the processor on the communication module and does not need to use the communication function, the system initialization time after the communication module is woken up is greatly shortened, App response delay is shortened from 2-3 seconds to within 5 milliseconds, which basically can meet the control requirements of all low-power IoT systems, so that the MCU of the low-power IoT product can be completely removed in hardware design, and the hardware cost of the low-power IoT product is reduced.
Further, in some alternative embodiments of the present invention, the system further comprises:
and the clock and power supply control module is used for switching on/off other clocks and power supplies except for a preset clock and a power supply, and the preset clock and the power supply are the clocks and the power supplies required by the running of the preset program.
Further, in some optional embodiments of the present invention, the application response module 13 is further configured to initialize and start the communication module when it is determined that the wake-up source is the preset wake-up source, and respond to the application request after the communication module is initialized.
It should be noted that, after the communication module completes system initialization and can work normally, the communication function of the communication module is started, and the tracking area information is updated by networking by means of the communication function of the communication module, and a data transceiving request of an application program is responded.
Further, in some alternative embodiments of the present invention, the system further comprises:
the completion judging module is used for judging whether the preset program completes all preset works or not;
and the mode control module is used for controlling the communication module to enter the power saving mode when judging that the preset program finishes all preset work.
Further, in some optional embodiments of the present invention, the mode control module is further configured to control the communication module to enter a WFI state when it is determined that all preset operations of the preset program are not completed, and wait for the communication module to be awakened by an interrupt and then execute the preset program again.
Further, in some optional embodiments of the present invention, the completion determining module is further configured to determine whether an execution return value of the preset program is a preset value; when the execution return value is the preset value, judging that the preset program completes all preset work; and when the execution return value is not the preset value, judging that the preset program does not finish all preset work.
Further, in some alternative embodiments of the present invention, the system further comprises:
and the data storage module is used for storing the execution data of the preset program in a file system of the communication module.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again.
Example four
Referring to fig. 4, a module structure diagram of a communication module according to a fourth embodiment of the present invention is shown, which includes a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, and when the processor executes the program, the application response method as described above is implemented.
In particular, the communication module may be a wireless communication module of an IoT product, such as a radio frequency communication module, a bluetooth communication module, a wifi communication module, and the like. The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for executing program codes stored in the memory 20 or Processing data.
The memory 20 includes at least one type of readable storage medium, which includes flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, and the like. The memory 20 may in some embodiments be an internal storage unit of the device, for example a hard disk of the device. The memory 20 may also be an external storage device of the apparatus in other embodiments, such as a plug-in hard disk provided on the apparatus, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 20 may also include both an internal storage unit of the apparatus and an external storage device. The memory 20 may be used not only to store application software and various types of data installed in the device, but also to temporarily store data that has been output or will be output.
Optionally, the communication module may further include a user interface, a network interface, a communication bus, etc., the user interface may include a Display (Display), an input unit such as a remote controller, a physical key, etc., and the optional user interface may further include a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information in the device and for displaying a visual user interface. The network interface may include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication link between the apparatus and other electronic devices. The communication bus is used to enable connection communication between these components.
It should be noted that the configuration shown in fig. 4 does not constitute a limitation of the device, which in other embodiments may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
To sum up, the communication module in this embodiment, when acquiring a wakeup source other than the preset wakeup source, uses the local control function of the preset program to locally respond to the application request, and only uses the processor on the communication module without using the communication function when the preset program runs, so that the system initialization time after the communication module is awakened is greatly shortened, the App response delay is shortened from the usual 2-3 seconds to within 5 milliseconds, and the requirements of all low-power IoT system controls can be basically met, so that the MCU can be completely removed from the hardware design of the low-power IoT product, and the hardware cost of the low-power IoT product is reduced.
The present embodiment also provides a computer-readable storage medium on which a computer program 30 used in the above-described communication module is stored, which program, when executed by a processor, implements the above-described application response method.
The storage medium may be, but is not limited to, ROM/RAM, magnetic disk, optical disk, etc.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An application response method, applied to a communication module, the method comprising the steps of:
when the communication module is awakened in a power saving mode, a Bootloader acquires an awakening source of the communication module;
the Bootloader judges whether the awakening source is a preset awakening source or not, wherein the preset awakening source is TAU Alarm awakening;
when the Bootloader judges that the result is not that the TAU Alarm is awakened, the Bootloader calls and executes the bootApp;
the BootApp runs using only the processor on the communication module to perform local control functions to respond to application requests locally without using the communication function.
2. The application response method of claim 1, further comprising, prior to the executing the BootApp function:
bootloader turns off all unneeded clocks and power.
3. The application response method of claim 1, wherein the method further comprises:
and when the judgment result of the Bootloader to the awakening source is TAU Alarm, initializing and starting the communication module, and responding to the application program data communication request after the communication module is initialized.
4. The application response method of claim 1, further comprising, after executing the BootApp program:
judging whether the BootApp completes all work;
and if the judgment result is negative, the Bootloader controls the CPU to enter a WFI state.
5. The application response method of claim 4, wherein after the determining whether BootApp completes all work, further comprising:
and if the BootApp finishes all control tasks, the Bootloader control system enters the PSM again.
6. The application response method of claim 5, wherein the step of determining whether the BootApp completes all jobs comprises:
judging whether the execution return value of the BootApp is 0;
when the BootApp return value is 0, judging that the BootApp completes all work;
and when the BootAPP return value is not 0, judging that the BootAPP does not finish all work, and setting the CPU to enter a WFI state by the Bootloader, waiting to be interrupted and awakening again, and then directly executing the BootAPP.
7. The application response method of claim 1, further comprising, after the step of locally controlling a function of the BootAPP to locally respond to the BootAPP:
and saving the executing data of the BootAPP in a file system of a communication module.
8. An application response system for use in a communication module, the system comprising:
a wake-up source obtaining module, configured to obtain a wake-up source of the communication module when the communication module is woken up in a power saving mode;
the wake-up source judging module is used for judging whether the acquired wake-up source is a preset TAU Alarm wake-up source;
the application program response module is used for executing BootApp when judging that the awakening source is not a preset awakening source;
the BootApp runs using only the processor on the communication module to perform local control functions to respond to application requests locally without using the communication function.
9. A computer-readable storage medium on which a computer program Bootloader, BootApp and a communication protocol stack and a file system are stored, characterized in that Bootloader and BootApp, when executed, implement the application response method according to any of claims 1-7.
10. A communication module comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the application response method according to any of claims 1 to 7 when executing Bootloader, BootApp.
CN201911253733.5A 2019-12-09 2019-12-09 Application response method, system, storage medium and communication module Active CN111225434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911253733.5A CN111225434B (en) 2019-12-09 2019-12-09 Application response method, system, storage medium and communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911253733.5A CN111225434B (en) 2019-12-09 2019-12-09 Application response method, system, storage medium and communication module

Publications (2)

Publication Number Publication Date
CN111225434A CN111225434A (en) 2020-06-02
CN111225434B true CN111225434B (en) 2021-04-09

Family

ID=70829789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911253733.5A Active CN111225434B (en) 2019-12-09 2019-12-09 Application response method, system, storage medium and communication module

Country Status (1)

Country Link
CN (1) CN111225434B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115509153B (en) * 2021-06-23 2024-09-27 中移物联网有限公司 Secondary development method and device for narrow-band internet of things (NB-IoT) communication module
CN116017640A (en) * 2021-10-21 2023-04-25 华为技术有限公司 Information transmission method and device
CN115065574B (en) * 2022-05-25 2024-01-23 阿波罗智能技术(北京)有限公司 Vehicle controller awakening method and device, electronic equipment and automatic driving vehicle
CN116233989B (en) * 2023-05-10 2023-09-22 荣耀终端有限公司 Control method and equipment for network connection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107125888A (en) * 2017-05-05 2017-09-05 中国联合网络通信集团有限公司 Intelligent luggage carrier and its control method
CN107592665A (en) * 2017-10-27 2018-01-16 维沃移动通信有限公司 A kind of control method of application program, device and mobile terminal
CN109147300A (en) * 2018-11-26 2019-01-04 北京华源热力管网有限公司 One kind being based on NB-IoT low-power consumption modularization information transmission process system
CN109511133A (en) * 2017-09-14 2019-03-22 西安中兴新软件有限责任公司 A kind of method and device waking up processing
CN109640383A (en) * 2019-01-30 2019-04-16 深圳高新兴物联科技有限公司 Reduce method and device, internet of things equipment and the storage medium of battery saving mode power consumption

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015226837A1 (en) * 2015-12-30 2017-07-06 Dialog Semiconductor B.V. Initialization of memory in a computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107125888A (en) * 2017-05-05 2017-09-05 中国联合网络通信集团有限公司 Intelligent luggage carrier and its control method
CN109511133A (en) * 2017-09-14 2019-03-22 西安中兴新软件有限责任公司 A kind of method and device waking up processing
CN107592665A (en) * 2017-10-27 2018-01-16 维沃移动通信有限公司 A kind of control method of application program, device and mobile terminal
CN109147300A (en) * 2018-11-26 2019-01-04 北京华源热力管网有限公司 One kind being based on NB-IoT low-power consumption modularization information transmission process system
CN109640383A (en) * 2019-01-30 2019-04-16 深圳高新兴物联科技有限公司 Reduce method and device, internet of things equipment and the storage medium of battery saving mode power consumption

Also Published As

Publication number Publication date
CN111225434A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111225434B (en) Application response method, system, storage medium and communication module
US9152199B2 (en) Power state dependent wake-up alarm
US7430673B2 (en) Power management system for computing platform
KR101529018B1 (en) Dynamic sleep for multicore computing devices
CN109739563B (en) Terminal control method, device, system and storage medium
US8793697B2 (en) Method and system for scheduling requests in a portable computing device
CN112530056B (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
WO2016041190A1 (en) Method and apparatus for running application program
CN113703799B (en) Computing device and BIOS updating method and medium thereof
US20030070065A1 (en) Suspending to nonvolatile storage
US20130311751A1 (en) System and data loading method
KR20100054855A (en) Power management method and apparatus
CN105353864A (en) Static power consumption management method and system for electronic device
US9323307B2 (en) Active display processor sleep state
KR20140026308A (en) Apparatus and method for managing power in multi-core system
CN109062624B (en) Processing method for interrupt wakeup of automobile electronic control unit
CN102141920B (en) Method for dynamically configuring C-State and communication equipment
CN210072612U (en) Internet of things chip system
CN117369888A (en) Electronic equipment awakening method and device, electronic equipment and readable storage medium
CN114816031A (en) Power saving method of terminal device, terminal device and medium
CN117008980B (en) System dormancy method and device, and system wakeup method and device
CN111897763A (en) Control method, control device and electronic equipment
WO2017102038A1 (en) Method and arrangement for utilization of a processing arrangement
CN113656085B (en) Meter starting method, apparatus, device, storage medium and program product
JP2000347772A (en) Power consumption reduction control method for processor to be used for portable information equipment

Legal Events

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