CN110149683B - Application notification processing method, wearable device and computer-readable storage medium - Google Patents

Application notification processing method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN110149683B
CN110149683B CN201910301410.2A CN201910301410A CN110149683B CN 110149683 B CN110149683 B CN 110149683B CN 201910301410 A CN201910301410 A CN 201910301410A CN 110149683 B CN110149683 B CN 110149683B
Authority
CN
China
Prior art keywords
screen
message
state
user
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910301410.2A
Other languages
Chinese (zh)
Other versions
CN110149683A (en
Inventor
里强
李爵宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910301410.2A priority Critical patent/CN110149683B/en
Publication of CN110149683A publication Critical patent/CN110149683A/en
Application granted granted Critical
Publication of CN110149683B publication Critical patent/CN110149683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to an application notification processing method, a wearable device and a computer readable storage medium, wherein the method comprises the following steps: determining whether the target equipment is switched from a bright screen state to a screen-off state; when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application; in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device. By the scheme, the problem that the power consumption of the equipment is too large due to the fact that the existing equipment is reminded as soon as a new message exists is solved, and the technical effect of effectively reducing the power consumption of the equipment is achieved.

Description

Application notification processing method, wearable device and computer-readable storage medium
Technical Field
The present application relates to the field of wearable devices, and in particular, to an application notification processing method, a wearable device, and a computer-readable storage medium.
Background
With the continuous development of internet technologies and intelligent devices, wearable devices start to support more and more application programs, when the devices are in a screen-off state, and when the application programs receive messages pushed by a network side through mobile data services or Wifi, the devices send ring tones and draw notification prompts on a screen to remind users of the messages coming.
However, for an application program, when multiple messages are continuously pushed, multiple rings and multiple screen drawing operations are triggered, so that the power consumption of the device is large, and the endurance time of the device is reduced.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
To solve the technical problem or at least partially solve the technical problem, an application notification processing method, a wearable device and a computer-readable storage medium are provided.
In a first aspect, the present application provides an application notification processing method, including:
determining whether the target equipment is switched from a bright screen state to a screen-off state;
when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
In a second aspect, the present application provides a wearable device comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program when executed by the processor realizes the steps of the method:
determining whether the target equipment is switched from a bright screen state to a screen-off state;
when the target device is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
In a third aspect, the present application provides a computer-readable storage medium having an application notification processing program stored thereon, the application notification processing program, when executed by a processor, implementing the steps of the application notification processing method of:
determining whether the target equipment is switched from a screen-on state to a screen-off state;
when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, when the target device is switched from the on-screen state to the off-screen state, if the target application has the notification message which is not checked by the user, the connection between the target application and the server is cut off until the user actively lights the screen of the target device, namely, if the message which is not checked exists, the connection between the application and the server is switched, so that the problem that the user does not check the message all the time, but the device is reminded of being too large in power consumption as soon as the device has a new message is solved, and the technical effect of effectively reducing the power consumption of the device is achieved.
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 manner of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a flowchart of a method of an implementation manner of an application notification processing method according to an embodiment of the present application;
fig. 6 is a block diagram of an implementation manner of an application notification processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of another implementation of an application notification processing method according to an embodiment of the present application;
fig. 8 is a hardware schematic diagram of an implementation manner of a wearable device according to an embodiment of the present disclosure.
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 radio frequency unit 101 may be configured to receive and transmit information or during a call, receive and transmit a signal, specifically, the radio frequency unit 101 may transmit uplink information to a base station, and may also receive downlink information transmitted by the base station, and then transmit the downlink information to the processor 110 of the wearable device for processing, where the downlink information transmitted by the base station to the radio frequency unit 101 may be generated according to the uplink information transmitted by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that information of the wearable device is updated, for example, after detecting that a geographic location of the wearable device changes, the base station may transmit a message notification of the change of the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the radio frequency unit 101 may transmit the message notification 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 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).
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 can implement 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 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 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 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in each direction (generally three axes), detect the gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and 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, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the 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, so that multiple operation functions are realized.
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 hardware structure of the wearable device, various embodiments of the method are provided.
Fig. 5 is a flowchart of an application notification processing method according to an embodiment of the present application. Although the present application provides method operational steps or apparatus configurations as illustrated in the following examples or figures, more or fewer operational steps or modular units may be included in the methods or apparatus based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution sequence of the steps or the module structure of the apparatus is not limited to the execution sequence or the module structure described in the embodiments and shown in the drawings of the present application. When the described methods or modular structures are applied in a practical device or end product, they can be executed sequentially or in parallel according to the embodiments or the methods or modular structures shown in the figures (for example, in the environment of parallel processors or multi-thread processing, or even in the environment of distributed processing).
Specifically, as shown in fig. 5, an application notification processing method provided in an embodiment of the present application may include the following steps:
s501: determining whether the target equipment is switched from a bright screen state to a screen-off state;
s502: when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
for example, taking the communication application a as an example, if the target device itself belongs to the screen-off state, and then receives a message of the communication application a, the screen is switched to the screen-on state to remind of receiving the message, at this time, if the user does not view the message, after a period of time, the screen is switched to the screen-off state again, and at this time, it may be determined that the communication application a has a notification message that is not viewed by the user when the target device is switched from the screen-on state to the screen-off state.
S503: in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
When the communication application A is determined to be switched from the screen-on state to the screen-off state when the target device is switched to the screen-off state, and the communication application A has the notification message which is not viewed by the user, the connection between the communication application A and the server can be cut off until the user actively lights the screen of the target device, and then the communication application A and the server see the connection therebetween, and the message continues to be received.
In the above example, when the target device is switched from the on-screen state to the off-screen state, if the target application has a notification message that is not viewed by the user, the connection between the target application and the server is cut off until the user actively lights the screen of the target device, that is, if there is an unviewed message, the connection between the application and the server is switched, so that the problem that the user does not view the message all the time, but the device is reminded of excessive power consumption of the device as soon as there is a new message is avoided, and the technical effect of effectively reducing the power consumption of the device is achieved.
Specifically, in S501, determining whether the target device is switched from the on-screen state to the off-screen state may include: receiving a first message of the target application under the condition that the target device is in a screen-off state; responding to the received first message, switching the target equipment from a screen-off state to a screen-on state, and triggering a reminding operation on the first message; and under the condition that the first message is not viewed by the user when the screen-on state lasts for a preset time, the target equipment is switched from the screen-on state to the screen-off state.
The above-mentioned reminding operation may include, but is not limited to: for example, a vibration reminder and the like can be adopted, and the specific reminding operation mode is not limited in the application.
Considering that a user may miss a reminder because the connection between the application and the server is switched in the process, the connection between the target application and the server is cut off in the case that a notification message which is not viewed by the user is determined to exist, and then a reminder message for reminding that a notification message which is not viewed by the user exists may be triggered at predetermined time intervals. In this way, message omission can be avoided, and the user can be reminded to view the message.
The above-mentioned trigger reminding message may include but is not limited to: a ring tone is activated to alert that there is a notification message that is not viewed by the user and the screen is lit to alert that there is a notification message that is not viewed by the user.
The application notification processing method can be applied to wearable devices, and since power supply components of the wearable devices generally have low energy levels, power consumption generally needs to be reduced as much as possible in order to improve cruising ability of the wearable devices.
Based on the same inventive concept, an application notification processing apparatus is further provided in the embodiments of the present invention, as described in the following embodiments. Since the principle of solving the problem by the application notification processing apparatus is similar to that of the application notification processing method, the application notification processing apparatus can be implemented by referring to the implementation of the application notification processing method, and repeated details are omitted. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated. Fig. 6 is a block diagram of an application notification processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the application notification processing apparatus may include: the first determination module 601, the second determination module 602, and the disconnection module 603 will be described below.
A first determining module 601, configured to determine whether the target device is switched from a bright screen state to a blank screen state;
a second determining module 602, configured to determine whether there is a notification message that is not viewed by the user in the target application when the target device is switched from the bright-screen state to the off-screen state;
a cutting-off module 603, configured to, in a case where it is determined that there is a notification message that is not viewed by the user, cut off a connection between the target application and the server until the user actively lights up a screen of the target device.
In an embodiment, the first determining module 601 may specifically receive a first message of the target application when the target device is in a screen-off state; responding to the received first message, switching the target equipment from a screen-off state to a screen-on state, and triggering a reminding operation on the first message; and under the condition that the first message is not viewed by the user when the screen-on state lasts for a preset time, the target equipment is switched from the screen-on state to the screen-off state.
In one embodiment, the reminding operation may include: screen rendering of ring tone alerts and notification messages, or screen rendering of vibration alerts and notification messages.
In one embodiment, after the connection between the target application and the server is cut off under the condition that the notification message which is not viewed by the user exists, a reminding message can be triggered at intervals of a preset time, wherein the reminding message is used for reminding that the notification message which is not viewed by the user exists. Wherein, the triggering the reminding message may include: a ring tone is activated to alert that there is a notification message that is not being viewed by the user, or a screen is illuminated to alert that there is a notification message that is not being viewed by the user.
The above method is described below with reference to a specific example, however, it should be noted that the specific example is only for better describing the present application and is not to be construed as limiting the present application.
In order to solve the problem of excessive power consumption of the device caused by multiple times of ringing or bright screen operations triggered back when there are multiple push messages in the existing application program, a device control method is provided in this example to avoid the problem of high power consumption caused by continuous message push in the same application.
Specifically, in this example, a processing method of an application notification is provided, as shown in fig. 7, the method may include the following steps:
s1: when the wearable device is in a screen-off state, the application program receives a certain message;
s2: the device processes the message normally, for example: triggering ring tone reminding and screen drawing;
s3: when the device is turned off again and the user does not process the message, the device cuts off the connection between the application program and the server and keeps the state;
s4: when the user actively lights the screen, the device actively establishes a connection between the application and the server, and the application can receive the message pushed by the server.
Further, considering that the user may miss the reminder because the connection between the application program and the server is switched in the processing process, the ring tone may be activated at a specific time interval to prompt the user that there is an unread message when the first application message is received and unprocessed, or the screen may be turned on at a specific time interval to prompt the user that there is an unread message when the first application message is received and unprocessed.
In the above example, under the condition that it is ensured that the push message is not missed, the extra power consumption caused by frequent updating and displaying cache operations is saved, and after the connection between the application program and the server is actively disconnected, the frequent interaction of signaling and messages is avoided, the power consumption is further reduced, and the cruising ability of the device is improved.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the application notification processing method in the foregoing embodiment, where the electronic device specifically includes the following contents: a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the processor is configured to invoke a computer program in the memory, and when executing the computer program, the processor implements all the steps in the application notification processing method in the foregoing embodiment, for example, when executing the computer program, the processor implements the following steps:
step 1: determining whether the target equipment is switched from a bright screen state to a screen-off state;
step 2: when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
and step 3: in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
From the above description, when the target device is switched from the on-screen state to the off-screen state, if the target application has a notification message that is not viewed by the user, the connection between the target application and the server is cut off until the user actively lights the screen of the target device, that is, if there is an unviewed message, the connection between the application and the server is switched, so that the problem that the user does not view the message all the time, but the device is reminded of excessive power consumption of the device as soon as there is a new message is avoided, and the technical effect of effectively reducing the power consumption of the device is achieved.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the application notification processing method in the above embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the application notification processing method in the above embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step 1: determining whether the target equipment is switched from a screen-on state to a screen-off state;
step 2: when the target device is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
and step 3: in the event that it is determined that there is a notification message that is not viewed by the user, the connection between the target application and the server is severed until the user actively lights the screen of the target device.
From the above description, when the target device is switched from the on-screen state to the off-screen state, if the target application has a notification message that is not viewed by the user, the connection between the target application and the server is cut off until the user actively lights the screen of the target device, that is, if there is an unviewed message, the connection between the application and the server is switched, so that the problem that the user does not view the message all the time, but the device is reminded of excessive power consumption of the device as soon as there is a new message is avoided, and the technical effect of effectively reducing the power consumption of the device is achieved.
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. 8, fig. 8 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application, where a screen of the wearable device extends to two sides, and a part of the screen is covered on a watchband of the wearable device. In other embodiments, the screen of the device may also be entirely covered on the wristband of the device.
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 a … …" does not exclude the presence of another identical element 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 (8)

1. An application notification processing method, comprising:
determining whether the target equipment is switched from a bright screen state to a screen-off state;
when the target equipment is switched from a bright screen state to a blank screen state, determining whether a notification message which is not viewed by a user exists in a target application;
under the condition that the notification message which is not viewed by the user exists, cutting off the connection between the target application and the server until the user actively lights up the screen of the target device;
in a case where it is determined that there is a notification message that is not viewed by the user, disconnecting the connection between the target application and the server, and thereafter, further comprising:
triggering a reminding message at intervals of preset time, wherein the reminding message is used for reminding a user of the existence of a notification message which is not viewed by the user;
the determining whether the target device is switched from the bright screen state to the off screen state includes:
receiving a first message of the target application under the condition that the target device is in a screen-off state;
responding to the received first message, switching the target equipment from a screen-off state to a screen-on state, and triggering a reminding operation on the first message;
and under the condition that the first message is not viewed by the user for a preset duration in the screen-on state, the target equipment is switched from the screen-on state to the screen-off state.
2. The method of claim 1, wherein the alerting operation comprises: screen rendering of ring tone reminders and notification messages.
3. The method of claim 1, wherein the alerting operation comprises: screen rendering of shock alerts and notification messages.
4. The method of claim 1, wherein triggering an alert message comprises:
a ring tone is activated to alert the existence of a notification message that is not viewed by the user.
5. The method of claim 1, wherein triggering an alert message comprises:
the screen is illuminated to alert the existence of a notification message that has not been viewed by the user.
6. The method of any one of claims 1 to 5, wherein the target device is a wearable device.
7. A wearable device, characterized in that the wearable device comprises:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the method of any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that an application notification processing program is stored thereon, which when executed by a processor implements the steps of the application notification processing method of any of claims 1 to 6.
CN201910301410.2A 2019-04-15 2019-04-15 Application notification processing method, wearable device and computer-readable storage medium Active CN110149683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910301410.2A CN110149683B (en) 2019-04-15 2019-04-15 Application notification processing method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910301410.2A CN110149683B (en) 2019-04-15 2019-04-15 Application notification processing method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110149683A CN110149683A (en) 2019-08-20
CN110149683B true CN110149683B (en) 2022-12-23

Family

ID=67588927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910301410.2A Active CN110149683B (en) 2019-04-15 2019-04-15 Application notification processing method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110149683B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764512B (en) * 2021-01-26 2024-03-01 维沃移动通信有限公司 Power saving control method, device, electronic equipment and readable storage medium
CN115440006A (en) * 2021-06-03 2022-12-06 北京小米移动软件有限公司 Method and device for detecting seismic information and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016040962A (en) * 2015-12-11 2016-03-24 日本通信株式会社 Method for identifying communication service user and device for identifying communication service user
CN105676991A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Method and apparatus for managing application program
CN107635070A (en) * 2017-09-27 2018-01-26 努比亚技术有限公司 A kind of method of prompting message, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869617A (en) * 2015-04-27 2015-08-26 深圳市金立通信设备有限公司 Terminal control method
CN104954583A (en) * 2015-04-27 2015-09-30 深圳市金立通信设备有限公司 Terminal
CN106527866A (en) * 2016-11-25 2017-03-22 北京奇虎科技有限公司 Designated data message remind method and device and mobile terminal
CN107395858B (en) * 2017-06-07 2021-10-15 努比亚技术有限公司 Notification message prompting method, terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016040962A (en) * 2015-12-11 2016-03-24 日本通信株式会社 Method for identifying communication service user and device for identifying communication service user
CN105676991A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Method and apparatus for managing application program
CN107635070A (en) * 2017-09-27 2018-01-26 努比亚技术有限公司 A kind of method of prompting message, terminal and storage medium

Also Published As

Publication number Publication date
CN110149683A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN108966323B (en) Bright screen control method and device and terminal
CN110213810B (en) Wearable device control method, wearable device and computer-readable storage medium
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN110086940B (en) Message reminding method, wearable device and readable storage medium
CN109976612B (en) Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN110149683B (en) Application notification processing method, wearable device and computer-readable storage medium
CN109933294B (en) Data processing method and device, wearable device and storage medium
CN110098845B (en) Message processing method, wearable device, mobile terminal and readable storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110213637B (en) Method for adding watermark to video file, wearable device and readable storage medium
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN109947325B (en) Application icon display method, wearable device and computer-readable storage medium
CN110069136B (en) Wearing state identification method and equipment and computer readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110109605B (en) Image sharing method and device and computer readable storage medium
CN110007761B (en) Wearable device, control method thereof and computer readable storage medium
CN109976608B (en) Application timing method and device and computer readable storage medium
CN109992087B (en) Optimization method for data display of wearable device, wearable device and storage medium
CN109947448B (en) Time updating method, device and computer readable storage medium
CN110138965B (en) Wearable device, number formatting method and device thereof, and storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110096150B (en) Search interaction control method, equipment and computer readable storage medium
CN110174979B (en) Message editing method, wearable device and computer-readable storage medium

Legal Events

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