CN110716640A - Screen-off application starting method, wearable device and storage medium - Google Patents

Screen-off application starting method, wearable device and storage medium Download PDF

Info

Publication number
CN110716640A
CN110716640A CN201910775769.3A CN201910775769A CN110716640A CN 110716640 A CN110716640 A CN 110716640A CN 201910775769 A CN201910775769 A CN 201910775769A CN 110716640 A CN110716640 A CN 110716640A
Authority
CN
China
Prior art keywords
application
screen
signal
starting
wearable device
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
CN201910775769.3A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910775769.3A priority Critical patent/CN110716640A/en
Publication of CN110716640A publication Critical patent/CN110716640A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/451Execution arrangements for user interfaces

Abstract

The invention discloses a screen-off application starting method, wearable equipment and a computer readable storage medium. By implementing the scheme, when the screen is not lightened, the started application is blocked, the application can be ensured to be normally started and not closed, and the use experience of the wearable device is improved.

Description

Screen-off application starting method, wearable device and storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a screen-turning application starting method, wearable equipment and a computer-readable storage medium.
Background
Wearable devices are becoming more and more rich in applications that can be used, and device manufacturers have also developed various means of launching applications to facilitate their use. The user can operate the wearable device by various methods such as clicking, voice, gestures and the like. The screen-off starting application is also a function which is convenient for a user to operate, and can start the corresponding application and wake up the screen under the condition that the screen is off. However, the hardware condition of the current wearable device is low, the screen is turned on slowly when the wearable device is turned on, the screen is not turned on easily due to the situation, and the application may be closed at the moment, so that the user experience is poor, the user cannot see the application interface, and the user can think that the turn-on is not successful.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the technical problem that when a screen is started by a screen-saving mode, the screen is opened slowly so that the application is possibly closed is solved, and the screen-saving application starting method, the wearable device and the computer-readable storage medium are provided.
In order to solve the technical problem, the invention provides a screen saver application starting method, which comprises the following steps:
receiving an application starting signal when the screen is in a screen turning state, and starting an application according to the application starting signal;
judging whether the breath screen state screen is lightened or not after the application is started;
and if the screen with the breath screen state is not lightened, blocking the application to be closed before the application is closed.
Optionally, the starting the application signal includes: the device comprises an audio signal, a key triggering signal, a touch signal, an attitude signal and a digital signal;
the starting the application according to the starting signal comprises the following steps: different applications are started according to different starting signals.
Optionally, before the receiving the application starting signal, the method includes:
and the Bluetooth device is connected with the Bluetooth device and receives an application starting signal through the Bluetooth device.
Optionally, after the application is started, the determining whether the breath screen status screen is lighted up further includes:
and if the screen with the breath screen state is lightened, normally running the application and displaying the application interface.
Optionally, before starting the application according to the start application signal, the method includes:
and carrying out identity verification on the sender of the starting signal, and starting the application according to the starting application signal if the verification is passed.
Optionally, the method further includes, after the blocking application is closed:
if the screen with the breath screen state is detected to be lightened, the starting of the application is recovered; and if the screen with the breath screen state is not lightened for more than the set first threshold time, releasing the blockage.
Optionally, the blocking is to perform a time-consuming operation before performing an operation of closing the application.
Optionally, the resuming the starting of the application includes: and removing the time-consuming operation, stopping blocking, and normally running the application.
Further, the present invention also provides a wearable device, including:
a processor, a memory, a communication bus;
the communication bus connects the processor and the memory;
the memory having stored therein computer program code;
the processor calls computer code stored in the memory to implement the above-described information screen application launching method.
Further, the present invention also provides a computer-readable storage medium storing a computer program executable on a processor, the computer program implementing the above-mentioned information screen application starting method when executed by the processor.
Advantageous effects
The invention provides a screen-off application starting method, a wearable device and a computer-readable storage medium, aiming at the defect that when the existing wearable device starts screen-off, the application is possibly closed because the screen is started slowly. The screen-turning application starting method provided by the invention starts corresponding application according to the signal by receiving the application starting signal; after the application is started, judging whether the screen is lightened or not, and if the screen is not lightened, blocking the application from being closed before the application is closed. By implementing the scheme, after the application is started, if the application is closed when the screen is not lightened, the application is blocked, so that the situation that the user cannot see the application after the screen is lightened is reduced. The effect that the application can run normally when the screen is turned on and started on the low-end equipment is achieved, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 4 is a hardware schematic diagram of an implementation of the wearable device according to the embodiment of the present invention;
fig. 5 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 6 is a basic flowchart of a method for starting a message screen application according to a first embodiment of the present invention;
fig. 7 is another basic flowchart of a method for starting a screenshot application according to a second embodiment of the present invention;
fig. 8 is a block diagram of a wearable device provided in a third embodiment of the present invention;
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 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 wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; 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. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. 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 Access2000 ), 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).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive 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 wearable device, 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 wearable device 100 is in a call signal reception mode, a talk 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 wearable device 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.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 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), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
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.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
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 wearable device. Specifically, 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. The touch detection device detects the touch direction 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 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. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, 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 to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, 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 in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 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 an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), 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. Further, 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 wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present invention provides an optional embodiment, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device according to an embodiment of the present invention, where a screen of the device extends to two sides, and a part of the screen is covered on a watchband of the device. In other embodiments, the screen of the device may also be completely covered on the watchband of the device, and the embodiment of the present invention is not limited thereto.
First embodiment
In a scenario to be dealt with by the present invention, an application interface is usually only displayed and run when a screen is lighted up, if an application is started and the screen is not in a lighted state at this time, a system usually closes the application immediately, and after the screen is lighted up, the application may have been closed, and a user cannot see the interface where the application is normally started.
Fig. 6 is a basic flowchart of a screen saver application starting method provided in this embodiment, where the screen saver application starting method includes:
s601, when the screen is in the screen-turning state, receiving an application starting signal
It can be understood that, in this embodiment, even if the device is in the screen-off state, the background of the device executes a corresponding program or service, and the program or service can at least listen to a signal for starting the application in the screen-off state.
Before starting the application, the device receives a signal for starting the application, which can be received by a program or service running in the background of the device.
Optionally, the signal for starting the application may be a signal that is directly received by the device or received by another device connected to the device and then transmitted to the device, for example, a signal that may be sent by another device through bluetooth transmission or wifi transmission; the type of the signal may be various, and it is sufficient that the signal can be recognized by a current device, such as an audio signal, a key trigger signal, a touch signal, a gesture signal, a digital signal, and the like.
S602, starting the application according to the application starting signal
And after receiving the application starting signal, the equipment starts the application according to the application starting signal. In this embodiment, different applications may be started according to different signals, for example, different keys correspond to different preset applications, or an application that a user wants to start is determined through an audio signal. The correspondence between the different signals and the different applications may be intelligently determined, for example, when an audio signal sent by a user is received, the voice of the user is recognized to determine a target application that the user wants to open; the user can also carry out preset corresponding relation according to the requirement;
it should be understood that, here, the different start application signals start different applications, specifically, the start application signals may be: when the application starting signal is not a single signal, for example, the signal is an audio signal, the audio signal A corresponds to the application A, the audio signal B corresponds to the application B, and the audio signal N corresponds to the audio signal N; in another case, when the start signal includes multiple signals, such as an audio signal and a case signal, the audio signal a may correspond to the start application a, the audio signal B may correspond to the start application B, and the key signal C may correspond to the start signal C, that is, different signals may correspond to different applications; by setting, the audio signal A corresponds to the application A, the key signal C corresponds to the application A, and different signals correspond to the same application.
Optionally, after receiving the application starting signal, the sender of the signal is verified, that is, the object to which the signal belongs is authenticated, so as to ensure the security of the information, and after the verification is passed, the corresponding application is started according to the signal. Especially when receiving the signal start signal of other equipment transmissions, through the source of judging signal transmission, for example detect whether equipment that the bluetooth is connected is user's equipment commonly used, whether wifi is wifi commonly used mode such as, can confirm whether the source of this signal is normal, only start application when judging that the signal source is normal. Under the environment of public wifi and the like, the security of data transmission by using wifi may not be high, and at this time, verification may be performed by using other methods, for example, authentication information is carried in the application starting signal, and the information security of the user equipment may be improved.
It should be noted that, in some scenarios, when receiving an application starting signal, the device is in an unlocked state, and a user may start a corresponding application according to the application starting signal only after passing through identity recognition, and it should be noted that a part of the application starting signal may carry identity recognition information, if the application starting signal is an audio signal, the audio signal may carry user voiceprint information, and only when the voiceprint information in the audio signal passes authentication, the corresponding application is started according to the audio signal, and when the voiceprint information in the audio signal does not pass authentication, no application is started; if the application starting signal is a touch signal, the touch signal can carry user fingerprint information, only when the fingerprint information in the touch signal passes authentication, corresponding application is started according to the touch signal, and when the fingerprint information in the touch signal does not pass authentication, any application is not started;
optionally, in some scenarios, when the application starting signal is received, the identity of the object to which the signal belongs is not verified, and the corresponding application is directly started according to the application starting signal.
S603, after the application is started, judging whether the screen is lighted up
There are many ways to judge whether the screen is lighted, and various operating systems preset one or more methods for acquiring the screen state, and the state of the screen is acquired only by implementing the method after the application is started.
It can be understood that after the application is started, if the screen is already in the lighted state, the application is normally run, the interface of the application is displayed, and the function of blocking the application from being closed is released. When the screen is normally lighted up and the application is normally started, the application should be normally closed, regardless of whether the user actively closes the application or the application needs to be closed because of subsequent logic, without blocking the closing of the application.
S604, if the screen is not lightened, before the application is closed, the application is blocked to be closed
In the wearable device, the starting and closing of the application are relatively rapid processes, and although the time is short, corresponding logic needs to be executed and certain conditions are met before normal completion.
In this embodiment, the closing process is blocked during the closing process of the application, so that the application is in a state of being closed but not being closed.
Optionally, after the application is blocked from being closed, if it is detected that the screen is already lighted, the application is resumed to be started and enters a running state, and at this time, although the screen is slowly started when the application is started after turning off the screen, the application is not closed and can still be normally used after being executed by the scheme; if the time for blocking the closing process of the application exceeds the preset time, which indicates that the equipment is possibly blocked or the response is too slow due to the occurrence of an abnormal reason, the blocking can be selected to be eliminated, so that the application is normally closed, and other abnormal conditions are prevented.
Optionally, in this embodiment, a time-consuming execution manner is adopted to block the closing of the application. In the process of executing the closing operation by the application, a time-consuming operation which must be executed is added, and the application must execute the time-consuming operation to complete the closing action. During the execution of the time-consuming operation, if the screen is lit, the application will go from the state of being closed to the state of resuming starting.
When the application resumes launching, the time consuming operation of the launching can be removed, and the function of the application closing is unblocked, and the application runs normally.
It should be noted that the time-consuming operation in this embodiment may be implemented by using a delay message, where before the application is closed, a delay message is sent to delay the process of supporting the application closing. By adopting the above setting, the application should execute the final closing process when receiving the message, and the sending time of the message which can execute the final closing process and is received by the application is delayed by delaying the message, so that the effect of blocking the application closing can be realized. However, after the application resumes starting, the transmission of the delay message should be cancelled, or even if the message is transmitted, the application receives the message and does not execute the function of closing.
It should be understood that in the present embodiment, the time-consuming operation of blocking the application shutdown is only performed when the application is closed. The time-consuming operation is not necessarily performed only during the closing of the application, but may be performed in any process of the application, or may be performed in a thread of the application. Therefore, the time-consuming operation mentioned in this embodiment only needs to satisfy the condition that the application cannot be closed when the execution is not completed, and the application must wait for the completion of the execution of the time-consuming operation to be closed, and the operation mode and environment thereof may not be limited. Further, after the application resumes starting, the time-consuming operation of blocking the application from closing may still be continuously executed, and then the time-consuming operation may be actively removed to ensure that the resources of the device are not wasted; of course, when the execution time of the time-consuming operation is not long or excessive resources are not consumed, the application may not be removed after the application is resumed and is automatically closed after the normal execution is completed, but the application is not closed after the execution of the time-consuming operation is completed.
The embodiment provides a screen-off application starting method, which receives an application starting signal when a screen is in a screen-off state, starts an application according to the received signal, judges whether the screen is already lighted after the application is started, and blocks the application from being closed before the application is closed if the screen is not lighted yet. By blocking the closing of the application when needed, the defect that the screen-off starting application is closed immediately after the application is started due to the fact that the screen is not lightened when the wearable device hardware is low in the related art and the application is started by screen-off starting is solved, and the function that the screen-off starting application is stable and effective is achieved.
Second embodiment
In this embodiment, a specific process of using the scheme of the present invention to perform screen-saving startup application by a certain wrist machine set in the android system will be described, so as to further explain the scheme of the present invention.
It should be noted that, in other operating systems that may appear now or in the future and have the same or similar application startup and shutdown principle, the screenplay application startup method provided by the present invention can achieve the same or similar effect under the condition of understanding the scheme of the present invention.
Referring to fig. 7, fig. 7 is another basic flowchart of a method for starting a screenshot application according to a second embodiment of the present invention.
S701, receiving an application starting signal sent by Bluetooth equipment when the wrist machine is stopped displaying the screen
In this embodiment, the wrist machine is connected with the bluetooth device, and the bluetooth device sends the start application signal to the wrist machine through bluetooth connection. It should be understood that the wrist machine can run corresponding programs, so that the information sent by the bluetooth connection can be received in the case of screen turning, and corresponding processing can be performed according to the information.
S702, the wrist machine starts the application according to the application starting signal
And after receiving the application starting signal sent by the Bluetooth, the wrist machine analyzes the application starting signal and judges the application needing to be started.
Optionally, when receiving an application start signal sent by bluetooth, the wrist phone may determine whether the bluetooth device is a device that has transmitted user data, and if so, may respond to the application start signal sent by the wrist phone if the device is considered to be a safe device; or the wrist machine reads the authentication information when receiving the transmitted start application signal by carrying the authentication information in the start application signal, and judges whether the source of the signal is reliable or not according to the authentication information.
S703, after the application is started, judging whether the screen is lighted up
In the wrist machine configured with the android system, after the application is started, if the screen is not lighted, the application may execute a closing operation, and if the application successfully executes the closing operation, after the screen is lighted, the user cannot see the application interface, so that the application is failed to be started. Therefore, whether the screen is lit or not, and the time for judging whether the screen is lit or not may be determined immediately after the application is started, or may be set immediately before the application is turned off after the application is started.
In the android system, the android system can be executed by executing a bootean ifOpen ═ powermanager. The current state of the screen can be judged to be on or off, after the code is executed, the value of ifOpen is obtained, the value of ifOpen is true when the screen is on, and the value of ifOpen is false when the screen is off.
When the value of ifOpen is detected to be true, the screen is indicated to be already lighted, the application of the wrist phone can be normally started at the moment, the function of closing the blocked application is released, and even if the user actively closes the application, the blocked operation cannot be executed on the normal closing of the application.
S704, if the screen is not lighted, before the application is closed, the application is blocked to be closed
After detecting that the value of ifOpen is false, it indicates that the screen is not yet lit, and the application may have executed the closed code. In the android system configured by the wrist machine, an application executes an onStop () method before closing, which represents that the application is closing, and in the process, executes a finish () method, and the application is closed after the finish () method is executed.
Thus, if a delay message is added to block execution of the finish () method in onStop (), i.e. closing of the application can be blocked. In this embodiment, a handler is used for implementation, and the handler is an asynchronous message processing mechanism and can perform time-consuming operations and transfer messages through the handler. In this embodiment, a delay message is sent by the handler, and it is set that the finish () method can be executed to close the application after receiving the delay message, and the application will wait to receive the delay message when not receiving the message. In this embodiment, a delay time of 1000ms is adopted, but the time for delaying the message can be set within a reasonable range according to requirements.
In this embodiment, if the screen is not lighted up after 1000ms, a delay message of handle is sent out, and the application receives the delay message, at this time, the application can execute the finish () method, and then the application is closed. If the screen is lighted up within 1000ms, the application immediately executes an onResume () method, which means that the application is resumed to start, the interface of the application can be normally displayed on the screen, and the user can normally operate the application. After the application resumes starting, the sending of the handler delay message may be cancelled in the onResume () method. In this case, although the screen turn-off start application has a slow screen turn-on state, the application is not closed, and the user can still use the application normally after the screen turn-on state.
In the embodiment, when the application is started by turning off the screen of the screen, whether the screen is lighted or not is judged after the application is started, and if the screen is not lighted, the delay message is added before the application is closed, so that the application cannot be closed before the delay message is received, and the process of closing the application is blocked. Therefore, the defect that when the wrist machine using low-end hardware is used for starting the application when the screen is turned off, the application is closed when the screen is not lightened is overcome, the stability of waking up the wrist machine when the screen is turned off is ensured, and the user experience is improved.
Third embodiment
The present embodiment further provides a wearable device, which is shown in fig. 8 and includes a processor 81, a memory 82, and a communication bus 83, wherein:
the communication bus 83 is used for realizing connection communication between the processor 81 and the memory 82;
the memory 82 has stored therein computer code;
the processor 81 calls the computer code stored in the memory 82 to start the steps of the method for screenplay application in the first or second embodiment described above.
The present embodiment also provides a computer-readable storage medium, which stores one or more programs, where the one or more programs can be executed by one or more processors to implement the steps of the screen saver application starting method in the first embodiment or the second embodiment.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A screen-turning application starting method is applied to wearable equipment and is characterized in that,
receiving an application starting signal when the screen is in a screen turning state, and starting an application according to the application starting signal;
judging whether the breath screen state screen is lightened or not after the application is started;
and if the screen with the breath screen state is not lightened, blocking the application to be closed before the application is closed.
2. The screen saver application launching method of claim 1, wherein the launch signal comprises: the device comprises an audio signal, a key triggering signal, a touch signal, an attitude signal and a digital signal;
the starting the application according to the starting signal comprises the following steps: different applications are started according to different starting application signals.
3. The screen saver application launching method of claim 1, wherein receiving a launch application signal comprises, prior to:
and the Bluetooth device is connected with the Bluetooth device and receives an application starting signal through the Bluetooth device.
4. The method for starting a breath screen application of claim 1, wherein said determining whether said breath screen status screen is illuminated after said application has been started further comprises:
and if the screen with the breath screen state is lightened, normally running the application and displaying the application interface.
5. The screen saver application launching method as recited in claim 1, wherein the launching of an application in accordance with the launch application signal is preceded by:
and performing identity verification on the object to which the application starting signal belongs, and starting the application according to the starting signal if the verification is passed.
6. The screen saver application launching method of any one of claims 1 to 5, further comprising, after shutdown of the blocking application:
if the screen with the breath screen state is detected to be lightened, the starting of the application is recovered; and if the screen with the breath screen state is not lightened for more than the set first threshold time, releasing the blockage.
7. The screen saver application starting method according to claim 6, wherein the blocking is a time-consuming operation performed before an operation of closing the application is performed.
8. The screen saver application launching method of claim 7, wherein the resuming the launching of the application comprises: and removing the time-consuming operation, stopping blocking, and normally running the application.
9. A wearable device, wherein the terminal comprises a processor, a memory, and a communication bus:
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the information screen application launching method according to any one of claims 1-8.
10. A computer readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the fulltiscreen application launching method as claimed in any one of claims 1 to 8.
CN201910775769.3A 2019-08-21 2019-08-21 Screen-off application starting method, wearable device and storage medium Pending CN110716640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910775769.3A CN110716640A (en) 2019-08-21 2019-08-21 Screen-off application starting method, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910775769.3A CN110716640A (en) 2019-08-21 2019-08-21 Screen-off application starting method, wearable device and storage medium

Publications (1)

Publication Number Publication Date
CN110716640A true CN110716640A (en) 2020-01-21

Family

ID=69209464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910775769.3A Pending CN110716640A (en) 2019-08-21 2019-08-21 Screen-off application starting method, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN110716640A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905641A (en) * 2014-03-19 2014-07-02 奉化波导软件有限公司 Method for preventing loss of cell phone traffic
US20150363165A1 (en) * 2014-06-11 2015-12-17 Huawei Technologies Co., Ltd. Method For Quickly Starting Application Service, and Terminal
CN107885309A (en) * 2017-11-30 2018-04-06 河南浩德科技有限公司 Application management method, device, mobile terminal and computer-readable storage medium
CN108089781A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 Method for showing interface and device
CN109144603A (en) * 2018-07-24 2019-01-04 阿里巴巴集团控股有限公司 Wake-up, information-pushing method and device calculate equipment and storage medium
CN109933253A (en) * 2019-01-23 2019-06-25 努比亚技术有限公司 Method for controlling application starting, terminal and computer readable storage medium
CN109976918A (en) * 2019-04-09 2019-07-05 努比亚技术有限公司 Camera Resource allocation and smoothing method, mobile terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905641A (en) * 2014-03-19 2014-07-02 奉化波导软件有限公司 Method for preventing loss of cell phone traffic
US20150363165A1 (en) * 2014-06-11 2015-12-17 Huawei Technologies Co., Ltd. Method For Quickly Starting Application Service, and Terminal
CN108089781A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 Method for showing interface and device
CN107885309A (en) * 2017-11-30 2018-04-06 河南浩德科技有限公司 Application management method, device, mobile terminal and computer-readable storage medium
CN109144603A (en) * 2018-07-24 2019-01-04 阿里巴巴集团控股有限公司 Wake-up, information-pushing method and device calculate equipment and storage medium
CN109933253A (en) * 2019-01-23 2019-06-25 努比亚技术有限公司 Method for controlling application starting, terminal and computer readable storage medium
CN109976918A (en) * 2019-04-09 2019-07-05 努比亚技术有限公司 Camera Resource allocation and smoothing method, mobile terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "Android关于屏幕是否亮屏和是否解锁的判断", 《CSDN》 *

Similar Documents

Publication Publication Date Title
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN108227996B (en) Display control method and mobile terminal
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN108966323B (en) Bright screen control method and device and terminal
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109976612B (en) Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN110769303A (en) Playing control method and device and mobile terminal
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110149683B (en) Application notification processing method, wearable device and computer-readable storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN109933187B (en) Wearing equipment operation control method, wearing equipment and computer readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN109947323B (en) Terminal display method and terminal
CN111372003A (en) Camera switching method and device and terminal
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN111124098A (en) Intelligent power saving method and device for terminal and readable storage medium
CN108170360B (en) Control method of gesture function and mobile terminal
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110120208B (en) Method for automatically adjusting screen display, wearable device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200121