CN108093076A - Information push method and device - Google Patents

Information push method and device Download PDF

Info

Publication number
CN108093076A
CN108093076A CN201711480968.9A CN201711480968A CN108093076A CN 108093076 A CN108093076 A CN 108093076A CN 201711480968 A CN201711480968 A CN 201711480968A CN 108093076 A CN108093076 A CN 108093076A
Authority
CN
China
Prior art keywords
client
message
push
active client
target message
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.)
Pending
Application number
CN201711480968.9A
Other languages
Chinese (zh)
Inventor
吴晓飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711480968.9A priority Critical patent/CN108093076A/en
Publication of CN108093076A publication Critical patent/CN108093076A/en
Pending legal-status Critical Current

Links

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/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Abstract

The present invention provides a kind of information push method and devices.This method includes:New destination message, and the attribute of the target message is set for long timeliness and low priority;Monitor the event of reaching the standard grade of client;When monitor it is described reach the standard grade event when, search whether to exist the corresponding active client of event of reaching the standard grade treats PUSH message;And if be not present, determine whether that the active client pushes the target message according to the situation of the active client.The embodiment of the present invention utilizes the long timeliness created and the target message of low priority, determine whether that active client pushes the target message according to the situation of active client, when solving PUSH message and all not having, the problem of client user's a piece of news all can not receive realizes the purpose actively measured day for increasing client.

Description

Information push method and device
Technical field
The present invention relates to technical field of internet application, particularly a kind of information push method and device.
Background technology
Message push is the time searched for user to be reduced to be used on network by automatically delivering information to user.Its root It searches for according to the interest of user, filter information, and it is periodically pushed to user, user is helped expeditiously to excavate valuable letter Breath.
Under existing business environment, message push side wishes that user can receive message daily, this is in statistical significance The keep-alive rate of product and active number can be increased.However, in practical applications, there is a situation where that user does not receive message, urgently It need to solve the problems, such as this.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State the information push method of problem and corresponding device.
One side according to embodiments of the present invention provides a kind of information push method, including:
New destination message, and the attribute of the target message is set for long timeliness and low priority;
Monitor the event of reaching the standard grade of client;
When monitor it is described reach the standard grade event when, search whether to exist the corresponding active client of event of reaching the standard grade and wait to push away Send message;And
If being not present, determine whether that the active client pushes the mesh according to the situation of the active client Mark message.
Optionally, the situation according to the active client determines whether that the active client pushes the mesh The step of marking message further comprises:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
Optionally, the situation according to the active client determines whether that the active client pushes the mesh The step of marking message further comprises:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
Optionally, the method is applied to the message push platform comprising front end unit, routing unit;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, It is established and connected by the corresponding front end node of the connection request and client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, will believe with the connection of client Breath is nullified from the routing unit, so as to which the routing unit deletes the link information between front end node and client.
Optionally, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
Optionally, it is described monitoring client reach the standard grade event the step of further comprise:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, And using the corresponding client of the increased link information of institute as the active client.
Optionally, the method further includes:
When determining to push the target message to the active client, it is increased that the target message is sent to institute The corresponding front end node of link information pushes the target message from the front end node to the active client.
Optionally, the new destination message, and the attribute of the target message is set for long timeliness and low priority Step further comprises:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, The target message is created, and the attribute of the target message is set for long timeliness and low priority.
Optionally, the method further includes:
When message push platform receives the instruction of the content of the update target message from push end, more The content of the new target message.
Optionally, the message push platform further includes backend unit, and the method is applied to the message and pushes platform Backend unit.
Optionally, the method further includes:
If find the corresponding active client of event of reaching the standard grade described in existing treats PUSH message, to the existing customer PUSH message is treated described in the push of end.
Optionally, it is described to the active client push described in treat PUSH message the step of further comprise:
By the front end node treated PUSH message and be sent to active client connection, from the front end node to described PUSH message is treated described in active client push.
Another aspect according to embodiments of the present invention additionally provides a kind of message pusher, including:
Newly-built module suitable for new destination message, and sets the attribute of the target message as long timeliness and low priority;
Monitoring modular, suitable for monitoring the event of reaching the standard grade of client;
Searching module, suitable for when the monitoring module monitors reach the standard grade event described in, searching whether to exist described reach the standard grade The corresponding active client of event treats PUSH message;And
Determining module is treated if being searched suitable for the searching module there is no the corresponding active client of event of reaching the standard grade PUSH message then determines whether that the active client pushes the target message according to the situation of the active client.
Optionally, the determining module is further adapted for:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
Optionally, the determining module is further adapted for:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
Optionally, described device is applied to the message push platform comprising front end unit, routing unit;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, It is established and connected by the corresponding front end node of the connection request and client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, will believe with the connection of client Breath is nullified from the routing unit, so as to which the routing unit deletes the link information between front end node and client.
Optionally, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
Optionally, the monitoring modular is further adapted for:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, And using the corresponding client of the increased link information of institute as the active client.
Optionally, described device further includes:
First pushing module, suitable for determining to push the target message to the active client in the determining module When, the target message is sent to the corresponding front end node of the increased link information of institute, from the front end node to described current Target message described in client push.
Optionally, the newly-built module is further adapted for:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, The target message is created, and the attribute of the target message is set for long timeliness and low priority.
Optionally, described device further includes:
Update module is received suitable for working as the message push platform in the update target message from push end During the instruction of appearance, the content of the target message is updated.
Optionally, the message push platform further includes backend unit, and described device is applied to the message and pushes platform Backend unit.
Optionally, described device further includes:
Second pushing module, if finding the corresponding active client of event of reaching the standard grade described in presence suitable for the searching module Treat PUSH message, then to the active client push described in treat PUSH message.
Optionally, second pushing module is further adapted for:
By the front end node treated PUSH message and be sent to active client connection, from the front end node to described PUSH message is treated described in active client push.
In embodiments of the present invention, new destination message, and the attribute of target message is set for long timeliness and low priority; Monitor the event of reaching the standard grade of client, when monitor to reach the standard grade event when, search whether to exist and reach the standard grade the corresponding active client of event Treat PUSH message;And if be not present, according to the situation of active client determine whether active client push target Message.The embodiment of the present invention is using the long timeliness created and the target message of low priority as a result, according to the feelings of active client Condition determines whether that active client pushes the target message, when solving PUSH message and all not having, client user's a piece of news The problem of all can not receive realizes the purpose actively measured day for increasing client.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter The above and other objects, advantages and features of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of information push method according to an embodiment of the invention;
Fig. 2 shows the flow chart of information push method according to another embodiment of the present invention;
Fig. 3 shows the structure diagram of message pusher according to an embodiment of the invention;And
Fig. 4 shows the structure diagram of message pusher according to another embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
In order to solve the above technical problems, an embodiment of the present invention provides a kind of information push methods.Fig. 1 is shown according to this Invent the flow chart of the information push method of an embodiment.As shown in Figure 1, the information push method may comprise steps of S102, step S104, step S106 and step S108.
Step S102, new destination message, and the attribute of target message is set for long timeliness and low priority.
Step S104 monitors the event of reaching the standard grade of client.
Step S106, when monitor to reach the standard grade event when, search whether there is the treating of the corresponding active client of event of reaching the standard grade PUSH message.
Step S108 if being not present, determines whether that active client pushes target according to the situation of active client Message.
In embodiments of the present invention, new destination message, and the attribute of target message is set for long timeliness and low priority; Monitor the event of reaching the standard grade of client, when monitor to reach the standard grade event when, search whether to exist and reach the standard grade the corresponding active client of event Treat PUSH message;And if be not present, according to the situation of active client determine whether active client push target Message.The embodiment of the present invention is using the long timeliness created and the target message of low priority as a result, according to the feelings of active client Condition determines whether that active client pushes the target message, when solving PUSH message and all not having, client user's a piece of news The problem of all can not receive realizes the purpose actively measured day for increasing client.
In the alternative embodiment of the present invention, determine whether to work as according to the situation of active client in above step S108 Preceding client push target message can be specifically to judge whether warp-wise active client carries out message in specified time section Push;And if not, it is determined that push the target message to active client;If so, it can determine not to active client Push the target message.Here specified time section can be 6 or 12 hours, can be configured according to actual demand, this Inventive embodiments are not restricted this.It can be seen that the present embodiment can solve client user, to log in time point for reaching the standard grade proper Fortunately outside the effective time range of PUSH message, the problem of causing to can not receive PUSH message.Here PUSH message refers to push Hold the message normally pushed according to business or demand for services.
In the alternative embodiment of the present invention, determine whether to work as according to the situation of active client in above step S108 Preceding client push target message specifically can also be and judge whether active client is the client for registering login for the first time;With And it if so, determines to push target message to active client.It can be seen that the present embodiment can be newly to use with client user Family is not added in the database of links in time, cause new user can not receive business or service normally push disappear The problem of breath.
Further, if judging, active client is not the client for registering login for the first time, can continue to judge to specify Whether warp-wise active client carries out the push of message in period;And if not, it is determined that push mesh to active client Mark message;If so, it can determine not push target message to active client.
In the alternative embodiment of the present invention, information push method provided in an embodiment of the present invention can be applied to before including The message push platform of end unit, routing unit, specifically:
Front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, by even It connects the corresponding front end node of request and establishes connection with client, and link information is registered to routing unit;
Routing unit, suitable for the link information between record front end node and client;And
Front end unit is further adapted for when the connection with client meets disconnection condition, by with the link information of client from Routing unit is nullified, so as to which routing unit deletes the link information between front end node and client.
Here disconnection condition can receive the request disconnected or the client heart of client transmission Time-out is jumped, i.e., for online client, message push platform is interior at the appointed time not to receive appointing from the client It what is the need ceases, then it is assumed that the client has gone offline.In this way, routing unit can record the link information of real-time update, Neng Gouti The accuracy of high message push.
In an alternate embodiment of the invention, multiple front end nodes can be distributed in one or more server clusters.For example, front end Multiple front end nodes in unit are divided into cluster P1, P2, P3 etc. according to different products, P1 include front end node A1, A2, A3, A4, A5 etc., P2 include front end node B1, B2, B3, B4, B5 etc., and so on, i.e.,:
P1 (front end node A1, A2, A3, A4, A5 ...)
P2 (front end node B1, B2, B3, B4, B5 ...)
P3 (front end node C1, C2, C3, C4, C5 ...)
……
Assuming that client a is connected to front end node A1, then the link information is recorded on front end node A1, and connection is believed Breath is registered to the routing unit on message push platform;Can also similarly grasp similarly, for client b, c, d etc. Make.It is only illustrative, the embodiment of the present invention is not limited it should be noted that enumerate herein.
Routing unit in platform is pushed based on message, the event of reaching the standard grade of client, this hair are monitored in above step S104 Bright embodiment provides a kind of optional scheme, and in this scenario, whether the link information that can monitor routing unit record is sent out Changing;And if monitor that the link information of routing unit record increased, it is determined that monitor the event of reaching the standard grade, and by institute The corresponding client of increased link information is as active client.
In the alternative embodiment of the present invention, when determining to push target message to active client, target message is sent out Front end node corresponding to the increased link information of institute is sent, target message is pushed from the front end node to active client.
In the alternative embodiment of the present invention, new destination message in above step S102, and the category of target message is set Property for long timeliness and low priority, can be specifically that receive the establishment from push end long-acting low preferential when message push platform During the assignment instructions of grade message, new destination message, and the attribute of target message is set for long timeliness and low priority.Here It can be the operators such as business, administrator to push end.
In the alternative embodiment of the present invention, the content of target message can also be updated, i.e. when message push is flat When platform receives the instruction of the content of the update target message from push end, the content of target message is updated.
In the alternative embodiment of the present invention, message push platform mentioned above can also include backend unit, rear end For unit when receiving the message push order from push end, parsing message push order obtains treating the mark of PUSH message, Mark according to PUSH message is treated is searched from the database of message push platform treats PUSH message and according to message accordingly Push order and the link information of routing unit record, determine at least one client to be pushed and at least one front end to be pushed Node treats PUSH message, so as to be pushed by least one front end node to be pushed at least one front end node transmission to be pushed Treat PUSH message at least one client to be pushed.
Backend unit according to message push order determine it is at least one after client push, if from routing unit record Link information in do not find one or more of at least one client to be pushed connection front end node, it is determined that one A or multiple clients to be pushed are in off-line state, so as to when one or more after push client reach the standard grade again after, from road The front end node each connected by searching one or more clients to be pushed in the link information of unit record, by what is found Front end node push treats PUSH message to one or more client to be pushed, wherein, off-line state refers to front end node and visitor Family end disconnects.
Backend unit can also establish one or more in definite one or more when push client is in off-line state Respectively client to be pushed and the deferred information list between PUSH message is treated in a client to be pushed, and then when one or more is treated After push client is reached the standard grade again, it can be found from deferred information list and treat PUSH message.
In the alternative embodiment of the present invention, the information push method of above-mentioned steps S102 to step S108 can be applied to Message pushes the backend unit of platform.Thus, in above step S106 when monitor to reach the standard grade event when, search whether exist reach the standard grade The corresponding active client of event treats PUSH message, can be specifically in deferred information list, search whether to exist and reach the standard grade The corresponding active client of event treats PUSH message.
In the alternative embodiment of the present invention, if step S106 finds the corresponding existing customer of event of reaching the standard grade described in presence PUSH message is treated at end, then treats PUSH message to active client push.
In the alternative embodiment of the present invention, push the step for the treatment of PUSH message to active client and can further include It will treat that PUSH message is sent to the front end node that active client connects, pushed from the front end node to active client and wait to push Message.
A variety of realization methods of links in embodiment shown in FIG. 1 are described above, implement below by specific Example is described further information push method provided in an embodiment of the present invention.In this specific embodiment, message push side Method is applied to the backend unit of message push platform, and front end unit that message push platform includes, the function of routing unit can be with Referring to introducing above, details are not described herein again.
Fig. 2 shows the flow chart of information push method according to another embodiment of the present invention.As shown in Fig. 2, this method It may comprise steps of S202, step S204, step S206, step S208 and step S210.
Step S202 is received from the assignment instructions for creating long-acting low priority message for pushing end, new destination message, And the attribute of target message is set for long timeliness and low priority.
In this step, it can be the operators such as business, administrator to push end.
Whether step S204, the link information of monitoring routing unit record change;And if monitor routing unit The link information of record increased, it is determined that monitor the event of reaching the standard grade, and by the corresponding client of the increased link information of institute As active client.
Step S206, search whether to exist reach the standard grade the corresponding active client of event treat PUSH message, if in the presence of, after It is continuous to perform step S208;If being not present, step S210 is continued to execute.
Step S208, will treat PUSH message be sent to active client connection front end node, from the front end node to work as Preceding client push treats PUSH message.
Step S210 determines whether that active client pushes target message according to the situation of active client.
In this step, can be specifically to judge whether warp-wise active client carries out pushing away for message in specified time section It send;And if not, it is determined that push the target message to active client;If so, it can determine not push away to active client Give the target message.Here specified time section can be 6 or 12 hours, can be configured according to actual demand, this hair Bright embodiment is not restricted this.
In an alternate embodiment of the invention, it can also be and judge whether active client is the client for registering login for the first time;With And it if so, determines to push target message to active client.If it is not the client for registering login for the first time to judge active client End can then continue to judge whether warp-wise active client carries out the push of message in specified time section;And if it is not, then really Orient active client push target message;If so, it can determine not push target message to active client.
Can be that the target message is sent to active client connection when pushing the target message to active client Front end node, push the target message from the front end node to active client.
The embodiment of the present invention is using the long timeliness created and the target message of low priority, according to the situation of active client Determine whether that active client pushes the target message, when solving PUSH message and all not having, client user's a piece of news is all The problem of can not receive realizes the purpose actively measured day for increasing client.
It should be noted that in practical application, combination may be employed in above-mentioned all optional embodiments arbitrary group of mode It closes, forms the alternative embodiment of the present invention, this is no longer going to repeat them.
Based on the information push method that each embodiment provides above, based on same inventive concept, the embodiment of the present invention is also Provide a kind of message pusher.
Fig. 3 shows the structure diagram of message pusher according to an embodiment of the invention.As shown in figure 3, the dress Newly-built module 310, monitoring modular 320, searching module 330 and determining module 340 can be included by putting.
Now introduce the company between each composition of the message pusher of the embodiment of the present invention or the function and each several part of device Connect relation:
Newly-built module 310 suitable for new destination message, and sets the attribute of the target message as long timeliness and low preferential Grade;
Monitoring modular 320, suitable for monitoring the event of reaching the standard grade of client;
Searching module 330 is coupled with monitoring modular 320, and the thing of reaching the standard grade is monitored suitable for working as the monitoring modular 320 During part, search whether to treat PUSH message in the presence of the corresponding active client of event of reaching the standard grade;And
Determining module 340 is coupled with searching module 330, newly-built module 310, if being searched suitable for the searching module 330 PUSH message is treated there is no the corresponding active client of the event of reaching the standard grade, then is determined according to the situation of the active client Whether to the active client target message is pushed.
In the alternative embodiment of the present invention, the determining module 340 is further adapted for:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
In the alternative embodiment of the present invention, the determining module 340 is further adapted for:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
In the alternative embodiment of the present invention, described device is applied to the message push comprising front end unit, routing unit Platform;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, It is established and connected by the corresponding front end node of the connection request and client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, will believe with the connection of client Breath is nullified from the routing unit, so as to which the routing unit deletes the link information between front end node and client.
In the alternative embodiment of the present invention, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
In the alternative embodiment of the present invention, the monitoring modular 320 is further adapted for:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, And using the corresponding client of the increased link information of institute as the active client.
In the alternative embodiment of the present invention, as shown in figure 4, the device of figure 3 above displaying can also include:
First pushing module 410, is coupled with determining module 340, suitable for determining to work as to described in the determining module 340 Described in preceding client push during target message, the target message is sent to the corresponding preceding end segment of the increased link information of institute Point pushes the target message from the front end node to the active client.
In the alternative embodiment of the present invention, the newly-built module 310 is further adapted for:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, The target message is created, and the attribute of the target message is set for long timeliness and low priority.
In the alternative embodiment of the present invention, as shown in figure 4, the device of figure 3 above displaying can also include:
Update module 420 is coupled with newly-built module 310, is received suitable for working as the message push platform from push During the instruction of the content of the update target message at end, the content of the target message is updated.
In the alternative embodiment of the present invention, the message push platform further includes backend unit, and described device is applied to The backend unit of the message push platform.
In the alternative embodiment of the present invention, as shown in figure 4, the device of figure 3 above displaying can also include:
Second pushing module 430, is coupled with searching module 330, if being found suitable for the searching module 330, there are institutes That states the corresponding active client of the event of reaching the standard grade treats PUSH message, then treats PUSH message to described in active client push.
In the alternative embodiment of the present invention, second pushing module 430 is further adapted for:
By the front end node treated PUSH message and be sent to active client connection, from the front end node to described PUSH message is treated described in active client push.
According to the combination of any one above-mentioned alternative embodiment or multiple alternative embodiments, the embodiment of the present invention can reach Following advantageous effect:
In embodiments of the present invention, new destination message, and the attribute of target message is set for long timeliness and low priority; Monitor the event of reaching the standard grade of client, when monitor to reach the standard grade event when, search whether to exist and reach the standard grade the corresponding active client of event Treat PUSH message;And if be not present, according to the situation of active client determine whether active client push target Message.The embodiment of the present invention is using the long timeliness created and the target message of low priority as a result, according to the feelings of active client Condition determines whether that active client pushes the target message, when solving PUSH message and all not having, client user's a piece of news The problem of all can not receive realizes the purpose actively measured day for increasing client.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) come realize in message pusher according to embodiments of the present invention some or The some or all functions of person's whole component.The present invention is also implemented as performing one of method as described herein Divide either whole equipment or program of device (for example, computer program and computer program product).Such this hair of realization Bright program can may be stored on the computer-readable medium or can have the form of one or more signal.It is such Signal can be downloaded from internet website to be obtained either providing on carrier signal or providing in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention Example property embodiment, still, without departing from the spirit and scope of the present invention, still can according to the present disclosure directly Determine or derive many other variations or modifications consistent with the principles of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers other all these variations or modifications.
One side according to embodiments of the present invention provides a kind of information push methods of a1., including:
New destination message, and the attribute of the target message is set for long timeliness and low priority;
Monitor the event of reaching the standard grade of client;
When monitor it is described reach the standard grade event when, search whether to exist the corresponding active client of event of reaching the standard grade and wait to push away Send message;And
If being not present, determine whether that the active client pushes the mesh according to the situation of the active client Mark message.
A2. the method according to a1, wherein, the situation according to the active client determine whether described in work as Further comprise described in preceding client push the step of target message:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
A3. the method according to a1, wherein, the situation according to the active client determine whether described in work as Further comprise described in preceding client push the step of target message:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
A4. the method according to any one of a1-a3, wherein, the method is applied to single comprising front end unit, routing The message push platform of member;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, It is established and connected by the corresponding front end node of the connection request and client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, will believe with the connection of client Breath is nullified from the routing unit, so as to which the routing unit deletes the link information between front end node and client.
A5. the method according to a4, wherein, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
A6. the method according to a4 or a5, wherein, it is described monitoring client reach the standard grade event the step of further wrap It includes:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, And using the corresponding client of the increased link information of institute as the active client.
A7. the method according to a6, wherein, it further includes:
When determining to push the target message to the active client, it is increased that the target message is sent to institute The corresponding front end node of link information pushes the target message from the front end node to the active client.
A8. the method according to any one of a4-a7, wherein, the new destination message, and the target is set to disappear The step of attribute of breath is long timeliness and low priority further comprises:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, The target message is created, and the attribute of the target message is set for long timeliness and low priority.
A9. the method according to a8, wherein, it further includes:
When message push platform receives the instruction of the content of the update target message from push end, more The content of the new target message.
A10. the method according to a8 or a9, wherein, the message push platform further includes backend unit, the method Backend unit applied to message push platform.
A11. the method according to any one of a1-a10, wherein, it further includes:
If find the corresponding active client of event of reaching the standard grade described in existing treats PUSH message, to the existing customer PUSH message is treated described in the push of end.
A12. the method according to a11, wherein, it is described to the step that PUSH message is treated described in active client push Suddenly further comprise:
By the front end node treated PUSH message and be sent to active client connection, from the front end node to described PUSH message is treated described in active client push.
Another aspect according to embodiments of the present invention additionally provides a kind of message pushers of b13., including:
Newly-built module suitable for new destination message, and sets the attribute of the target message as long timeliness and low priority;
Monitoring modular, suitable for monitoring the event of reaching the standard grade of client;
Searching module, suitable for when the monitoring module monitors reach the standard grade event described in, searching whether to exist described reach the standard grade The corresponding active client of event treats PUSH message;And
Determining module is treated if being searched suitable for the searching module there is no the corresponding active client of event of reaching the standard grade PUSH message then determines whether that the active client pushes the target message according to the situation of the active client.
B14. the device according to b13, wherein, the determining module is further adapted for:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
B15. the device according to b13, wherein, the determining module is further adapted for:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
B16. the device according to any one of b13-b15, wherein, described device is applied to include front end unit, road Platform is pushed by the message of unit;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, It is established and connected by the corresponding front end node of the connection request and client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, will believe with the connection of client Breath is nullified from the routing unit, so as to which the routing unit deletes the link information between front end node and client.
B17. the device according to b16, wherein, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
B18. the device according to b16 or b17, wherein, the monitoring modular is further adapted for:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, And using the corresponding client of the increased link information of institute as the active client.
B19. the device according to b18, wherein, it further includes:
First pushing module, suitable for determining to push the target message to the active client in the determining module When, the target message is sent to the corresponding front end node of the increased link information of institute, from the front end node to described current Target message described in client push.
B20. the device according to any one of b16-b19, wherein, the newly-built module is further adapted for:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, The target message is created, and the attribute of the target message is set for long timeliness and low priority.
B21. the device according to b20, wherein, it further includes:
Update module is received suitable for working as the message push platform in the update target message from push end During the instruction of appearance, the content of the target message is updated.
B22. the method according to b20 or b21, wherein, the message push platform further includes backend unit, the dress Put the backend unit applied to message push platform.
B23. the device according to any one of b13-b22, wherein, it further includes:
Second pushing module, if finding the corresponding active client of event of reaching the standard grade described in presence suitable for the searching module Treat PUSH message, then to the active client push described in treat PUSH message.
B24. the device according to b23, wherein, second pushing module is further adapted for:
By the front end node treated PUSH message and be sent to active client connection, from the front end node to described PUSH message is treated described in active client push.

Claims (10)

1. a kind of information push method, including:
New destination message, and the attribute of the target message is set for long timeliness and low priority;
Monitor the event of reaching the standard grade of client;
When monitor it is described reach the standard grade event when, search whether to exist the corresponding active client of event of reaching the standard grade treats that push disappears Breath;And
If being not present, determine whether that the active client pushes the target and disappears according to the situation of the active client Breath.
2. according to the method described in claim 1, wherein, described in the situation according to the active client determines whether The step of active client push target message, further comprises:
Judge whether active client described in warp-wise carries out the push of message in specified time section;And
If not, it is determined that push the target message to the active client.
3. according to the method described in claim 1, wherein, described in the situation according to the active client determines whether The step of active client push target message, further comprises:
Judge whether the active client is the client for registering login for the first time;And
If so, it determines to push the target message to the active client.
4. method according to any one of claim 1-3, wherein, the method is applied to comprising front end unit, routing The message push platform of unit;
The front end unit is made of one or more front end nodes, suitable for when receiving the connection request of client, by institute It states the corresponding front end node of connection request and establishes connection with client, and link information is registered to the routing unit;
The routing unit, suitable for the link information between record front end node and client;And
The front end unit is further adapted for when the connection with client meets disconnection condition, by with the link information of client from The routing unit is nullified, so as to which the routing unit deletes the link information between front end node and client.
5. according to the method described in claim 4, wherein, the disconnection condition includes at least one following:
Receive the request disconnected of client transmission;
Client heartbeat timeout.
6. method according to claim 4 or 5, wherein, the monitoring client reach the standard grade event the step of further wrap It includes:
Whether the link information for monitoring the routing unit record changes;And
If monitoring, the link information of the routing unit record increased, it is determined that monitor the event of reaching the standard grade, and will The corresponding client of the increased link information of institute is as the active client.
7. it according to the method described in claim 6, wherein, further includes:
When determining to push the target message to the active client, the target message is sent to the increased connection of institute The corresponding front end node of information pushes the target message from the front end node to the active client.
8. according to the method any one of claim 4-7, wherein, the new destination message, and the target is set The step of attribute of message is long timeliness and low priority further comprises:
When message push platform receives the assignment instructions of the long-acting low priority message of establishment from push end, create The target message, and the attribute of the target message is set for long timeliness and low priority.
9. it according to the method described in claim 8, wherein, further includes:
When message push platform receives the instruction of the content of the update target message from push end, institute is updated State the content of target message.
10. a kind of message pusher, including:
Newly-built module suitable for new destination message, and sets the attribute of the target message as long timeliness and low priority;
Monitoring modular, suitable for monitoring the event of reaching the standard grade of client;
Searching module, suitable for when the monitoring module monitors reach the standard grade event described in, searching whether to exist the event of reaching the standard grade Corresponding active client treats PUSH message;And
Determining module is waited to push if searching suitable for the searching module there is no the corresponding active client of event of reaching the standard grade Message then determines whether that the active client pushes the target message according to the situation of the active client.
CN201711480968.9A 2017-12-29 2017-12-29 Information push method and device Pending CN108093076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711480968.9A CN108093076A (en) 2017-12-29 2017-12-29 Information push method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711480968.9A CN108093076A (en) 2017-12-29 2017-12-29 Information push method and device

Publications (1)

Publication Number Publication Date
CN108093076A true CN108093076A (en) 2018-05-29

Family

ID=62180799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711480968.9A Pending CN108093076A (en) 2017-12-29 2017-12-29 Information push method and device

Country Status (1)

Country Link
CN (1) CN108093076A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN102467553A (en) * 2010-11-18 2012-05-23 中兴通讯股份有限公司 Intelligent data pushing method and device
CN103095732A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Information push system and information push method
CN104104591A (en) * 2014-08-06 2014-10-15 携程计算机技术(上海)有限公司 Message pushing method and system
US20150081768A1 (en) * 2013-09-16 2015-03-19 Peking University Founder Group Co., Ltd. Server, terminal and data pushing method
US20160286367A1 (en) * 2013-12-09 2016-09-29 Alcatel Lucent Method and system for scheduling a push data transmission
CN106251168A (en) * 2016-07-08 2016-12-21 乐视控股(北京)有限公司 Information-pushing method and system
CN106600314A (en) * 2016-11-23 2017-04-26 深圳市掌众信息技术有限公司 Advertisement pushing system
CN107395767A (en) * 2017-08-31 2017-11-24 北京奇虎科技有限公司 Message push system and method based on long connection

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN102467553A (en) * 2010-11-18 2012-05-23 中兴通讯股份有限公司 Intelligent data pushing method and device
CN103095732A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Information push system and information push method
US20150081768A1 (en) * 2013-09-16 2015-03-19 Peking University Founder Group Co., Ltd. Server, terminal and data pushing method
US20160286367A1 (en) * 2013-12-09 2016-09-29 Alcatel Lucent Method and system for scheduling a push data transmission
CN104104591A (en) * 2014-08-06 2014-10-15 携程计算机技术(上海)有限公司 Message pushing method and system
CN106251168A (en) * 2016-07-08 2016-12-21 乐视控股(北京)有限公司 Information-pushing method and system
CN106600314A (en) * 2016-11-23 2017-04-26 深圳市掌众信息技术有限公司 Advertisement pushing system
CN107395767A (en) * 2017-08-31 2017-11-24 北京奇虎科技有限公司 Message push system and method based on long connection

Similar Documents

Publication Publication Date Title
CN107872528A (en) Information push method and device
CN108989430B (en) Load balancing method, device and storage medium
CN102984049B (en) Customer group is carried out according to theme and divides client and method with information transmission
CN108737270A (en) A kind of method for managing resource and device of server cluster
EP1418741A2 (en) Method and apparatus for providing real-time communication center statistical data to a third-party application over a data network
CN105867837A (en) Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
CN105812315B (en) Multiple terminals method for message transmission and device based on user's login account
ATE461489T1 (en) METHOD AND APPARATUS FOR A DISTRIBUTED SERVER TREE
CN104702638B (en) The subscription distribution method and device of event
CN103873293B (en) A kind of healthprobe device and method
CN110262933B (en) Test method, test device, and storage medium
CN106790603A (en) The method of interacting message, apparatus and system
CN106713684B (en) The binding method and equipment of the number of Unified Communication client account and phone
CN109726928A (en) One kind robbing worksheet processing method for processing business, device and storage medium
JP2003525558A (en) Method of monitoring messaging and VOIP network availability
CN106878936A (en) The sharing method and device of a kind of shop WiFi network
CN108733698A (en) A kind of processing method and background service system of log information
CN107871252A (en) A kind of electronic bill management system and method
CN106651291A (en) Task processing method and device
CN108093076A (en) Information push method and device
CN104394095B (en) Data transmission method, system and source server
US8214826B2 (en) Optimized targeting in a large scale system
CN111565120B (en) 5G network slicing product configuration method and system and electronic equipment
CN105183871B (en) Data query method and device
CN108234631A (en) Message pushes platform and information push method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529