CN113439434A - Data processing method, data processing device, storage medium and electronic equipment - Google Patents

Data processing method, data processing device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113439434A
CN113439434A CN201980092360.XA CN201980092360A CN113439434A CN 113439434 A CN113439434 A CN 113439434A CN 201980092360 A CN201980092360 A CN 201980092360A CN 113439434 A CN113439434 A CN 113439434A
Authority
CN
China
Prior art keywords
application
receiving
notification message
application notification
level
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.)
Granted
Application number
CN201980092360.XA
Other languages
Chinese (zh)
Other versions
CN113439434B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN113439434A publication Critical patent/CN113439434A/en
Application granted granted Critical
Publication of CN113439434B publication Critical patent/CN113439434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a data processing method and device, a storage medium and electronic equipment. According to the data processing method, when the electronic equipment enters a sleep mode, the electronic equipment stops receiving application notification messages; receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again; resuming receipt of an application notification message upon exiting the sleep mode.

Description

Data processing method, data processing device, storage medium and electronic equipment Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data processing method and apparatus, a storage medium, and an electronic device.
Background
In the related art, when a user is in a sleep state, electronic devices such as a smart phone and a tablet computer disconnect a connected network, so that the electronic devices cannot receive notification messages (instant messaging messages and background messages), and the purpose of reducing power consumption is achieved. The network may be turned on manually when the user wakes up from a sleep state. However, when the electronic device is not connected to the network, the notification message that cannot be received will be notified in a centralized manner, which causes the electronic device to be stuck and affects the normal operation of the electronic device.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a storage medium and electronic equipment, which can improve the network signal strength.
In a first aspect, an embodiment of the present application provides a data processing method applied to an electronic device, including:
the electronic equipment stops receiving application notification messages when entering a sleep mode;
receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
resuming receipt of an application notification message upon exiting the sleep mode.
In a second aspect, an embodiment of the present application provides a data processing apparatus, which is applied to an electronic device, and the data processing apparatus includes:
a stopping module for stopping receiving the application notification message when the electronic device enters a sleep mode
The processing module is used for receiving the application notification message which is not received at present every preset time period and then stopping receiving the application notification message again;
a recovery module for recovering the reception of the application notification message when exiting the sleep mode.
In a third aspect, an embodiment of the present application provides a storage medium having a plurality of instructions stored therein, where the instructions are adapted to be loaded by a processor to perform the following steps:
when the electronic equipment enters a sleep mode, stopping receiving the application notification message;
receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
resuming receipt of an application notification message upon exiting the sleep mode.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a storage medium, where a plurality of instructions are stored in the storage medium, and the processor loads the instructions to perform the following steps:
the electronic equipment stops receiving application notification messages when entering a sleep mode;
receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
resuming receipt of an application notification message upon exiting the sleep mode.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
For a more complete understanding of the present application and its advantages, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts in the following description.
Fig. 1 is a first flowchart of a data processing method according to an embodiment of the present application.
Fig. 2 is a second flowchart of the data processing method according to the embodiment of the present application.
Fig. 3 is a third flow chart of the data processing method according to the embodiment of the present application.
Fig. 4 is a schematic diagram of a first structure of a data processing apparatus according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a second structure of a data processing apparatus according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a third structure of a data processing apparatus according to an embodiment of the present application.
Fig. 7 is a fourth schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 8 is a fifth schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 10 is a schematic structural diagram of an electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Embodiments of the present application provide a data processing method, an apparatus, a storage medium, and an electronic device, which will be described in detail below.
As shown in fig. 1, the data processing method is applied to an electronic device. The electronic equipment can be an intelligent terminal such as a smart phone and a tablet personal computer. The data processing method may include the steps of:
101. the electronic device stops receiving the application notification message when entering the sleep mode.
In the embodiment of the present application, there may be various ways to detect that the electronic device enters the sleep state.
For example, peripheral devices such as a smart bracelet, a cardiotachometer, and a respirometer can be connected in communication with an electronic device, and a user can wear the devices such as the smart bracelet, the cardiotachometer, and the respirometer. Equipment such as intelligence bracelet, cardiotachometer, respirometer can monitor user's physiological data to send electronic equipment. The electronic device may then determine whether the electronic device has entered a sleep state based on the received physiological data in conjunction with a correlation algorithm.
For another example, a sleep prediction model may be constructed based on historical sleep data of the user to predict whether the user enters a sleep state. Whether the user is in the sleep state can be predicted based on the constructed sleep preset model by combining the current time information, the geographic position information, the motion state of the electronic equipment and other data. If so, determining that the electronic equipment enters the sleep state, otherwise, determining that the electronic equipment does not enter the sleep state.
Specifically, when it is detected that the user enters the sleep state, the electronic device may be controlled to stop receiving application notification messages, such as instant messaging messages, application push messages, system messages, and the like, in order to save power consumption of the electronic device. In practical application, the electronic equipment can be stopped from receiving the application notification message in a mode of disconnecting the current network connected with the electronic equipment; alternatively, stopping the electronic device from receiving the application notification message may be implemented by limiting the authority of the application (e.g., network connection authority, information reception authority).
In some embodiments, a sleep prediction model may be constructed in advance based on sleep information data of a user in a historical time period (e.g., within one month, within one week), so that a sleep duration of a current user may be predicted based on the sleep prediction model subsequently. In practical applications, the current season (spring, summer, autumn and winter), climate (temperature, weather), geographical location, and schedule information (working day or resting day, etc.) can be combined to predict the sleep duration of the current user.
102. And receiving the application notification message which is not received currently every preset time period, and then stopping receiving the application notification message again.
Specifically, the sleep duration of the user can be predicted according to the historical sleep information of the user, and then the sleep duration is divided into a plurality of time periods, and the event period can be used as the preset time period. In implementation, whether an application notification message is to be received or not may be periodically detected based on the time period. When the application notification message to be received is detected, the electronic equipment is cancelled from receiving the application notification message definition, and the application notification message to be received can be acquired. Specifically, the currently detected application notification message may be pulled from the server, so as to implement data processing.
For example, if the sleep time period is 8 hours, the sleep time period may be divided into 4 periods each of which is 2 hours based on a preset rule. The preset rules may be set by a person skilled in the art or by a product manufacturer; in addition, the setting may be performed autonomously by the user.
In some embodiments, the time period may be a period of unequal duration. For example, the first period may be divided into 4 hours, the second period 2 hours, the third period 1 hour, and the fourth period 1 hour.
Specifically, based on the divided time period, the detection operation of the application notification message to be received is performed every other period duration. For example, detecting whether there is an application notification message to be received is performed every 2 hours.
In some embodiments, power savings may be made by disconnecting the network while the electronic device is in a sleep state, setting a time period, temporarily connecting the network to receive background messages when it is detected that the time reaches the time period, and so on, and intermittently (e.g., periodically) receiving application notification messages. For example, referring to fig. 2, the step "stop receiving application notification messages" may include the following flow:
1011. disconnecting the network connected with the current electronic equipment to stop receiving the application notification message;
specifically, the network connected with the electronic equipment is disconnected, including the wireless network and the data network, so that the electronic equipment is prevented from receiving the application notification message.
Then, the step "receiving an application notification message that is not currently received every preset time period, and then stopping receiving the application notification message again" may include the following flow:
1021. connecting the current network at intervals of a preset time period;
for example, the sleep duration is 8 hours, and is divided into 4 periods of 2 hours each. When it is detected that the first cycle is completed, the control electronics are connected to the current network, which may be a wireless network or a data network. Wherein the wireless network can be preferentially connected.
1022. And receiving the application notification message which is not received currently based on the current network, and disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
In some embodiments, before receiving an application notification message that is not currently received and then stopping receiving the application notification message again at every preset time period, the method may further include the following steps:
determining a target application to which the application notification message belongs;
judging whether the application level of the target application is higher than a preset level or not, wherein the application level is obtained by dividing based on historical use information of each application in the electronic equipment;
and if so, executing a step of receiving the application notification message which is not received at preset time intervals.
Specifically, applications installed in the electronic device may be ranked in advance. In practical application, the application level can be divided according to the application use habit of the user, the common application level is divided into a higher level, and the less common application level is divided into a lower level.
The historical usage information of the application may include, among other things, frequency of use, duration of use, length of foreground run, point of run time, etc. within the historical period of time.
After the application notification message to be received is acquired based on the current network, the current network can be disconnected, so that the electronic equipment cannot acquire the application notification message and is in a sleep state, and the power consumption of the electronic equipment is reduced.
In some embodiments, after a user enters a sleep state, before the sleep state is ended, a corresponding application may be opened in advance in stages based on historical usage data of the application. For example, referring to fig. 3, the step "stop receiving application notification messages" may include the following flow:
1012. freezing an application installed in the electronic device to stop receiving application notification messages;
specifically, when the electronic device is in a sleep state, all applications installed in the electronic device may be frozen and the operation thereof may be limited, thereby preventing the electronic device from receiving the application notification message.
Then, the step "receiving an application notification message not currently received every preset time period" may include the following processes:
1023. counting the number of times of completing reception every time the completion of the reception of the application notification message is detected;
for example, when the completion of the first message reception is detected, the number of times of statistics is 1; when the second message receiving is detected to be completed, the counting frequency is 2; when the third message reception is detected to be completed, the statistical number is 3, and so on.
1024. And determining the corresponding target application level according to the times.
In the embodiment of the present application, a correspondence between the number of times of message reception and the application level may be established in advance. That is, in some embodiments, before receiving an application notification message that is not currently received and then stopping receiving the application notification message again based on every preset time period, the following process may be further included:
dividing application levels of the installed applications based on the use information of each application in the electronic equipment in the historical time period;
and establishing a mapping relation between the preset times and the application level.
Specifically, when the application level is divided for the installed application based on the usage information of each application in the electronic device in the historical time period, the application level may be divided according to the application usage habit of the user, the commonly used application level may be divided into a higher level, and the less commonly used application level may be divided into a lower level. The usage information of each application may include information of usage frequency, usage duration, foreground operation duration, operation time point, and the like in the historical time period.
Further, the step of determining the corresponding target application level according to the number of times may include the following process:
and acquiring the application level corresponding to the times as a target application level according to the mapping relation.
In some embodiments, notification message reception policies may also be formulated based on the actual sleep duration of the user. For example, if the total number of the above-mentioned division time periods is 4, the application level is also divided into 4 levels. Then, a plurality of time periods are numbered as a first period, a second period, a third period and a fourth period according to the period sequence, and the levels are divided into a first application level, a second application level, a third application level and a fourth application level. And each divided period is used as the preset time period, and each period can be divided in equal time length or unequal time length. For example, the first period duration may be different from or the same as the second period duration. And finally, establishing a mapping relation between the first period and the first application level, a mapping relation between the second period and the second application level, and the like. Wherein the first application level is the highest level and the fourth application level is the lowest level.
In specific implementation, the number of the target period can be determined based on the number of the time periods counted when the message is received and the mapping relation, and then the corresponding application level is determined based on the number. For example, if the current time period number is 2, it may be determined that the corresponding period number is the second period, and according to the mapping relationship, the application level corresponding to the second period may be obtained as the second application level, and the second application level is taken as the target application level. Then, the application corresponding to the application level is determined as the application capable of receiving the application notification message currently, and the notification message receiving authority of the applications is recovered.
1025. And determining the target application corresponding to the target application level from the frozen applications.
For example, if the second application level is the target application level, an application corresponding to the second application level (for example, an application having the application level of the second application level) may be acquired as the target application.
Then, the step "receiving an application notification message not currently received" may specifically be: and unfreezing the target application to acquire the application notification message to be received.
In some embodiments, the step "determining the target application corresponding to the target application level from the frozen applications" may include the following steps:
and determining the applications with the application level being the target application level and the applications with the application level being higher than the target application level from the frozen applications as the target applications.
For example, if the second application level is the target application level, the application having the second application level and the application having the first application level may be acquired as the target applications.
1026. And unfreezing the target application to acquire the application notification message to be received.
Specifically, after the target applications are determined, the applications can be unfrozen, so that the notification messages for the applications can be received.
103. Upon exiting the sleep mode, the receipt of the application notification message is resumed.
As can be seen from the above, in the data processing method provided in the embodiment of the present application, when the electronic device enters the sleep mode, the electronic device stops receiving the application notification message; receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again; resuming receipt of an application notification message upon exiting the sleep mode. According to the scheme, when the electronic equipment enters the sleep state, the notification message of the application is periodically received, so that the problem that the electronic equipment is blocked due to the fact that the application notification message is pulled in a concentrated mode when the electronic equipment is switched to the sleep-awake state can be avoided, and the smoothness of the operation of the electronic equipment is improved.
The embodiment of the present application further provides a data processing apparatus 300, which may be integrated in an electronic device, where the electronic device may be an intelligent terminal device such as a smart phone and a tablet computer.
As shown in fig. 4, the data processing apparatus 300 may include: a stop module 31, a processing module 32, a recovery module 33. Wherein:
a stopping module 31, configured to stop receiving the application notification message when it is detected that the user enters the sleep state;
the processing module 32 is configured to receive, every preset time period, an application notification message that is not currently received, and then stop receiving the application notification message again;
a resuming module 33, configured to resume receiving the application notification message when exiting the sleep mode.
In some embodiments, the stopping module 31 may specifically be configured to: disconnecting the network to which the electronic device is currently connected to stop receiving application notification messages
In some embodiments, referring to fig. 5, the processing module 32 may include:
a networking sub-module 321 for connecting a current network every a preset time period;
a receiving submodule 322 for receiving an unreceived application notification message based on the current network
And the network disconnection submodule 323 is used for disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
In some embodiments, referring to fig. 6, the data processing apparatus 300 may further include:
a determining module 34, configured to receive, at every preset time interval, an application notification message that is not currently received, and then determine, before stopping receiving the application notification message again, a target application to which the application notification message belongs;
the judging module 35 is configured to judge whether an application level of the target application is higher than a preset level, where the application level is obtained by dividing based on historical usage information of each application in the electronic device;
the processing module 32 may be specifically configured to, when the determining module 35 determines that the application notification message is received, receive the application notification message that is not currently received every preset time period, and then stop receiving the application notification message again.
In some embodiments, referring to fig. 7, the stopping module 31 may be specifically configured to freeze an application installed in the electronic device to stop receiving the application notification message;
the processing module 32 may include:
a counting sub-module 324 for counting the number of times of completing the reception every time the completion of the reception of the application notification message is detected;
a first determining submodule 325, configured to determine a corresponding target application level according to the number of times;
a second determining submodule 326, configured to determine, from the frozen applications, a target application corresponding to the target application level;
the unfreezing submodule 327 is configured to unfreeze the target application to obtain the application notification message to be received.
In some embodiments, referring to fig. 8, the data processing apparatus 300 may further include:
a level dividing module 36, configured to receive application notification messages that are not currently received every preset time period, and then divide application levels for the installed applications based on usage information of applications in the electronic device in a historical time period before stopping receiving the application notification messages again;
an establishing module 37, configured to establish a mapping relationship between preset times and an application level;
the first determining submodule 325 is specifically configured to:
and acquiring the application level corresponding to the times according to the mapping relation, and taking the application level as the target application level.
In some embodiments, the second determining submodule 326 may be configured to determine, as the target application, an application having an application level that is the target application level and an application having an application level that is higher than the target application level from the frozen applications.
Therefore, the embodiment of the present application provides a data processing apparatus, where an electronic device stops receiving an application notification message when entering a sleep mode; receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again; resuming receipt of an application notification message upon exiting the sleep mode. According to the scheme, when the electronic equipment enters the sleep state, the notification message of the application is periodically received, so that the problem that the electronic equipment is blocked due to the fact that the application notification message is pulled in a concentrated mode when the electronic equipment is switched to the sleep-awake state can be avoided, and the smoothness of the operation of the electronic equipment is improved.
The embodiment of the application also provides the electronic equipment. Referring to fig. 9, an electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 500 is a control center of the electronic device 500, connects various parts of the whole electronic device using various interfaces and lines, performs various functions of the electronic device 500 by running or loading a computer program stored in the memory 502, and calls data stored in the memory 502, and processes the data, thereby performing overall monitoring of the electronic device 500.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 502 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. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
the electronic equipment stops receiving application notification messages when entering a sleep mode;
receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
resuming receipt of an application notification message upon exiting the sleep mode.
In some embodiments, the processor 501 is configured to perform the following steps when stopping receiving the application notification message:
disconnecting the network connected with the current electronic equipment to stop receiving the application notification message;
in some embodiments, when receiving an application notification message that is not currently received every preset time period and then stopping receiving the application notification message again, the processor 501 is configured to perform the following steps:
connecting the current network at intervals of a preset time period;
and receiving the application notification message which is not received currently based on the current network, and disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
In some embodiments, before receiving an application notification message that is not currently received and then stopping receiving the application notification message again at every preset time period, the processor 501 further performs the following steps:
determining a target application to which the application notification message belongs;
judging whether the application level of the target application is higher than a preset level or not, wherein the application level is obtained by dividing based on historical use information of each application in the electronic equipment;
the processor 501 is further configured to receive, every preset time period, an application notification message that is not currently received if the application level of the target application is higher than a preset level.
In some embodiments, upon stopping receiving the application notification message, the processor 501 performs the following steps:
freezing an application installed in the electronic device to stop receiving application notification messages;
when receiving an application notification message that is not currently received every preset time period, the processor 501 performs the following steps:
counting the number of times of completing reception every time the completion of the reception of the application notification message is detected;
determining a corresponding target application level according to the times;
determining a target application corresponding to the target application level from the frozen applications;
detecting whether an application notification message to be received for the target application exists;
when acquiring the application notification message to be received, the processor 501 performs the following steps:
and unfreezing the target application to acquire the application notification message to be received.
In some embodiments, before receiving an application notification message that is not currently received every preset time period and then stopping receiving the application notification message again, the processor 501 performs the following steps:
dividing application levels of the installed applications based on the use information of each application in the electronic equipment in the historical time period;
establishing a mapping relation between preset times and an application level;
when determining the corresponding target application level according to the number of time periods, the processor 501 performs the following steps:
acquiring an application level corresponding to the times according to the mapping relation, and taking the application level as the target application level;
when determining the target application corresponding to the target application level from the frozen applications, the processor 501 performs the following steps:
and determining the applications with the application level being the target application level and the applications with the application level being higher than the target application level from the frozen applications as the target applications.
As can be seen from the above, the electronic device according to the embodiment of the present application stops receiving the application notification message when entering the sleep mode; receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again; resuming receipt of an application notification message upon exiting the sleep mode. According to the scheme, when the electronic equipment enters the sleep state, the notification message of the application is periodically received, so that the problem that the electronic equipment is blocked due to the fact that the application notification message is pulled in a concentrated mode when the electronic equipment is switched to the sleep-awake state can be avoided, and the smoothness of the operation of the electronic equipment is improved.
Referring to fig. 10, in some embodiments, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power source 506 may be used to power various components of the electronic device 500. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 10, the electronic device 500 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the data processing method in any one of the above embodiments, for example: when the electronic equipment enters a sleep mode, stopping receiving the application notification message; receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again; resuming receipt of an application notification message upon exiting the sleep mode.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the data processing method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the data processing method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process of the embodiment of the data processing method can be included as the process of the embodiment of the data processing method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the data processing apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing detailed description is directed to a data processing method, an apparatus, a storage medium, and an electronic device provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (21)

  1. A data processing method is applied to electronic equipment, wherein the data processing method comprises the following steps: the electronic equipment stops receiving application notification messages when entering a sleep mode;
    receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
    resuming receipt of an application notification message upon exiting the sleep mode.
  2. The data processing method of claim 1, wherein the ceasing to receive application notification messages comprises:
    and disconnecting the network connected with the current electronic equipment to stop receiving the application notification message.
  3. The data processing method according to claim 1, wherein the receiving of the application notification message that is not currently received and then stopping receiving the application notification message again every preset time period comprises:
    connecting the current network at intervals of a preset time period;
    and receiving the application notification message which is not received currently based on the current network, and disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
  4. The data processing method according to claim 1, wherein before receiving application notification messages that are not currently received and then stopping receiving application notification messages again at every preset time period, further comprising:
    determining a target application to which the application notification message belongs;
    judging whether the application level of the target application is higher than a preset level or not, wherein the application level is obtained by dividing based on historical use information of each application in the electronic equipment;
    and if so, executing a step of receiving the application notification message which is not received at preset time intervals.
  5. The data processing method of claim 1, wherein the ceasing to receive application notification messages comprises:
    freezing an application installed in the electronic device to stop receiving application notification messages;
    then, the receiving, at every preset time interval, an application notification message that is not currently received includes:
    counting the number of times of completing reception every time the completion of the reception of the application notification message is detected;
    determining a corresponding target application level according to the times;
    determining a target application corresponding to the target application level from the frozen applications;
    and unfreezing the target application to acquire the application notification message to be received.
  6. The data processing method according to claim 5, wherein before receiving application notification messages that are not currently received and then stopping receiving application notification messages again at every preset time period, further comprising:
    dividing application levels of the installed applications based on the use information of each application in the electronic equipment in the historical time period;
    establishing a mapping relation between preset times and an application level;
    determining the corresponding target application level according to the times, wherein the determining comprises the following steps:
    and acquiring the application level corresponding to the times according to the mapping relation, and taking the application level as the target application level.
  7. The data processing method of claim 6, wherein the determining a target application corresponding to the target application level from the frozen applications comprises:
    and determining the applications with the application level being the target application level and the applications with the application level being higher than the target application level from the frozen applications as the target applications.
  8. A data processing apparatus applied to an electronic device, wherein the data processing apparatus comprises:
    the stop module is used for stopping receiving the application notification message processing module when the electronic equipment enters the sleep mode, and is used for receiving the application notification message which is not received at present every preset time period and then stopping receiving the application notification message again;
    a recovery module for recovering the reception of the application notification message when exiting the sleep mode.
  9. The data processing apparatus according to claim 8, wherein the stopping means is configured to disconnect a network to which the current electronic device is connected to stop receiving the application notification message.
  10. The data processing apparatus of claim 8, wherein the processing module comprises:
    the networking submodule is used for connecting the current network at intervals of a preset time period;
    a receiving submodule for receiving an unreceived application notification message based on the current network
    And the network disconnection submodule is used for disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
  11. The data processing apparatus of claim 8, further comprising:
    the determining module is used for receiving the application notification message which is not received at preset time intervals, and then determining the target application to which the application notification message belongs before stopping receiving the application notification message again;
    the judging module is used for judging whether the application level of the target application is higher than a preset level or not, wherein the application level is obtained by dividing based on historical use information of each application in the electronic equipment;
    and the processing module is used for receiving the application notification message which is not received at preset time intervals when the judgment module judges that the application notification message is received, and then stopping receiving the application notification message again.
  12. The data processing apparatus according to claim 8, wherein the stopping means is configured to freeze an application installed in the electronic device to stop receiving the application notification message;
    the processing module comprises:
    the counting submodule is used for counting the receiving times when the receiving of the application notification message is detected to be completed once;
    the first determining submodule is used for determining the corresponding target application level according to the times;
    the second determining submodule is used for determining the target application corresponding to the target application level from the frozen applications;
    and the unfreezing submodule is used for unfreezing the target application to acquire the application notification message to be received.
  13. The data processing apparatus of claim 12, further comprising:
    the level dividing module is used for receiving application notification messages which are not received currently every other preset time period, and then dividing the application level of the installed application based on the use information of each application in the electronic equipment in the historical time period before stopping receiving the application notification messages again;
    the establishing module is used for establishing a mapping relation between the preset times and the application level;
    the first determining submodule is configured to:
    and acquiring the application level corresponding to the times according to the mapping relation, and taking the application level as the target application level.
  14. The data processing apparatus according to claim 13, wherein a second determining submodule is configured to determine, as the target application, an application having an application level that is the target application level and an application having an application level that is higher than the target application level from among the frozen applications.
  15. A storage medium having stored therein a plurality of instructions, the storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the steps of:
    when the electronic equipment enters a sleep mode, stopping receiving the application notification message;
    receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
    resuming receipt of an application notification message upon exiting the sleep mode.
  16. An electronic device comprising a processor and a storage medium having stored therein a plurality of instructions, the processor loading the instructions to perform the steps of:
    the electronic equipment stops receiving application notification messages when entering a sleep mode;
    receiving application notification messages which are not received at present every preset time period, and then stopping receiving the application notification messages again;
    resuming receipt of an application notification message upon exiting the sleep mode.
  17. The electronic device of claim 16, wherein, upon ceasing to receive application notification messages, the processor is configured to:
    and disconnecting the network connected with the current electronic equipment to stop receiving the application notification message.
  18. The electronic device of claim 16, wherein, when receiving an application notification message that is not currently received and then stopping receiving the application notification message again at every preset time period, the processor further performs the steps of:
    connecting the current network at intervals of a preset time period;
    and receiving the application notification message which is not received currently based on the current network, and disconnecting the current network to stop receiving the application notification message when the networking duration reaches the preset duration.
  19. [ correction 05.12.2019 according to rules 91 ]
  20. The electronic device of claim 16, wherein, upon ceasing to receive application notification messages, the processor performs the steps of:
    freezing an application installed in the electronic device to stop receiving application notification messages;
    when receiving an application notification message which is not received currently every preset time period, the processor executes the following steps:
    counting the number of times of completing reception every time the completion of the reception of the application notification message is detected;
    determining a corresponding target application level according to the times;
    determining a target application corresponding to the target application level from the frozen applications;
    and unfreezing the target application to acquire the application notification message to be received.
  21. The electronic device of claim 19, wherein before receiving an application notification message that is not currently received and then stopping receiving the application notification message again at every preset time period, the processor performs the following steps:
    dividing application levels of the installed applications based on the use information of each application in the electronic equipment in the historical time period;
    establishing a mapping relation between preset times and an application level;
    when determining the corresponding target application level according to the times, the processor executes the following steps:
    acquiring an application level corresponding to the times according to the mapping relation, and taking the application level as the target application level;
    when the target application corresponding to the target application level is determined from the frozen applications, the processor executes the following steps:
    and determining the applications with the application level being the target application level and the applications with the application level being higher than the target application level from the frozen applications as the target applications.
CN201980092360.XA 2019-04-12 2019-04-12 Data processing method and device, storage medium and electronic equipment Active CN113439434B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/082565 WO2020206701A1 (en) 2019-04-12 2019-04-12 Data processing method and apparatus, storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN113439434A true CN113439434A (en) 2021-09-24
CN113439434B CN113439434B (en) 2023-04-21

Family

ID=72750594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980092360.XA Active CN113439434B (en) 2019-04-12 2019-04-12 Data processing method and device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN113439434B (en)
WO (1) WO2020206701A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795846A (en) * 2012-10-31 2014-05-14 上海心动企业发展有限公司 Method for realizing intelligent rest anti-interference for application in mobile terminal and server
CN105245692A (en) * 2015-08-31 2016-01-13 深圳市金立通信设备有限公司 Message prompting method and terminal
CN106060913A (en) * 2016-07-29 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Wake-on-LAN method and device
CN108234143A (en) * 2016-12-13 2018-06-29 腾讯科技(深圳)有限公司 The processing method of message, device and equipment during a kind of live streaming

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364123B2 (en) * 2009-02-25 2013-01-29 Apple Inc. Managing notification messages
CN108833677A (en) * 2018-05-18 2018-11-16 珠海格力电器股份有限公司 Method, device, storage medium and mobile phone for shielding message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795846A (en) * 2012-10-31 2014-05-14 上海心动企业发展有限公司 Method for realizing intelligent rest anti-interference for application in mobile terminal and server
CN105245692A (en) * 2015-08-31 2016-01-13 深圳市金立通信设备有限公司 Message prompting method and terminal
CN106060913A (en) * 2016-07-29 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Wake-on-LAN method and device
CN108234143A (en) * 2016-12-13 2018-06-29 腾讯科技(深圳)有限公司 The processing method of message, device and equipment during a kind of live streaming

Also Published As

Publication number Publication date
WO2020206701A1 (en) 2020-10-15
CN113439434B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
EP3349324B1 (en) Charging control method, charging control device and terminal
CN110493855B (en) Communication mode control method, device, storage medium and terminal
CN104156050B (en) The method of Mission Monitor and electronic equipment
JP2020537213A (en) Methods for reducing terminal power consumption, and terminals
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
WO2020052471A1 (en) Method and apparatus for detecting application to be managed, method and apparatus for controlling application, terminal, and storage medium
CN112862141B (en) Electric quantity optimization method and device based on dormancy data and computer equipment
CN110572868B (en) Method and device for reducing power consumption of electronic device
CN108370541A (en) Mobility indicator for UE transmission
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
CN108377484B (en) Bluetooth controller power consumption control method and device
CN111857859A (en) Application control method, device, terminal and computer readable storage medium
CN111050388B (en) Doze mode control method, device, mobile terminal and storage medium
US11777332B2 (en) Low-cost task specific device scheduling system
US9967825B2 (en) Environmentally aware mobile computing devices
EP3210420A1 (en) Power management of a wireless communication device
CN109996319B (en) Beacon signal processing device
CN113439434A (en) Data processing method, data processing device, storage medium and electronic equipment
CN107612705B (en) Method for saving power for terminal equipment for managing Internet of things in batches and relay equipment
CN110928586A (en) APP background keep-alive method and device
CN110908851A (en) Abnormal application detection and control method, device, terminal and storage medium
CN111913553A (en) Method and device for controlling power consumption of terminal, terminal and computer readable storage medium
CN110046031B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN107580017B (en) Batch power-saving management method and access equipment
CN112256118B (en) Application program freezing control method, device, terminal and 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