CN113254088A - Functional program awakening method, terminal and storage medium - Google Patents

Functional program awakening method, terminal and storage medium Download PDF

Info

Publication number
CN113254088A
CN113254088A CN202110546267.0A CN202110546267A CN113254088A CN 113254088 A CN113254088 A CN 113254088A CN 202110546267 A CN202110546267 A CN 202110546267A CN 113254088 A CN113254088 A CN 113254088A
Authority
CN
China
Prior art keywords
program
terminal
preset
target function
function program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110546267.0A
Other languages
Chinese (zh)
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202110546267.0A priority Critical patent/CN113254088A/en
Publication of CN113254088A publication Critical patent/CN113254088A/en
Pending legal-status Critical Current

Links

Images

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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The method determines a target function program on the terminal and awakens the target function program based on a preset trigger event in response to the occurrence of the preset trigger event of the terminal, and compared with the prior art that a user needs to operate by himself to start the function program on the terminal and waits for a period of time to enter an interactive interface of the function program, the method can determine the target function program on the terminal and awaken the target function program when the preset trigger event of the terminal is monitored before the user actively starts the function program, and the user can enter an application interface without waiting for too long time, so that better experience can be provided for the user.

Description

Functional program awakening method, terminal and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method, a terminal, and a storage medium for waking up a function program.
Background
Along with the continuous development of mobile terminals, more convenience is brought to the life of users, and meanwhile, more and more applications are installed on the mobile terminals, and in the process of designing and realizing the application, the inventor finds that at least the following problems exist: the starting and loading of the application takes a long time, and the user needs to wait for a long time to enter the application interface, which results in poor user experience.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a method, a terminal and a storage medium for waking up a function program, which can solve the technical problem that the function program on a mobile terminal cannot be intelligently started.
In order to solve the above technical problem, the present application provides a method for waking up a functional program, including:
s11, responding to the terminal to generate a preset trigger event;
s12, determining a target function program on the terminal based on a preset trigger event;
and S13, waking the target function program.
Optionally, step S11 is preceded by:
it is determined whether the preset mode is turned on, and if so, step S11 is performed.
Optionally, the preset mode includes at least one of: the system comprises a functional program wake-up mode, a running speed-up mode, an acceleration mode, a top speed mode, a power-saving mode, a game mode and a performance mode.
Optionally, the preset trigger event includes at least one of:
the current time meets the preset time;
the preset functional program is started or awakened;
the current positioning is in a preset range;
the current power consumption is greater than or equal to the preset power consumption;
the current network state meets the preset network condition;
the current environment meets the preset environmental conditions;
key information appears in human-computer interaction.
Optionally, if the preset trigger event comprises key information occurring in the human-computer interaction process;
step S12 includes:
matching the key information with key information corresponding to at least one functional program on the terminal;
and if the matching is successful, taking the functional program successfully matched as the target functional program.
Optionally, the human-computer interaction includes at least one of voice interaction, text interaction, touch interaction, gesture interaction, air-space interaction, message interaction, and video interaction.
Optionally, step S12 includes at least one of:
determining a functional program corresponding to a preset trigger event as a target functional program;
and determining the function program of the terminal historical awakening when the preset trigger event occurs as a target function program.
Optionally, step S13 includes at least one of:
starting the target function program from a closed state to a foreground running state or a background running state;
awakening the target function program from a background running state to a foreground running state;
and awakening the target function program from the background freezing state into a background running state or a foreground running state.
Optionally, step S13 is preceded by:
judging whether the non-target function program meets a preset freezing condition or not;
if yes, freezing the non-target function program.
Optionally, the preset freezing condition is met, and the preset freezing condition comprises at least one of the following:
the non-target function is a default freeze function;
the non-target function is not called;
the non-target functional program is not providing preset service;
the time length of the non-target function program in the background running state is greater than or equal to the preset time length.
Optionally, the method further comprises at least one of the following after step S13:
unfreezing the non-target function program;
when the freezing time of the target function program is greater than or equal to a preset threshold value, unfreezing the non-target function program;
and unfreezing the non-target functional programs when the target functional programs are awakened or closed.
The present application further provides a terminal, including: the device comprises a memory and a processor, wherein the memory is stored with a functional program wake-up program, and the functional program wake-up program realizes the steps of any one of the methods when being executed by the processor.
The present application also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of any of the methods described above.
As described above, according to the functional program wake-up method provided by the present application, when a preset trigger event occurs in a response to a terminal, a target functional program on the terminal can be determined based on the preset trigger event and is woken up, and compared with the prior art that a user needs to operate by himself to start the functional program on the terminal and wait for a period of time to enter an interactive interface of the functional program, the functional program wake-up method provided by the present application can determine and wake up the target functional program on the terminal when the preset trigger event occurs in the terminal before the user actively starts a function, and does not need to wait too long time for the user to enter an application interface, so that better experience can be provided for the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a first functional program wake-up method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a first interaction provided by an embodiment of the present application;
fig. 5 is a flowchart illustrating a second functional program wake-up method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a second interaction provided in the embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
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, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and optionally, identically named components, features, and elements in different embodiments of the present application may have different meanings, as may be determined by their interpretation in the embodiment or by their further context within the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then S11 in specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and optionally, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. Alternatively, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data 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 frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. Alternatively, the touch panel 1071 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Optionally, the memory 109 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 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
An embodiment of the present application provides a method for waking up a functional program, please refer to fig. 3, where the method includes:
and S11, responding to the terminal to generate a preset trigger event.
The terminal monitors events occurring thereon, and if it is determined that the preset trigger event occurs on the terminal, step S12 may be performed to determine a target function program to be woken up on the terminal based on the preset trigger event occurring on the terminal. The preset trigger event refers to a preset trigger event occurring on the terminal, and there are many events occurring on the terminal, for example, the terminal receives a call, a message, and a video call, and also includes that the location of the terminal is within a preset address range, a functional program on a certain terminal is awakened, and the like.
And S12, determining the target function program on the terminal based on the preset trigger event.
The occurrence of different preset trigger events on the terminal enables the user to want to open different functional programs (the functional programs include a system program and an application program on the terminal), for example, after the user is awakened by an alarm clock on a new day (the current time on the terminal meets the preset getting-up time), the user will start a weather functional program to view the weather forecast of the day, and when the user goes to work at 8:00 (the current time on the terminal meets the preset going-out time), the user will start taxi taking software to go to a company, please refer to fig. 4. Therefore, after the preset trigger event occurs on the terminal, the functional program to be awakened on the terminal can be determined according to the preset trigger event occurring on the terminal, and the functional program to be awakened on the terminal is called a target functional program in the embodiment of the application.
And S13, waking the target function program.
The function on the terminal generally has the following states: a close state, a foreground running state, a background freeze state, and a sleep state. The background freezing state is a state in which the functional program originally running on the background of the terminal is stopped (not closed), so that the terminal can leave free the CPU resources and IO resources which are put into the functional program.
In the embodiment of the present application, the manner of waking up the target function program includes at least one of the following:
(1) starting the target function program from a closed state to a foreground running state or a background running state;
(2) awakening the target function program from a background running state to a foreground running state;
(3) and awakening the target function program from the background freezing state into a background running state or a foreground running state.
Optionally, the specific state to which the user wakes up needs to be determined according to the actual state of the target function program, and three general ways of waking up are described herein.
In some examples, before the target function program is awakened, the non-target function program on the terminal can be frozen so as to free up the CPU resource and the IO resource, and of course, after the target function program is awakened, the frozen function program can be unfrozen.
Compared with the prior art that a user needs to operate to start a functional program on a terminal and wait for a period of time to enter an interactive interface of the functional program, the functional program awakening method provided by the embodiment of the application can determine and awaken a target functional program on the terminal when a preset trigger event is monitored before the user actively starts the functional program, and can enter an application interface without waiting for too long time, so that better experience can be provided for the user.
Based on the functional program wake-up method described in the above embodiments, the following provides a continuation of other possible embodiments of the functional program wake-up method provided in the present application.
An embodiment of the present application further provides a method for waking up a functional program, which can be applied to a terminal, please refer to fig. 5, and the method includes:
s101, determining whether the preset mode is started, if so, executing the step S102.
Optionally, the preset mode includes at least one of: the system comprises a functional program wake-up mode, a running speed-up mode, an acceleration mode, a top speed mode, a power-saving mode, a game mode and a performance mode.
In the embodiment of the present application, to solve the technical problem that the function program on the terminal cannot be intelligently started, a preset mode may be preset on the terminal, and the function program wake-up method provided in the embodiment of the present application may be executed in a state where the mode is turned on — further step S102 is executed, and if the mode is not turned on, the user needs to start the function program on the terminal in an original manner.
And S102, responding to a preset trigger event of the terminal.
After the preset mode is started, the terminal monitors events occurring thereon, and if it is determined that a preset trigger event occurs on the terminal, step S103 of determining a target function program to be woken up on the terminal based on the preset trigger event occurring on the terminal may be performed. There are many events occurring on the terminal, for example, the terminal receives a call, a message, a video call, and also includes that the location of the terminal is within a preset address range, a function program on a certain terminal is awakened, and the like, the preset trigger event refers to a preset trigger event occurring on the terminal, and when such an event occurs on the terminal is detected, the execution of step S103 to determine a target function program is triggered.
In an embodiment of the present application, the preset trigger event includes at least one of the following:
(1) the preset trigger event is that the current time on the terminal meets the preset time. It can be understood that the personal usage habit of the user is stable at least for a period of time, and if the user frequently turns on a certain function program at a certain time, the function program can be woken up when the current time meets the turn-on time of the certain function program. For example, if the user opens the financial function program to check the stock market at 9:00 of each working day, the terminal may determine the financial function program as the target function program and wake up the target function program at 9:00 of each working day.
(2) The preset trigger event is that a preset functional program on the terminal is started or awakened. The calling relationship may exist between the function programs on the terminal, for example, after the user opens the food function program, the user may check a place of a certain food, and then the food function program may call the navigation function program to check the food. In addition, the functional programs used by the user when using the terminal have a logical relationship, for example, the user opens a second functional program with the same function after opening the first functional program, and opens a second communication functional program for price comparison after opening the first shopping functional program. Alternatively, some default function programs may be determined as the target function program when the preset function program is woken up or started. It can be seen that the target function program can be determined based on the started or awakened function program when the preset function program on the terminal is started or awakened. The wake-up referred to in the present embodiment will be described in detail later.
(3) The preset trigger event is that the current location of the terminal is in a preset range. The corresponding relation between the moving track of the user (terminal) and the functional program used by the user is traceable, and the functional program to be started by the user can be predicted based on the positioning of the terminal. For example, as shown in fig. 6, when the current location of the terminal enters a company address range of 500 meters for the first time in a day, the user usually opens the card-punching type function program for punching a card on work, and the card-punching type function program may be determined as the target function program.
(4) The preset trigger event is a condition that the current power consumption of the terminal is greater than or equal to the preset power consumption. When the terminal is heavily loaded, excessive resources are consumed in unit time, and at this time, the user can start the cleaning function program to clean the terminal, so that the cleaning function program can be determined as the target function program when the current power consumption of the terminal is determined to be greater than or equal to the preset power consumption.
(5) The preset trigger event is that the current network state of the terminal meets the preset network condition. The functional programs used by the user may be different in different network states, and thus the target functional program that the user wants to wake up may be determined based on the current network state of the terminal. For example, in order to save data traffic, the user may suspend the use of the function program when the function program consumes a large amount of data traffic, for example, when downloading video, the user may suspend the downloading for saving traffic, and/or may not play a terminal game for saving traffic, and after the terminal connects WiFi, the user may continue to download video and may also open the game function program for entertainment, so that the function program that needs to be consumed in a large amount may be determined as the target function program when the terminal connects WiFi.
(6) The preset trigger event is that the current environment of the terminal meets a preset environment condition. The environment here refers to relevant data about the terminal that can be checked by various devices on the terminal, such as a sensor, a gyroscope, etc., and the data is related to the environment where the terminal is located, and the data information is referred to as the environment in the embodiments of the present application. The environment will affect the use of the functional program on the terminal by the user, and the target functional program can be determined when the current environment of the terminal meets the preset environmental condition. For example, whether the terminal is shaken or turned can be judged through the data detected by the gyroscope, and a corresponding functional program can be determined as a target functional program corresponding to the shaking and turning environment, for example, when a user runs with the terminal, the motion recording functional program can be determined as the target functional program to wake up.
(7) The preset trigger event is key information appearing in the man-machine interaction on the terminal. Human-machine interaction here includes at least one of voice interaction, text interaction, touch interaction, gesture interaction, air interaction, message interaction, video interaction, and in some examples, may be interaction between a user and a voice assistant. The key information appearing in the man-machine interaction is information such as characters and voice generated in the process of using the terminal by a user, and information acquired from images or videos shot by the terminal, and the terminal can judge/predict a target function program which is possibly opened/started by the user later based on the key information. For example, if a user takes a picture of a piece of clothing, it can be predicted that the user will open a shopping function program to search for a purchase; for another example, if the user eats with the contact person at a certain place at a certain time through the social software, it can be predicted that the user will go to the appointment place to eat before the taxi taking function program/navigation function program is opened in a certain event period; for another example, the news function program on the terminal may prompt the user about recent news through a small window, and at this time, it may be predicted that the user opens the corresponding news function program to view detailed news reports.
And S103, determining a target function program on the terminal based on a preset trigger event.
It can be understood that the occurrence of different preset trigger events on the terminal may cause the user to want to open different functional programs (the functional programs include a system program and an application program on the terminal), for example, after the user is awakened by an alarm clock on a new day (the current time on the terminal satisfies the preset getting-up time), the user may open a weather functional program to view the weather forecast of the day, and when the user goes to work at 8:00 (the current time on the terminal satisfies the preset going-out time), the user may open taxi taking software to go to the company. Therefore, after the preset trigger event occurs on the terminal, the functional program to be awakened on the terminal can be determined according to the preset trigger event occurring on the terminal, and the functional program to be awakened on the terminal is called a target functional program in the embodiment of the application. The mode of determining the target function program in the embodiment of the application can be realized by the following modes:
(1) and determining the function program of the terminal historical awakening when the preset trigger event occurs as a target function program. The terminal may record the functional program awakened by the user after the occurrence of the preset trigger event, and may determine at least one functional program awakened by the user in the history as the target functional program when the preset trigger event occurs again.
(2) The functional program corresponding to the preset trigger event is determined as the target functional program, and it can be understood that a user may preset a relationship between the preset trigger event and the functional program on the terminal, and when the preset trigger event is determined to occur, the functional program corresponding to the preset trigger event is determined as the target functional program.
The above description of S103 is applicable to general situations, and in this embodiment of the application, if the preset trigger event in step S102 is key information occurring in the human-computer interaction, step S103 further includes matching the key information with key information corresponding to at least one functional program on the terminal, and if the matching is successful, taking the functional program that is successfully matched as the target functional program. When some key information is mentioned during the human-computer interaction process, for example, when the user chats with others through the social function program on the terminal, the function program corresponding to the key information can be determined as the target function program.
It is understood that the functional program may correspond to at least one key information, which may be text, voice, video, etc. The key information corresponding to the functional program may be a name (chinese, english, abbreviation, name, etc.) of the functional program on the terminal, and/or a use corresponding to the functional program, a noun related to the use, and/or a service related to the functional program. For example, the key information corresponding to the news application may be words of news, divine, the eight diagrams, headlines, and the like, and the key information corresponding to the payment application may be words of payment, money borrowing, purchasing, preferential treatment, financing, money transfer, and the like.
Through the embodiment, the related functional programs can be awakened or unfrozen in advance according to the key information in the human-computer interaction process, so that the loading or running or switching speed of the functional programs can be increased, and intelligent and quick user experience can be brought.
And S104, judging whether the non-target function program meets a preset freezing condition.
S105, if yes, freezing the non-target function program and/or outputting prompt information; and/or the presence of a gas in the gas,
and S106, if not, not processing.
In some examples, the terminal may wake up the target function program after determining the target function program, and in this embodiment, after determining the target function program, the non-target function program on the terminal may be frozen, so that CPU resources and IO resources may be left out so as to be faster when waking up the target function program, and/or a jam or the like may not occur.
In this embodiment of the present application, the freezing may be to switch a functional program on the terminal from a foreground running state/a background running state to a background freezing state, and it should be understood that the functional program on the terminal has the following states: a close state, a foreground running state, a background freeze state, and a sleep state. The background freezing state is a state in which the functional program originally running on the background of the terminal is stopped (not closed), so that the terminal can leave free the CPU resources and IO resources which are put into the functional program. In some examples, the non-target function may be all functions on the terminal, and of course some functions are in an off state, so in some examples, a function running in the background on the terminal may be determined to be a non-target function.
Optionally, in an embodiment of the present application, the preset freezing condition includes at least one of:
(1) and confirming whether the non-target function program is the default freezing function program or not, and freezing the non-target function program if the non-target function program is the default freezing function program. It will be appreciated that some of the functional programs on the terminal are not important and do not need to run in the background for a long time, so the target functional program can be frozen by default before being woken up, which frees up the CPU resources and IO resources that are devoted to the functional program. The default freeze function may be a system function, a third party function, etc. in embodiments of the present application.
(2) And confirming whether the non-target function program is called or not, and freezing the non-target function program if the non-target function program is not called. There may be call relations between the functional programs on the terminal, and it is inconvenient to freeze these functional programs in such an example, for example, there are Binder calls between the functional programs, check the use of other functional programs, and network communication between local processes, etc.
(3) And confirming whether the non-target function program is providing preset service or not, and freezing the non-target function program if the non-target function program is not providing the preset service. The preset service is a preset service, and in the embodiment of the present application, the preset service may be a VPN, a screen recording, a navigation, a video/music/broadcast playing, and/or a terminal in a multi-screen and downloading state, and the like. When the functional programs on the terminal are providing the services, in order to ensure that the user has a better experience, non-target functional programs are not recommended to be interrupted, so that the non-target functional programs cannot be frozen.
(4) And judging whether the time length of the non-target function program in the background running state is greater than or equal to a preset time length, and freezing the non-target function program if the time length of the non-target function program in the background running state is greater than or equal to the preset time length. When the non-target function program is determined to be in the background running state for a long time, the fact that the user does not use the non-target function program any more can be predicted, and therefore when the non-target function program is determined to be run in the background for a time length greater than or equal to the preset time length, the non-target function program is frozen.
S107, and/or awakening the target function program.
After the non-target function program is frozen, more CPU resources and IO resources are left in the terminal, so that the terminal is not blocked when the target function program is awakened, and the awakening target function program can be directly used by a user without manually clicking to start the function program.
In the embodiment of the present application, the manner of waking up the target function program includes at least one of the following:
(1) starting the target function program from a closed state to a foreground running state or a background running state;
(2) awakening the target function program from a background running state to a foreground running state;
(3) and awakening the target function program from the background freezing state into a background running state or a foreground running state.
Optionally, what state to wake up to be the specific state needs to be determined according to the actual state of the target functional program, and three general wake-up modes are introduced here.
And S108, unfreezing the frozen non-target function program.
In the embodiment of the application, after the target function program is awakened, the frozen non-target function program can be unfrozen, and the unfreezing mode can include (1) directly unfreezing the non-target function program; (2) unfreezing the non-target function program when the freezing time of the target function program is greater than or equal to a preset threshold value; (3) and unfreezing the non-target functional programs when the target functional programs are awakened or closed.
The application also provides a mobile terminal device, the terminal device includes a memory and a processor, the memory stores a functional program wake-up program, and the functional program wake-up program is executed by the processor to implement the steps of the functional program wake-up method in any of the above embodiments.
The present application further provides a computer-readable storage medium, in which a functional program wake-up program is stored, and when being executed by a processor, the functional program wake-up program implements the steps of the functional program wake-up method in any of the above embodiments.
In the embodiments of the mobile terminal and the computer-readable storage medium provided in the present application, all technical features of the embodiments of the functional program wake-up method are included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (11)

1. A method for waking up a function program, the method comprising:
s11, responding to the terminal to generate a preset trigger event;
s12, determining a target function program on the terminal based on the preset trigger event;
and S13, waking up the target function program.
2. The method of claim 1, wherein the step S11 is preceded by:
it is determined whether the preset mode is turned on, and if so, the step S11 is executed.
3. The method of claim 1, wherein the preset trigger event comprises at least one of:
the current time meets the preset time;
the preset functional program is started or awakened;
the current positioning is in a preset range;
the current power consumption is greater than or equal to the preset power consumption;
the current network state meets the preset network condition;
the current environment meets the preset environmental conditions;
key information appears in human-computer interaction.
4. The method according to claim 3, wherein if the predetermined trigger event includes occurrence of key information in the human-computer interaction process, the step S12 includes:
matching the key information with key information corresponding to at least one functional program on the terminal;
and if the matching is successful, taking the functional program successfully matched as the target functional program.
5. The method according to any of claims 1 to 4, wherein the step S12 includes at least one of:
determining a functional program corresponding to the preset trigger event as a target functional program;
and determining the function program which is awakened by the terminal history when the preset trigger event occurs as a target function program.
6. The method according to any of claims 1 to 4, wherein the step S13 includes at least one of:
starting the target function program from a closed state to a foreground running state or a background running state;
awakening the target function program from a background running state to a foreground running state;
and awakening the target function program from a background freezing state into a background running state or a foreground running state.
7. The method according to any one of claims 1 to 4, wherein the step S13 is preceded by:
judging whether the non-target function program meets a preset freezing condition or not;
and if so, freezing the non-target function program.
8. The method of claim 7, wherein the satisfaction of the preset freeze condition comprises at least one of:
the non-target function is a default freeze function;
the non-target function is not called;
the non-target functional program is not providing preset service;
the time length of the non-target function program in the background running state is greater than or equal to the preset time length.
9. The method of claim 7, wherein after the step S13, the method further comprises at least one of:
unfreezing the non-target function program;
when the freezing time of the target function program is larger than or equal to a preset threshold value, unfreezing the non-target function program;
and unfreezing the non-target function program when the target function program is awakened or closed.
10. A terminal, characterized in that the terminal comprises: memory, processor, wherein the memory has stored thereon a wake-up function, which when executed by the processor implements the steps of the wake-up function method according to any of claims 1 to 9.
11. A readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the functional program wake-up method according to any one of claims 1 to 9.
CN202110546267.0A 2021-05-19 2021-05-19 Functional program awakening method, terminal and storage medium Pending CN113254088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110546267.0A CN113254088A (en) 2021-05-19 2021-05-19 Functional program awakening method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110546267.0A CN113254088A (en) 2021-05-19 2021-05-19 Functional program awakening method, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113254088A true CN113254088A (en) 2021-08-13

Family

ID=77182777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110546267.0A Pending CN113254088A (en) 2021-05-19 2021-05-19 Functional program awakening method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113254088A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138147A (en) * 2021-11-16 2022-03-04 努比亚技术有限公司 Application interface display method, terminal and computer readable storage medium
CN114895982A (en) * 2022-05-13 2022-08-12 中国电信股份有限公司 Application calling method, system, equipment and storage medium based on user information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138147A (en) * 2021-11-16 2022-03-04 努比亚技术有限公司 Application interface display method, terminal and computer readable storage medium
CN114895982A (en) * 2022-05-13 2022-08-12 中国电信股份有限公司 Application calling method, system, equipment and storage medium based on user information
CN114895982B (en) * 2022-05-13 2024-02-09 中国电信股份有限公司 Application calling method, system, equipment and storage medium based on user information

Similar Documents

Publication Publication Date Title
CN111246555B (en) Electronic price tag device management method, electronic terminal and computer readable storage medium
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN110795310B (en) Information reminding method and electronic equipment
CN109086101B (en) Terminal application software starting method, terminal and computer readable storage medium
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN113254088A (en) Functional program awakening method, terminal and storage medium
CN113220109A (en) Processing method, mobile terminal and readable storage medium
CN113742027B (en) Interaction method, intelligent terminal and readable storage medium
WO2022217590A1 (en) Voice prompt method, terminal and storage medium
CN115469949A (en) Information display method, intelligent terminal and storage medium
CN114640739A (en) Application pushing method, intelligent terminal and storage medium
CN114217685A (en) Application management method, intelligent terminal and storage medium
CN114265495A (en) Application program processing method, intelligent terminal and storage medium
CN114666440A (en) Application program control method, intelligent terminal and storage medium
CN109451181B (en) Information display method, dual-screen mobile terminal and computer readable storage medium
CN113835586A (en) Icon processing method, intelligent terminal and storage medium
WO2022226700A1 (en) Control method, mobile terminal, and storage medium
CN113254212A (en) Processing method, mobile terminal and storage medium
CN108681467B (en) System awakening method and terminal
CN113094117A (en) Processing method, terminal and storage medium
CN107193477B (en) Alarm clock misoperation prevention method, mobile terminal and computer readable medium
CN113377528A (en) Speed-up method, terminal and storage medium
CN110572518A (en) screen-off management and control method, mobile terminal and computer-readable storage medium
CN110333923B (en) Screen recognition implementation method, terminal and computer readable storage medium
CN114020205A (en) Application control method, intelligent terminal and storage medium

Legal Events

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