CN113055277B - Message notification method, device and storage medium - Google Patents

Message notification method, device and storage medium Download PDF

Info

Publication number
CN113055277B
CN113055277B CN202110262301.1A CN202110262301A CN113055277B CN 113055277 B CN113055277 B CN 113055277B CN 202110262301 A CN202110262301 A CN 202110262301A CN 113055277 B CN113055277 B CN 113055277B
Authority
CN
China
Prior art keywords
message
target application
transparent
content corresponding
transparent transmission
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
CN202110262301.1A
Other languages
Chinese (zh)
Other versions
CN113055277A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110262301.1A priority Critical patent/CN113055277B/en
Publication of CN113055277A publication Critical patent/CN113055277A/en
Application granted granted Critical
Publication of CN113055277B publication Critical patent/CN113055277B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • 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 application discloses a message notification method, a message notification device and a storage medium, and belongs to the technical field of communication. The method comprises the steps of receiving the transparent transmission message corresponding to the target application, and informing the content corresponding to the transparent transmission message under the condition that the target application is not pulled up, so that the problems of mobile phone blocking or power consumption and flow consumption of a user can be avoided when the functions of voice broadcasting, network video voice call reminding and the like are realized.

Description

Message notification method, device and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message notification method, a message notification device and a storage medium.
Background
With the development of technology, mobile phone terminals are becoming more powerful, and users often receive various notification bar messages, and the real-time receiving of these messages depends on the long-connection network communication technology established between the device and the server. The long connection capability of the Internet not only can transmit the notification bar message, but also can transmit the transparent transmission message with the unfixed data format, breaks through a series of technical capabilities such as voice broadcasting, network telephone incoming call reminding, similar update reminding and the like, and brings convenience service to users.
At present, the long connection capability realizes functions such as voice broadcasting and network video voice incoming call reminding, and each Application (app) needs to survive in a system background for a long time and establish long connection waiting for arrival of a message, so that great consumption is brought to mobile phone system electric quantity and flow, and the long connection channel unified by the system is adopted to realize the functions through the transparent transmission message, although the situation that each Application survives can be avoided, the transparent transmission message needs to be pulled up first after being sent to the mobile phone, so that the Application can be caused to run in the system background, and extra electric quantity and flow consumption is caused. Meanwhile, every time a transparent transmission message is sent, the application background is pulled up, and management and specification cannot be systematically performed. Whether the application background survives for a long time or the application is pulled up after notification, the problem of blocking or power consumption and flow consumption of the mobile phone of the user is brought, and the use experience of the user is affected.
Disclosure of Invention
The embodiment of the application aims to provide a message notification method, a message notification device and a storage medium, so as to solve the problem that the mobile phone of a user is blocked or consumes electricity and flow when the functions of voice broadcasting, network video voice incoming call reminding and the like are realized through long connection capability in the prior art.
In a first aspect, an embodiment of the present application provides a message notification method, where the method includes:
receiving a transparent transmission message corresponding to a target application;
and notifying the content corresponding to the transparent transmission message under the condition that the target application is not pulled up.
In a second aspect, an embodiment of the present application provides a message notification apparatus, including:
the transparent transmission message receiving module is used for receiving transparent transmission messages corresponding to the target application;
and the notification module is used for notifying the content corresponding to the transparent transmission message under the condition that the target application is not pulled up.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction implements the steps of the message notification method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the message notification method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the message notification method according to the first aspect.
According to the message notification method, the message notification device and the storage medium, the transparent transmission message corresponding to the target application is received, and the content corresponding to the transparent transmission message is notified under the condition that the target application is not pulled up, so that the problems of blocking or power consumption and flow consumption of a mobile phone of a user can be avoided when functions such as voice broadcasting and network video voice incoming call reminding are realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a message notification method provided in an embodiment of the present application;
fig. 2 is one of specific flow diagrams of a message notification method provided in an embodiment of the present application;
FIG. 3 is one of the schematic diagrams of a message notification interface provided by embodiments of the present application;
FIG. 4 is one of the application installation interface schematics provided by embodiments of the present application;
FIG. 5 is a second schematic diagram of an application installation interface according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a transparent analysis component setting flow provided in an embodiment of the present application;
FIG. 7 is a second flowchart of a message notification method according to an embodiment of the present disclosure;
FIG. 8 is a second diagram of a messaging interface provided in an embodiment of the present application;
fig. 9 is a schematic diagram of an application-based process provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a message notification device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The message notification method, device and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Fig. 1 is a flow chart of a message notification method according to an embodiment of the present application. As shown in fig. 1, the method includes:
step 101, receiving a transparent transmission message corresponding to a target application.
Specifically, the application refers to an application with functions of voice broadcasting, network incoming call reminding and the like. Many applications known to the public at present need to use push-through messages to send voice broadcast or network incoming call reminding. In order to acquire the content of the transparent transmission message and notify the content, the message notification device firstly needs to receive the transparent transmission message corresponding to the target application, determines the target application corresponding to the transparent transmission message based on the identification information in the transparent transmission message, and notifies the target application.
And 102, notifying the content corresponding to the transparent transmission message under the condition that the target application is not pulled up.
Specifically, when the functions of voice broadcasting, network video voice incoming call reminding and the like are realized in the prior art, an application background is required to survive for a long time or to be pulled up after notification, and both the two modes can bring the problems of blocking or power consumption and flow consumption to a mobile phone of a user.
According to the message notification method provided by the embodiment of the application, the transparent transmission message corresponding to the target application is received, and the content corresponding to the transparent transmission message is notified under the condition that the target application is not pulled up, so that the problems of mobile phone blocking or power consumption and flow consumption of a user can be avoided when the functions of voice broadcasting, network video voice call reminding and the like are realized.
Based on the above embodiment, the notifying the content corresponding to the transparent transmission message without pulling up the target application includes any one of the following:
notifying content corresponding to the transparent message based on a system component which is separately deployed from the target application;
notifying the content corresponding to the transparent transmission message based on the target application in the short starting mode; and under the short starting mode, the startActivity or startService lifecycle control corresponding to the target application is not executed.
Specifically, for the system component notification transparent message mode based on the separation and deployment with the target application, the function modules such as voice broadcasting, network incoming call reminding and the like are separated from the deployment of the application, the system component mode is adopted to load the system, the application does not need to survive for a long time in a background process or pull up after the transparent message reaches a mobile phone of a user, and the functions such as broadcasting, incoming call reminding and the like are realized.
The method for notifying the transparent transmission message of the target application based on the short starting mode is characterized in that the short starting mode different from the normal starting mode is used for controlling the target application to execute the notification of the transparent transmission message, the starting parameters are transmitted at the app calling inlet to be distinguished, the Android Package (apk) starting parameters are judged by the system, and the normal startActivity or startService lifecycle control is not executed, so that the condition that the app always runs in the background is not existed, the state that the thread always executes is not kept in the short starting mode, the processing logic of the transparent transmission message is only synchronously executed, and the thread exits after the synchronous execution is finished, so that the problem of the app always runs in the background is not existed.
According to the message notification method provided by the embodiment of the invention, based on the system component which is separated from the target application or the target application in the short starting mode, the content corresponding to the transparent transmission message is notified, so that the problems of mobile phone blocking or power consumption and flow consumption of a user can be avoided when the functions of voice broadcasting, network video voice call reminding and the like are realized.
Based on the above embodiment, the notifying, based on the system component deployed separately from the target application, the content corresponding to the transparent message includes:
determining a corresponding target system component based on the transparent message;
and notifying the content corresponding to the transparent transmission message based on the target system component.
Specifically, taking a process of implementing voice broadcasting as an example, as shown in fig. 2, which is one of specific flow diagrams of a message notification method provided in an embodiment of the present application, as shown in fig. 2, after a transparent message arrives at a mobile phone of a user, a message notification device searches whether a system component service on which the transparent message depends exists, if there is a processing of directly calling a component service by a push engine to complete the transparent message, if the processing is a voice broadcasting component, the voice broadcasting is directly completed, an application does not need to be pulled up to complete the voice broadcasting, and if there is no system component service for analyzing the transparent message, a compatible adaptation of new and old capabilities is completed by pulling up an application mode before. The transparent transmission message comprises a system component service ID identifier on which the transparent transmission message depends, and the function is that after the message reaches the mobile phone of the user, the message notification device can find the correct message analysis component service to complete the message analysis execution.
After the transparent analysis component executes the voice broadcasting capability to complete the voice broadcasting, the user can follow up the specific requirement to complete the reminding in the notification bar or the status bar, as shown in fig. 3, which is one of the schematic diagrams of the message notification interface provided in the embodiment of the application, and as can be known from fig. 3, after the message notification device completes the voice broadcasting through the transparent analysis component, the reminding interface can be displayed through the notification bar, and if the user clicks the specific reminding content, the user can really complete the pulling operation of the application. The network incoming call reminding situation is similar to the voice broadcasting implementation process, and is not repeated here.
According to the message notification method provided by the embodiment of the invention, the corresponding target system component is determined based on the transparent transmission message, the transparent transmission message can be rapidly and accurately notified based on the content corresponding to the transparent transmission message notified by the target system component, and the efficiency and the accuracy of message notification are ensured on the basis of avoiding the mobile phone blocking or the power consumption and the flow consumption of a user.
Based on the above embodiment, the system component is obtained by registering the transparent message parsing component in the application installation package in the system when the application is installed.
Specifically, taking a process of implementing voice broadcasting as an example, fig. 4-5 are a first schematic diagram and a second schematic diagram of an application installation interface provided in an embodiment of the present application, when a user installs an apk application with a voice broadcasting module, during installation, a system installer identifies that an apk includes a transparent message analysis component, and inquires whether the user allows loading the component (as shown in fig. 4), if so, the component will be automatically loaded into a system cache along with system start, and if the analysis component of the same type already exists in the system, the user is prompted whether to enable the component as a default voice broadcasting analysis component (as shown in fig. 5). After the user agrees, the system registers the components in the app into the system, and simultaneously loads data in the components into the system cache.
After the component finishes the system registration, the component only occupies the cache storage space fixedly allocated by the system and does not allow other execution operations, so that the component does not consume CPU resources of the terminal after loading is finished, system power consumption is not generated, in addition, the component does not allow other networking authorities, and the exposed service of the component is released immediately after the service is used up, so that traffic and system resources are not consumed. The network incoming call reminding situation is similar to the voice broadcasting implementation process, and is not repeated here.
According to the message notification method provided by the embodiment of the application, the system component is obtained by registering the transparent message analysis component in the application installation package in the system when the application is installed, so that the transparent message analysis component can be separated from the deployment of the application, and the problem that the mobile phone of a user is blocked or power consumption and flow consumption caused by pulling up the application is avoided.
Based on the above embodiments, the target system component may notify at least one target application of a corresponding pass-through message.
Specifically, fig. 6 is a schematic flow chart of the transparent analysis component setting provided in the embodiment of the present application, as shown in fig. 6, corresponding component setting options appear in the system setting after the application is installed, and a user can open and control the app used by the component according to the needs of the user, so that the component can be flexibly provided for a plurality of applications only by once installation, and flexibility is provided and multiplexing of component capability is also realized. For example, a user may set whether a voice broadcast component is turned on and an app of the component can be used through a setup interface. It should be noted that, the user may actively enter the setting interface to perform component setting at any time after the application is installed, and is not limited to the component setting interface that appears after the application is installed.
According to the message notification method provided by the embodiment of the application, the target system component can notify the transparent transmission message corresponding to at least one target application, and system resources are greatly saved on the basis of avoiding the mobile phone blocking or power consumption and flow consumption of a user.
Based on the above embodiment, the notifying, based on the target application in the short start mode, the content corresponding to the transparent transmission message includes:
and under the condition that continuous transparent message signals are received, controlling the target application to continuously inform the content corresponding to the transparent message in a short starting mode, and exiting the short starting mode until the transparent message signals are judged to be transmitted or the continuous informing time exceeds a preset threshold value.
Specifically, taking a process of implementing network incoming call reminding as an example, fig. 7 is a second specific flow chart of a message notification method provided in an embodiment of the present application, as shown in fig. 7, when a push engine receives a transparent message of an app, the push engine starts the target application in a short start mode, and notifies the transparent message. As shown in fig. 8, which is a second schematic diagram of the message notification interface provided in the embodiment of the present application, after receiving the transparent transmission message, the message notification device may notify the content of the transparent transmission message by ringing and displaying the message notification interface shown in fig. 8. The application needs to push the engine to continuously transmit the incoming call transparent transmission message signal to keep the survival of the application process in the short start, and the short start is immediately finished once the incoming call transparent transmission message signal is not transmitted, and the missed call prompt is displayed.
In the short start mode, the system provides a unified execution strategy, a developer realizes simple voice broadcasting, network incoming call and other logics in an interface corresponding to the short start when developing, the logics allow the developer to access a unified system cache, the developer can load various voice resources into the system cache instead of loading the voice resources every time a transparent message arrives, the system can load the information into the cache when the mobile phone is started, and the response efficiency of short start application after the transparent message arrives is improved.
The time of the short-start analysis execution process after the single transparent message arrives is strictly limited, if the short-start maintenance signal (namely the transparent message signal) sent by the push engine is executed too long in the appointed time or not received, the system is triggered to protect and kill the unexecuted process, and the problem of power consumption and flow consumption of the background after the long-term survival of the application is avoided. In the case of voice broadcast, the implementation process of the network incoming call reminding is similar to that of the network incoming call reminding, and is not repeated here.
Optionally, performance verification may be performed when the app is put on the shelf based on response efficiency of the application short start after the transparent transmission message arrives, as shown in fig. 9, which is a schematic diagram of an application put on the shelf provided in the embodiment of the present application, and when the app is put on the shelf, the performance of the transparent transmission short start execution is verified by executing the short start automatic test case, and if the performance does not reach the standard, the app is not allowed to put on the shelf, so that the application quality of putting on the shelf is effectively ensured. The short start up reaches the standard mainly based on the response efficiency of the maintenance signal, for example, after the transparent transmission message is transmitted, the bell does not exist for a long time, and after the transparent transmission is finished, the bell does not automatically exit the short start up to the end, and the bell does not reach the standard. Therefore, standard test can be conveniently carried out on the short starting response before application and shelf setting, and the application ecology is effectively and normally integrated.
According to the message notification method provided by the embodiment of the application, under the condition that continuous transparent message signals are received, the target application is controlled to continuously notify the content corresponding to the transparent message in the short starting mode until the transparent message signal transmission is finished or the continuous notification time exceeds the preset threshold value is judged, the short starting mode is exited, and the problem of power consumption and flow caused by the fact that the application pulls up the long-term survival background can be avoided.
Based on the above embodiment, if the first input of the user is received under the condition that the target application continuously notifies the content corresponding to the transparent transmission message in the short start mode, the target application is controlled to exit the short start mode and enter the normal working mode.
Specifically, in the process of realizing voice broadcasting, if a user clicks a reminding interface, an application is truly started, and a corresponding detail page is entered; in the process of realizing the network call reminding, if the user clicks the answer button of the notification interface, the application is truly started to complete the corresponding network call.
According to the message notification method provided by the embodiment of the application, under the condition that the target application continuously notifies the content corresponding to the transparent transmission message in the short start mode, if the first input of the user is received, the target application is controlled to exit the short start mode and enter the normal working mode, so that the survival time of the application in the background can be reduced to the maximum extent, and the power consumption and flow consumption problem caused by application pull-up is avoided.
Based on the above embodiment, the method for notifying the content corresponding to the transparent transmission message is as follows:
and voice broadcasting, or ringing and displaying a prompt interface.
Specifically, based on the foregoing, when the target application is a voice broadcast application, the method for notifying the content corresponding to the transparent transmission message is voice broadcast; when the target application is communication software, the method for notifying the content corresponding to the transparent transmission message is ringing and a prompt interface is displayed. It is noted that the manner of notifying the content corresponding to the transparent message is determined based on the indication of the transparent message.
According to the message notification method, the corresponding content of the transparent transmission message is notified in a voice broadcast mode, or the message notification method rings and displays a prompt interface, so that the accurate notification of the transparent transmission message can be realized on the basis of avoiding the problem of electricity consumption and flow consumption of the mobile phone.
Fig. 10 is a schematic structural diagram of a message notification device according to an embodiment of the present invention, as shown in fig. 10, where the device includes:
the transparent transmission message receiving module 1001 is configured to receive a transparent transmission message corresponding to a target application;
and a notification module 1002, configured to notify, without pulling up the target application, the content corresponding to the transparent transmission message.
Specifically, the message notification apparatus provided in the embodiment of the present application is configured to perform the method in the foregoing corresponding embodiment, and specific steps of performing the method in the foregoing corresponding embodiment by using the message notification apparatus provided in the present embodiment are the same as those of the foregoing corresponding embodiment, and are not repeated herein.
Based on any one of the above embodiments, the notifying, without pulling up the target application, the content corresponding to the transparent transmission message includes any one of the following:
notifying content corresponding to the transparent message based on a system component which is separately deployed from the target application;
notifying the content corresponding to the transparent transmission message based on the target application in the short starting mode; and under the short starting mode, the startActivity or startService lifecycle control corresponding to the target application is not executed.
Based on any of the foregoing embodiments, the notifying, based on the system component deployed separately from the target application, the content corresponding to the transparent message includes:
determining a corresponding target system component based on the transparent message;
and notifying the content corresponding to the transparent transmission message based on the target system component.
Based on any of the above embodiments, the system component is obtained by registering a transparent message parsing component in the application installation package in a system when the application is installed.
Based on any of the above embodiments, the target system component may notify at least one target application of a corresponding pass-through message.
Based on any one of the foregoing embodiments, the notifying, based on the target application in the short start mode, the content corresponding to the transparent transmission message includes:
and under the condition that continuous transparent message signals are received, controlling the target application to continuously inform the content corresponding to the transparent message in a short starting mode, and exiting the short starting mode until the transparent message signals are judged to be transmitted or the continuous informing time exceeds a preset threshold value.
Based on any embodiment of the foregoing, if a first input of a user is received under the condition that the target application continuously notifies the content corresponding to the transparent transmission message in the short start mode, the target application is controlled to exit the short start mode and enter the normal working mode.
Based on any of the above embodiments, the method for notifying the content corresponding to the transparent transmission message is:
and voice broadcasting, or ringing and displaying a prompt interface.
The message notification device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The message notification apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The message notification apparatus provided in this embodiment of the present application can implement each process implemented by the message notification apparatus in the method embodiment of fig. 1 to 8, and in order to avoid repetition, a description is omitted here.
According to the message notification device provided by the embodiment of the application, the transparent transmission message corresponding to the target application is received, and the content corresponding to the transparent transmission message is notified under the condition that the target application is not pulled up, so that the problems of blocking or power consumption and flow consumption of a mobile phone of a user can be avoided when the functions of voice broadcasting, network video voice incoming call reminding and the like are realized.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device, which includes a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and capable of running on the processor 1101, where the program or the instruction implements each process of the above-mentioned message notification method embodiment when executed by the processor 1101, and the process can achieve the same technical effect, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1209 may be used to store software programs or instructions as well as various data. The memory 1209 may mainly include a storage program or instruction area and a storage data area, wherein the storage program or instruction area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. In addition, the Memory 1209 may include a high-speed random access Memory, and may also include a nonvolatile Memory, where the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable EPROM (EEPROM), or a flash Memory. Such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
Processor 1210 may include one or more processing units; alternatively, processor 1210 may integrate an application processor that primarily processes operating systems, user interfaces, and applications or instructions, etc., with a modem processor that primarily processes wireless communications, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The radio frequency unit 1201 is configured to receive a transparent transmission message corresponding to a target application;
processor 1210 notifies content corresponding to the transparent message without pulling up the target application.
According to the electronic equipment provided by the embodiment of the application, the transparent transmission message corresponding to the target application is received, and the content corresponding to the transparent transmission message is notified under the condition that the target application is not pulled up, so that the problems of blocking or power consumption and flow consumption of a mobile phone of a user can be avoided when the functions of voice broadcasting, network video voice call reminding and the like are realized.
Optionally, the processor 1210 is further configured to notify, based on a system component deployed separately from the target application, a content corresponding to the transparent message, or,
notifying the content corresponding to the transparent transmission message based on the target application in the short starting mode; and under the short starting mode, the startActivity or startService lifecycle control corresponding to the target application is not executed.
According to the electronic equipment provided by the embodiment of the application, based on the system component which is separated from the target application or the target application in the short starting mode, the content corresponding to the transparent transmission message is notified, and the problems of mobile phone blocking or power consumption and flow consumption of a user can be avoided when the functions of voice broadcasting, network video voice call reminding and the like are realized.
Optionally, the processor 1210 is further configured to determine a corresponding target system component based on the transparent message;
and notifying the content corresponding to the transparent transmission message based on the target system component.
According to the electronic equipment provided by the embodiment of the application, the corresponding target system component is determined based on the transparent transmission message, the transparent transmission message can be rapidly and accurately notified based on the content corresponding to the transparent transmission message notified by the target system component, and the efficiency and the accuracy of message notification are ensured on the basis of avoiding the mobile phone blocking or the power consumption and flow consumption of a user.
Optionally, the processor 1210 is further configured to control, when a continuous transparent message signal is received, the target application to continuously notify the content corresponding to the transparent message in a short start mode, until it is determined that the transmission of the transparent message signal is finished or the duration notification time exceeds a preset threshold, and exit the short start mode.
According to the electronic equipment provided by the embodiment of the application, under the condition that continuous transparent message signals are received, the target application is controlled to continuously inform the content corresponding to the transparent message in the short starting mode until the transparent message signal transmission is finished or the continuous informing time exceeds the preset threshold value is judged, the short starting mode is exited, and the problem of power consumption and flow caused by the fact that the application pulls up the long-term survival background can be avoided.
Optionally, a user input unit 1207, configured to receive a first input of a user;
the processor 1210 is further configured to control the target application to exit the short start mode and enter the normal operation mode in response to the first input.
According to the electronic equipment provided by the embodiment of the application, under the condition that the target application continuously notifies the content corresponding to the transparent transmission message in the short starting mode, if the first input of the user is received, the target application is controlled to exit the short starting mode and enter the normal working mode, so that the survival time of the application in the background can be reduced to the greatest extent, and the power consumption and flow consumption problem caused by application pulling is avoided.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the foregoing message notification method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above message notification method embodiment, and achieve the same technical effect, so as to avoid repetition, and not be repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A message notification method, comprising:
receiving a transparent transmission message corresponding to a target application;
notifying the content corresponding to the transparent transmission message under the condition that the whole target application is not pulled up;
the notifying the content corresponding to the transparent transmission message without pulling up the whole target application includes any one of the following steps:
notifying content corresponding to the transparent message based on a system component which is separately deployed from the target application;
notifying the content corresponding to the transparent transmission message based on the target application in the short starting mode; and under the short starting mode, the startActivity or startService lifecycle control corresponding to the target application is not executed.
2. The message notification method according to claim 1, wherein notifying the content corresponding to the transparent message based on the system component deployed separately from the target application includes:
determining a corresponding target system component based on the transparent message;
and notifying the content corresponding to the transparent transmission message based on the target system component.
3. The message notification method according to claim 1, wherein the notifying the content corresponding to the transparent transmission message based on the target application in the short start mode includes:
and under the condition that continuous transparent message signals are received, controlling the target application to continuously inform the content corresponding to the transparent message in a short starting mode, and exiting the short starting mode until the transparent message signals are judged to be transmitted or the continuous informing time exceeds a preset threshold value.
4. A message notification method according to claim 3, wherein, in the case that the target application continuously notifies the content corresponding to the transparent transmission message in the short start mode, if a first input of a user is received, the target application is controlled to exit the short start mode and enter a normal operation mode.
5. A message notification apparatus, comprising:
the transparent transmission message receiving module is used for receiving transparent transmission messages corresponding to the target application;
the notification module is used for notifying the content corresponding to the transparent transmission message under the condition that the whole target application is not pulled up;
the notifying the content corresponding to the transparent transmission message without pulling up the whole target application includes any one of the following steps:
notifying content corresponding to the transparent message based on a system component which is separately deployed from the target application;
notifying the content corresponding to the transparent transmission message based on the target application in the short starting mode; and under the short starting mode, the startActivity or startService lifecycle control corresponding to the target application is not executed.
6. The message notification apparatus of claim 5, wherein the notifying the content corresponding to the pass-through message based on the system component deployed separately from the target application comprises:
determining a corresponding target system component based on the transparent message;
and notifying the content corresponding to the transparent transmission message based on the target system component.
7. The message notification apparatus according to claim 5, wherein the notifying the content corresponding to the transparent transmission message based on the target application in the short start mode includes:
and under the condition that continuous transparent message signals are received, controlling the target application to continuously inform the content corresponding to the transparent message in a short starting mode, and exiting the short starting mode until the transparent message signals are judged to be transmitted or the continuous informing time exceeds a preset threshold value.
8. The message notification apparatus according to claim 7, wherein if a first input of a user is received in a case where the target application continuously notifies the content corresponding to the transparent transmission message in the short start mode, the target application is controlled to exit the short start mode and enter the normal operation mode.
CN202110262301.1A 2021-03-10 2021-03-10 Message notification method, device and storage medium Active CN113055277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110262301.1A CN113055277B (en) 2021-03-10 2021-03-10 Message notification method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110262301.1A CN113055277B (en) 2021-03-10 2021-03-10 Message notification method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113055277A CN113055277A (en) 2021-06-29
CN113055277B true CN113055277B (en) 2023-04-25

Family

ID=76511137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110262301.1A Active CN113055277B (en) 2021-03-10 2021-03-10 Message notification method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113055277B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465601A (en) * 2017-08-18 2017-12-12 武汉斗鱼网络科技有限公司 Pushed information processing method and processing device
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment
WO2019173937A1 (en) * 2018-03-12 2019-09-19 Intel Corporation Improved memory-mapped input/output (mmio) region access
CN112039991A (en) * 2020-09-01 2020-12-04 平安付科技服务有限公司 Notification information processing method, device, computer system and readable storage medium
CN112115135A (en) * 2020-08-13 2020-12-22 视联动力信息技术股份有限公司 Database upgrading method, database processing method, database transmission method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656548A (en) * 2009-08-04 2010-02-24 中兴通讯股份有限公司 Wireless terminal and method for implementing voice broadcasting function for short-range communication
CN108228367B (en) * 2017-12-29 2021-07-27 北京安云世纪科技有限公司 Method, system and mobile terminal for starting control based on hierarchical broadcast
CN110032397B (en) * 2018-01-10 2023-01-31 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium
CN111209036A (en) * 2020-03-03 2020-05-29 上海商米科技集团股份有限公司 Method and device for configuring self-service mode of system
CN114553814B (en) * 2020-10-27 2024-02-09 花瓣云科技有限公司 Method and device for processing push message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465601A (en) * 2017-08-18 2017-12-12 武汉斗鱼网络科技有限公司 Pushed information processing method and processing device
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment
WO2019173937A1 (en) * 2018-03-12 2019-09-19 Intel Corporation Improved memory-mapped input/output (mmio) region access
CN112115135A (en) * 2020-08-13 2020-12-22 视联动力信息技术股份有限公司 Database upgrading method, database processing method, database transmission method and device
CN112039991A (en) * 2020-09-01 2020-12-04 平安付科技服务有限公司 Notification information processing method, device, computer system and readable storage medium

Also Published As

Publication number Publication date
CN113055277A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN106256116B (en) A kind of method and terminal controlling application program
CN106484509B (en) Output method and device of popup window and terminal
CN109152095B (en) Wireless network connection method for terminal
US20170060566A1 (en) Method and device for installing plug-in of smart device
EP3188066A1 (en) A method and an apparatus for managing an application
WO2015176448A1 (en) Method and apparatus for intelligent screen splitting of terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107888965B (en) Image gift display method and device, terminal, system and storage medium
CN107220059B (en) Application interface display method and device
CN105912204B (en) Method and device for starting application interface
RU2333601C2 (en) Device and method of processing notification messages for mobile communication terminal
CN107885588B (en) Application service control method and device, storage medium and mobile terminal
CN109062625B (en) Application program loading method and device and readable storage medium
CN113055277B (en) Message notification method, device and storage medium
CN111966425A (en) Process cleaning method and device, storage medium and mobile terminal
CN112016080A (en) Application authority management method and device and electronic equipment
CN109521923B (en) Floating window control method and device and storage medium
CN107783825A (en) The more background process of mobile terminal start method, device and mobile terminal
CN106940658B (en) Task processing method and device based on thread pool
CN113114731B (en) Task processing method, device, server and storage medium
CN112243256B (en) Wireless network sharing method and device, mobile terminal and storage medium
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN105893146B (en) Memory processing method and device
CN111290672A (en) Image display method and device, storage medium and terminal
CN111338636B (en) Kernel preprocessing method, kernel preprocessing device and electronic equipment

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