CN113596244B - Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal - Google Patents

Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal Download PDF

Info

Publication number
CN113596244B
CN113596244B CN202110702095.1A CN202110702095A CN113596244B CN 113596244 B CN113596244 B CN 113596244B CN 202110702095 A CN202110702095 A CN 202110702095A CN 113596244 B CN113596244 B CN 113596244B
Authority
CN
China
Prior art keywords
alarm clock
intelligent terminal
shutdown
time
starting
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
CN202110702095.1A
Other languages
Chinese (zh)
Other versions
CN113596244A (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.)
Spreadtrum Semiconductor Nanjing Co Ltd
Original Assignee
Spreadtrum Semiconductor Nanjing 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 Spreadtrum Semiconductor Nanjing Co Ltd filed Critical Spreadtrum Semiconductor Nanjing Co Ltd
Priority to CN202110702095.1A priority Critical patent/CN113596244B/en
Publication of CN113596244A publication Critical patent/CN113596244A/en
Application granted granted Critical
Publication of CN113596244B publication Critical patent/CN113596244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for realizing a shutdown alarm clock of an intelligent terminal. The shutdown alarm clock implementation method comprises the following steps: acquiring alarm clock data of the intelligent terminal; generating starting time according to the alarm clock data; writing the starting time into the RTC of the intelligent terminal, wherein when the starting time is reached, the intelligent terminal in a shutdown state is automatically started; and when the intelligent terminal is automatically started, controlling an alarm clock application of the intelligent terminal to start according to the alarm clock data. According to the method, the alarm clock data is obtained from the timer or the RTC, the starting time is generated and written into the RTC, the RTC is utilized to start the system according to the starting time, the alarm clock is triggered, other platforms are not relied on, the function of turning off the alarm clock is realized in an intelligent terminal with or without an on source, the space of a mobile phone can be saved, the situation that a user is forced to select an application due to the function of turning off the alarm clock in use is avoided, and the user experience is improved.

Description

Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal
Technical Field
The invention relates to the technical field of computer application, in particular to a method, a system, equipment and a storage medium for realizing a shutdown alarm clock of an intelligent terminal.
Background
The intelligent terminal with the shutdown alarm clock can still ring at the set alarm clock moment after shutdown. However, the mainstream operating system usually does not have a shutdown alarm clock function, and the shutdown alarm clock is generally adapted independently in an application. In the prior art, an alarm clock application can be added singly or the adaptation can be performed in application source codes. In particular, for systems that are not open in source, adaptation can only be performed by adding an alarm clock application alone or in the application source code. But for applications that do not support shutdown alarm clocks, it is not possible to adapt to OEMs (Original Equipment Manufacturer, original equipment manufacturers) alone; if the adaptation is performed in the application source code, the process is too complex, and a great deal of manpower is required; if an application adapting to the off alarm clock is added, other functions of the application may not be as good as a native OS (operating system) except the off alarm clock, and the off alarm clock and the application in the native OS cannot be used simultaneously, so that user experience is reduced.
Disclosure of Invention
The invention aims to overcome the defects that a shutdown alarm clock cannot be added to a system without a source in the prior art or the adding process is too complicated and cannot be used with self-contained application at the same time, and provides a shutdown alarm clock implementation method, a system, equipment and a storage medium of an intelligent terminal.
The invention solves the technical problems by the following technical scheme:
the invention provides a method for realizing a shutdown alarm clock of an intelligent terminal, which comprises the following steps:
acquiring alarm clock data of the intelligent terminal;
generating starting time according to the alarm clock data;
writing the starting Time into an RTC (real_time Clock) of the intelligent terminal, wherein when the starting Time is reached, the intelligent terminal in a shutdown state is automatically started;
and when the intelligent terminal is automatically started, controlling an alarm clock application of the intelligent terminal to start according to the alarm clock data.
Preferably, after the step of obtaining the alarm clock data of the intelligent terminal, the shutdown alarm clock implementation method further includes:
and storing the alarm clock data in a preset directory which is authorized to be accessed.
Preferably, the shutdown alarm clock implementation method further comprises the following steps:
acquiring a shutdown alarm clock instruction;
the shutdown alarm clock instruction comprises an instruction for starting the shutdown alarm clock and an instruction for canceling the shutdown alarm clock;
when the instruction for starting the shutdown alarm clock is acquired, writing the startup time into the RTC;
and deleting the stored alarm clock data when the instruction for canceling the shutdown alarm clock is acquired.
Preferably, the alarm clock data comprises at least two pieces of alarm clock data with different alarm starting time;
the step of generating the starting time according to the alarm clock data comprises the following steps:
acquiring the current time;
acquiring the alarm time nearest to the current time interval;
generating starting time in advance by a preset time period on the basis of the acquired starting time;
and the preset time period is determined according to the starting time of the operating system of the intelligent terminal.
The invention also provides a shutdown alarm clock realization system of the intelligent terminal, which comprises:
the alarm clock data acquisition module is used for acquiring alarm clock data of the intelligent terminal;
the starting time generation module is used for generating starting time according to the alarm clock data;
the starting-up time writing module is used for writing the starting-up time into the RTC of the intelligent terminal, wherein when the starting-up time is reached, the intelligent terminal in a shutdown state is automatically started up;
and the alarm clock application control module is used for controlling the alarm clock application of the intelligent terminal to start according to the alarm clock data after the intelligent terminal is automatically started.
Preferably, the shutdown alarm clock implementation system further comprises:
and the alarm clock data storage module is used for storing the alarm clock data under a preset directory which is authorized to be accessed.
Preferably, the shutdown alarm clock implementation system further comprises:
the control instruction acquisition module is used for acquiring a shutdown alarm clock instruction;
the shutdown alarm clock instruction comprises an instruction for starting the shutdown alarm clock and an instruction for canceling the shutdown alarm clock;
the control instruction acquisition module is also used for calling the starting time writing module when the starting-up shutdown alarm clock instruction is acquired;
the control instruction acquisition module is also used for calling an alarm clock data deletion module when acquiring the instruction for canceling the shutdown alarm clock;
the alarm clock data deleting module is used for deleting the stored alarm clock data.
Preferably, the alarm clock data comprises at least two pieces of alarm clock data with different alarm starting time;
the starting-up time generation module is also used for acquiring the current time;
the starting time generation module is also used for acquiring the starting time nearest to the current time interval;
the starting time generation module is also used for generating starting time in advance of a preset time period on the basis of the acquired starting time;
and the preset time period is determined according to the starting time of the operating system of the intelligent terminal.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the shutdown alarm clock implementation method of the intelligent terminal is realized when the processor executes the computer program.
The invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements a shutdown alarm clock implementation method of an intelligent terminal as described above.
The invention has the positive progress effects that:
according to the method for realizing the shutdown alarm clock of the intelligent terminal, the alarm clock data is obtained from the timer or the RTC, the startup time is generated and written into the RTC, the RTC is utilized to start the system according to the startup time, and then the alarm clock is triggered, the adaptation to a native OS or a third party application is not needed, the function of the shutdown alarm clock is realized in the intelligent terminal with or without the power on, the space of a mobile phone can be saved, the situation that a user is forced to select the application due to the function of the shutdown alarm clock in use is avoided, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a method for implementing a shutdown alarm clock of an intelligent terminal according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method for implementing a shutdown alarm clock of the intelligent terminal according to embodiment 2 of the present invention.
Fig. 3 is a block diagram of a shutdown alarm clock implementation system of the intelligent terminal according to embodiment 3 of the present invention.
Fig. 4 is a block diagram of a shutdown alarm clock implementation system of the intelligent terminal according to embodiment 4 of the present invention.
Fig. 5 is a schematic hardware structure of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, this embodiment provides a method for implementing a shutdown alarm clock of an intelligent terminal, where the method for implementing a shutdown alarm clock includes:
s101, acquiring alarm clock data of the intelligent terminal.
In the prior art, the adaptation of the alarm clock application needs to be completed together by an application layer, a system layer and a bottom layer of the intelligent terminal, so that the alarm clock data of the intelligent terminal can be obtained through a timer (such as alarm clock management service of an android system) of the system or an RTC chip of the bottom layer.
S102, generating starting time according to alarm clock data.
The starting and loading of the operating system of the intelligent terminal needs a period of time, the operating system is directly started and loaded according to the alarm clock data, the alarm clock time can be missed, starting is needed in advance according to the time needed by the starting and loading of the operating system, and then the alarm clock application starts according to the preset alarm clock time.
S103, writing the starting time into the RTC of the intelligent terminal, wherein when the starting time is reached, the intelligent terminal in a shutdown state is automatically started.
RTC chips are widely used in various intelligent terminals to provide accurate real-time for the intelligent terminals or to provide accurate time references for electronic systems. At present, a crystal oscillator with higher precision is commonly adopted as a clock source for an RTC chip. The RTC in the intelligent terminal can still continue to operate after the power of the operating system is lost, and the power consumption is extremely low in a power-down mode. The RTC chip includes an alarm clock register that can be used to store the written on time. When the RTC chip judges that the current time reaches the preset starting time, an interrupt signal is output, and the interrupt signal can enable the operating system to change the existing state, namely, enter the starting state from the shutdown state.
And S104, controlling an alarm clock application of the intelligent terminal to start according to the alarm clock data after the intelligent terminal is automatically started.
According to the shutdown alarm clock implementation method of the intelligent terminal, alarm clock data are obtained from the timer or the RTC, the startup time is generated and written into the RTC, the RTC is utilized to start the system according to the startup time, the alarm clock is triggered, other platforms are not needed to be matched, the function of the shutdown alarm clock is implemented on the intelligent terminal with or without the power on, the mobile phone space can be saved, the situation that a user is forced to select the application due to the function of the shutdown alarm clock in use is avoided, and the user experience is improved.
Example 2
As shown in fig. 2, the implementation method of the shutdown alarm clock of the intelligent terminal in this embodiment is a further improvement of the implementation method of the shutdown alarm clock in embodiment 1, specifically:
after step S101, the shutdown alarm clock implementation method further includes:
s201, storing alarm clock data in a preset directory which is authorized to be accessed.
When the intelligent terminal is charged through a USB (Universal Serial Bus ) interface in a shutdown state, a U-Boot (Universal Boot Loader, a Boot loader for an embedded system) module of an operating system of the intelligent terminal is started. At this time, when the RTC reaches the preset starting time, a terminal signal is not output to the operating system, so that the U-Boot module is required to be used for reading and storing alarm clock data, comparing and judging the alarm clock data with the time of the RTC, and enabling the operating system to be completely started and loaded. The general operating system (such as android system) has strict requirements on the access authority of the data, and the data cannot be accessed unless the application layer, the system layer and the bottom layer are unified with a preset catalog, so that the alarm clock data can be stored in the form of texts, databases, excel and XML (Extensible Markup Language ) under the preset catalog which is authorized to be accessed, namely the authority of the U-Boot module to access the preset catalog is pre-authorized by the operating system.
In addition, the shutdown alarm clock implementation method further comprises the following steps:
s202, acquiring a shutdown alarm clock instruction;
specifically, whether to set the alarm clock reminding can be displayed on the shutdown interface, so that the user can select and operate, and the shutdown alarm clock instruction of the user can be obtained. The shutdown alarm clock instruction comprises a shutdown alarm clock instruction starting and a shutdown alarm clock instruction canceling.
Executing step S103 when a shutdown alarm clock starting instruction is acquired;
s203, deleting the stored alarm clock data when acquiring an instruction for canceling the shutdown alarm clock.
In this embodiment, the alarm clock data may include at least two pieces of alarm clock data of different alarm times.
Step S102 includes:
s10201, acquiring the current time.
The current time may be obtained by the RTC.
S10202, acquiring the alarm time nearest to the current time interval.
When the alarm clock data comprises a plurality of alarm clock data of the alarm time, acquiring the data of the alarm clock of the earliest alarm, namely the alarm time closest to the current time interval.
S10203, generating startup time in advance of a preset time period on the basis of the acquired startup time.
The preset time period is determined according to the starting time of the operating system of the intelligent terminal.
According to the method for realizing the shutdown alarm clock of the intelligent terminal, the alarm clock data are acquired from the timer or the RTC and stored, the shutdown alarm clock is set or canceled according to the instruction of the user, the U-Boot module is used for starting the system when the intelligent terminal is charged, and then the alarm clock is triggered, so that the system can be started when the intelligent terminal is charged in a shutdown mode, other platforms are not needed, the native OS or the third party application is not needed to be adapted, the function of the shutdown alarm clock is realized at the intelligent terminal with or without the power on, the mobile phone space can be saved, the situation that the user is forced to select the application due to the function of the shutdown alarm clock in use is avoided, and the user experience is improved.
Example 3
As shown in fig. 3, this embodiment provides a shutdown alarm clock implementation system of an intelligent terminal, where the shutdown alarm clock implementation system includes:
the alarm clock data acquisition module 1 is used for acquiring alarm clock data of the intelligent terminal;
in the prior art, the adaptation of the alarm clock application needs to be completed together by an application layer, a system layer and a bottom layer of the intelligent terminal, so that the alarm clock data of the intelligent terminal can be obtained through a timer (such as alarm clock management service of an android system) of the system or an RTC chip of the bottom layer.
The starting time generation module 2 is used for generating starting time according to the alarm clock data;
the starting and loading of the operating system of the intelligent terminal needs a period of time, the operating system is directly started and loaded according to the alarm clock data, the alarm clock time can be missed, starting is needed in advance according to the time needed by the starting and loading of the operating system, and then the alarm clock application starts according to the preset alarm clock time.
The starting-up time writing module 3 is used for writing the starting-up time into the RTC of the intelligent terminal, wherein when the starting-up time is reached, the intelligent terminal in a shutdown state is automatically started up;
RTC chips are widely used in various intelligent terminals to provide accurate real-time for the intelligent terminals or to provide accurate time references for electronic systems. At present, a crystal oscillator with higher precision is commonly adopted as a clock source for an RTC chip. The RTC in the intelligent terminal can still continue to operate after the power of the operating system is lost, and the power consumption is extremely low in a power-down mode. The RTC chip includes an alarm clock register that can be used to store the written on time. When the RTC chip judges that the current time reaches the preset starting time, an interrupt signal is output, and the interrupt signal can enable the operating system to change the existing state, namely, enter the starting state from the shutdown state.
And the alarm clock application control module 4 is used for controlling the alarm clock application of the intelligent terminal to start according to the alarm clock data after the intelligent terminal is automatically started.
According to the shutdown alarm clock implementation system of the intelligent terminal, alarm clock data are acquired from the timer or the RTC, the startup time is generated and written into the RTC, the RTC is utilized to start the system according to the startup time, and then the alarm clock is triggered, the adaptation to a native OS or a third party application is not needed, the function of the shutdown alarm clock is implemented on the intelligent terminal with or without the power on, the mobile phone space can be saved, the situation that a user is forced to select the application due to the function of the shutdown alarm clock in use is avoided, and the user experience is improved.
Example 4
As shown in fig. 4, the shutdown alarm clock implementation system of the intelligent terminal of this embodiment is a further improvement of the shutdown alarm clock implementation system of embodiment 3, specifically:
the shutdown alarm clock implementation system further comprises:
the alarm clock data storage module 5 is used for storing the alarm clock data under a preset directory authorized to be accessed.
When the intelligent terminal is charged through the USB interface in the shutdown state, the U-Boot module of the intelligent terminal operating system is started. At this time, when the RTC reaches the preset starting time, a terminal signal is not output to the operating system, so that the U-Boot module is required to be used for reading and storing alarm clock data, comparing and judging the alarm clock data with the time of the RTC, and enabling the operating system to be completely started and loaded. The general operating system (such as android system) has strict requirements on the access authority of the data, and the data cannot be accessed unless the application layer, the system layer and the bottom layer are unified with a preset catalog, so that the alarm clock data can be stored in the form of text, a database, excel and XML under the preset catalog which is authorized to be accessed, namely the operating system has the authority of authorizing the U-Boot module to access the preset catalog in advance.
In addition, the shutdown alarm clock implementation system further comprises:
the control instruction acquisition module 6 is used for acquiring a shutdown alarm clock instruction;
specifically, the control instruction obtaining module 6 may display whether to set a reminder of the shutdown alarm clock on the shutdown interface, so as to enable the user to perform a selection operation and obtain the shutdown alarm clock instruction of the user. The shutdown alarm clock instruction comprises a shutdown alarm clock instruction starting and a shutdown alarm clock instruction canceling.
The control instruction acquisition module 6 is further used for calling the start time writing module 3 when acquiring the start alarm clock instruction; the control instruction acquisition module 6 is also used for calling the alarm clock data deletion module 7 when acquiring an instruction for canceling the shutdown alarm clock; the alarm clock data deleting module 7 is used for deleting the stored alarm clock data.
In this embodiment, the alarm clock data may include at least two pieces of alarm clock data of different alarm times.
The startup time generation module 2 is also used for acquiring the current time; the starting time generation module 2 is also used for acquiring the starting time nearest to the current time interval; the starting time generation module 2 is further used for generating starting time in advance of a preset time period on the basis of the acquired starting time; the preset time period is determined according to the starting time of the operating system of the intelligent terminal.
The shutdown alarm clock realization system of the intelligent terminal of the embodiment obtains alarm clock data from the timer or the RTC and stores the data, the shutdown alarm clock is set or canceled according to the instruction of the user, the U-Boot module is used for starting the system when the intelligent terminal is charged, and then the alarm clock is triggered, so that the system can be started when the intelligent terminal is charged in a shutdown mode, other platforms are not needed, the native OS or the third party application is not needed to be adapted, the function of the shutdown alarm clock is realized at the intelligent terminal with or without the power on source, the mobile phone space can be saved, the situation that the user is forced to select the application due to the function of the shutdown alarm clock in use is avoided, and the user experience is improved.
Example 5
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the shutdown alarm clock implementation method of the intelligent terminal of embodiment 1 or embodiment 2 when executing the program. The electronic device 30 shown in fig. 5 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be a server device, for example. Components of electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, a bus 33 connecting the different system components, including the memory 32 and the processor 31.
The bus 33 includes a data bus, an address bus, and a control bus.
Memory 32 may include volatile memory such as Random Access Memory (RAM) 321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as the shutdown alarm clock implementation method of the intelligent terminal of embodiment 1 or embodiment 2 of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 35. Also, model-generating device 30 may also communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet, via network adapter 36. As shown, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with the model-generating device 30, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the shutdown alarm clock implementation method of the intelligent terminal of embodiment 1 or embodiment 2.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of the shutdown alarm implementation method implementing the intelligent terminal of embodiment 1 or embodiment 2, when said program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, which program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on the remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (6)

1. The method for realizing the shutdown alarm clock of the intelligent terminal is characterized in that the intelligent terminal corresponds to an operating system which is not powered on, and the method for realizing the shutdown alarm clock comprises the following steps:
acquiring alarm clock data of the intelligent terminal;
generating starting time according to the alarm clock data;
writing the starting time into the RTC of the intelligent terminal, wherein when the starting time is reached, the intelligent terminal in a shutdown state is automatically started;
when the intelligent terminal is automatically started, controlling an alarm clock application of the intelligent terminal to start according to the alarm clock data;
after the step of obtaining the alarm clock data of the intelligent terminal, the shutdown alarm clock implementation method further comprises the following steps:
storing the alarm clock data under a preset directory which is authorized to be accessed;
when the intelligent terminal is charged in a shutdown state through a USB interface, the stored alarm clock data is read by utilizing a U-Boot module of an operating system of the intelligent terminal, the alarm clock data is compared with the time of the RTC, and the operating system is completely started and loaded;
the authority of the U-Boot module to access the preset catalogue is authorized in advance through the operating system;
the alarm clock data comprise at least two pieces of alarm clock data with different alarm starting time;
the step of generating the starting time according to the alarm clock data comprises the following steps:
acquiring the current time;
acquiring the alarm time nearest to the current time interval;
generating starting time in advance by a preset time period on the basis of the acquired starting time;
and the preset time period is determined according to the starting time of the operating system of the intelligent terminal.
2. The shutdown alarm clock implementation method of claim 1, further comprising:
acquiring a shutdown alarm clock instruction;
the shutdown alarm clock instruction comprises an instruction for starting the shutdown alarm clock and an instruction for canceling the shutdown alarm clock;
when the instruction for starting the shutdown alarm clock is acquired, writing the startup time into the RTC;
and deleting the stored alarm clock data when the instruction for canceling the shutdown alarm clock is acquired.
3. The utility model provides a shutdown alarm clock realization system of intelligent terminal which characterized in that, intelligent terminal corresponds the operating system who does not open the source, shutdown alarm clock realization system includes:
the alarm clock data acquisition module is used for acquiring alarm clock data of the intelligent terminal;
the starting time generation module is used for generating starting time according to the alarm clock data;
the starting-up time writing module is used for writing the starting-up time into the RTC of the intelligent terminal, wherein when the starting-up time is reached, the intelligent terminal in a shutdown state is automatically started up;
the alarm clock application control module is used for controlling an alarm clock application of the intelligent terminal to start according to the alarm clock data after the intelligent terminal is automatically started;
the shutdown alarm clock implementation system further comprises:
the alarm clock data storage module is used for storing the alarm clock data under a preset directory which is authorized to be accessed;
when the intelligent terminal is charged in a shutdown state through a USB interface, the stored alarm clock data is read by utilizing a U-Boot module of an operating system of the intelligent terminal, the alarm clock data is compared with the time of the RTC, and the operating system is completely started and loaded;
the authority of the U-Boot module to access the preset catalogue is authorized in advance through the operating system;
the alarm clock data comprise at least two pieces of alarm clock data with different alarm starting time;
the starting-up time generation module is also used for acquiring the current time;
the starting time generation module is also used for acquiring the starting time nearest to the current time interval;
the starting time generation module is also used for generating starting time in advance of a preset time period on the basis of the acquired starting time;
and the preset time period is determined according to the starting time of the operating system of the intelligent terminal.
4. The shutdown alarm clock implementation system of claim 3 wherein the shutdown alarm clock implementation system further comprises:
the control instruction acquisition module is used for acquiring a shutdown alarm clock instruction;
the shutdown alarm clock instruction comprises an instruction for starting the shutdown alarm clock and an instruction for canceling the shutdown alarm clock;
the control instruction acquisition module is also used for calling the starting time writing module when the starting-up shutdown alarm clock instruction is acquired;
the control instruction acquisition module is also used for calling an alarm clock data deletion module when acquiring the instruction for canceling the shutdown alarm clock;
the alarm clock data deleting module is used for deleting the stored alarm clock data.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for implementing the shutdown alarm clock of the intelligent terminal of claim 1 or 2 when executing the computer program.
6. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the method for implementing a shutdown alarm clock of an intelligent terminal as claimed in claim 1 or 2.
CN202110702095.1A 2021-06-24 2021-06-24 Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal Active CN113596244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110702095.1A CN113596244B (en) 2021-06-24 2021-06-24 Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110702095.1A CN113596244B (en) 2021-06-24 2021-06-24 Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal

Publications (2)

Publication Number Publication Date
CN113596244A CN113596244A (en) 2021-11-02
CN113596244B true CN113596244B (en) 2023-06-23

Family

ID=78244564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110702095.1A Active CN113596244B (en) 2021-06-24 2021-06-24 Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal

Country Status (1)

Country Link
CN (1) CN113596244B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749887A (en) * 2004-09-13 2006-03-22 华为技术有限公司 Method for realizing multipoint alarm clock in electronic equipment
CN101031878A (en) * 2004-10-01 2007-09-05 诺基亚公司 Pre-loading data
CN103607509A (en) * 2013-11-22 2014-02-26 Tcl通讯(宁波)有限公司 Mobile terminal shutdown alarm clock trigger system and trigger method thereof
CN104683573A (en) * 2015-02-12 2015-06-03 深圳市中兴移动通信有限公司 Implementation method of shutdown alarm clock and mobile terminal
CN105867898A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and mobile terminal for realizing wireless charging

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100473089C (en) * 2005-08-24 2009-03-25 英华达(南京)科技有限公司 Control system and its method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749887A (en) * 2004-09-13 2006-03-22 华为技术有限公司 Method for realizing multipoint alarm clock in electronic equipment
CN101031878A (en) * 2004-10-01 2007-09-05 诺基亚公司 Pre-loading data
CN103607509A (en) * 2013-11-22 2014-02-26 Tcl通讯(宁波)有限公司 Mobile terminal shutdown alarm clock trigger system and trigger method thereof
CN104683573A (en) * 2015-02-12 2015-06-03 深圳市中兴移动通信有限公司 Implementation method of shutdown alarm clock and mobile terminal
CN105867898A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and mobile terminal for realizing wireless charging

Also Published As

Publication number Publication date
CN113596244A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US10732963B2 (en) System and method for automatically managing updated UEFI variables
US9317299B2 (en) Method and device for cold starting android mobile terminal
US10007507B2 (en) Method for updating firmware of a battery included in a rechargeable battery module, portable electronic device, and rechargeable battery module
EP2353081B1 (en) Managing cache data and metadata
US20050086551A1 (en) Memory optimization for a computer system having a hibernation mode
CN109144216B (en) Method and system for recording first use time of electronic equipment
CN103365696A (en) BIOS (Basic Input Output System) image file obtaining method and device
CN104166450A (en) Method for distinguishing FW versions of VR chip
CN110780908A (en) Screen display program upgrading method and system and terminal equipment
CN111651304A (en) Software recovery method and device based on double-core intelligent electric meter and computer equipment
US20040225874A1 (en) Method for reduced BIOS boot time
CN113596244B (en) Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal
CN112230962B (en) BIOS configuration storage method and system for processor platform
US20060101290A1 (en) Method for multiple scheduled computer powers-on
CN109117167A (en) A kind of starting Oftware updating method based on ZYNQ chip
CN115080069A (en) Debugging method and device for baseboard management controller, electronic equipment and storage medium
US20120089827A1 (en) Computing device and method to reduce the time needed for the device to start
CN114117562A (en) Intelligent network card management method and device, electronic equipment and computer storage medium
CN111694610A (en) Software implementation method and system of SOC (System on chip), electronic equipment and storage medium
CN100511145C (en) Method of updating system for managing data of input / output system
CN111694600A (en) Mirror image file design, chip operation method, system, device and medium
CN111881070A (en) Method, system, equipment and storage medium for managing external equipment of switch
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN110309594B (en) Cable tray model processing method, system, equipment and storage medium
CN109885328B (en) BIOS updating method and system and related components

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