CN114595006A - Quick starting method and device for intelligent wearable equipment and storage medium - Google Patents
Quick starting method and device for intelligent wearable equipment and storage medium Download PDFInfo
- Publication number
- CN114595006A CN114595006A CN202210280424.2A CN202210280424A CN114595006A CN 114595006 A CN114595006 A CN 114595006A CN 202210280424 A CN202210280424 A CN 202210280424A CN 114595006 A CN114595006 A CN 114595006A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- application program
- intelligent wearable
- operating system
- sram
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000007958 sleep Effects 0.000 claims abstract description 55
- 238000011084 recovery Methods 0.000 claims abstract description 11
- 230000006870 function Effects 0.000 claims description 20
- 230000006399 behavior Effects 0.000 claims description 9
- 230000007613 environmental effect Effects 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000036541 health Effects 0.000 claims description 2
- 230000036578 sleeping time Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000006266 hibernation Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000002035 prolonged effect Effects 0.000 description 3
- 238000013468 resource allocation Methods 0.000 description 3
- 238000013480 data collection Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009532 heart rate measurement Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004622 sleep time Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009530 blood pressure measurement Methods 0.000 description 1
- 235000021152 breakfast Nutrition 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Power Sources (AREA)
Abstract
The present disclosure relates to a quick start method, apparatus and storage medium for an intelligent wearable device, the intelligent wearable device includes an operating system running memory and an SRAM, the quick start method includes: when the intelligent wearable device enters a standby state or a dormant state, transmitting kernel information stored in an operating system operating memory to an SRAM for storage, and closing the operating system operating memory; when the intelligent wearable device is recovered from the standby state or the sleep state, an operating system running memory is opened, kernel information stored in the SRAM is loaded into the operating system running memory, and the operating system of the intelligent wearable device is started based on the kernel information. According to the method and the device, the operating system is closed to operate the memory when in standby or sleep, standby or sleep current is reduced to prolong standby time, the operating system is started based on kernel information stored in the SRAM when the operating system is recovered from the standby state or the sleep state, system recovery time is shortened, and user experience is improved.
Description
Technical Field
The present disclosure relates to the field of smart wearable devices, and more particularly, to a method and an apparatus for fast booting a smart wearable device, and a storage medium.
Background
With the popularization of intelligent electronics, more and more people begin to use intelligent electronic products. The current smart wearable device, such as a smart watch, has a large standby current if a running memory (e.g., LPDDR, Low Power Double Data Rate SDRAM, Low Power Double Data Rate memory) of a smart watch operating system is not turned off in a standby state, which results in a short standby time and inconvenience for a user to use, and has a prolonged standby time if a non-smart mode is switched to for Power saving and the LPDDR is turned off, but in this case, a longer time is usually required to restart the smart operating system, and an application program running before the smart watch needs to be reloaded to be reused, which consumes a longer time and results in a poor user experience.
Disclosure of Invention
The present disclosure is provided to solve the above-mentioned problems occurring in the prior art.
A fast start method, an apparatus and a storage medium for an intelligent wearable device are needed, which are directed to the problem that the power consumption is large if an operating system running memory of an operating system of the intelligent wearable device is not closed in a standby state, the system state before standby cannot be preserved if the operating system running memory is closed, and the time for restarting the operating system is long when the intelligent wearable device is recovered from the standby state or the dormant state, by transmitting kernel information and running applications of the operating system to an SRAM for preservation and closing the operating system running memory when the intelligent wearable device enters the standby state or the dormant state, and loading the kernel information and the applications from the SRAM to the operating system running memory when the intelligent wearable device is recovered from the standby state or the dormant state, so as to further reduce the power consumption in the standby state/dormant state and prolong the standby time, meanwhile, the time consumed for recovering from the standby state/the dormant state, including switching from the non-intelligent mode to the intelligent mode, is shortened, and the use experience of a user is improved.
According to a first scheme of the disclosure, a quick start method for an intelligent wearable device is provided, the intelligent wearable device comprises an operating system running memory and an SRAM, the quick start method comprises the steps of transmitting kernel information stored in the operating system running memory to the SRAM for storage and closing the operating system running memory when the intelligent wearable device enters a standby state or a sleep state; when the intelligent wearable device is recovered from a standby state or a sleep state, the operating system running memory is opened, kernel information stored in the SRAM is loaded into the operating system running memory, and the operating system of the intelligent wearable device is started based on the kernel information.
According to a second aspect of the present disclosure, an intelligent wearable device is provided, where the intelligent wearable device at least includes a processor, an operating system running memory, and an SRAM, and the processor is configured to execute the steps of the quick start method for the intelligent wearable device according to the embodiments of the present disclosure.
According to a third aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having instructions stored thereon, which when executed by a processor, implement the steps of the quick-start method for a smart wearable device according to the various embodiments of the present disclosure.
By using the quick start method, the quick start device and the storage medium for the intelligent wearable device according to the embodiments of the present disclosure, when the intelligent wearable device enters the standby state or the sleep state including the non-intelligent mode, the operating system operating memory is closed, the standby current of the intelligent wearable device is reduced, the power consumption of the intelligent wearable device is favorably reduced, the standby time is prolonged, the kernel information in the operating system operating memory before standby is copied and stored in the SRAM of the intelligent wearable device, the kernel information is quickly stored and recorded, so that when the intelligent wearable device recovers from the standby state or the sleep state, the operating system operating memory is opened and the kernel information stored in the SRAM is loaded into the operating system operating memory, the standby state or the sleep state with low power consumption is quickly converted into the operating system operating state, and the low power consumption and the quick recovery of the operating system are both achieved, the user experience is improved.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. The drawings illustrate various embodiments generally by way of example and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. The same reference numbers will be used throughout the drawings to refer to the same or like parts, where appropriate. Such embodiments are illustrative, and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
Fig. 1 shows a flowchart of a quick start method for a smart wearable device according to an embodiment of the present disclosure.
Fig. 2 shows another flowchart of a quick start method for an intelligent wearable device according to an embodiment of the present disclosure.
FIG. 3 illustrates a flow diagram for preloading a third application in accordance with an embodiment of the present disclosure.
FIG. 4 illustrates a flow diagram for preloading a fourth application in accordance with an embodiment of the present disclosure.
Fig. 5 shows a partial composition schematic diagram of an intelligent wearable device according to an embodiment of the present disclosure.
Detailed Description
For a better understanding of the technical aspects of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings. Embodiments of the disclosure are described in further detail below with reference to the figures and the detailed description, but the disclosure is not limited thereto. The order in which the various steps described herein are described as examples should not be construed as a limitation if there is no requirement for a context relationship between each other, and one skilled in the art would know that sequential adjustments may be made without destroying the logical relationship between each other, rendering the overall process impractical.
Fig. 1 shows a flowchart of a quick start method for a smart wearable device according to an embodiment of the present disclosure. In some embodiments, the smart wearable device according to the embodiments of the present disclosure may be, for example, a smart watch, a smart band, a smart helmet, or other various wearable devices, which are not particularly limited in the present disclosure. In some embodiments, the smart wearable device may include at least an operating system running memory and an SRAM, where the operating system running memory may be implemented by, for example, an LPDDR (Low Power Double Data Rate SDRAM, Double Data Rate RAM), which is one of DDR SDRAM (Double Data Rate RAM), a communication standard established by JEDEC Solid State Technology Association (JEDEC Solid State Technology Association) in the united states facing the Low Power consumption memory, and features Low Power consumption and small size. In the following, LPDDR is used to refer to the operating system running memory, but it should be understood that the operating system running memory is not limited to LPDDR, and other manners may be adopted. In an embodiment according to the present disclosure, the run memory of the operating system may be used to store kernel information required for running the operating system of the intelligent wearable device, where the kernel is a kernel portion of the operating system of the intelligent wearable device, the kernel information includes software that controls hardware interaction and resource allocation between the operating system and the intelligent wearable device, the hardware interaction may include, for example, reading and writing a hard disk, reading and writing a network disk, reading and writing a memory, and performing interaction with any hardware connected to the system, and the resource allocation may include, for example, allocation of CPU time, memory, and IO resources, and a running state of each software or application program process, and the foregoing is merely an example, and those skilled in the art can understand specific meaning of the operating system kernel information. In some embodiments, the smart wearable device may further include an SRAM (Static random access memory), where the Static memory has a feature of very fast read/write speed and no need to keep data by refreshing, and the power consumption is very low, so that it may be configured to store kernel information before the operating system is in standby.
Based on the above configuration, in step S101, when the smart wearable device enters the standby state or the sleep state, the kernel information stored in the operating system running memory, such as the LPDDR, may be transmitted to the SRAM for storage, and the operating system running memory is turned off. Although the power consumption of the operating system running memory implemented by the LPDDR is already low, the power consumption is still an important objective for performance optimization of the intelligent wearable device which is usually small in size and therefore small in battery size, and therefore, when the LPDDR is turned off during the standby of the operating system, the power consumption of the device can be further reduced, and the standby time can be prolonged.
Then, in step S102, when the smart wearable device recovers from the standby state or the sleep state, the LPDDR may be turned on, kernel information stored in the SRAM is loaded into the LPDDR, and an operating system of the smart wearable device is started based on the kernel information. The kernel information comprises core information such as interaction between the operating system and hardware, resource allocation, running states of all application programs and the like, so that when the intelligent wearable device is recovered from a standby state or a sleep state, the kernel information in the SRAM is quickly loaded into the LPDDR, the operating system can be quickly recovered to the running state before standby or before sleep based on the kernel information, and the use experience of a user is improved.
In some embodiments, the standby state includes a non-smart mode, and the smart wearable device entering the standby state or the sleep state specifically includes the smart wearable device entering the non-smart mode from the smart mode; the intelligent wearable device is recovered from a standby state or a sleep state and specifically comprises that the intelligent wearable device is switched from a non-intelligent mode to an intelligent mode.
Specifically, after the intelligent wearable device is started, when the operating system is started for the first time, the intelligent wearable device firstly enters an intelligent mode, for example, a bluetooth function, a network connection function and the like of the intelligent wearable device can be opened in the intelligent mode, and various application programs can be run under the support of the intelligent operating system at the moment.
In some embodiments, the smart wearable device may enter a standby state if the first transition condition is satisfied. For example only, the first transition condition may be that the smart wearable device is not operated by the user for a third preset time period, and then the smart wearable device may enter the standby state. The first conversion condition may also be a specific operation of a screen, a key, or the like by a user, or a control amount generated based on a system and an environmental state such as a battery level, a network condition, an environmental temperature, or the like, which is not specifically limited in this disclosure. As described above, the standby state includes the non-smart mode, and when the smart device enters the non-smart mode based on the determination of the first transition condition, in order to reduce power consumption in the non-smart mode, the above-described bluetooth function, network connection function, and the like may be turned off, and only functions implemented based on, for example, various sensors may be turned on, and in this mode, a second application program supporting various sensor functions may be run, including a combination of one or more of functions enabling the smart wearable device to perform time display, exercise data collection recording, health data collection recording, and environmental condition collection recording without running the operating system.
In some embodiments, in the standby state, when the first resume condition is satisfied, the smart wearable device may resume from the standby state. For example only, the first recovery condition may be various trigger operations such as lighting a screen, clicking a dial control, unlocking by a fingerprint, drawing an unlocking pattern, or quickly double-clicking a screen, or a control amount generated based on a system and an environmental state such as a battery level, a network condition, an environmental temperature, or the like, and is not particularly limited herein. When the smart-wearable device is in the non-smart mode and the first recovery condition is satisfied, the smart-wearable device switches from the non-smart mode to the smart mode and performs a series of operations as described in step S102.
In other embodiments, the smart wearable device may enter the sleep state if the second transition condition is satisfied. For example only, the second transition condition may be that the smart wearable device is not operated for any time within a fourth preset time period longer than the third preset time period, and then the smart wearable device may enter the sleep state. Similarly, the second conversion condition may also be a specific operation of the screen and the key by the user, or a control amount generated based on the system and the environment state such as the battery level, the network status, the environment temperature, and the like, and is not described herein again.
In some embodiments, in the hibernation state, when the second resume condition is satisfied, the smart wearable device may resume from the hibernation state. Similar to the first recovery condition, the second recovery condition may also be various trigger operations such as lighting a screen, clicking a dial control, unlocking by a fingerprint, drawing an unlocking pattern, or quickly double-clicking a screen, or a control amount generated based on a system and an environmental state such as a battery level, a network condition, and an environmental temperature, and is not limited herein.
The first conversion condition, the second conversion condition, the first recovery condition, the second recovery condition, and the like may also be corresponding operation instructions generated based on received user speech and the like, and are not limited herein.
As described above, when the smart wearable device enters the standby state or the sleep state and recovers from the standby state or the sleep state, the quick start method according to the embodiment of the disclosure can provide a solution that is compatible with both low power consumption of the smart wearable device and quick state switching/quick system operation recovery.
Furthermore, even the second application program which supports the functions of the sensors and does not need the support of the operating system can also have a sleep function, such as small programs of heart rate measurement, blood pressure measurement and the like, and can be periodically performed according to the setting of the user, such as ten minutes or one measurement per hour and the like, and can enter a sleep state when the measurement is not performed. In some embodiments, when the first sleep condition is met, the second application program can be transferred to a sleep state and transferred to the SRAM for storage, and when the first wake-up condition is met, the second application program is woken up from the sleep state and is run from the SRAM. In general, the second application program has simpler functions and occupies a smaller storage space, so that the second application program can be completely stored in the SRAM and directly run from the SRAM without being searched and loaded into the LPDDR to run, and thus, the second application program can be executed in a state where the LPDDR is turned off and the operating system is not running, and part of necessary functions of the intelligent wearable device can be maintained with extremely low power consumption.
In some embodiments, the first sleep condition may include that the smart wearable device is in a non-smart mode, and the running time of the second application exceeds a first preset time period, where the first preset time period may be, for example, a preset measurement period of the second application that runs periodically in the non-smart mode, and after the measurement period is ended, the program automatically enters a sleep state.
In some embodiments, the first wake-up condition may include at least that the smart wearable device transitions from the non-smart mode to the smart mode, or that the second application program sleeps for a time longer than a second preset time period. The second preset time period may be, for example, a sleep time period preset by a second application program that runs periodically, and when the sleep time period is exceeded, the program is awakened and enters a running state to execute functions such as corresponding measurement. In addition, when the smart wearable device returns to the smart mode from the non-smart mode, the second application program in the sleep state may be awakened to execute the corresponding function, and the running result is presented to the user.
Therefore, by using the quick starting method according to the embodiment of the disclosure, even if the second application program is awakened periodically, the LPDDR does not need to be opened, so that the intelligent wearable device has ultra-low power consumption in the non-intelligent mode, and meanwhile, when the intelligent wearable device needs to return to the intelligent mode from the non-intelligent mode, the switching speed is high, and the user experience is improved.
Fig. 2 shows another flowchart of a quick start method for an intelligent wearable device according to an embodiment of the present disclosure. In some embodiments, the smart wearable device may further include a FLASH memory configured to store a first application program, where the first application program is an application program that runs under the support of the operating system, that is, a smart application program that can only run when the operating system is in a running state. In this embodiment, the SRAM in the smart wearable device may also be used to store the first application program that is running before standby. The quick starting method according to the embodiment of the present disclosure may further include the steps of:
in step S201, when the operating system is first started, the LPDDR is turned on, the operating system is started based on the kernel information in the LPDDR, the first application program that satisfies the first loading condition and is stored in the FLASH memory is loaded into the LPDDR, and the first application program that satisfies the first loading condition is executed.
In some embodiments, the intelligent wearable device enters an intelligent mode after being started, the LPDDR is opened, the operating system is started for the first time based on kernel information in the LPDDR, when there is a first application program meeting a first loading condition, since the operating system enters a running state for the first time, no first application program is stored in the SRAM, the first application program meeting the first loading condition needs to be loaded into the LPDDR from the FLASH memory, and the first application program meeting the first loading condition is run. In some embodiments, the first loading condition may be set by a user, for example, the user may set a priority to commonly used applications according to usage habits, the first loading condition may be, for example, "three first applications with the highest priority", and the like, and is not limited herein.
In other embodiments, if an application program that needs to be started in advance is not detected, the operating system is usually only started, and the second application program is run, so as to implement basic functions that can be realized through sensor measurement, such as timing, stopwatch, step counting, heart rate measurement and the like, which are common in the smart wearable device.
In step S202, when the intelligent wearable device enters a standby state or a sleep state, the kernel information in the LPDDR and at least a part of running first applications (for example, common applications or applications that are determined to be started when the operating system resumes running according to other criteria) are transmitted to the SRAM for storage, and the running of each first application is stopped and the LPDDR is closed.
In step S203, when the smart wearable device is recovered from the standby state or the sleep state, it is determined whether there is a first application running before the standby state or before the sleep state, for example, it may be determined whether there is a first application running before the standby state through the kernel information. If there is a first application running before the standby (yes in step S203), the process proceeds to step S204.
In step S204, the LPDDR is opened, the kernel information stored in the SRAM and the first application program are loaded into the LPDDR together, an operating system is started based on the kernel information, and the first application program is run. Because the SRAM has the characteristic of quick reading and writing, the kernel information and the first application program are loaded from the SRAM, the operating system and the application program can be quickly restored to the state before standby, and a user does not need to wait for a long time.
Further, it is understood that, when the determination result in the step S203 is "no", that is, there is no first application program being executed before the standby, when the smart wearable device is resumed from the standby state or the hibernation state next time, it is only necessary to load the kernel information stored in the SRAM into the LPDDR and start the operating system without loading any first application program.
In some other embodiments, when the smart wearable device enters the standby state or the sleep state, at least a part of the first application program fails to be stored in the SRAM due to more first application programs being executed, or the first application program is too large to be stored in the SRAM, and in some embodiments, when the smart wearable device recovers from the standby state or the sleep state, the first application program may be obtained from the FLASH memory and the first application program lpdd is loaded into the dr for execution, so as to ensure that the operating system and the application programs are recovered to the running state before standby.
Therefore, by using the quick starting method according to the embodiment of the disclosure, the intelligent wearable device can be quickly recovered from the standby state or the dormant state, and on the premise of not increasing power consumption, the first application program and/or the second application program which is running before standby or dormancy can be quickly recovered to the previous state, so that the time for loading the system and the program is saved, and the user experience is further improved.
FIG. 3 illustrates a flow diagram for preloading a third application in accordance with an embodiment of the present disclosure. As shown in fig. 3, in step S301, a behavior pattern of the user may be analyzed according to at least one of a time when the smart wearable device enters the standby state or the sleep state, an application program used by the user last time, positioning information, history information, or a combination thereof, and a third application program may be selected based on the behavior pattern of the user. For example, the operating system is switched from the running state to the standby state in about seven and a half of a day (monday to friday) in the morning, and usually in this time period, the user will take public transportation to complete commuting, so the behavior pattern of the user can be determined as "commuting", and therefore, an application program such as "transportation one-card" can be selected as a third application program and preloaded in subsequent steps. In the above embodiment, the behavior mode of the user may be further determined in combination with positioning information, for example, a route selected by the user before standby, for example, when the route selected by the user is to lead to a subway, "subway one-card" may be selected as the third application program, and when the route selected by the user leads to a bus stop, "bus one-card" may be selected as the third application program. In other embodiments, the third application may be selected in combination with more user information, for example, on the basis of determining that the behavior pattern of the user is "commute", and further in combination with historical information, etc., it is determined that the user may purchase breakfast during the commute, so that the "first payment program" frequently used by the user may also be preloaded as the third application. In other embodiments, the behavior pattern of the user may also be determined according to the application program used by the user last time, for example, if the user last used an application program such as "public transport one card through" to log on a public transport, the application program for viewing news may be preloaded and preferentially presented to the user. For another example, when the application program used by the user last time is a "subway all-purpose card" and the user swipes the two-dimensional code to exit the station, it may be determined that the user is going to check in on duty by using the "on duty card" application program of the company next time, and therefore the "on duty card" may be preloaded as a third application program. The above are merely examples, and the disclosure is not intended to be exhaustive.
Next, in step S302, when the smart wearable device enters the standby state or the sleep state, the kernel information in the LPDDR and the third application selected in step S301 may be transferred from the LPDDR or the FLASH memory to the SRAM for storage. In some embodiments, when the selected third application is not in a running state, the third application may be transferred from the FLASH memory to the SRAM for storage.
Then, in step S303, when the smart wearable device recovers from the standby state or the sleep state, the kernel information and the third application program in the SRAM may be loaded into the LPDDR, the operating system is started based on the kernel information, and the third application program is executed.
By using the preloading method of the third application program described in conjunction with fig. 3, the behavior pattern of the user can be analyzed and judged according to various information, so that the further application program use requirements of the user can be judged and predicted, and the third application program which is stored in the SRAM for fast loading and running when the user recovers from the standby state or the sleep state can be selected.
FIG. 4 illustrates a flow diagram for preloading a fourth application in accordance with an embodiment of the present disclosure. As shown in fig. 4, in step S401, the priority of the application may be preset based on the user' S usage habit, and the fourth application may be selected based on the priority of the application. In some embodiments, the priority of the application program may be preset by the user according to the usage habit of the user, or a certain number of application programs most frequently used by the user may be selected according to the usage frequency of the plurality of application programs by the user, and the selected application programs are used as fourth application programs, and are preloaded and preferentially presented in subsequent steps, where the number of the fourth application programs may be a system default value, or may be specified by the user or the size of the storage space, which is not limited by the present disclosure.
Next, in step S402, when the intelligent wearable device enters the standby state or the sleep state, the kernel information in the LPDDR and the fourth application program selected in step S401 are transmitted to the SRAM for storage. In some embodiments, when the fourth application is not running in LPDDR, it may be retrieved from FLASH memory and transferred to SRAM for storage.
Then, in step S403, when the intelligent wearable device recovers from the standby state or the sleep state, the kernel information and the fourth application program in the SRAM are loaded into the LPDDR, the operating system is started based on the kernel information, and the fourth application program is sequentially run and presented to the user based on the priority of the fourth application program.
In some embodiments, the user's usage habits may also be combined with other conditions to select and pre-load, preferentially present, the fourth application. For example, the use habits of the user and the use scenes can be combined, and in the case that the positioning information of the intelligent wearable device indicates that the user is at home, the entertainment and leisure-related applications (such as music playing software, video playing software, game software, and the like) frequently used by the user in the scene can be pre-loaded according to the priority, and sequentially and preferentially presented to the user when the operating system is shifted to the running state.
According to the preloading method of the fourth application program shown in fig. 4, the priority of the application program can be set according to the use habit of the user, and the priority of the application program is combined with conditions such as an application scene, so that the application program which the user may expect to run can be presented to the user more quickly and accurately when the intelligent wearable device is recovered from the standby state or the sleep state, and thus, not only can the time for the user to call the application program be reduced, but also the use experience of the user can be improved.
In the application program preloading process shown in fig. 3 and 4, the preloaded program can be selected in combination with the state of the smart wearable device itself, for example, when the remaining power of the smart wearable device is low, the application program with high power consumption is not preloaded, so that the operation of the smart application program with high power consumption can be reduced as much as possible, which is beneficial to reducing power consumption and prolonging the service life of the device.
Fig. 5 shows a partial schematic composition diagram of a smart wearable device according to an embodiment of the present disclosure. In the smart wearable device 500 shown in fig. 5, at least a processor 501, an operating system running memory 502, and an SRAM 503 may be included. In some embodiments, processor 501 may be configured to perform a quick start method for a smart wearable device according to various embodiments of the present disclosure. Specifically, the processor 501 may be implemented by a CPU (central processing unit) or a DMA controller (direct access memory controller). In some embodiments, the processor 501 may be, for example, an apple S-series chip and a W-series rf chip, an kylin, a high-pass cellu, or any other processor chip suitable for a smart wearable device, which is not limited by the present disclosure. The operating system operating memory 502 may be preferably adapted to LPDDR and the like of the smart wearable device, for example, and the present disclosure is not limited thereto.
In other embodiments, the smart wearable device 500 may further include a FLASH memory 504, which has an Electrically Erasable Programmable (EEPROM) capability, does not lose data due to power failure, and can read data relatively quickly, and thus, in the embodiments of the present disclosure, may be used to store information of various applications.
There is also provided, in accordance with an embodiment of the present disclosure, a non-transitory computer-readable storage medium having instructions stored thereon, which when executed by a processor, implement a quick-start method for a smart wearable device in accordance with various embodiments of the present disclosure. The storage medium may include Read Only Memory (ROM), flash memory, Random Access Memory (RAM), Dynamic Random Access Memory (DRAM) such as synchronous DRAM (sdram) or Rambus DRAM, static memory (e.g., flash memory, static random access memory), etc., on which computer-executable instructions may be stored in any format.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the disclosure having equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be utilized by those of ordinary skill in the art upon reading the foregoing description. In addition, in the foregoing detailed description, various features may be grouped together to streamline the disclosure. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, the subject matter of the present disclosure may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above embodiments are only exemplary embodiments of the present disclosure, and are not intended to limit the present invention, the scope of which is defined by the claims. Various modifications and equivalents may be made thereto by those skilled in the art within the spirit and scope of the present disclosure, and such modifications and equivalents should be considered to be within the scope of the present invention.
Claims (14)
1. A quick starting method for intelligent wearable equipment is characterized in that the intelligent wearable equipment comprises an operating system running memory and an SRAM, and the quick starting method comprises the following steps:
when the intelligent wearable device enters a standby state or a dormant state, transmitting kernel information stored in the operating system running memory to the SRAM for storage, and closing the operating system running memory;
when the intelligent wearable device is recovered from a standby state or a sleep state, the operating system running memory is opened, kernel information stored in the SRAM is loaded into the operating system running memory, and the operating system of the intelligent wearable device is started based on the kernel information.
2. The fast boot method of claim 1, wherein the operating system runtime memory is LPDDR.
3. The fast boot method of claim 2, wherein the standby state comprises a non-smart mode,
the intelligent wearable device entering a standby state or a dormant state specifically comprises the intelligent wearable device entering a non-intelligent mode from an intelligent mode;
the intelligent wearable device is recovered from a standby state or a sleep state and specifically comprises that the intelligent wearable device is switched from a non-intelligent mode to an intelligent mode.
4. Rapid start-up method according to claim 3,
in the non-smart mode:
running a second application program supporting each sensor function, so that the intelligent wearable device performs at least one or a combination of functions of time display, motion data acquisition recording, health data acquisition recording and environmental condition acquisition recording under the condition that the operating system is not running;
closing the Bluetooth function and the network connection function of the intelligent wearable device;
in the smart mode:
and opening the Bluetooth function and the network connection function of the intelligent wearable device.
5. The fast boot method of claim 4, further comprising:
when a first sleep condition is met, the second application program is switched to a sleep state, and the second application program is transmitted to the SRAM for storage;
and when a first wake-up condition is met, the second application program is woken up from a sleep state, and the second application program is operated from the SRAM.
6. Rapid start-up method according to claim 5,
the first sleep condition at least comprises that the intelligent wearable device is in a non-intelligent mode, and the running time of the second application program exceeds a first preset time length;
the first awakening condition at least comprises that the intelligent wearable device is switched into an intelligent mode from a non-intelligent mode, or the sleeping time of the second application program exceeds a second preset time length.
7. The quick start method according to claim 3, wherein the smart wearable device further comprises a FLASH memory configured to store a first application program, wherein the first application program is an application program running under the support of the operating system, and the quick start method further comprises:
when the operating system is started for the first time, the LPDDR is opened, the operating system is started based on kernel information in the LPDDR, a first application program which is stored in the FLASH memory and meets a first loading condition is loaded into the LPDDR, and the first application program which meets the first loading condition is run;
when the intelligent wearable device enters a standby state or a sleep state, transmitting the kernel information in the LPDDR and at least part of running first application programs to the SRAM for storage, stopping running each first application program and closing the LPDDR; and
when the intelligent wearable device is recovered from a standby state or a sleep state, whether a running first application program exists before the standby state or before the sleep state is judged, the LPDDR is opened under the condition that the running first application program exists before the standby state, the kernel information and the first application program stored in the SRAM are loaded into the LPDDR together, an operating system is started based on the kernel information, and the first application program is run.
8. The fast boot method of claim 7, further comprising:
when the operating system is recovered from a standby state or a sleep state, for a first application program which is running before standby or before sleep and is not stored in the SRAM, the first application program is obtained from the FLASH memory, and the first application program is loaded into the LPDDR for running.
9. The fast boot method according to claim 7 or 8, characterized in that the fast boot method further comprises:
after the intelligent wearable device is started, the operating system is started for the first time, and the intelligent wearable device enters an intelligent mode;
under the condition that a first conversion condition is met, the intelligent wearable device enters a standby state;
in the standby state, when a first recovery condition is met, the intelligent wearable device recovers from the standby state;
under the condition that a second conversion condition is met, the intelligent wearable device enters a dormant state;
under the dormant state, when a second recovery condition is met, the intelligent wearable device recovers from the dormant state.
10. The fast boot method of claim 7, further comprising:
analyzing the behavior mode of the user according to at least one of the time when the intelligent wearable device enters the standby state or the sleep state, the application program used by the user last time, the positioning information and the historical information or the combination of the application program, the positioning information and the historical information, and selecting a third application program based on the behavior mode of the user;
when the intelligent wearable device enters a standby state or a sleep state, the kernel information and the third application program in the LPDDR are transmitted to the SRAM from the LPDDR or the FLASH memory to be stored;
when the intelligent wearable device is recovered from a standby state or a sleep state, the kernel information and the third application program in the SRAM are loaded into the LPDDR, an operating system is started based on the kernel information, and the third application program is operated.
11. The fast boot method of claim 7, further comprising:
presetting the priority of the application program based on the use habit of the user, and selecting a fourth application program based on the priority;
when the intelligent wearable device enters a standby state or a sleep state, the kernel information and the fourth application program in the LPDDR are transmitted to the SRAM from the LPDDR or the FLASH memory to be stored;
when the intelligent wearable device is recovered from a standby state or a dormant state, the kernel information and the fourth application program in the SRAM are loaded into the LPDDR, an operating system is started based on the kernel information, and the fourth application program is sequentially run and presented to a user based on the priority of the fourth application program.
12. An intelligent wearable device, comprising at least a processor, an operating system running memory and an SRAM, wherein the processor is configured to execute the quick start method for the intelligent wearable device according to any one of claims 1 to 11.
13. The intelligent wearable device of claim 12, wherein: the processor is a CPU or a DMA controller.
14. A non-transitory computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the fast boot method for a smart wearable device according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210280424.2A CN114595006A (en) | 2022-03-21 | 2022-03-21 | Quick starting method and device for intelligent wearable equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210280424.2A CN114595006A (en) | 2022-03-21 | 2022-03-21 | Quick starting method and device for intelligent wearable equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114595006A true CN114595006A (en) | 2022-06-07 |
Family
ID=81811379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210280424.2A Pending CN114595006A (en) | 2022-03-21 | 2022-03-21 | Quick starting method and device for intelligent wearable equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114595006A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070033367A1 (en) * | 2005-08-04 | 2007-02-08 | Premanand Sakarda | Memory manager for heterogeneous memory control |
CN101977272A (en) * | 2010-10-26 | 2011-02-16 | 浙江大学 | Electric quantity protection method for mobile phone adopting Android operating system |
CN102866934A (en) * | 2011-07-05 | 2013-01-09 | 中国科学院上海微***与信息技术研究所 | Dormancy and wake-up system for embedded device based on non-volatile random access memory |
CN103729211A (en) * | 2013-12-10 | 2014-04-16 | 华为技术有限公司 | Operating system recovery method and device and terminal equipment |
US20170168555A1 (en) * | 2014-03-06 | 2017-06-15 | Polar Electro Oy | Device power saving during exercise |
CN111414626A (en) * | 2020-04-01 | 2020-07-14 | 中国人民解放军国防科技大学 | TEE extension-based real-time guaranteeing method and system |
CN112306782A (en) * | 2020-11-24 | 2021-02-02 | 中国人民解放军军事科学院国防科技创新研究院 | Debugging test-oriented operating system kernel booting and hardware loading architecture and method |
-
2022
- 2022-03-21 CN CN202210280424.2A patent/CN114595006A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070033367A1 (en) * | 2005-08-04 | 2007-02-08 | Premanand Sakarda | Memory manager for heterogeneous memory control |
CN101977272A (en) * | 2010-10-26 | 2011-02-16 | 浙江大学 | Electric quantity protection method for mobile phone adopting Android operating system |
CN102866934A (en) * | 2011-07-05 | 2013-01-09 | 中国科学院上海微***与信息技术研究所 | Dormancy and wake-up system for embedded device based on non-volatile random access memory |
CN103729211A (en) * | 2013-12-10 | 2014-04-16 | 华为技术有限公司 | Operating system recovery method and device and terminal equipment |
US20170168555A1 (en) * | 2014-03-06 | 2017-06-15 | Polar Electro Oy | Device power saving during exercise |
CN111414626A (en) * | 2020-04-01 | 2020-07-14 | 中国人民解放军国防科技大学 | TEE extension-based real-time guaranteeing method and system |
CN112306782A (en) * | 2020-11-24 | 2021-02-02 | 中国人民解放军军事科学院国防科技创新研究院 | Debugging test-oriented operating system kernel booting and hardware loading architecture and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10394655B2 (en) | Method for detecting abnormal application and mobile terminal | |
KR102048329B1 (en) | Method and apparatus for running application program | |
US9104413B2 (en) | System and method for dynamic memory power management | |
US8766919B1 (en) | Fast awake from low power mode | |
JP5824162B2 (en) | Conserving power through workload estimation for portable computing devices using scheduled resource set migration | |
CN108040292B (en) | Television standby starting method, television and computer readable storage medium | |
US20100138838A1 (en) | Method for executing scheduled task | |
CN107924225B (en) | System and method for dynamically adjusting memory state transition timers | |
US8504121B1 (en) | Method and apparatus for reducing power consumption in a portable device | |
US20160148670A1 (en) | Systems and methods for reducing volatile memory standby power in a portable computing device | |
US10175995B1 (en) | Device hibernation control | |
CN113703799B (en) | Computing device and BIOS updating method and medium thereof | |
US10268486B1 (en) | Expedited resume process from hibernation | |
CN116089096B (en) | Load resource scheduling method and electronic equipment | |
US20120233451A1 (en) | Method for fast resuming computer system and computer system | |
US20160147577A1 (en) | System and method for adaptive thread control in a portable computing device (pcd) | |
US20160335127A1 (en) | System and method for dynamic granularity control of parallelized work in a portable computing device (pcd) | |
CN112015258B (en) | Processing system and control method | |
CN114595006A (en) | Quick starting method and device for intelligent wearable equipment and storage medium | |
US11940948B2 (en) | Electronic device having multiple processing units and multiple memory units, and processing method thereof | |
CN108536271B (en) | Method and device for reducing power consumption and storage medium | |
CN114816031B (en) | Power saving method for terminal equipment, terminal equipment and medium | |
CN115718626A (en) | SOC (system on chip) system capable of being awakened quickly and quick awakening method | |
CN100501674C (en) | Method and apparatus for fast starting digital products | |
CN110908851A (en) | Abnormal application detection and control method, device, terminal and storage medium |
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 |