CN110324432B - Data processing method, device and medium applied to terminal and computing equipment - Google Patents

Data processing method, device and medium applied to terminal and computing equipment Download PDF

Info

Publication number
CN110324432B
CN110324432B CN201910697846.8A CN201910697846A CN110324432B CN 110324432 B CN110324432 B CN 110324432B CN 201910697846 A CN201910697846 A CN 201910697846A CN 110324432 B CN110324432 B CN 110324432B
Authority
CN
China
Prior art keywords
push data
data
terminal
initial push
target
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
CN201910697846.8A
Other languages
Chinese (zh)
Other versions
CN110324432A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910697846.8A priority Critical patent/CN110324432B/en
Publication of CN110324432A publication Critical patent/CN110324432A/en
Application granted granted Critical
Publication of CN110324432B publication Critical patent/CN110324432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention provides a data processing method applied to a terminal, where the terminal includes at least one executable application program, and the method includes: receiving initial push data from a server side, and determining a target application program corresponding to the initial push data in at least one application program; responding to the fact that the initial push data comprise a first pattern identification, and determining a target processing mode corresponding to the initial push data; processing the initial push data according to the target processing mode to obtain target push data; and pushing the target push data to the target application program so that the target application program can show the target push data in a notification bar of the terminal. According to the method, the initial push data are processed to obtain the target push data and the target push data are displayed in the notification bar of the terminal, so that the style of the push data is more diversified, and better experience is brought to a user. In addition, the embodiment of the invention provides an apparatus, a medium and a computing device.

Description

Data processing method, device and medium applied to terminal and computing equipment
Technical Field
Embodiments of the present invention relate to the field of computers, and more particularly, to a data processing method applied to a terminal, a data processing apparatus applied to a terminal, a computer-readable storage medium, and a computing device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the whole computer field, the existing APP can push messages to a terminal used by a user, so that the user can conveniently watch or click the pushed messages. In order to improve the push arrival rate of the message, the existing APP generally pushes the message through a vendor push channel provided by a vendor of the terminal, and when the terminal receives the push message, the terminal immediately displays the received push message to a notification bar of the terminal through the vendor push channel.
Currently, some ways of pushing messages to terminals have emerged. However, in implementing the concept of the present disclosure, the inventors found that at least the following problems exist in the related art: since the vendor push channel generally only provides a simpler message push style, for example, only an application icon, a line of title, a line of content, and the like, the APP cannot flexibly set the message push style required for production. In addition, the discordant message pushing style cannot attract the user to click, and the click rate of the pushed message is reduced.
In view of the above problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
In the prior art, when a message is pushed through a manufacturer push channel, personalized processing cannot be performed on the pushed message, that is, the manufacturer push channel only provides a simpler message push style, so that an APP cannot flexibly set a message push style required by production, and the simple message push style cannot attract a user to click.
Therefore, in the prior art, when a message is pushed through a manufacturer push channel, the APP cannot flexibly set a message notification style required for production, and a simple message push style cannot attract a user to click is a very annoying process.
Therefore, an improved data processing method applied to the terminal is very needed to achieve personalized processing on the pushed data to obtain target pushed data and display the target pushed data in a notification bar of the terminal, so that the styles of the pushed data are more diversified, and better experience is brought to users.
In this context, embodiments of the present invention are intended to provide a data processing method, apparatus, medium, and computing device.
In a first aspect of embodiments of the present invention, there is provided a data processing method applied to a terminal including at least one executable application program, the method including: receiving initial push data from a server, determining a target application program corresponding to the initial push data in the at least one application program, responding to the fact that the initial push data comprise a first pattern identifier, determining a target processing mode corresponding to the initial push data, processing the initial push data according to the target processing mode to obtain target push data, and pushing the target push data to the target application program so that the target application program can display the target push data in a notification bar of the terminal, wherein the target push data is used for indicating a user to perform corresponding operation on the target application program.
In one embodiment of the invention, the terminal comprises an auxiliary channel and an original channel; the receiving of the initial push data from the server side includes: receiving initial push data from the server end through the auxiliary channel in response to the initial push data comprising the first style identification, receiving initial push data from the server end through the original channel in response to the initial push data comprising the second style identification, and displaying the initial push data comprising the second style identification in the notification bar.
In another embodiment of the present invention, the method further comprises: and in response to the auxiliary channel and the server terminal being in a disconnected state, receiving activation data from the server terminal through the original channel, and establishing connection between the auxiliary channel and the server terminal based on the activation data.
In another embodiment of the present invention, the activation data includes at least one of an activation instruction and initial push data having the second style identification, and the establishing the connection between the auxiliary channel and the server side based on the activation data includes at least one of: when the activation data comprises the activation instruction, the activation instruction is sent to the auxiliary channel through the original channel so as to establish connection between the auxiliary channel and the server side through the auxiliary channel based on the activation instruction, and when the activation data comprises initial push data with the second style identification, the initial push data with the second style identification is displayed in the notification bar through the original channel so as to establish connection between the auxiliary channel and the server side when the terminal monitors the initial push data with the second style identification displayed in the notification bar.
In another embodiment of the present invention, the method further comprises: and responding to the condition that the number of times of receiving the initial push data by the original channel is larger than a first preset number of times, receiving the initial push data with the second style identification from the server side through the auxiliary channel, and sending the initial push data with the second style identification to the notification bar for displaying.
In another embodiment of the present invention, the initial push data with the first pattern identifier further includes an application identifier of the target application program; the method further comprises the following steps: the terminal identification of the terminal is collected through the auxiliary channel, the terminal identification is sent to the server side, the application identification of the at least one application program received by the auxiliary channel is sent to the server side, the application identification is associated with the terminal identification, so that the server side can determine the associated terminal identification based on the application identification of the target application program in the initial push data with the first pattern identification, and the server side can send the initial push data with the first pattern identification to the terminal based on the terminal identification.
In another embodiment of the present invention, the initial push data with the first pattern identifier further includes a user identifier of a target user, where the target user includes a user registered in the target application; the method further comprises the following steps: sending the user identification of the first user received by the auxiliary channel to the server side, wherein the first user comprises a user registered in the at least one application program, and the user identification of the first user is associated with the application identification of the at least one application program and the terminal identification, so that the server side determines the associated terminal identification based on the user identification of the target user in the initial push data with the first pattern identification, and the server side sends the initial push data to the terminal based on the terminal identification.
In another embodiment of the present invention, the method further comprises: responding to the notification bar to receive initial push data from the original channel, determining an application identifier of the target application program in the initial push data, and sending the non-unloading information of the target application program to the server side through the auxiliary channel; and in response to that the number of times that the server side sends the initial push data to the original channel reaches a second preset number of times and the server side does not receive the uninstalled information from the auxiliary channel, instructing the server side to delete the terminal identifier of the terminal.
In a second aspect of embodiments of the present invention, there is provided a data processing apparatus for application to a terminal including at least one application executable, the apparatus comprising: the device comprises a first receiving module, a determining module, a processing module and a pushing module. The first receiving module receives initial push data from a server and determines a target application program corresponding to the initial push data in the at least one application program. The determining module is used for responding to the fact that the initial pushing data comprises a first pattern identification, and determining a target processing mode corresponding to the initial pushing data. And the processing module is used for processing the initial push data according to the target processing mode to obtain target push data. The pushing module is used for pushing the target pushing data to the target application program so that the target application program can display the target pushing data in a notification bar of the terminal, wherein the target pushing data is used for indicating a user to perform corresponding operation on the target application program.
In one embodiment of the invention, the terminal comprises an auxiliary channel and an original channel; the receiving of the initial push data from the server side includes: receiving initial push data from the server end through the auxiliary channel in response to the initial push data comprising the first style identification, receiving initial push data from the server end through the original channel in response to the initial push data comprising the second style identification, and displaying the initial push data comprising the second style identification in the notification bar.
In another embodiment of the present invention, the apparatus further comprises: a second receiving module and an establishing module. And the second receiving module is used for receiving the activation data from the server end through the original channel in response to the fact that the auxiliary channel is disconnected from the server end. And the establishing module is used for establishing the connection between the auxiliary channel and the server side based on the activation data.
In another embodiment of the present invention, the activation data includes at least one of an activation instruction and initial push data having the second style identification, and the establishing the connection between the auxiliary channel and the server side based on the activation data includes at least one of: when the activation data comprises the activation instruction, the activation instruction is sent to the auxiliary channel through the original channel so as to establish connection between the auxiliary channel and the server side through the auxiliary channel based on the activation instruction, and when the activation data comprises initial push data with the second style identification, the initial push data with the second style identification is displayed in the notification bar through the original channel so as to establish connection between the auxiliary channel and the server side when the terminal monitors the initial push data with the second style identification displayed in the notification bar.
In another embodiment of the present invention, the apparatus further comprises: and the third receiving module responds to the condition that the number of times of receiving the initial push data by the original channel is greater than a first preset number of times, receives the initial push data with the second style identification from the server side through the auxiliary channel, and sends the initial push data with the second style identification to the notification bar for displaying.
In another embodiment of the present invention, the initial push data with the first pattern identifier further includes an application identifier of the target application program; the device further comprises: the device comprises a first sending module and a second sending module. The first sending module collects the terminal identification of the terminal through the auxiliary channel and sends the terminal identification to the server side. The second sending module is used for sending the application identifier of the at least one application program received by the auxiliary channel to the server side, wherein the application identifier is associated with the terminal identifier, so that the server side determines the associated terminal identifier based on the application identifier of the target application program in the initial push data with the first pattern identifier, and the server side sends the initial push data with the first pattern identifier to the terminal based on the terminal identifier.
In another embodiment of the present invention, the initial push data with the first pattern identifier further includes a user identifier of a target user, where the target user includes a user registered in the target application; the device further comprises: and a third sending module, configured to send a user identifier of a first user received by the auxiliary channel to the server, where the first user includes a user registered in the at least one application program, and the user identifier of the first user is associated with the application identifier of the at least one application program and the terminal identifier, so that the server determines the associated terminal identifier based on the user identifier of the target user in the initial push data with the first pattern identifier, so that the server sends the initial push data to the terminal based on the terminal identifier.
In another embodiment of the present invention, the apparatus further includes: a fourth sending module and a fifth sending module. The fourth sending module, in response to the notification bar receiving the initial push data from the original channel, determines the application identifier of the target application program in the initial push data, and sends the non-unloading information of the target application program to the server side through the auxiliary channel. And a fifth sending module, configured to instruct the server to delete the terminal identifier of the terminal when the number of times that the server sends the initial push data to the original channel reaches a second preset number of times and the server does not receive the uninstalled information from the auxiliary channel.
In a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon executable instructions which, when executed by a processing unit, cause the processing unit to perform a method as any one of the above.
In a fourth aspect of embodiments of the present invention, there is provided a computing device comprising: a processing unit; and a storage unit storing computer-executable instructions for performing the method of any one of the above-described aspects at the processing unit.
The method, the device, the medium and the computing equipment can achieve personalized processing on the pushed data to obtain the target pushed data and display the target pushed data on the notification bar of the terminal, so that the styles of the pushed data are more diversified, and better experience is brought to users.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically shows an exemplary system architecture of a data processing method applied to a terminal and an apparatus thereof according to an embodiment of the present invention;
fig. 2 schematically shows a flowchart of a data processing method applied to a terminal according to an embodiment of the present invention;
FIG. 3 schematically shows a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 4 schematically shows a program product for implementing data processing according to an embodiment of the present invention;
fig. 5 schematically shows a block diagram of a data processing apparatus applied to a terminal according to an embodiment of the present invention; and
FIG. 6 schematically illustrates a computing device for implementing data processing in accordance with such an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as an apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a method, a device, a medium and a computing device for data processing applied to a terminal are provided.
In this document, it is to be understood that any number of elements in the figures are provided by way of illustration and not limitation, and any nomenclature is used for differentiation only and not in any limiting sense.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that personalized processing cannot be performed on the push message when the message is pushed through a manufacturer push channel in the prior art, namely, the manufacturer push channel only provides a simpler message push style, so that an APP (application) cannot flexibly set a message notification style required by production, and the simple message push style cannot attract a user to click. In addition, the data processing method applied to the terminal provided by the embodiment of the invention can realize personalized processing on the pushed data to obtain the target pushed data and display the target pushed data in the notification bar of the terminal, so that the styles of the pushed data are more diversified, and better experience is brought to users
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
First, an exemplary system architecture of a data processing method applied to a terminal and an apparatus thereof according to an embodiment of the present invention is described in detail with reference to fig. 1.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the data processing method applied to the terminal provided by the embodiment of the present invention may be generally executed by the server 105. Accordingly, the data processing apparatus applied to the terminal provided by the embodiment of the present invention may be generally disposed in the server 105. The data processing method applied to the terminal provided by the embodiment of the present invention may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, and 103 and/or the server 105. Accordingly, the data processing apparatus applied to the terminal provided by the embodiment of the present invention may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Exemplary method
A method of data processing applied to a terminal according to an exemplary embodiment of the present invention is described below with reference to fig. 2 and 3 in conjunction with the system architecture of fig. 1. It should be noted that the above-described system architecture is only shown for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Fig. 2 schematically shows a flowchart of a data processing method applied to a terminal according to an embodiment of the present invention.
As shown in fig. 2, the method is applied to a terminal including at least one application program that can be executed. The method includes operations S210 to S240.
In operation S210, initial push data from the server is received, and a target application corresponding to the initial push data in the at least one application is determined.
According to the embodiment of the invention, the terminal can be a mobile phone, a tablet and other devices. The terminal has, for example, a plurality of Applications (APPs). The server side comprises for example a server of an application provider. Taking an application program as an example of a music playing APP, the server side includes, for example, a server of a music playing APP provider. After the terminal receives the initial push data from the server, the target application program corresponding to the initial push data can be determined. For example, when the initial push data is pushed by a server of a music playing APP, the target application program corresponding to the initial push data is the music playing APP.
In operation S220, in response to the initial push data including the first pattern identity, a target processing mode corresponding to the initial push data is determined.
In the embodiment of the present invention, the initial push data generally has a pattern identifier for characterizing data processing, for example, the pattern identifier includes a first pattern identifier for characterizing that the initial push data needs to be personalized. The personalization processing includes, for example, adding a picture, adding music, adding a music play button, adding a video play button, and the like to the initial push data. Therefore, after the terminal receives the initial push data, the terminal may determine whether the initial push data has the first pattern identifier, and if the initial push data has the first pattern identifier, determine a target processing mode for processing the initial push data. The target processing mode may include, for example, a processing mode of adding a picture, adding music, adding a music play button, or adding a video play button.
In operation S230, the initial push data is processed according to the target processing mode to obtain target push data.
In the embodiment of the present invention, after determining the target processing mode for processing the initial push data, the initial push data is personalized by the target processing mode, so as to obtain the target push data including, for example, pictures, music play buttons, video play buttons, and the like.
In operation S240, the target push data is pushed to the target application program, so that the target application program can display the target push data in a notification bar of the terminal, where the target push data is used to instruct a user to perform a corresponding operation on the target application program.
According to the embodiment of the invention, after the target push data is obtained through processing, the target push data can be pushed to the target application program of the terminal, and the target application program pushes the target push data to the notification bar of the terminal for displaying. For example, taking a target application program as a music playing APP, when the target push data includes a music playing button, after the music playing APP pushes the target push data to the notification bar for display, the user may perform corresponding operation on the music playing APP through the target push data, for example, the user may click the music playing button in the target push data, and the music playing APP performs music playing in response to the click of the user.
The technical scheme of the embodiment of the invention provides an individualized processing method of initial push data, and after target push data is obtained by individualized processing of the initial push data, the target push data is displayed in a notification bar of a terminal, so that a user can conveniently perform corresponding operation on a target application program according to the target push data. Therefore, the target push data is obtained by performing personalized processing on the initial push data in the embodiment of the invention, so that the style of the target push data displayed in the notification bar is more diversified, a user can conveniently perform corresponding operation on the target application program through the target push data, and better experience is brought to the process of using the target application program by the user.
FIG. 3 schematically shows a schematic diagram of a data processing system according to an embodiment of the present invention.
Those skilled in the art will appreciate that the data processing system depicted in FIG. 3 is exemplary only and that embodiments of the present invention are not limited in this respect. The data processing method shown in fig. 2 may be implemented using the data processing system shown in fig. 3. Next, an example method according to an embodiment of the invention will be described in connection with fig. 2 and 3.
As shown in FIG. 3, data processing system 300 includes, for example, a terminal and a server. The terminal includes, for example, a secondary channel 310, a primary channel 320, an application 330, and a notification bar 340. The server side includes, for example, an application server 350, a generic push gateway 360, a terminal vendor push gateway 370, and a statistics back-end 380. The auxiliary channel 310 includes, for example, a message routing module 311, a message deduplication module 312, a message pattern processing module 313, and a statistics reporting module 314. The functions performed by the respective components according to the embodiment of the present invention shown in fig. 3 will be explained in detail next.
In an embodiment of the present invention, the auxiliary channel 310 may be, for example, a tool kit, which may be bound to an application, for example, and the auxiliary channel 310 is loaded in the terminal when a user downloads the application and installs the application on the terminal. After the auxiliary channel 310 is loaded in the terminal, a plurality of applications in the terminal can use the auxiliary channel 310. Wherein the auxiliary channel 310 may run, for example, in a separate process of the terminal upon the start of any one of the plurality of applications. In addition, the original channel 320 is, for example, a vendor push channel provided by a terminal vendor.
In an embodiment of the present invention, the operation S210 may include, for example: the method further includes receiving the initial push data from the server side through the secondary channel 310 in response to the initial push data including the first style identification, and receiving the initial push data from the server side through the primary channel 320 in response to the initial push data including the second style identification, and presenting the initial push data including the second style identification in the notification bar 340. The auxiliary channel 310 may be used to personalize the primary push data with the first pattern identifier. In addition, the second style identifier is, for example, a simple style identifier, and the initial push data with the second style identifier does not need to be personalized, and can be directly sent from the original channel 320 to the notification bar 340 of the terminal for display.
Specifically, for example, the initial push data is generated by the application server 350, the application server 350 sends the initial push data to the universal push gateway 360, the universal push gateway 360 determines the style identifier in the initial push data, and if the initial push data has the first style identifier, the universal push gateway 360 pushes the initial push data having the first style identifier to the auxiliary channel 310 for personalization processing. For example, after the auxiliary channel 310 receives the initial push data with the first pattern identifier, the message deduplication module 312 filters the duplicate data, the message pattern module 313 performs personalization processing to generate target push data, the message routing module 311 further analyzes a target application program pointed by the target push data, and finally the message routing module 311 pushes the target push data to the target application program, so that the target application program displays the target push data in the notification bar 340.
If the initial push data has the second style identification, the general push gateway 360 pushes the initial push data having the second style identification to the terminal vendor push gateway 370, the terminal vendor push gateway 370 pushes the initial push data having the second style identification to the original channel 320, and the original channel 320 pushes the initial push data having the second style identification to the notification bar 340 for display.
According to the embodiment of the invention, the auxiliary channel 310 is combined with the original channel 320 to push data, that is, the data pushing efficiency is greatly improved by a dual-channel data pushing mode. For example, the auxiliary channel 310 may meet personalized requirements of data, and due to the characteristic of fast arrival of the original channel 320, the original channel 320 may realize fast pushing of data that does not need to be personalized, so as to improve the pushing efficiency of data.
According to the embodiment of the present invention, before the universal push gateway 360 pushes the initial push data with the first pattern identifier to the auxiliary channel 310, it needs to first determine whether the auxiliary channel 310 is in a connected state with the server side. If the secondary channel 310 is in a connected state with the server side, the generic push gateway 360 may push the initial push data with the first pattern identification to the secondary channel 310, otherwise the generic push gateway 360 cannot push the initial push data with the first pattern identification to the secondary channel 310. Therefore, if the secondary channel 310 is disconnected from the server side, the secondary channel 310 needs to be activated before the secondary channel 310 can receive the initial push data with the first pattern identification.
Specifically, when the secondary channel 310 is disconnected from the server, the terminal may receive activation data from the server through the primary channel 320 and establish a connection between the secondary channel 310 and the server based on the activation data. For example, when the secondary channel 310 is disconnected from the server side, the universal push gateway 360 may send activation data to the terminal vendor push gateway 370, and the terminal vendor push gateway 370 sends the activation data to the original channel 320 in the terminal, so that the terminal may establish a connection between the secondary channel 310 and the server side based on the activation data. The connection between the auxiliary channel 310 and the server side established by the terminal according to the activation data includes at least two ways. When the activation data includes an activation instruction, establishing a connection between the auxiliary channel 310 and the server side based on the activation instruction is one way, and when the activation data includes initial push data having a second style identification, establishing a connection between the auxiliary channel 310 and the server side based on the initial push data having the second style identification is another way. The two ways are described as follows.
According to an embodiment of the present invention, one way is: when the activation data comprises an activation instruction, the activation instruction is sent to the secondary channel 310 via the primary channel 320, so that a connection between the secondary channel 310 and the server side is established based on the activation instruction.
For example, the generic push gateway 360 may send an activation command to the terminal vendor push gateway 370, and the terminal vendor push gateway 370 sends the activation command to the original channel 320, and the original channel 320 sends the activation command to the auxiliary channel 310 to activate the auxiliary channel 310. Wherein, for example, the auxiliary channel 310 may establish a connection between the auxiliary channel 310 and the generic push gateway 360 after receiving the activation instruction.
According to the embodiment of the invention, the other mode is as follows: when the activation data includes the initial push data with the second style identification, the initial push data with the second style identification is displayed in the notification bar 340 through the original channel 320, so that the terminal establishes a connection between the auxiliary channel 310 and the server side when listening to the initial push data with the second style identification displayed in the notification bar 340.
For example, the universal pushing gateway 360 may send the initial pushing data with the second style identification to the terminal vendor pushing gateway 370, and the terminal vendor pushing gateway 370 pushes the initial pushing data with the second style identification to the original channel 320, and then the original channel 320 sends the initial pushing data with the second style identification to the notification bar 340 for displaying. When the terminal hears the initial push data with the second style identification presented in the notification bar 340, a connection between the secondary channel 310 and the generic push gateway 360 is established.
In the embodiment of the present invention, for the initial push data with the second style identification, the universal push gateway 360 may push the initial push data with the second style identification to the terminal vendor push gateway 370, and the terminal vendor push gateway 370 pushes the initial push data to the original channel 320, or may push the initial push data with the second style identification to the auxiliary channel 310. In other words, the auxiliary channel 310 supports both pushing of initial push data having a first style identification and pushing of initial push data having a second style identification. However, for the initial push data with the second style identification, the embodiment of the present invention preferentially pushes to the original channel 320 provided by the terminal manufacturer, on one hand, because the original channel 320 can already satisfy the requirement of pushing the initial push data with the second style identification, and on the other hand, in order to fully utilize the permanent survival characteristic and the fast arrival characteristic of the original channel 320 provided by the terminal manufacturer, for example, when the secondary channel 310 is in an inactive state, the opportunity of pushing the initial push data with the second style identification by the original channel 320 may be utilized to activate the secondary channel 310, so as to maintain the normal operation of the secondary channel 310. In addition, when the total amount of the push data of the original channel 320 reaches the upper limit, for the initial push data with the second style identification, the general push gateway 360 will also send the initial push data with the second style identification to the auxiliary channel 310, so as to prevent the failure of sending the initial push data with the second style identification due to the total amount of the push data of the original channel 320 reaching the upper limit. For example, when the total amount of the push data of the original channel 320 reaches the upper limit, the application server 350 may directly send the initial push data with the second style identification to the generic push gateway 360, and the generic push gateway 360 sends the initial push data with the second style identification to the secondary channel 310.
For example, when the number of times that the original channel 320 receives the initial push data with the second style identification is greater than a first preset number of times (the first preset number of times is, for example, the total number of times that the original channel 320 can push data on the same day), the terminal receives the initial push data with the second style identification from the server (for example, the universal push gateway 360) through the auxiliary channel 310, and after the auxiliary channel 310 receives the initial push data with the second style identification, the message routing module 311 in the auxiliary channel 310 may directly send the initial push data with the second style identification to the notification bar 340 for presentation without performing personalization processing.
According to the embodiment of the present invention, when the server side pushes the initial push data with the first pattern identifier to the auxiliary channel 310, two push manners may be included. The first push mode may be that the server determines a corresponding terminal identifier according to an application identifier included in the initial push data having the first pattern identifier, and sends the initial push data having the first pattern identifier to a terminal corresponding to the terminal identifier. In addition, the second push mode may be that the server determines a corresponding terminal identifier according to the user identifier and the application identifier in the initial push data with the first pattern identifier, and sends the initial push data with the first pattern identifier to the terminal corresponding to the terminal identifier. It can be understood that, when the number of times that the original channel 320 receives the initial push data with the second style identification is greater than the first preset number of times, the server may also push the initial push data with the second style identification to the auxiliary channel 310 through the above two push manners. Two push manners are specifically described below by taking an example that the server side pushes the initial push data with the first pattern identifier to the auxiliary channel 310.
For the first push mode, the initial push data with the first pattern identifier in the embodiment of the present invention may include an application identifier of the target application program. Before the server side pushes the initial push data with the first pattern identifier to the terminal, the terminal firstly collects the terminal identifier of the terminal through the auxiliary channel 310 and sends the terminal identifier to the server side, and then the terminal sends the application identifier, received by the auxiliary channel 310 from at least one application program of the application programs 330, to the server side, wherein the application identifier is associated with the terminal identifier.
For example, taking a terminal as the terminal 1 as an example, the terminal identifier of the terminal 1 is, for example, a1The multiple application programs in the terminal 1 are exemplified by a music playing APP and a video playing APP, for example, the application identifier of the music playing APP is b1The application identifier of the video playing APP is b2. Wherein, the auxiliary channel 310 collects the terminal identifier a of the terminal 11And sent to the generic push gateway 360. Music playing APP will apply identification b1Sent to the auxiliary channel 310, the video playing APP identifies the application b2Sent to the auxiliary channel 310 and the application identification b is identified by the auxiliary channel 3101、b2To the generic push gateway 360. The terminal identity and the application identity are then stored in association by the generic push gateway 360, e.g. the terminal identity a is stored in association1And an application identifier b1Associatively storing the terminal identification a1And an application identifier b2
According to the embodiment of the invention, when the server side needs to push the initial push data with the first pattern identifier to the terminal, the server side can determine the associated terminal identifier based on the application identifier of the target application program in the initial push data with the first pattern identifier, so that the server side sends the initial push data with the first pattern identifier to the terminal corresponding to the terminal identifier based on the terminal identifier.
For example, taking the target application as the music playing APP,the application server 350 pushes the initial push data with the first pattern identifier to the universal push gateway 360, because the initial push data with the first pattern identifier has the application identifier b1The general push gateway 360 may store the terminal identifier a according to the association1And an application identifier b1Pushing the initial push data with the first pattern identification to the terminal identification a1The auxiliary channel 310 of the terminal 1 corresponds to the first pattern identifier, the auxiliary channel 310 of the terminal 1 performs personalization processing on the initial push data with the first pattern identifier to obtain target push data, and then the target push data is pushed to the application identifier b1And finally, pushing the target push data to the notification bar 340 by the music playing APP for displaying according to the corresponding music playing APP.
For the second push mode, on the basis of the first push mode, the initial push data with the first pattern identifier of the embodiment of the present invention further includes a user identifier of a target user, and the target user includes a user registered in the target application program. The terminal sends the user identifier of the first user received by the auxiliary channel 310 to the server, where the first user includes a user registered in at least one application program, and the user identifier of the first user is associated with the application identifier of the at least one application program and the terminal identifier.
For example, taking the terminal includes the terminal 1 and the terminal 2 as an example, the terminal identifiers of the terminal 1 and the terminal 2 are respectively a1、a2For example, the terminal 1 and the terminal 2 both include a music playing APP (application identifier b)1). Wherein, user 1 registers in music playing APP through terminal 1, user 2 registers in music playing APP through terminal 2, and user 1's user identification is c1User 2 has a user identifier of c2. Wherein, the music playing APP in the terminal 1 identifies the user identifier c of the user 11To the auxiliary channel 310 in terminal 1 and the user identification c is transmitted by the auxiliary channel 310 in terminal 11Sending the terminal identifier to the general push gateway 360, and storing the terminal identifier a by the general push gateway 360 in association1Application identifier b1And a subscriber identity c1. Similarly, music playing in terminal 2Playing APP identifies user 2 user identity c2Sent to the secondary channel 310 in terminal 2 and the user identification c is transmitted by the secondary channel 310 in terminal 22Sending the terminal identifier to the general push gateway 360, and storing the terminal identifier a by the general push gateway 360 in association2Application identifier b2And a subscriber identity c2
According to the embodiment of the invention, when the server side needs to push the initial push data with the first pattern identification to the terminal, the server side determines the associated terminal identification based on the user identification of the target user in the initial push data with the first pattern identification, so that the server side sends the initial push data to the terminal based on the terminal identification.
For example, taking the target user as user 1 as an example, when the server needs to push the initial push data with the first pattern identifier to user 1 in a targeted manner, the application server 350 pushes the initial push data with the first pattern identifier to the universal push gateway 360, because the initial push data with the first pattern identifier has the user identifier c1And an application identifier b1The general push gateway 360 stores the terminal identifier a according to the association1Application identifier b1And a subscriber identity c1Pushing the initial push data with the first pattern identifier to the terminal identifier a1The auxiliary channel 310 in the terminal 1 corresponds to the first pattern identifier, the auxiliary channel 310 in the terminal 1 performs personalization processing on the initial push data with the first pattern identifier to obtain target push data, and then the target push data is pushed to the application identifier b1And finally, pushing the target push data to the notification bar 340 by the music playing APP for displaying according to the corresponding music playing APP.
According to the embodiment of the invention, the push coverage of the first push mode is wide, and the server side can push the initial push data with the first pattern identification to the terminal corresponding to the target application program, so that the data can be pushed in a large range. Furthermore, some push data are specific to a specific user, so the second push mode can specifically push the initial push data with the first pattern identifier to the terminal corresponding to the target user, so as to realize the specific push of data.
According to the embodiment of the present invention, when the notification bar 340 receives the initial push data with the second style identifier pushed from the original channel 320, because the initial push data with the second style identifier has the application identifier of the target application, after determining the application identifier in the initial push data with the second style identifier, the terminal may send the un-unloaded information of the target application to the server through the auxiliary channel 310, for example, the statistics reporting module 314 in the auxiliary channel 310 may report the un-unloaded information of the target application to the general push gateway 360, so that the subsequent statistics background 380 reads the un-unloaded information from the general push gateway 360 to determine whether the target application is unloaded.
Since the original channel 320 is a channel provided by a terminal manufacturer, the original channel 320 has a function of knowing whether the target application is uninstalled. When the target application is uninstalled, the original channel 320 will not push the initial push data with the second style identification to the notification bar 340 for display. Therefore, if the server sends the initial push data with the second style identifier to the original channel 320 a second preset number of times and the server does not receive the un-unloaded information from the auxiliary channel 310 (indicating that the original channel 320 does not push the initial push data with the second style identifier to the notification bar 340 for presentation due to the target application being unloaded), the terminal may instruct the server to delete the terminal identifier of the terminal. For example, the number of times that the general push gateway 360 sends the initial push data with the second style identifier to the original channel 320 reaches a preset number (for example, the preset number is 30), and the general push gateway 360 does not receive the un-uninstalled information of the target application program, then the general push gateway 360 considers that the target application program is uninstalled, then the general push gateway 360 deletes the terminal identifier stored in itself, and then does not push a message to the terminal corresponding to the terminal identifier.
Because the application program itself cannot know whether the application program itself is uninstalled at present, there is no effective method in the related art to determine whether the application program is uninstalled. Therefore, the embodiment of the present invention can more reliably determine whether the application program is uninstalled by using the advantages of rapidity and validity of pushing data in the original channel 320.
According to the embodiment of the invention, after the terminal receives the initial push data with the first style identification or the initial push data with the second style identification from the server, the feedback data is generated and sent to the server, so that the server is informed that the initial push data with the first style identification or the initial push data with the second style identification has been received. Thereafter, the terminal may present target push data corresponding to the initial push data having the first style identification in the notification bar 340 or present the initial push data having the second style identification in the notification bar 340. After the user clicks the push data displayed in the notification bar 340, the terminal may report the click operation to the server side through the statistical reporting module 314, so that the server side calculates the arrival rate and the click rate of the initial push data with the first style identification or the initial push data with the second style identification based on the feedback data and the click operation.
For example, after the terminal receives the click operation performed by the user with respect to the initial push data or the target push data with the second style identifier displayed in the notification bar 340, the terminal notifies the application 330 of the click operation of the user, the application 330 notifies the auxiliary channel 310 of the click operation, the statistics reporting module 314 in the auxiliary channel 310 reports the click operation to the general push gateway 360, and the statistics backend 380 in the server reads the click operation in the general push gateway 360.
In the embodiment of the present invention, the statistics back-end 380 may calculate an arrival rate and a click-through rate of the initial push data with the second style identification, or calculate an arrival rate and a click-through rate of the target push data, and may further calculate an arrival rate and a click-through rate of the initial push data with the second style identification and the target push data. For example, when the server side sends 100 pieces of initial push data with the second style identification and 50 pieces of initial push data with the first style identification to the terminal, and after the terminal receives 90 pieces of initial push data with the second style identification and 40 pieces of initial push data with the first style identification, it may be determined that the arrival rate of the initial push data with the second style identification is 90/100 ═ 90%, the arrival rate of the initial push data with the first style identification is 40/50 ═ 80%, and the arrival rates of the initial push data with the first style identification and the initial push data with the second style identification are (90+40)/(100+50) × 86.7%.
If the user clicks 60 of the 90 initial push data with the second style identification and 30 of the 40 target push data, the click rate of the initial push data with the second style identification is 60/90-66.7%, the click rate of the target push data is 30/40-75%, and the click rates of the initial push data with the second style identification and the target push data are (60+30)/(90+40) -69.2%.
The universal pushing gateway 360 of the embodiment of the invention can be connected with a plurality of terminals, is convenient for counting the arrival rate and click rate of the pushing data of different terminals obtained by the background 380, is convenient for counting the arrival rate and click rate of the data pushing of the original channel 320 provided by different manufacturers and the arrival rate and click rate of the data pushing of different application programs, and is helpful for helping operators to improve the data pushing scheme. In addition, it is also possible to perform failure diagnosis and failure removal based on the arrival rate and click rate of the push data.
According to the embodiment of the present invention, the general push gateway 360 may determine the operation state of the application according to the operation state of the auxiliary channel 310 and the display interface of the application. The running state of the application program includes, for example: in foreground running state, in background and non-running state. When the application program is in a foreground running state, the user can see the display interface of the application program. When the application program is in the background running state, the user can not see the display interface of the application program. When the application program connected to the auxiliary channel 310 is in a background running state for a long time, the application program stops running due to insufficient memory of the terminal system, and the auxiliary channel 310 is disconnected from the general push gateway 360. Thus, when the auxiliary channel 310 is disconnected from the generic push gateway 360, it may be determined that the application is out of service and in a background and non-running state.
For example, when the auxiliary channel 310 is connected to the general push gateway 360 and the display interface of the application is displayed on the terminal, it indicates that the application is in a foreground operating state. When the auxiliary channel 310 and the universal push gateway 360 are in a connected state and a display interface of the application program is not displayed on the terminal, it indicates that the application program is in a background running state. When the auxiliary channel 310 is disconnected from the general push gateway 360, it indicates that the application is in a background and non-running state.
When the application program is in a foreground running state or a background running state, the general push gateway 360 may send the initial push data with the first pattern identifier to the auxiliary channel 310, the auxiliary channel 310 may perform deduplication processing on the initial push data with the first pattern identifier through the message deduplication module 312, perform personalization processing through the message pattern processing module 313 to obtain target push data, and finally push the target push data to the application program 330 through the message routing module 311, and push the target push data to the notification bar 340 for display by the application program 330.
When the application program is in a foreground running state, when the auxiliary channel 310 receives the initial push data with the first pattern identifier, the auxiliary channel 310 may trigger the display interface of the application program to update, so that the updated display interface of the application program may display the content related to the target push data, and the interaction possibility between the user and the display interface of the application program is improved.
Exemplary Medium
Having described the method of an exemplary embodiment of the present invention, a computer-readable storage medium of an exemplary embodiment of the present invention is described next with reference to fig. 4. The computer-readable storage medium stores computer-executable instructions, which when executed by the processing unit, implement the data processing method applied to the terminal according to any one of the above method embodiments.
In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product including program code for causing a computing device to perform the steps in the data processing method applied to a terminal according to various exemplary embodiments of the present invention described in the above section "exemplary method" of this specification when the program product is run on the computing device, for example, the computing device may perform operation S210 as shown in fig. 2: receiving initial push data from a server side, and determining a target application program corresponding to the initial push data in at least one application program; operation S220: responding to the fact that the initial push data comprise a first pattern identification, and determining a target processing mode corresponding to the initial push data; operation S230: processing the initial push data according to the target processing mode to obtain target push data; operation S240: and pushing the target push data to the target application program so that the target application program can display the target push data in a notification bar of the terminal, wherein the target push data is used for indicating a user to perform corresponding operation on the target application program.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 4, a program product 40 for implementing data processing according to an embodiment of the present invention is depicted, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary devices
Having described the medium of an exemplary embodiment of the present invention, a data processing apparatus applied to a terminal of an exemplary embodiment of the present invention will be described next with reference to fig. 5 and 6.
Fig. 5 schematically shows a block diagram of a data processing apparatus applied to a terminal according to an embodiment of the present invention.
As shown in fig. 5, the data processing apparatus 500 applied to the terminal may include a first receiving module 510, a determining module 520, a processing module 530, and a pushing module 540.
The first receiving module 510, for example, performs operation S210 described above with reference to fig. 2, receives the initial push data from the server, and determines a target application corresponding to the initial push data in the at least one application.
The determining module 520, for example performing operation S220 described above with reference to fig. 2, is responsive to the initial push data including the first pattern identification and determining a target processing mode corresponding to the initial push data.
The processing module 530, for example, performs operation S230 described above with reference to fig. 2, and the processing module processes the initial push data according to the target processing mode to obtain the target push data.
The pushing module 540, for example, executing operation S240 described above with reference to fig. 2, pushes the target push data to the target application so that the target application can display the target push data in the notification bar of the terminal, where the target push data is used to instruct the user to perform a corresponding operation on the target application.
In one embodiment of the invention, a terminal comprises an auxiliary channel and an original channel; receiving initial push data from a server side, including: the method comprises the steps of receiving initial push data from a server end through an auxiliary channel in response to the initial push data comprising a first style identification, receiving the initial push data from the server end through an original channel in response to the initial push data comprising a second style identification, and displaying the initial push data comprising the second style identification in a notification bar.
In another embodiment of the present invention, the apparatus further comprises: a second receiving module and an establishing module. And the second receiving module is used for receiving the activation data from the server end through the original channel in response to the auxiliary channel and the server end being in a disconnected state. And the establishing module is used for establishing the connection between the auxiliary channel and the server side based on the activation data.
In another embodiment of the present invention, the activation data includes at least one of an activation instruction and initial push data having a second style identification, and the connection between the auxiliary channel and the server side is established based on the activation data, and includes at least one of: when the activation data comprises the activation instruction, the activation instruction is sent to the auxiliary channel through the original channel so as to establish connection between the auxiliary channel and the server side through the auxiliary channel based on the activation instruction, and when the activation data comprises the initial push data with the second style identification, the initial push data with the second style identification is displayed in the notification bar through the original channel so as to establish connection between the auxiliary channel and the server side when the terminal monitors the initial push data with the second style identification displayed in the notification bar.
In another embodiment of the present invention, the apparatus further comprises: and the third receiving module responds that the number of times of receiving the initial push data by the original channel is greater than the first preset number of times, receives the initial push data with the second style identification from the server side through the auxiliary channel, and sends the initial push data with the second style identification to the notification bar for displaying.
In another embodiment of the present invention, the initial push data having the first pattern identification further includes an application identification of the target application; the device still includes: the device comprises a first sending module and a second sending module. The first sending module collects the terminal identification of the terminal through the auxiliary channel and sends the terminal identification to the server side. And the second sending module is used for sending the application identifier of at least one application program received by the auxiliary channel to the server side, wherein the application identifier is associated with the terminal identifier, so that the server side determines the associated terminal identifier based on the application identifier of the target application program in the initial push data with the first pattern identifier, and the server side sends the initial push data with the first pattern identifier to the terminal based on the terminal identifier.
In another embodiment of the present invention, the initial push data with the first pattern identifier further includes a user identifier of a target user, and the target user includes a user registered in the target application; the device still includes: and the third sending module is used for sending the user identification of the first user received by the auxiliary channel to the server side, wherein the first user comprises a user registered in at least one application program, and the user identification of the first user is associated with the application identification of the at least one application program and the terminal identification, so that the server side determines the associated terminal identification based on the user identification of the target user in the initial push data with the first pattern identification, and the server side sends the initial push data to the terminal based on the terminal identification.
In another embodiment of the present invention, the apparatus further comprises: a fourth sending module and a fifth sending module. The fourth sending module is used for responding to the initial push data received by the notification bar from the original channel, determining the application identifier of the target application program in the initial push data, and sending the non-unloading information of the target application program to the server side through the auxiliary channel. And the fifth sending module is used for indicating the server to delete the terminal identifier of the terminal when the server responds that the number of times of sending the initial push data to the original channel reaches a second preset number of times and the server does not receive the un-unloaded information from the auxiliary channel.
Since each functional module of the data processing apparatus 500 applied to the terminal according to the exemplary embodiment of the present invention corresponds to the steps of the exemplary embodiment of the information presenting method described above, it is not described herein again.
Exemplary computing device
Having described the method, medium, and apparatus of exemplary embodiments of the present invention, a computing device of exemplary embodiments of the present invention for implementing the data processing method of the present invention is next described with reference to fig. 6.
The embodiment of the invention also provides the computing equipment. As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as an apparatus, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device according to the present invention may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps in the information presentation methods according to various exemplary embodiments of the present invention described in the above section "exemplary methods" of this specification. For example, the processing unit may perform operation S210 as shown in fig. 2: receiving initial push data from a server side, and determining a target application program corresponding to the initial push data in at least one application program; operation S220: responding to the fact that the initial push data comprise a first pattern identification, and determining a target processing mode corresponding to the initial push data; operation S230: processing the initial push data according to the target processing mode to obtain target push data; operation S240: and pushing the target push data to the target application program so that the target application program can display the target push data in a notification bar of the terminal, wherein the target push data is used for indicating a user to perform corresponding operation on the target application program.
A computing device 60 for implementing data processing according to this embodiment of the invention is described below with reference to fig. 6. Computing device 60 as shown in FIG. 6 is only one example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in fig. 6, computing device 60 is embodied in a general purpose computing device. Components of computing device 60 may include, but are not limited to: the at least one processing unit 601, the at least one memory unit 602, and a bus 603 that connects the various system components (including the memory unit 602 and the processing unit 601).
Bus 603 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
The storage unit 602 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)6021 and/or cache memory 6022, and may further include read-only memory (ROM) 6023.
The memory unit 602 may also include a program/utility 6025 having a set (at least one) of program modules 6024, such program modules 6024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Computing device 60 may also communicate with one or more external devices 604 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with computing device 60, and/or with any devices (e.g., router, modem, etc.) that enable computing device 60 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 605. Moreover, computing device 60 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through network adapter 606. As shown, network adapter 606 communicates with the other modules of computing device 60 over bus 603. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computing device 60, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (18)

1. A data processing method applied to a terminal including at least one application program executable, the method comprising:
receiving initial push data from a server side, and determining a target application program corresponding to the initial push data in the at least one application program;
responding to the fact that the initial push data comprises a first pattern identifier, and determining a target processing mode corresponding to the initial push data, wherein the first pattern identifier is used for representing that the initial push data needs to be subjected to personalized processing;
processing the initial push data according to the target processing mode to obtain target push data; and
and pushing the target push data to the target application program so that the target application program can display the target push data in a notification bar of the terminal, wherein the target push data is used for indicating a user to perform corresponding operation on the target application program.
2. The method of claim 1, wherein the terminal comprises a secondary channel and a primary channel; the receiving of the initial push data from the server side includes:
receiving initial push data from the server side through the auxiliary channel in response to the initial push data comprising the first pattern identification; and
and in response to the fact that the initial push data comprise a second style identification, receiving the initial push data from the server side through the original channel, and displaying the initial push data comprising the second style identification in the notification bar.
3. The method of claim 2, further comprising:
receiving activation data from the server side through the original channel in response to the auxiliary channel being in a disconnected state with the server side; and
establishing a connection between the auxiliary channel and the server side based on the activation data.
4. The method according to claim 3, wherein the activation data includes at least one of an activation instruction and initial push data with the second style identification, and the establishing the connection between the auxiliary channel and the server side based on the activation data includes at least one of:
when the activation data comprise the activation instruction, sending the activation instruction to the auxiliary channel through the original channel so as to establish connection between the auxiliary channel and the server side through the auxiliary channel based on the activation instruction; and
when the activation data comprises initial push data with the second style identification, displaying the initial push data with the second style identification in the notification bar through the original channel, so that when the terminal monitors the initial push data with the second style identification displayed in the notification bar, a connection between the auxiliary channel and the server is established.
5. The method of claim 2, further comprising:
and responding to the condition that the number of times of receiving the initial push data by the original channel is larger than a first preset number of times, receiving the initial push data with the second style identification from the server side through the auxiliary channel, and sending the initial push data with the second style identification to the notification bar for displaying.
6. The method of claim 2, wherein the initial push data having the first pattern identity further comprises an application identity of the target application; the method further comprises the following steps:
acquiring a terminal identifier of the terminal through the auxiliary channel, and sending the terminal identifier to the server side;
sending the application identifier of the at least one application program received by the auxiliary channel to the server side, wherein the application identifier is associated with the terminal identifier,
so that the server side determines the associated terminal identification based on the application identification of the target application program in the initial push data with the first pattern identification, so that the server side sends the initial push data with the first pattern identification to the terminal based on the terminal identification.
7. The method of claim 6, wherein the initial push data having the first pattern identity further comprises a user identity of a target user, the target user comprising a user registered with the target application; the method further comprises the following steps:
sending the user identification of the first user received by the auxiliary channel to the server side, wherein the first user comprises a user registered in the at least one application program, the user identification of the first user is associated with the application identification of the at least one application program and the terminal identification,
so that the server side determines the associated terminal identification based on the user identification of the target user in the initial push data with the first pattern identification, so that the server side sends the initial push data to the terminal based on the terminal identification.
8. The method of claim 6, further comprising:
responding to the notification bar to receive initial push data from the original channel, determining an application identifier of the target application program in the initial push data, and sending the non-unloading information of the target application program to the server side through the auxiliary channel;
and in response to that the number of times that the server side sends the initial push data to the original channel reaches a second preset number of times and the server side does not receive the uninstalled information from the auxiliary channel, instructing the server side to delete the terminal identifier of the terminal.
9. A data processing apparatus for application to a terminal, the terminal including at least one application executable, the apparatus comprising:
the first receiving module is used for receiving initial push data from a server side and determining a target application program corresponding to the initial push data in the at least one application program;
the determining module is used for responding that the initial pushing data comprises a first pattern identifier and determining a target processing mode corresponding to the initial pushing data, wherein the first pattern identifier is used for representing that the initial pushing data needs to be subjected to personalized processing;
the processing module is used for processing the initial push data according to the target processing mode to obtain target push data; and
the pushing module is used for pushing the target pushing data to the target application program so that the target application program can display the target pushing data in a notification bar of the terminal, wherein the target pushing data is used for indicating a user to perform corresponding operation on the target application program.
10. The apparatus of claim 9, wherein the terminal comprises a secondary channel and a primary channel; the receiving of the initial push data from the server side includes:
receiving initial push data from the server side through the auxiliary channel in response to the initial push data comprising the first pattern identification; and
and in response to the fact that the initial push data comprise a second style identification, receiving the initial push data from the server side through the original channel, and displaying the initial push data comprising the second style identification in the notification bar.
11. The apparatus of claim 10, further comprising:
the second receiving module is used for responding to the disconnection state of the auxiliary channel and the server end and receiving the activation data from the server end through the original channel; and
and the establishing module is used for establishing the connection between the auxiliary channel and the server side based on the activation data.
12. The apparatus according to claim 11, wherein the activation data includes at least one of an activation instruction and initial push data with the second style identification, and the establishing a connection between the auxiliary channel and the server side based on the activation data includes at least one of:
when the activation data comprise the activation instruction, sending the activation instruction to the auxiliary channel through the original channel so as to establish connection between the auxiliary channel and the server side through the auxiliary channel based on the activation instruction; and
when the activation data comprises initial push data with the second style identification, displaying the initial push data with the second style identification in the notification bar through the original channel, so that when the terminal monitors the initial push data with the second style identification displayed in the notification bar, a connection between the auxiliary channel and the server is established.
13. The apparatus of claim 10, further comprising:
and the third receiving module responds to the condition that the number of times of receiving the initial push data by the original channel is greater than a first preset number of times, receives the initial push data with the second style identification from the server side through the auxiliary channel, and sends the initial push data with the second style identification to the notification bar for displaying.
14. The apparatus of claim 10, wherein the initial push data having the first pattern identity further comprises an application identity of the target application; the device further comprises:
the first sending module is used for collecting the terminal identification of the terminal through the auxiliary channel and sending the terminal identification to the server side;
a second sending module, configured to send the application identifier of the at least one application program received by the auxiliary channel to the server, where the application identifier is associated with the terminal identifier,
so that the server side determines the associated terminal identification based on the application identification of the target application program in the initial push data with the first pattern identification, so that the server side sends the initial push data with the first pattern identification to the terminal based on the terminal identification.
15. The apparatus of claim 14, wherein the initial push data having the first pattern identity further comprises a user identity of a target user, the target user comprising a user registered with the target application; the device further comprises:
a third sending module, configured to send a user identifier of the first user received by the auxiliary channel to the server, where the first user includes a user registered in the at least one application program, and the user identifier of the first user is associated with the application identifier of the at least one application program and the terminal identifier,
so that the server side determines the associated terminal identification based on the user identification of the target user in the initial push data with the first pattern identification, so that the server side sends the initial push data to the terminal based on the terminal identification.
16. The apparatus of claim 14, further comprising:
the fourth sending module is used for responding to the initial push data received by the notification bar from the original channel, determining the application identifier of the target application program in the initial push data, and sending the non-unloading information of the target application program to the server side through the auxiliary channel;
and a fifth sending module, configured to instruct the server to delete the terminal identifier of the terminal when the number of times that the server sends the initial push data to the original channel reaches a second preset number of times and the server does not receive the uninstalled information from the auxiliary channel.
17. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processing unit, cause the processing unit to perform the method of any one of claims 1-8.
18. A computing device, comprising:
a processing unit; and
a storage unit having stored thereon executable instructions that, when executed by the processing unit, cause the processing unit to perform the method of any one of claims 1-8.
CN201910697846.8A 2019-07-30 2019-07-30 Data processing method, device and medium applied to terminal and computing equipment Active CN110324432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910697846.8A CN110324432B (en) 2019-07-30 2019-07-30 Data processing method, device and medium applied to terminal and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910697846.8A CN110324432B (en) 2019-07-30 2019-07-30 Data processing method, device and medium applied to terminal and computing equipment

Publications (2)

Publication Number Publication Date
CN110324432A CN110324432A (en) 2019-10-11
CN110324432B true CN110324432B (en) 2021-10-01

Family

ID=68124996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910697846.8A Active CN110324432B (en) 2019-07-30 2019-07-30 Data processing method, device and medium applied to terminal and computing equipment

Country Status (1)

Country Link
CN (1) CN110324432B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741058A (en) * 2020-05-07 2020-10-02 北京五八信息技术有限公司 Message pushing method and device, electronic equipment and storage medium
CN115188190B (en) * 2022-07-08 2023-09-26 阿波罗智能技术(北京)有限公司 Updating method and device of traffic data processing mode and vehicle-road cooperative system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009097555A3 (en) * 2008-01-30 2009-10-29 Google Inc. Notification of mobile device events
CN102387216A (en) * 2011-11-11 2012-03-21 广东威创视讯科技股份有限公司 Information sharing method and system based on relationship objects
CN103345421A (en) * 2013-06-20 2013-10-09 华为技术有限公司 Method and device for pushing application program
CN103955474A (en) * 2014-03-31 2014-07-30 可牛网络技术(北京)有限公司 Notification message processing method and device
CN104735482A (en) * 2015-03-31 2015-06-24 天脉聚源(北京)传媒科技有限公司 Video pushing implementation method, system and device
EP3163854A1 (en) * 2015-10-29 2017-05-03 Xiaomi Inc. Reduced notifications for same push messages
WO2018082465A1 (en) * 2016-11-02 2018-05-11 北京金山安全软件有限公司 Notification bar message displaying method and apparatus, mobile terminal, and server
CN108804179A (en) * 2018-05-25 2018-11-13 北京小米移动软件有限公司 Show method, apparatus, terminal and the storage medium of notification bar message

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160026323A (en) * 2014-08-29 2016-03-09 삼성전자주식회사 method and apparatus for controlling the notification information based on movement
CN107426079B (en) * 2016-05-24 2020-06-16 腾讯科技(深圳)有限公司 Notification bar message processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009097555A3 (en) * 2008-01-30 2009-10-29 Google Inc. Notification of mobile device events
CN102387216A (en) * 2011-11-11 2012-03-21 广东威创视讯科技股份有限公司 Information sharing method and system based on relationship objects
CN103345421A (en) * 2013-06-20 2013-10-09 华为技术有限公司 Method and device for pushing application program
CN103955474A (en) * 2014-03-31 2014-07-30 可牛网络技术(北京)有限公司 Notification message processing method and device
CN104735482A (en) * 2015-03-31 2015-06-24 天脉聚源(北京)传媒科技有限公司 Video pushing implementation method, system and device
EP3163854A1 (en) * 2015-10-29 2017-05-03 Xiaomi Inc. Reduced notifications for same push messages
WO2018082465A1 (en) * 2016-11-02 2018-05-11 北京金山安全软件有限公司 Notification bar message displaying method and apparatus, mobile terminal, and server
CN108804179A (en) * 2018-05-25 2018-11-13 北京小米移动软件有限公司 Show method, apparatus, terminal and the storage medium of notification bar message

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Development and evaluation of mobile application for room rental information with chat and push notification";Sonya R. Manalu等;《 2016 International Conference on Information Management and Technology (ICIMTech)》;20161118;全文 *
"基于Android平台的消息推送研究与实现";倪红军;《实验室研究与探索》;20140531;全文 *

Also Published As

Publication number Publication date
CN110324432A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
US10911565B2 (en) Method, device and system for associating a service account
US9990214B2 (en) Dynamic agent delivery
CN105512294B (en) Multimedia file update prompting method and device
US10534425B2 (en) Processing method and device for saving power, mobile terminal and cloud server
CN112073994A (en) Method and device for over-the-air upgrading, electronic equipment and readable storage medium
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN111708557B (en) Method, device and storage medium for updating configuration file
CN107644075B (en) Method and device for collecting page information
US20220366066A1 (en) Display method, display device, and electronic device
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN110324432B (en) Data processing method, device and medium applied to terminal and computing equipment
CN111770161A (en) https sniffing jump method and device
US10432490B2 (en) Monitoring single content page application transitions
CN112256372B (en) Information processing method and device and electronic equipment
CN111930565A (en) Process fault self-healing method, device and equipment for components in distributed management system
CN111767176A (en) Method and device for remotely controlling terminal equipment
CN106933449B (en) Icon processing method and device
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN111367963B (en) Method, device, equipment and computer storage medium for determining source channel
CN112579447A (en) Browser testing method and device
CN113761433A (en) Service processing method and device
CN112241372A (en) Terminal testing method and device and electronic equipment
KR102368826B1 (en) Cloud Server And Method of Thereof
KR101553539B1 (en) Dynamic link providing method and computer readable storage medium for program therefor
US9942361B2 (en) Reporting page composition data

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