CN113127214B - Timing wake-up processing method and device, terminal equipment and storage medium - Google Patents

Timing wake-up processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113127214B
CN113127214B CN201911391084.5A CN201911391084A CN113127214B CN 113127214 B CN113127214 B CN 113127214B CN 201911391084 A CN201911391084 A CN 201911391084A CN 113127214 B CN113127214 B CN 113127214B
Authority
CN
China
Prior art keywords
wake
timed
timing
alarm clock
timed wake
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
CN201911391084.5A
Other languages
Chinese (zh)
Other versions
CN113127214A (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.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT 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 China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911391084.5A priority Critical patent/CN113127214B/en
Publication of CN113127214A publication Critical patent/CN113127214A/en
Application granted granted Critical
Publication of CN113127214B publication Critical patent/CN113127214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Electric Clocks (AREA)

Abstract

The embodiment of the invention discloses a timing wake-up processing method, a device, terminal equipment and a storage medium, wherein the method can comprise the steps of receiving a setting operation aiming at timing wake-up in a second system under the condition that a system operated by a foreground is a first system; generating association information of the timed wake-up and the second system in response to the setting operation; and sending indication information from the first system to the second system through the dual-system interface, wherein the indication information comprises associated information, and the request information is used for indicating the second system to set timed awakening according to the associated information. The method solves the problems that in the prior art, a timing wake-up (such as an alarm clock) cannot be switched between two systems under a double-system architecture, and the use of a user is affected.

Description

Timing wake-up processing method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of terminal equipment, in particular to a timing wake-up processing method and device based on a dual system, terminal equipment and a storage medium.
Background
With the continuous richness of functions of terminal devices, the terminal devices have played an indispensable role in the daily life of people. Since a lot of sensitive information and data are involved in the terminal device, a terminal device of a dual system architecture has been developed in order to meet the security requirements.
The dual-system architecture can be understood as that the terminal equipment is provided with two systems, such as a working system and a living system, and the two systems are not interfered with each other, so that a user can conveniently switch between the two systems. However, in some scenarios, a dual-system-based timed wake-up (e.g., an alarm clock) may not be able to perform system switching, affecting user usage.
Disclosure of Invention
The embodiment of the invention provides a timing wake-up processing method, a timing wake-up processing device, terminal equipment and a storage medium based on a dual system, which are used for solving the problem that in the prior art, timing wake-up (such as an alarm clock) cannot be switched between two systems under a dual system architecture, and the use of a user is affected.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for processing a wake-up timer, which is applied to a terminal device, where the terminal device includes a dual system, and the dual system includes a first system and a second system, and based on this, the method may include:
receiving a setting operation aiming at timing awakening in a second system under the condition that a system operated by a foreground is a first system;
generating association information of the timed wake-up and the second system in response to the setting operation;
And sending indication information from the first system to the second system through the dual-system interface, wherein the indication information comprises associated information, and the request information is used for indicating the second system to set timed awakening according to the associated information.
In the embodiment of the invention, under the condition that a system operated by a foreground is a first system in a dual system, a timing wake-up setting operation aiming at a second system in the dual system is received, and the association information of the timing wake-up and the second system is generated; then, the indication information is sent from the first system to the second system through the dual-system interface, the indication information comprises the association information, and the request information is used for indicating the second system to set the timing wake-up according to the association information. In this way, in the dual-system scenario, when the timing wake-up of the system operated in the background needs to be set (or started), the timing wake-up can be set without switching the system, so that the login time of a user between the two systems is reduced, and the use efficiency of the dual-system is improved.
In a possible embodiment, the method mentioned above may further comprise:
and under the condition that the timing wakeup is started, prompting the timing wakeup to the user as the timing wakeup in the second system operated in the background.
Similarly, when the timing wake-up of the system operated by the background is started, the system operated by the foreground determines that the timing wake-up is the timing wake-up of the system operated by the background operator, the timing wake-up in the second system operated by the background can be prompted to the user, and the timing wake-up is closed through the double-system interface, so that the user experience is improved while the user operation is reduced.
In another possible embodiment, the step of prompting the user of the timed wake up in the second system that is operated in the background in the case of the timed wake up start may specifically include:
under the condition of timing wake-up starting, detecting whether a system operated by a foreground is a first system or not;
and when the system operated by the foreground is the first system, prompting the user to wake up at regular time in the second system operated by the background.
In still another possible embodiment, the step of prompting the user of the timed wake-up in the second system operated in the background when the system operated in the foreground is the first system may specifically include:
when the system operated by the foreground is a first system, determining whether the timed wake-up is the timed wake-up in the first system according to the associated information;
in the event that it is determined that the timed wake is not the timed wake in the first system, the user is prompted for the timed wake as the timed wake in the second system operating in the background.
In still another possible embodiment, the step of prompting the user of the timed wake-up in the second system that is operated in the background may specifically include:
And prompting the user to wake up at regular time in the second system which is operated in the background through at least one mode of characters, pictures and audio/video.
In still another possible embodiment, the step of determining the setting operation for the timed wake in the second system may specifically include:
receiving a preset operation of setting timing awakening by a user;
detecting whether the timed wake-up is associated with the first system in response to a preset operation;
and when the timed wake-up is not related to the first system, determining the preset operation as a setting operation for the timed wake-up in the second system.
In still another possible embodiment, the step of generating the association information of the wake-up timing and the second system in response to the setting operation may specifically include:
in response to a setting operation, establishing an entry in a database of the terminal device;
marking the marked wake-up in the appearance as the identification information of the second system and the auxiliary address of the timed wake-up;
and generating the association information of the timed wake-up and the second system according to the identification information and the affiliated address.
When the timing wake-up is the timing wake-up of the first system, the item value of the auxiliary address is-1;
And when the timed wake-up is the timed wake-up of the second system, the item value of the auxiliary address is the ID value of the second system.
In still another possible embodiment, the step of "receiving a setting operation for a wake-up timer in the second system" may specifically include: a new add, modify, or delete operation for the timed wakeup is received.
Wherein, the "indication information" further includes at least one of the following: the starting time of the timed wake-up, the title name of the timed wake-up, the wake-up type of the timed wake-up and the duration of the timed wake-up.
In a second aspect, an embodiment of the present invention provides a timed wake-up processing device, which is applied to a terminal device, where the terminal device includes a dual system, and the dual system includes a first system and a second system, and the device includes:
the receiving module is used for receiving a setting operation aiming at timing awakening in the second system when the system operated by the foreground is the first system;
the processing module is used for responding to the setting operation and generating the association information of the timing wakeup and the second system;
the sending module is used for sending the indication information from the first system to the second system through the dual-system interface, the indication information comprises the association information, and the request information is used for indicating the second system to set the timed wake-up according to the association information.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program when executed by the processor implements the method for timing wake-up processing as shown in the first aspect.
In a fourth aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, if executed in a computer, causes the computer to execute the timed wake-up processing method as described in the first aspect.
Drawings
The invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic diagram of a system architecture for implementing a wake-up-on-time method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for wake-up timing provided in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a timing wake-up device according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Currently, as terminal devices (e.g., smartphones, tablet computers, etc.) have been increasingly provided with a variety of functions, the terminal devices have played an indispensable role in the daily life of people, and have involved a lot of sensitive information and data, including personal privacy, payment security, etc. Therefore, to meet the requirements in terms of security, etc., terminal devices of a dual system architecture have been developed. It is understood that a terminal device is provided with two systems (for example, android system) at the same time, that is, the working system and the living system are independent. Among them, a system that is currently displayed in a screen and is called a foreground operation, and a system that is operated in the background and is not displayed in the current screen and is called a background operation. Thus, the user can set different passwords for starting the system for the two systems, or install different applications in the two systems, or the like. In this way, a user can log in to two systems separately, view or otherwise operate different applications.
Because the two systems are independent, the user can log into different systems separately, setting a timed wake-up (e.g., an alarm application). However, in a scenario where a set alarm clock application (e.g., create, modify, or delete a set alarm), when a user wants to set an alarm clock application in a system operating in the background at a system interface currently operating, the user needs to log out of the current system and log in again to the system operating in the background. Thus, the user operation is increased, and the user experience is reduced.
In addition, when the alarm clock application program in the background operation system is started (for example, when the preset time is reached), the user also needs to log out of the current system, log in the background operation system again, and turn off the alarm clock application program. However, in this scenario, many abnormal situations are encountered, that is, when the foreground system is forbidden to switch, special processing is required, for example, when in a call, system switching is forbidden at this time, and if the user is in a public place or in a scenario where silence is required, when the system cannot switch, trouble is caused to the user; or, in other scenes, namely when the alarm clock application program of the system operated by the background needs to ring, the system operated by the foreground only displays a notification message, so that reminding is not obvious, a user can easily ignore the notification message, and the user cannot log in the system operated by the background in time to check, so that poor user experience can be caused.
Therefore, aiming at the problems of the related art, the embodiment of the invention provides a timing wake-up processing method, a device, a terminal device and a storage medium, so as to solve the problems that in the related art, timing wake-up (such as an alarm clock) cannot be switched between two systems under a dual-system architecture, and the use of a user is affected.
First, the embodiment of the present invention provides a system architecture for implementing a timed wake-up method, and specifically, details are described with reference to fig. 1.
Fig. 1 is a schematic diagram of a system architecture for implementing a wake-up-on-time method according to an embodiment of the present invention.
As shown in fig. 1, the terminal device supports a dual system (for example, a first system (e.g., a working system) and a second system (e.g., a living system) in the embodiment of the present invention are illustrated).
The terminal device in the embodiment of the invention needs to include at least one dual-system interface in order to realize data transmission between two systems:
the interface that queries whether the currently operating system is the interface of the first system, the interface that sends the cross-system message (i.e., the interface that sends the message to another system (or application in another system)), the interface that monitors the cross-system message (i.e., the interface that accepts the message sent by another system (or application in another system)).
In addition, the embodiment of the invention takes an alarm clock application program as an example to describe the system for realizing the timed wake-up method in detail, and the system specifically comprises the following steps:
the system comprises a database module, an alarm clock list display module, an alarm clock setting module, an alarm clock module, a cross-system message monitoring module and a frame, wherein related double-system interfaces are provided. Each module is described in detail below.
(1) The database module is used for storing alarm clock setting data, and compared with a single-system alarm clock module, the database module in the embodiment of the invention needs to add two table items for the alarm clock record: one table item is a system table item, which indicates whether the alarm clock is the alarm clock of the currently operated system or the alarm clock setting of another system; the other table item is an ID value of an auxiliary address of the alarm clock and is used for recording the ID of the alarm clock in the other system database, the value of the item is-1 if the alarm clock of the current operating system is used, and the value of the item is the ID value recorded by the alarm clock in the other system alarm clock database if the alarm clock of the other system is used.
(2) The alarm clock list display module is used for displaying alarm clock information set by a user, and in the embodiment of the invention, compared with a single-system alarm clock module, the module needs to filter data of another system when inquiring a database, and only displays alarm clock setting data of the system.
(3) The alarm clock setting module is used for setting alarm clock information, and the specific setting operation of setting the alarm clock can comprise the following three possibilities:
1. when a user newly adds an alarm clock, receiving the newly added alarm clock setting operation of the alarm clock in a system which is operated in the background, namely a second system under the condition that the system operated in the foreground is the first system; responding to the newly added alarm clock setting operation, and generating the associated information of the newly added alarm clock setting and the second system; and sending indication information from the first system to the second system through the dual-system interface, wherein the indication information comprises associated information, and the request information is used for indicating the second system to newly add alarm clock setting according to the associated information. Wherein the indication information further comprises at least one of the following: the starting time of the timed wake-up, the title name of the timed wake-up, the wake-up type of the timed wake-up and the duration of the timed wake-up.
2. When a user modifies the alarm clock, the principle is approximately the same as that of the newly added alarm clock, wherein, unlike the newly added alarm clock, the indication information also comprises original information for indicating the second system to find modification information corresponding to the modification alarm clock setting operation according to the same ID, and the original information is updated according to the modification information.
3. When the user deletes the alarm clock, the principle is approximately the same as that of the newly added alarm clock, wherein, unlike the new alarm clock, the indication information also comprises the original information which indicates the second system to find the corresponding operation of deleting the alarm clock according to the same ID, and the original information is deleted according to the operation of deleting the alarm clock.
(4) And the cross-system message monitoring module is used for marking the alarm clock record which is required to be inserted into the database as a non-system alarm clock when receiving the indication information of the newly added alarm clock sent by the other system to set the alarm clock, and storing the ID of the alarm clock record in the alarm clock database of the other system.
Or when the alarm clock is modified by receiving the indication information of the modification alarm clock sent by the other system, the alarm clock record of the database is modified, and the corresponding alarm clock record is queried according to the ID in the transmitted alarm clock database of the other system, and then the modification is performed.
Or when the alarm clock is deleted after receiving the indication information of the alarm clock deleting message sent by the other system, the original data stored in the database is changed into the corresponding alarm clock record deleted according to the ID in the alarm clock database of the other system.
(5) The alarm module is used for acquiring alarm clock starting information of alarm clock management (such as AailamManger in figure 1), and carrying out alarm clock and displaying a reminding interface according to the alarm clock starting information. When receiving the alarm clock starting message, the dual-system interface inquires whether the alarm clock is of the currently operated system or of the background operated system. If the alarm clock is corresponding to the system operated in the background, inquiring the alarm clock record needing to ring, performing the alarm ending flow of the single system, and marking that the alarm is finished. If the alarm clock is corresponding to the system operated in the background, inquiring the alarm clock record to be sounded, and performing the same ringing operation as that of a single system, for example, when a user uses the system operated in the foreground to perform video connection, displaying an alarm clock interface, and marking the alarm clock in the alarm clock interface as the alarm clock of the system operated in the background.
(6) And the cross-system message monitoring module is used for monitoring messages sent by the alarm clock application of another system, and calling the alarm clock setting module to perform corresponding operations after receiving the messages, including setting operations such as adding, modifying, deleting the alarm clock and the like.
Based on the system architecture, the embodiment of the invention is described in detail with respect to the timed wake-up processing method (i.e. the process of setting the time alert and the process of starting the time alert), and is specifically shown in fig. 2.
Fig. 2 is a flowchart of a timing wake-up process according to an embodiment of the present invention.
As shown in fig. 2, the method for processing the wake-up timing specifically may include steps 210 to 230, which are specifically shown as follows:
step 210, receiving a setting operation for the wake-up in timing in the second system under the condition that the system operated by the foreground is the first system.
Wherein the setting operation may include at least one of the following operations: a new add, modify, or delete operation for the timed wakeup is received.
Here, in one possible embodiment, it is necessary to determine which system the preset operation is an operation on, and thus, it may be determined by the following steps:
receiving a preset operation of setting timing awakening by a user;
detecting whether the timed wake-up is associated with the first system in response to a preset operation;
and when the timed wake-up is not related to the first system, determining the preset operation as a setting operation for the timed wake-up in the second system.
Here, it may be detected whether the timed wake-up is associated with the first system based on records in the databases of both systems.
For example, the user performs the operation of adding an alarm clock newly through the setting interface of the alarm clock application program in the currently operated system, namely, the first system A, the alarm clock application in the first system A newly builds an alarm clock record in a public database of the two systems, the system mark in the alarm clock record is the alarm clock of the system, and the accessory Id of the alarm clock is-1. Here, the alarm clock application in system a performs a single system setup alarm clock procedure.
Step 220, in response to the setting operation, generating association information of the timed wake-up with the second system.
Wherein the association information is used to characterize the operation of the timed wakeup as being related to that system, for example: the a-second system is awakened at regular time.
Here, following the scenario of one possible embodiment in step 210, this step may specifically include:
in response to a setting operation, establishing an entry in a database of the terminal device;
marking the marked wake-up in the appearance as the identification information of the second system and the auxiliary address of the timed wake-up;
and generating the association information of the timed wake-up and the second system according to the identification information and the affiliated address.
When the timing wake-up is the timing wake-up of the first system, the item value of the auxiliary address is-1; and when the timed wake-up is the timed wake-up of the second system, the item value of the auxiliary address is the ID value of the second system.
And 230, transmitting indication information from the first system to the second system through the dual-system interface, wherein the indication information comprises associated information, and the request information is used for indicating the second system to set timed wake-up according to the associated information.
Here, the instruction information processing associated information in the embodiment of the present invention may further include at least one of the following: the starting time of the timed wake-up, the title name of the timed wake-up, the wake-up type of the timed wake-up and the duration of the timed wake-up.
For example, in step 210, the alarm clock application in the first system a sends indication information of the cross-system to the background second system B, where the indication information may include various information that needs to be stored, such as id of the alarm clock record in the database of the present system, alarm clock time, alarm clock title, ringing time, etc.
The process of newly adding an alarm clock:
and if the alarm clock application program of the second system B receives the newly-added alarm clock indication information sent by the alarm clock application program of the second system A through the double-system interface, the alarm clock application program of the second system B performs single-system alarm clock setting flow. Here, the second system B alarm clock application program needs to create an alarm clock record in the database, where the system in the alarm clock record is marked as a non-own system alarm clock, and the item value of the auxiliary address is the ID value of the second system as the ID value of the transferred alarm clock record in the first system a alarm clock database.
The process of modifying the alarm clock:
and when the alarm clock application program of the second system B receives the alarm clock modification indication information sent by the alarm clock application program of the second system A through the double-system interface, the alarm clock application program of the second system B carries out alarm clock modification operation.
Here, the indication information may include modifying the database alarm clock record, modifying the alarm clock management information and the ID value of the alarm clock record in the second system a database. Based on the method, the second system B alarm clock application carries out single-system modification alarm clock flow, wherein the alarm clock record is found out by utilizing the recorded ID value in the database according to the indication information, and the data is updated.
The alarm clock deleting process comprises the following steps:
and when the alarm clock application program of the second system B receives the alarm clock deleting indication information sent by the alarm clock application program of the second system A through the double-system interface, the alarm clock application program of the second system B performs an alarm clock deleting operation.
Here, the indication information may include an ID value of the alarm clock record to be deleted, which is deleted from the database. Based on the above, the second system B alarm clock application searches the alarm clock record in the database by using the recorded ID value according to the transferred alarm clock record ID value, and performs the operation of deleting the alarm clock record.
In addition, the timing wake-up processing provided by the embodiment of the present invention further includes the following step 240 (i.e. a process of starting a timing reminder), which is specifically shown as follows:
step 240, in the case of the timed wake-up start, prompting the user of the timed wake-up in the second system operated in the background.
Under the condition of timing wake-up starting, detecting whether a system operated by a foreground is a first system or not; and when the system operated by the foreground is the first system, prompting the user to wake up at regular time in the second system operated by the background.
In view of this, when the system for foreground operation is the first system, the step of presenting the user with the timed wake-up in the second system for background operation may specifically include:
when the system operated by the foreground is a first system, determining whether the timed wake-up is the timed wake-up in the first system according to the associated information;
in the event that it is determined that the timed wake is not the timed wake in the first system, the user is prompted for the timed wake as the timed wake in the second system operating in the background.
Further, in the embodiment of the invention, the timing wake-up in the second system operated in the background can be prompted to the user by at least one mode of characters, pictures and audio/video.
Therefore, in the embodiment of the invention, the alarm clock display interface is changed, and the user is prompted to wake up at regular time in a second system operated in the background or a first system operated in the foreground through at least one mode of characters, pictures and audio/video on the display interface. Such as a display text prompt on the display interface "the alarm is a background system alarm".
In summary, in the embodiment of the present invention, when the system operated by the foreground is the first system in the dual system, a timing wake-up setting operation for the second system in the dual system is received, and association information of the timing wake-up and the second system is generated; then, the indication information is sent from the first system to the second system through the dual-system interface, the indication information comprises the association information, and the request information is used for indicating the second system to set the timing wake-up according to the association information. In this way, in the dual-system scenario, when the timing wake-up of the system operated in the background needs to be set (or started), the timing wake-up can be set without switching the system, so that the login time of a user between the two systems is reduced, and the use efficiency of the dual-system is improved.
In addition, it should be noted that, the dual android system scheme in the embodiment of the present invention may adopt a container technology, that is, through a lightweight virtualization technology on a kernel, support the operation of two systems (for example, android systems), that is, the living system and the working system are isolated at the operating system layer, and the file systems, processes and networks of the two systems are completely isolated. The two android systems are parallel and isolated from each other, and have no master-slave division. The two systems are independent, so that the two systems can be respectively provided with alarm clock application, the data of the two alarm clock applications are independent, and the logic processing is also independent, so that the alarm clock setting is also independent, the alarm clock setting can be respectively carried out, the alarm clock events are respectively arranged after the setting, the alarm clock event flow of the foreground system is the same as that of the single system, but after the background system has the alarm clock event, special flow processing is needed, so that a user can know the alarm clock event. The two alarm applications are to cooperate to perform the alarm function and, therefore. The dual system provides a communication interface for the two systems through the socket, and the application of one system can communicate with the application of the other system through the interface to cooperatively complete the functions.
Based on the above-mentioned timing wake-up processing method, the embodiment of the invention also provides a timing wake-up processing device, which is specifically described with reference to fig. 3.
Fig. 3 is a schematic structural diagram of a timing wake-up device according to an embodiment of the present invention.
As shown in fig. 3, the timing wake-up device 30 is applied to a terminal device, where the terminal device includes a dual system, and the dual system includes a first system and a second system, and based on this, the timing wake-up device 30 may specifically include:
a receiving module 301, configured to receive a setting operation for timing wakeup in a second system when a system operated by a foreground is the first system;
a processing module 302, configured to generate association information of the timed wake-up and the second system in response to the setting operation;
the sending module 303 is configured to send, through the dual-system interface, indication information from the first system to the second system, where the indication information includes association information, and the request information is used to instruct the second system to set a wake-up timing according to the association information.
In one possible embodiment, the processing module 302 may be further configured to detect whether the timed wake is associated with the first system in response to a preset operation;
and when the timed wake-up is not related to the first system, determining the preset operation as a setting operation for the timed wake-up in the second system.
In another possible embodiment, the processing module 302 may be specifically configured to establish an entry in a database of the terminal device in response to the setting operation; marking the marked wake-up in the appearance as the identification information of the second system and the auxiliary address of the timed wake-up; and generating the association information of the timed wake-up and the second system according to the identification information and the affiliated address.
Here, when the timed wake-up is the timed wake-up of the first system, the item value of the affiliated address is-1; and when the timed wake-up is the timed wake-up of the second system, the item value of the auxiliary address is the ID value of the second system.
In another possible embodiment, the receiving module 301 may be specifically configured to receive a new add, modify or delete operation for the wake-up-on-time.
In addition, the timing wake-up device 30 in the embodiment of the present invention may further include: and the prompting module 304 is configured to prompt the user for a timed wake-up in the second system that is operated in the background when the timed wake-up is started.
Based on this, the prompting module 304 may be specifically configured to detect whether the system operated by the foreground is the first system in the case of a timed wake-up start;
and when the system operated by the foreground is the first system, prompting the user to wake up at regular time in the second system operated by the background.
Further, the prompting module 304 may be specifically configured to determine, when the system operated by the foreground is the first system, whether the timed wake-up is the timed wake-up in the first system according to the association information;
in the event that it is determined that the timed wake is not the timed wake in the first system, the user is prompted for the timed wake as the timed wake in the second system operating in the background. The timing wake-up in the second system which is operated in the background can be prompted to the user by at least one mode of characters, pictures and audio/video.
It should be noted that, the indication information in the embodiment of the present invention further includes at least one of the following: the starting time of the timed wake-up, the title name of the timed wake-up, the wake-up type of the timed wake-up and the duration of the timed wake-up.
Therefore, in the embodiment of the invention, when the system operated by the foreground is the first system in the dual system, the timing wake-up setting operation aiming at the second system in the dual system is received, and the association information of the timing wake-up and the second system is generated; then, the indication information is sent from the first system to the second system through the dual-system interface, the indication information comprises the association information, and the request information is used for indicating the second system to set the timing wake-up according to the association information. In this way, in the dual-system scenario, when the timing wake-up of the system operated in the background needs to be set (or started), the timing wake-up can be set without switching the system, so that the login time of a user between the two systems is reduced, and the use efficiency of the dual-system is improved.
Fig. 4 is a schematic hardware structure of a terminal device according to an embodiment of the present invention.
The terminal device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power source 411. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 4 does not constitute a limitation of the terminal device, and the terminal device may comprise more or less components than shown, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the terminal equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used to receive and send information or signals during a call, specifically, receive downlink resources from a base station, and then process the downlink resources with the processor 410; in addition, uplink resources are transmitted to the base station. Typically, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 may also communicate with networks and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 402, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
The audio output unit 403 may convert audio resources received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into audio signals and output as sound. Also, the audio output unit 403 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal device 400. The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive an audio or video signal. The input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, the graphics processor 4041 processing image resources of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frame may be displayed on the display unit 407. The image frames processed by the graphics processor 4041 may be stored in memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. Microphone 4042 may receive sound and may be capable of processing such sound as an audio resource. The processed audio resources may be converted in case of a phone call mode into a format output that may be transmitted to the mobile communication base station via the radio frequency unit 401.
The terminal device 400 further comprises at least one sensor 405, such as a light sensor, a motion sensor and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 4061 and/or the backlight when the terminal device 400 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like of the terminal equipment; the sensor 405 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 406 is used to display information input by a user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 4071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 410, and receives and executes commands sent from the processor 410. In addition, the touch panel 4071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 407 may include other input devices 4072 in addition to the touch panel 4071. In particular, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 4071 may be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 410 to determine the type of touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 may be integrated with the display panel 4061 to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 408 is an interface to which an external device is connected to the terminal apparatus 400. For example, the external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless resource ports, memory card ports, ports for connecting devices having identification modules, audio input/output (I/O) ports, video I/O ports, earphone ports, and the like. The interface unit 408 may be used to receive input (e.g., resource information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 400 or may be used to transmit resources between the terminal apparatus 400 and an external device.
Memory 409 may be used to store software programs as well as various resources. The memory 409 may mainly include a storage program area and a storage resource area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage resource area may store resources (such as audio resources, phonebooks, etc.) created according to the use of the handset, etc. In addition, memory 409 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 410 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions and processing resources of the terminal device by running or executing software programs and/or modules stored in the memory 409 and invoking resources stored in the memory 409, thereby performing overall monitoring of the terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal device 400 may further include a power source 411 (such as a battery) for supplying power to the respective components, and preferably, the power source 411 may be logically connected to the processor 410 through a power management system, so that functions of managing charging, discharging, power consumption management, etc. are implemented through the power management system.
In addition, the terminal device 400 includes some functional modules, which are not shown, and will not be described herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed in a computer causes the computer to execute the steps of the timed wake-up processing method of the embodiment of the invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method of the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (12)

1. A method for processing a wake-up timer, which is applied to a terminal device, wherein the terminal device comprises a dual system, and the dual system comprises a first system and a second system, and the method comprises the following steps:
receiving a setting operation aiming at timing awakening in the second system under the condition that a system operated by a foreground is the first system; the first system and the second system are two systems which are mutually independent, and the first system and the second system need to be logged out and the second system need to be logged in again when the first system and the second system are switched;
responding to the setting operation, and establishing an item in a database of the terminal equipment;
marking the timing wakeup as the identification information of the second system and the auxiliary address of the timing wakeup in the table entry;
generating association information of the timed wake-up and the second system according to the identification information and the auxiliary address;
and sending indication information from the first system to the second system through a dual-system interface, wherein the indication information comprises the association information and is used for indicating the second system to set the timed wake-up according to the association information.
2. The method according to claim 1, wherein the method further comprises:
and under the condition that the timing wakeup is started, prompting the timing wakeup to a user to be the timing wakeup in the second system operated in the background.
3. The method of claim 2, wherein prompting the user for the timed wake in the second system that is background operation, if the timed wake is initiated, comprises:
under the condition of the timing wake-up starting, detecting whether a system operated by a foreground is the first system or not;
and when the system operated by the foreground is the first system, prompting the user that the timing wake-up is the timing wake-up in the second system operated by the background.
4. A method according to claim 2 or 3, wherein when the foreground operated system is the first system, prompting the user for the timed wake-up to be a timed wake-up in a background operated second system, comprising:
when the system operated by the foreground is the first system, determining whether the timed wake-up is the timed wake-up in the first system according to the association information;
and prompting a user of the timing wake-up in a second system operated in the background under the condition that the timing wake-up is not determined to be the timing wake-up in the first system.
5. A method according to claim 2 or 3, the prompting the user of the timed wake-up to be a timed wake-up in a second system operating in the background, comprising:
and prompting the user that the timed wake-up is the timed wake-up in the second system operated in the background through at least one mode of characters, pictures and audio/video.
6. The method of claim 1, wherein determining a set operation for timed wakeup in the second system comprises:
receiving a preset operation of setting timing awakening by a user;
detecting whether the timed wakeup is associated with the first system in response to the preset operation;
and when the timed wake-up is not related to the first system, determining the preset operation as a setting operation for the timed wake-up in the second system.
7. The method of claim 1, wherein the accessory address has an entry value of-1 when the timed wake is a timed wake of the first system;
and when the timed wake-up is the timed wake-up of the second system, the item value of the auxiliary address is the ID value of the second system.
8. The method of claim 1, wherein the receiving a set operation for a timed wakeup in the second system comprises:
And receiving a new addition, modification or deletion operation for the timed wakeup.
9. The method of claim 1, wherein the indication information further comprises at least one of: the starting time of the timed wake-up, the title name of the timed wake-up, the wake-up type of the timed wake-up and the duration of the timed wake-up.
10. A timed wake-up processing device applied to a terminal device, wherein the terminal device comprises a dual system, the dual system comprises a first system and a second system, and the device comprises:
the receiving module is used for receiving a setting operation aiming at timing awakening in the second system under the condition that a system operated by a foreground is the first system; the first system and the second system are two systems which are mutually independent, and the first system and the second system need to be logged out and the second system need to be logged in again when the first system and the second system are switched;
the processing module is used for responding to the setting operation and establishing an item in a database of the terminal equipment; marking the timing wakeup as the identification information of the second system and the auxiliary address of the timing wakeup in the table entry; generating association information of the timed wake-up and the second system according to the identification information and the auxiliary address;
The sending module is used for sending indication information from the first system to the second system through a dual-system interface, the indication information comprises the association information, and the indication information is used for indicating the second system to set the timed wake-up according to the association information.
11. Terminal device, characterized by comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, implements the timed wake-up processing method according to claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored which, if executed in a computer, causes the computer to carry out the timed wake-up processing method according to claims 1-9.
CN201911391084.5A 2019-12-30 2019-12-30 Timing wake-up processing method and device, terminal equipment and storage medium Active CN113127214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911391084.5A CN113127214B (en) 2019-12-30 2019-12-30 Timing wake-up processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911391084.5A CN113127214B (en) 2019-12-30 2019-12-30 Timing wake-up processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113127214A CN113127214A (en) 2021-07-16
CN113127214B true CN113127214B (en) 2024-02-06

Family

ID=76767713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911391084.5A Active CN113127214B (en) 2019-12-30 2019-12-30 Timing wake-up processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113127214B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009210439A (en) * 2008-03-04 2009-09-17 Sharp Corp Alarm clock system, portable communication apparatus, method of controlling alarm clock system, control program of alarm click system, and recoding medium with control program of alarm clock system recorded thereon
CN101819805A (en) * 2010-01-28 2010-09-01 深圳市戴文科技有限公司 Method and device for playing audio frequency and mobile terminal
CN103713886A (en) * 2012-09-29 2014-04-09 腾讯科技(深圳)有限公司 Reminding device in data processing equipment and reminding processing method implemented by reminding device
CN104657213A (en) * 2015-02-13 2015-05-27 深圳酷派技术有限公司 Intersystem application switching method and terminal
CN105335216A (en) * 2014-06-12 2016-02-17 乐蛙科技(上海)有限公司 Communication terminal application management method and system
CN106095056A (en) * 2016-06-02 2016-11-09 珠海市魅族科技有限公司 A kind of method waking up system up and terminal
CN106155606A (en) * 2015-04-07 2016-11-23 中国移动通信集团公司 A kind of multi-screen interaction method and device
CN106445708A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Response method and response device for multi-system events
WO2018010507A1 (en) * 2016-07-11 2018-01-18 广东欧珀移动通信有限公司 Awakening monitoring method of terminal system, storage medium, terminal, and electronic device
CN107643949A (en) * 2017-10-19 2018-01-30 西安小喵信息科技有限公司 Application program switching system and method, storage medium and electronic equipment
CN108462795A (en) * 2018-02-05 2018-08-28 广东欧珀移动通信有限公司 A kind of alarm clock prompting method, system and terminal device
CN109117193A (en) * 2018-07-20 2019-01-01 重庆宝力优特科技有限公司 A kind of double screen switching method and double screen equipment
CN110058905A (en) * 2018-01-18 2019-07-26 阿里巴巴集团控股有限公司 Event handling and operating system management method, apparatus, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092701B (en) * 2011-10-31 2017-02-08 联想(北京)有限公司 Communication method, communication device and electronic device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009210439A (en) * 2008-03-04 2009-09-17 Sharp Corp Alarm clock system, portable communication apparatus, method of controlling alarm clock system, control program of alarm click system, and recoding medium with control program of alarm clock system recorded thereon
CN101819805A (en) * 2010-01-28 2010-09-01 深圳市戴文科技有限公司 Method and device for playing audio frequency and mobile terminal
CN103713886A (en) * 2012-09-29 2014-04-09 腾讯科技(深圳)有限公司 Reminding device in data processing equipment and reminding processing method implemented by reminding device
CN105335216A (en) * 2014-06-12 2016-02-17 乐蛙科技(上海)有限公司 Communication terminal application management method and system
CN104657213A (en) * 2015-02-13 2015-05-27 深圳酷派技术有限公司 Intersystem application switching method and terminal
CN106155606A (en) * 2015-04-07 2016-11-23 中国移动通信集团公司 A kind of multi-screen interaction method and device
CN106095056A (en) * 2016-06-02 2016-11-09 珠海市魅族科技有限公司 A kind of method waking up system up and terminal
WO2018010507A1 (en) * 2016-07-11 2018-01-18 广东欧珀移动通信有限公司 Awakening monitoring method of terminal system, storage medium, terminal, and electronic device
CN106445708A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Response method and response device for multi-system events
CN107643949A (en) * 2017-10-19 2018-01-30 西安小喵信息科技有限公司 Application program switching system and method, storage medium and electronic equipment
CN110058905A (en) * 2018-01-18 2019-07-26 阿里巴巴集团控股有限公司 Event handling and operating system management method, apparatus, equipment and storage medium
CN108462795A (en) * 2018-02-05 2018-08-28 广东欧珀移动通信有限公司 A kind of alarm clock prompting method, system and terminal device
CN109117193A (en) * 2018-07-20 2019-01-01 重庆宝力优特科技有限公司 A kind of double screen switching method and double screen equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于ARM硬件虚拟化和TrustZone技术的Android系统保护方案;杨永;《中国优秀硕士学位论文全文数据库 信息科技辑》(第8期);I138-52 *
基于EFI双核的安全系统框架的设计与研究;谢勇;《中国优秀硕士学位论文全文数据库 信息科技辑》(第6期);I138-50 *

Also Published As

Publication number Publication date
CN113127214A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
CN108712566B (en) Voice assistant awakening method and mobile terminal
WO2021017776A1 (en) Information processing method and terminal
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
WO2019080775A1 (en) Notification message prompting method and mobile terminal
CN111130989B (en) Information display and sending method and electronic equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108391008B (en) Message reminding method and mobile terminal
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109062634B (en) Application starting method and mobile terminal
WO2019076377A1 (en) Image viewing method and mobile terminal
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
WO2019129264A1 (en) Interface display method and mobile terminal
CN111107223B (en) Message processing method and electronic equipment
CN109949809B (en) Voice control method and terminal equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN108491125B (en) Operation control method of application store and mobile terminal
WO2019091301A1 (en) Information processing method for radio frequency device, and mobile terminal
CN111309392B (en) Equipment control method and electronic equipment
CN111159738B (en) Authority configuration method, application login method and device
WO2019179312A1 (en) Mobile terminal operation method and mobile terminal
CN108495276B (en) Sharing method and device of digital business card
CN110990029A (en) Application processing method and electronic equipment
CN113127214B (en) Timing wake-up processing method and device, terminal equipment 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
GR01 Patent grant
GR01 Patent grant