CN107229528B - Message pushing multiplexing method and device and electronic equipment - Google Patents

Message pushing multiplexing method and device and electronic equipment Download PDF

Info

Publication number
CN107229528B
CN107229528B CN201710390182.1A CN201710390182A CN107229528B CN 107229528 B CN107229528 B CN 107229528B CN 201710390182 A CN201710390182 A CN 201710390182A CN 107229528 B CN107229528 B CN 107229528B
Authority
CN
China
Prior art keywords
message
push
application
applications
service
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.)
Expired - Fee Related
Application number
CN201710390182.1A
Other languages
Chinese (zh)
Other versions
CN107229528A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710390182.1A priority Critical patent/CN107229528B/en
Publication of CN107229528A publication Critical patent/CN107229528A/en
Priority to PCT/CN2018/083733 priority patent/WO2018219061A1/en
Application granted granted Critical
Publication of CN107229528B publication Critical patent/CN107229528B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The invention discloses a multiplexing method and a multiplexing device for message pushing and electronic equipment, wherein the method comprises the following steps: starting message push service of the application and sending broadcast messages to other applications; judging whether response messages fed back by the message push service of other applications are received within preset time; if the response message is not received within the preset time, receiving a push message sent to one or more applications by the server by using the started message push service; and if the response message is received within the preset time, determining the message push service to be reserved according to the response message, and receiving the push message sent to one or more applications by the server by using the reserved message push service. The invention can finish the push message sent to one or more applications by only using one message push service, thereby saving the electric quantity consumed by the terminal equipment for starting the message push service of a plurality of applications.

Description

Message pushing multiplexing method and device and electronic equipment
Technical Field
The invention relates to the field of software, in particular to a multiplexing method and a multiplexing device for message pushing.
Background
Many applications can be installed on the terminal equipment, and different applications can actively push messages to the user so as to improve the activity of the applications and the user viscosity. When an application actively pushes a message to a user, a message pushing channel needs to be established first, and the message is actively pushed to the user through the message pushing channel.
However, different applications all need to establish respective message pushing channels, and push messages to users through the respective message pushing channels, so that a plurality of message pushing channels exist on the terminal device at the same time, and the power consumption of the terminal device is huge. In addition, if multiple applications all push the same global push message, the user may receive multiple same messages, and the experience effect for the user is not good.
Therefore, there is a need for a method and apparatus for multiplexing message push that can solve the problems of the above push methods.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a multiplexing method and apparatus for message pushing that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, there is provided a multiplexing method for message pushing, including:
starting message push service of the application and sending broadcast messages to other applications;
judging whether response messages fed back by the message push service of other applications are received within preset time;
if the response message is not received within the preset time, receiving a push message sent to one or more applications by the server by using the started message push service;
and if the response message is received within the preset time, determining the message push service to be reserved according to the response message, and receiving the push message sent to one or more applications by the server by using the reserved message push service.
According to another aspect of the present invention, there is provided a multiplexing device for message pushing, including:
the starting module is suitable for starting the message pushing service of the application and sending broadcast messages to other applications;
the judging module is suitable for judging whether response messages fed back by the message push service of other applications are received within preset time;
the receiving module is suitable for receiving a push message sent by the server to one or more applications by using the started message push service if the response message is not received within the preset time; and if the response message is received within the preset time, determining the message push service to be reserved according to the response message, and receiving the push message sent to one or more applications by the server by using the reserved message push service.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the multiplexing method of the message pushing.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the multiplexing method of message pushing as described above.
According to the message push multiplexing method and device and the electronic equipment, the broadcast message is sent to other applications after the message push service of the application is started. Judging whether response messages fed back by the message push service of other applications are received within preset time, and according to the judgment result, utilizing the started message push service receiving server or the reserved message push service receiving server to send push messages to one or more applications, thereby realizing message push multiplexing. The push message sent to one or more applications can be completed by only one message push service, so that the electric quantity consumed by the terminal equipment for starting the message push service of the plurality of applications is saved. Meanwhile, only one message push service is used for pushing one global push message to one or more applications, so that the filtering of multiple global push messages is realized, multiple same global push messages are prevented from being pushed to the terminal equipment, and the user experience effect is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a multiplexing method for message pushing according to a first embodiment of the present invention;
fig. 2 is a flowchart of a multiplexing method for message pushing according to a second embodiment of the present invention;
fig. 3 shows a functional block diagram of a multiplexing apparatus for message pushing according to a third embodiment of the present invention;
fig. 4 shows a functional block diagram of a multiplexing apparatus for message pushing according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The message push service of the application is used for sending the push message received from the server to the application. Generally, an application corresponds to its own message push service, and the message push service only receives push messages sent to the application by a server. The message push service of the application must be started after the application is started. If the application is not started or is not running in the background, the message push service of the application cannot be started. I.e. the message push service of the application cannot send push messages received from the server to the application.
Example one
Fig. 1 shows a flowchart of a multiplexing method for message pushing according to a first embodiment of the present invention. As shown in fig. 1, the multiplexing method for message push specifically includes the following steps:
step S101, starting the message push service of the application and sending broadcast messages to other applications.
And starting the message push service of one application, and sending a broadcast message to other applications after the message push service of the application is started. Because the starting of the message push service of each application is random and has no fixed time or starting sequence, each application cannot know whether other applications start the corresponding message push services before the application starts the message push service. Therefore, whether other applications have started their corresponding message push services is confirmed by sending broadcast messages to the other applications.
Step S102, judging whether response messages fed back by the message push service of other applications are received within preset time, if so, executing step S104; otherwise, step S103 is executed.
After the broadcast message is sent to other applications, if the message push service of one application in the other applications is started, the response message fed back by the message push service of the application is received, and if the message push services of other applications are not started, the response message fed back by the message push service of any other application is not received.
Since the message push service of other applications receives the broadcast message and feeds back the response message, there is a certain time interval. And when the judgment is made, the response message fed back by the message push service of other applications is judged to be received within the preset time, such as 15 seconds. If so, go to step S104, otherwise, go to step S103.
Step S103, receiving a push message sent by the server to one or more applications by using the started message push service.
Since no response message fed back by the message push service of another application is received within the preset time, it can be considered that only the message push service of the application is started at the current time. The message push service started by the method can receive the push message sent by the server to one or more applications, and multiplexing of the message push service is achieved.
And step S104, determining the message push service to be reserved according to the response message, and receiving the push message sent by the server to one or more applications by using the reserved message push service.
When the response message fed back by other applications is received, namely the message push service of other applications is started at the current time. And determining a message push service to be reserved according to the information such as the starting time of the message push service and the like carried in the response message. Comparing the starting time of the message pushing service carried in the feedback response information with the starting time of the message pushing service of the application, if the starting time of the message pushing service of the application is before, closing all the message pushing services of other applications, and only keeping the message pushing service of the application; if the message pushing service of one application in the other applications is in front, only the message pushing service of the application is reserved, and the message pushing services of the other applications and the application are closed. The manner of determining the reserved message push service according to the response message may be set according to implementation, and is not limited herein. After a message push service is reserved, the reserved message push service is used for receiving push messages sent by a server to one or more applications, and multiplexing of the message push service is achieved.
In step S103 and step S104, the message push service receives a push message of the server, where the push message may be a push message sent to an application that starts the message push service, or a push message sent to an application that is unrelated to the start of the message push service. The message push service can receive the above push messages.
The types of push messages can be classified into global push messages, application-specific push messages, user-specific push messages, and the like. A global push message is the same push message that a server sends to multiple applications. In the prior art, message push services of different applications receive global push messages sent by a server, so that multiple repeated global push messages are received, and repeated message harassment is caused to a user. According to the invention, only one message push service is used for receiving the push message sent by the server to one or more applications, so that only one global push message is received, and no repeated message disturbance is caused to the user, thereby realizing the filtering of a plurality of global push messages, avoiding pushing a plurality of same global push messages to the terminal equipment, and improving the user experience effect. In the prior art, for an application-specific push message, the application-specific push message can be received only after an application message push service is started. The application is not started or the application is started but the message push service of the application is not started, and the push message specific to the application cannot be received. According to the invention, the message pushing service receiving server receives the pushing message sent to one or more applications, even if the application corresponding to the pushing message exclusive to the application is not started or the message pushing service of the corresponding application is not started, the pushing message exclusive to the application can still be received, so that a user can obtain the effective pushing message in time. The same is true for user-specific push messages, and when an application registered by a user is not started or a message push service of the application is not started, a user-specific push message can still be received through one started or reserved message push service. For the push message exclusive to the application, the push message exclusive to the user, and the like, when the push message is received, the corresponding application does not need to be in a starting state, and the push message can also be received, so that the power consumption of the terminal equipment is greatly reduced.
According to the multiplexing method for message pushing provided by the invention, after the message pushing service of the application is started, the broadcast message is sent to other applications. Judging whether response messages fed back by the message push service of other applications are received within preset time, and according to the judgment result, utilizing the started message push service receiving server or the reserved message push service receiving server to send push messages to one or more applications, thereby realizing message push multiplexing. The push message sent to one or more applications can be completed by only one message push service, so that the electric quantity consumed by the terminal equipment for starting the message push service of the plurality of applications is saved.
Example two
Fig. 2 shows a flowchart of a multiplexing method for message pushing according to the second embodiment of the present invention. As shown in fig. 2, the multiplexing method for message push specifically includes the following steps:
step S201, starts the message push service of the application, and sends a broadcast message to other applications.
Step S202, judging whether response messages fed back by the message push service of other applications are received within preset time, if so, executing step S204; otherwise, step S203 is executed.
Step S203, receiving a push message sent by the server to one or more applications by using the initiated message push service.
Step S204, determining the message push service to be reserved according to the response message, and receiving the push message sent by the server to one or more applications by using the reserved message push service.
The above steps can refer to the descriptions of steps S101 to S104 in the first embodiment, and are not described again here.
Step S205, determining whether the client has installed at least one of the one or more applications, if yes, performing step S207; if not, go to step S206.
In step S206, if the client does not have at least one of the one or more applications installed, that is, none of the one or more applications is installed on the client, the client does not belong to the push object of the push message, and the push message needs to be discarded.
Step S207, if the client installs at least one application of the one or more applications, displaying a push message in the notification bar.
The message push service receives a push message sent by a server to one or more applications, wherein the push message is directed to a specific application. For example, the message push service receives a push message sent by the server to the application a, a push message sent to the application B, and the like, where the message push service may be a message push service of the application a, or the message push service is a message push service of the application B, or the message push service is neither a message push service of the application a nor a message push service of the application B, but is a message push service of the application C. Therefore, an application to which a push message received by the message push service is directed may not be the application to which the message push service corresponds. For such a push message, the application to which the push message is directed needs to be acquired first. And judging whether the client side is provided with the application pointed by the push message or not, if the client side is not provided with the application, the client side does not belong to the push object of the push message, discarding the push message, and if the client side is provided with the application, displaying the push message in a notification bar.
For example, for some application-specific push messages, since a user registers a user ID in a server when using an application, the server may send the application-specific push message to a terminal device of the user ID by screening the user ID, and receive the application-specific push message by a message push service. But may result in the user being missed when the user has only installed an application but is not registered. Thus, omission can be avoided by sending application specific push messages to all users. When receiving the push message exclusive to the application, it needs to first determine whether the client installs one or more applications corresponding to the push message, and if the client does not install the one or more applications, step S206 is executed to directly discard the push message without performing subsequent processing. If the client installs one of the one or more applications, step S207 is executed to display a push message of the installed application in the notification bar. Therefore, omission of sending the push message is avoided, and message disturbance to terminal equipment without the application is also avoided.
Step S208, judging whether the application pointed by the push message is started or not according to the trigger behavior of the user to the push message.
In step S209, if not, the application to which the push message is directed is started according to the trigger behavior.
The push message includes contents such as text and pictures of the message, and is generally displayed in a notification bar of the terminal device. When the user needs to know the specific content of the push message, the user can click the push message, and further the detailed content of the push message can be displayed. The details of the push message are typically displayed in the application to which it is directed. In the prior art, after an application is started, a message push service of the application can be started, and then a push message sent by a server to the application is received. I.e. upon receipt of the push message, the application to which the push message is directed must be in a start-up state. However, the message push service started in this embodiment may receive a push message sent by the server to one or more applications, where the push message may be directed to an application corresponding to the message push service or may be directed to an application not corresponding to the message push service. I.e. push messages sent by the message push service receiving server of other applications to the application without starting the application. For example, the message push service of the application a receives a push message sent by the server to the application B, and the application pointed by the push message is the application B. But application B has not yet started. Therefore, according to the trigger action of the user on the push message, it is first determined whether the application pointed to by the push message is started, and if not, step S209 is executed to start the application pointed to by the push message first. After the application starts, details of the push message may be displayed in the application.
The push message includes, in addition to the text, the picture and other contents, a specified application call request, an application download address, a specified web page display request, and the like. For the download address of the application included in the push message, the application download address can be directly skipped to for downloading the application according to the trigger action of the user on the push message. For a specified webpage display request included in the push message, directly jumping to a webpage display page according to the trigger action of the user on the push message. And for a specified application calling request included in the push message, if the push message is sent to the application A by the server, the push message includes a specified application B calling request, and the application B is called according to the triggering behavior of the user on the push message. The above are all illustrations, and are specifically set according to implementation situations, and are not limited herein.
Further, for the message push service itself, when it receives the push message, there is a corresponding message push reminding ring for reminding the user to pay attention. The function of setting the personalized message push reminding ring tone can be provided by the user according to the needs of the user, so that the personalized customized service of the user can be met. And the message pushing anti-harassment time period can be set according to the work and rest habits of the user, and the message pushing and the like can be carried out in the time period according to the set message pushing anti-harassment time period.
According to the message push multiplexing method provided by the invention, the push messages sent to one or more applications by one message push service receiving server are realized, the message push is multiplexed, and the electric quantity consumed by the terminal equipment for starting the message push services of the plurality of applications is greatly saved. Meanwhile, the push message disturbance to the user is reduced, the user experience effect is improved, the push message is simpler and more convenient, and the message push service is easier to survive.
EXAMPLE III
Fig. 3 shows a functional block diagram of a multiplexing apparatus for message pushing according to a third embodiment of the present invention. As shown in fig. 3, the multiplexing device for message pushing includes the following modules:
the initiating module 310 is adapted to initiate a message push service for an application, sending broadcast messages to other applications.
The start module 310 starts a message push service of an application, and after the message push service of the application is started, the start module 310 sends a broadcast message to other applications. Because the starting of the message push service of each application is random and has no fixed time or starting sequence, each application cannot know whether other applications start the corresponding message push services before the application starts the message push service. Therefore, the starting module 310 confirms whether other applications have started their corresponding message push services by sending broadcast messages to the other applications.
The determining module 320 is adapted to determine whether a response message fed back by the message push service of the other application is received within a preset time.
After the starting module 310 sends the broadcast message to other applications, if the message push service of one application in the other applications is already started, the determining module 320 receives a response message fed back by the message push service of the application, and if the message push services of each of the other applications are not started, the determining module 320 does not receive a response message fed back by the message push service of any other application.
Since the message push service of other applications receives the broadcast message and feeds back the response message, there is a certain time interval. The determining module 320 determines that a response message fed back by the message push service of another application is received within a preset time, for example, within 15 seconds.
A receiving module 330, adapted to receive a push message sent by a server to one or more applications using the started message push service if a response message is not received within a preset time; and if the response message is received within the preset time, determining the message push service to be reserved according to the response message, and receiving the push message sent to one or more applications by the server by using the reserved message push service.
The determining module 320 determines that no response message fed back by the message push service of another application is received within the preset time, and may consider that only the message push service of the application is started at the current time. The receiving module 330 may receive, by using the initiated message push service, a push message sent by the server to one or more applications, thereby implementing multiplexing of a message push service.
The determining module 320 determines that a response message fed back by another application is received within a preset time, that is, a message push service of another application is started at the current time. The receiving module 330 determines a message push service to be reserved according to the information, such as the start time of the message push service, carried in the response message. The receiving module 330 may compare the start time of the message push service carried in the feedback response information with the start time of the message push service of the application, and if the start time of the message push service of the application is earlier, the receiving module 330 completely closes the message push services of other applications, and only the message push service of the application is reserved; if the message push service of one application is in front, the receiving module 330 only reserves the message push service of the application, and closes both the other application and the message push service of the application. The manner in which the receiving module 330 determines the reserved message push service according to the response message may be set according to implementation, and is not limited herein. The receiving module 330, after reserving a message push service, uses the reserved message push service to receive a push message sent by a server to one or more applications, thereby implementing multiplexing of a message push service.
The push message received by the receiving module 330 may be a push message sent to an application that starts the message push service, or a push message sent to an application that is unrelated to the start of the message push service. The receiving module 330 may receive the above push messages.
The types of push messages can be classified into global push messages, application-specific push messages, user-specific push messages, and the like. A global push message is the same push message that a server sends to multiple applications. In the prior art, message push services of different applications receive global push messages sent by a server, so that multiple repeated global push messages are received, and repeated message harassment is caused to a user. In the invention, the receiving module 330 receives the push message sent by the server to one or more applications through one message push service, so that only one global push message is received, repeated message disturbance is not caused to a user, the filtering of a plurality of global push messages is realized, the pushing of a plurality of same global push messages to terminal equipment is avoided, and the user experience effect is improved. In the prior art, for an application-specific push message, the application-specific push message can be received only after an application message push service is started. The application is not started or the application is started but the message push service of the application is not started, and the push message specific to the application cannot be received. In the present invention, the receiving module 330 receives the push message sent by the server to one or more applications through a message push service, and even if the application corresponding to the push message dedicated to the application is not started or the message push service of the corresponding application is not started, the push message dedicated to the application can still be received, so that the user can obtain an effective push message in time. The same is true for the user-specific push message, and when the application registered by the user is not started or the message push service of the application is not started, the receiving module 330 may still receive the user-specific push message through one started or reserved message push service. For the push message exclusive to the application, the push message exclusive to the user, and the like, when the push message is received, the corresponding application does not need to be in a starting state, and the push message can also be received, so that the power consumption of the terminal equipment is greatly reduced.
According to the message push multiplexing device provided by the invention, after the message push service of the application is started, the broadcast message is sent to other applications. Judging whether response messages fed back by the message push service of other applications are received within preset time, and according to the judgment result, utilizing the started message push service receiving server or the reserved message push service receiving server to send push messages to one or more applications, thereby realizing message push multiplexing. The push message sent to one or more applications can be completed by only one message push service, so that the electric quantity consumed by the terminal equipment for starting the message push service of the plurality of applications is saved.
Example four
Fig. 4 shows a flowchart of a multiplexing apparatus for message pushing according to a fourth embodiment of the present invention. As shown in fig. 4, compared with fig. 3, the multiplexing device for message pushing further includes the following modules:
an installation determination module 340 adapted to determine whether the client has installed at least one of the one or more applications; discarding the push message if the client does not install at least one of the one or more applications; and if the client side installs at least one application in the one or more applications, displaying the push message in the notification bar.
The message push service receives a push message sent by a server to one or more applications, wherein the push message is directed to a specific application. For example, the message push service receives a push message sent by the server to the application a, a push message sent to the application B, and the like, where the message push service may be a message push service of the application a, or the message push service is a message push service of the application B, or the message push service is neither a message push service of the application a nor a message push service of the application B, but is a message push service of the application C. Therefore, an application to which a push message received by the message push service is directed may not be the application to which the message push service corresponds. For such a push message, the application to which the push message is directed needs to be acquired first. And judging whether the client side is provided with the application pointed by the push message or not, if the client side is not provided with the application, the client side does not belong to the push object of the push message, discarding the push message, and if the client side is provided with the application, displaying the push message in a notification bar. For example, for some application-specific push messages, since a user registers a user ID in a server when using an application, the server may send the application-specific push message to a terminal device of the user ID by screening the user ID, and receive the application-specific push message by a message push service. But may result in the user being missed when the user has only installed the application and is not registered. Thus, the server can avoid omissions by sending application-specific push messages to all users. When the receiving module 330 receives the push message exclusive to the application, the installation determining module 340 needs to determine whether the client installs one or more applications corresponding to the push message, and if the client does not install the one or more applications, the push message is directly discarded without performing subsequent processing. And if the client installs one of the one or more applications, displaying a push message of the installed application corresponding to the notification bar. Therefore, omission of sending the push message is avoided, and message disturbance to terminal equipment without the application is also avoided.
The application starting module 350 is adapted to determine whether an application pointed by the push message is started according to a trigger action of the user on the push message; and if not, starting the application pointed by the push message according to the triggering behavior.
The push message includes contents such as text and pictures of the message, and is generally displayed in a notification bar of the terminal device. When the user needs to know the specific content of the push message, the user can click the push message, and further the detailed content of the push message can be displayed. The details of the push message are typically displayed in the application to which it is directed. In the prior art, after an application is started, a message push service of the application can be started, and then a push message sent by a server to the application is received. I.e. upon receipt of the push message, the application to which the push message is directed must be in a start-up state. However, the message push service started in this embodiment may receive a push message sent by the server to one or more applications, where the push message may be directed to an application corresponding to the message push service or may be directed to an application not corresponding to the message push service. I.e. push messages sent by the message push service receiving server of other applications to the application without starting the application. For example, the message push service of the application a receives a push message sent by the server to the application B, and the application pointed by the push message is the application B. But application B has not yet started. Therefore, the application starting module 350 first determines whether the application pointed by the push message is started according to the trigger behavior of the user on the push message, and if not, first starts the application pointed by the push message. After the application starts, details of the push message may be displayed in the application.
The push message includes, in addition to the text, the picture and other contents, a specified application call request, an application download address, a specified web page display request, and the like. For the download address of the application included in the push message, the application download address can be directly skipped to for downloading the application according to the trigger action of the user on the push message. For a specified webpage display request included in the push message, directly jumping to a webpage display page according to the trigger action of the user on the push message. And for a specified application calling request included in the push message, if the push message is sent to the application A by the server, the push message includes a specified application B calling request, and the application B is called according to the triggering behavior of the user on the push message. The above are all illustrations, and are specifically set according to implementation situations, and are not limited herein.
And the ringtone setting module 360 is suitable for setting personalized message push reminding ringtones.
And the time setting module 370 is suitable for setting a message pushing anti-harassment time period.
For the message push service itself, when it receives the push message, there is a corresponding message push reminding ring for reminding the user to pay attention. Here, the ring setting module 360 may provide a function of setting a personalized message push reminding ring according to a need of a user, so as to satisfy a personalized customized service of the user. The time setting module 370 may provide a set message pushing anti-harassment time period according to the work and rest habits of the user, and may not perform message pushing in the time period according to the set message pushing anti-harassment time period.
According to the message push multiplexing method provided by the invention, the push messages sent to one or more applications by one message push service receiving server are realized, the message push is multiplexed, and the electric quantity consumed by the terminal equipment for starting the message push services of the plurality of applications is greatly saved. Meanwhile, the push message disturbance to the user is reduced, the user experience effect is improved, the push message is simpler and more convenient, and the message push service is easier to survive.
EXAMPLE five
An embodiment of the present application provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the multiplexing method for message pushing in any method embodiment described above.
EXAMPLE six
Fig. 5 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 5, the electronic device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein:
the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically execute the relevant steps in the multiplexing method embodiment of message pushing described above.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations:
in an alternative embodiment, program 510 is configured to cause processor 502 to initiate a message push service for an application, sending broadcast messages to other applications; judging whether response messages fed back by the message push service of other applications are received within preset time; if the response message is not received within the preset time, receiving a push message sent to one or more applications by the server by using the started message push service; and if the response message is received within the preset time, determining the message push service to be reserved according to the response message, and receiving the push message sent to one or more applications by the server by using the reserved message push service.
In an alternative embodiment, the program 510 is configured to enable the processor 502 to select, if a response message is received within a preset time, a message push service with a reserved start time before according to the start time of the message push service carried in the response message.
In an alternative embodiment, program 510 is configured to cause processor 502 to determine whether a client has installed at least one of one or more applications; discarding the push message if the client does not install at least one of the one or more applications; and if the client installs one of the one or more applications, displaying the push message in the notification bar.
In an alternative embodiment, the program 510 is configured to enable the processor 502 to determine whether an application to which a push message is directed is started according to a user's trigger behavior for the push message; and if not, starting the application pointed by the push message according to the triggering behavior.
In an alternative embodiment, the push message comprises: a specified application invocation request, an application download address, and/or a specified web page presentation request.
In an alternative embodiment, the program 510 is configured to cause the processor 502 to set a personalized message push alert ringtone and/or set a message push anti-harassment time period.
For specific implementation of each step in the program 510, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing multiplexing embodiment of message pushing, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
By the scheme provided by the embodiment, after the message push service of the application is started, the broadcast message is sent to other applications. Judging whether response messages fed back by the message push service of other applications are received within preset time, and according to the judgment result, utilizing the started message push service receiving server or the reserved message push service receiving server to send push messages to one or more applications, thereby realizing message push multiplexing. The push message sent to one or more applications can be completed by only one message push service, so that the electric quantity consumed by the terminal equipment for starting the message push service of the plurality of applications is saved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a message push multiplexing apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A multiplexing method of message pushing, comprising:
starting message push service of the application and sending broadcast messages to other applications;
judging whether response messages fed back by the message push service of other applications are received within preset time;
if the response message is not received within the preset time, receiving a push message sent to one or more applications by the server by using the started message push service;
if the response message is received within the preset time, determining a message push service to be reserved according to the response message, and receiving a push message sent to one or more applications by a server by using the reserved message push service; the types of the push messages are global push messages, application-specific push messages and push messages of users;
judging whether the client side is provided with one or more applications to be sent by the push message;
if the client does not install one or more applications to which the push message is to be sent, the message push service discards the push message;
if the client installs one or more applications to which the push message is to be sent, the message push service sends the push message to the one or more applications, and the one or more applications display the push message in a notification bar.
2. The method of claim 1, wherein the determining the message push service to be reserved according to the response message if the response message is received within a preset time further comprises:
and if the response message is received within the preset time, selecting the message push service with the reserved starting time before according to the starting time of the message push service carried in the response message.
3. The method of claim 1 or 2, wherein after the displaying the push message at a notification bar, the method further comprises:
judging whether an application pointed by the push message is started or not according to the triggering behavior of the user on the push message;
and if not, starting the application pointed by the push message according to the triggering behavior.
4. The method of claim 1 or 2, wherein the push message comprises:
a specified application invocation request, an application download address, and/or a specified web page presentation request.
5. The method according to claim 1 or 2, wherein the method further comprises:
setting personalized message push reminding ring tones and/or setting a message push anti-harassment time period.
6. A multiplexing device for message pushing, comprising:
the starting module is suitable for starting the message pushing service of the application and sending broadcast messages to other applications;
the judging module is suitable for judging whether response messages fed back by the message push service of other applications are received within preset time;
the receiving module is suitable for receiving the push message sent by the server to one or more applications by using the started message push service if the response message is not received within the preset time; if the response message is received within the preset time, determining a message push service to be reserved according to the response message, and receiving a push message sent to one or more applications by a server by using the reserved message push service; the types of the push messages are global push messages, application-specific push messages and push messages of users;
the installation judging module is suitable for judging whether the client side is provided with one or more applications to be sent by the push message; if the client does not install one or more applications to which the push message is to be sent, the message push service discards the push message; if the client installs one or more applications to which the push message is to be sent, the message push service sends the push message to the one or more applications, and the one or more applications display the push message in a notification bar.
7. The apparatus of claim 6, wherein the receiving means is further adapted to:
and if the response message is received within the preset time, selecting the message push service with the reserved starting time before according to the starting time of the message push service carried in the response message.
8. The apparatus of claim 6 or 7, wherein after the installation determination module, the apparatus further comprises:
the application starting module is suitable for judging whether the application pointed by the push message is started or not according to the triggering behavior of the user on the push message; and if not, starting the application pointed by the push message according to the triggering behavior.
9. The apparatus of claim 6 or 7, wherein the push message comprises:
a specified application invocation request, an application download address, and/or a specified web page presentation request.
10. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
the ringtone setting module is suitable for setting personalized message push reminding ringtones;
and the time setting module is suitable for setting a message pushing anti-harassment time period.
11. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the multiplexing method of the message pushing in any one of claims 1-5.
12. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the multiplexing method for message pushing according to any of claims 1-5.
CN201710390182.1A 2017-05-27 2017-05-27 Message pushing multiplexing method and device and electronic equipment Expired - Fee Related CN107229528B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710390182.1A CN107229528B (en) 2017-05-27 2017-05-27 Message pushing multiplexing method and device and electronic equipment
PCT/CN2018/083733 WO2018219061A1 (en) 2017-05-27 2018-04-19 Multiplexing method and apparatus for pushing message, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710390182.1A CN107229528B (en) 2017-05-27 2017-05-27 Message pushing multiplexing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107229528A CN107229528A (en) 2017-10-03
CN107229528B true CN107229528B (en) 2021-07-23

Family

ID=59933962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710390182.1A Expired - Fee Related CN107229528B (en) 2017-05-27 2017-05-27 Message pushing multiplexing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN107229528B (en)
WO (1) WO2018219061A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229528B (en) * 2017-05-27 2021-07-23 北京奇虎科技有限公司 Message pushing multiplexing method and device and electronic equipment
CN107872528B (en) * 2017-11-21 2020-11-06 口碑(上海)信息技术有限公司 Message pushing method and device
CN108733498A (en) * 2018-05-23 2018-11-02 百度在线网络技术(北京)有限公司 Push process resides method, apparatus, terminal and storage medium
CN110677442A (en) * 2018-07-02 2020-01-10 曹桂水 Method for realizing internet application
CN109769214A (en) * 2018-12-26 2019-05-17 彩讯科技股份有限公司 A kind of information push method, device, terminal and medium
CN110244974B (en) * 2019-05-24 2022-10-11 苏州达家迎信息技术有限公司 Application program maintenance control method, device, server, terminal and storage medium
CN112367345B (en) * 2020-09-14 2023-06-23 长沙市到家悠享网络科技有限公司 Data processing method, server device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334650A (en) * 2000-07-26 2002-02-06 国际商业机器公司 Data communication method and system
CN101193275A (en) * 2006-11-29 2008-06-04 三星电子株式会社 Method and apparatus for transmitting/receiving information in internet protocol network
CN103490981A (en) * 2013-09-11 2014-01-01 曹欢欢 Information pushing method and device across mobile applications

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000060706A (en) * 1999-03-18 2000-10-16 서평원 WWW Broadcasting PUSH Method for Mobile Station Packet Data Service
CN103401896B (en) * 2013-07-15 2016-06-22 四川公用信息产业有限责任公司 Method and system are shared in a kind of many Android client service
US20150373048A1 (en) * 2014-06-24 2015-12-24 Kashif Ali Siddiqui Enterprise Mobile Notification Solution
CN105897814A (en) * 2015-07-08 2016-08-24 乐视致新电子科技(天津)有限公司 Push message detection method and device
CN105871981A (en) * 2015-11-30 2016-08-17 乐视致新电子科技(天津)有限公司 Pushing service implementation method, pushing service implementation device, terminal equipment and system
CN105847366A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Method and apparatus for sharing push service
CN107229528B (en) * 2017-05-27 2021-07-23 北京奇虎科技有限公司 Message pushing multiplexing method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334650A (en) * 2000-07-26 2002-02-06 国际商业机器公司 Data communication method and system
CN101193275A (en) * 2006-11-29 2008-06-04 三星电子株式会社 Method and apparatus for transmitting/receiving information in internet protocol network
CN103490981A (en) * 2013-09-11 2014-01-01 曹欢欢 Information pushing method and device across mobile applications

Also Published As

Publication number Publication date
CN107229528A (en) 2017-10-03
WO2018219061A1 (en) 2018-12-06

Similar Documents

Publication Publication Date Title
CN107229528B (en) Message pushing multiplexing method and device and electronic equipment
CN106933839B (en) Page jump method and device
CN109347934B (en) Message pushing method and system, server, storage medium and electronic device
CN107193609B (en) Function module calling method and device in application and electronic equipment
CN104935500B (en) Friend recommendation method and device based on network call
WO2011006806A1 (en) Reducing processing resources incurred by a user interface
JP6272306B2 (en) Notification method of mobile terminal using a plurality of notification modes and mobile terminal using the method
CN110971596A (en) Message monitoring method and device, electronic equipment and machine-readable storage medium
CN106897162B (en) Communication mode selection method of component in application, communication system and mobile terminal
CN106250536B (en) Method, device and system for setting space page background
CN113568699B (en) Content display method, device, equipment and storage medium
KR20160008552A (en) Web platform with select-to-call functionality
CN111666113A (en) Application program starting management method and device, electronic equipment and storage medium
CN106713395B (en) Data downloading method and device
CN108933947B (en) Bullet screen display method and device
CN107800611B (en) Page switching method and page switching device
CN108287737B (en) Service Worker starting method and device and electronic equipment
CN108460042B (en) Page display method, related equipment and system
CN109587197B (en) Method, device and system for associating reported data
CN104735482A (en) Video pushing implementation method, system and device
CN103916410A (en) Page-loading prompt method and device
CN111381749A (en) Image display and processing method, device, equipment and storage medium
CN106681644B (en) Multi-open application method and system thereof
CN110198264B (en) Processing method and device and electronic equipment
CN106815006B (en) Page calling method and device and page management server

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210723

CF01 Termination of patent right due to non-payment of annual fee