Summary of the invention
This specification proposes a kind of information push method, the method includes:
The service request that a variety of applications under the same login system installed in monitoring users terminal issue;
In response to the service request that the either objective application in a variety of applications for listening to issues, based on what is listened to
The service request determines whether user is in active state;
If it is determined that user is in active state, preset push content is pushed to the target application.
Optionally, described to determine whether user is in active state based on the service request listened to, including:
Determine whether the service request listened to is the service request triggered by the operation behavior of user;
If the service request is the service request triggered by the operation behavior of user, determine that the user is in active
State.
Optionally, further include:
Collect the request moment for the service request that the operation behavior by user that a variety of applications issue triggers;
Data analytical calculation is carried out to the request moment being collected into based on preset data analysis algorithm, to be used
Family uses the habit period of a variety of applications.
Optionally, the data analysis algorithm includes collaborative filtering.
It is optionally, described to push preset push content to the target application if it is determined that user is in active state,
Including:
If it is determined that user is in active state, determine whether the service request corresponding request moment hits user and make
With the habit period of the target application;
If the service request corresponding habit period for requesting moment hit user to use the target application, to
The target application pushes preset push content.
Optionally, described to push preset push content to the target application, including:
The notification message that the user is in active state is sent to push platform, from the push platform to the mesh
Mark application pushes preset push content.
This specification also proposes a kind of message driving means, and described device includes:
Module is monitored, the service request that a variety of applications under the same login system installed in monitoring users terminal issue;
Determining module, in response to the service request that the either objective application in a variety of applications for listening to issues, base
Determine whether user is in active state in the service request listened to;
Pushing module, if it is determined that user is in active state, pushes preset push content to the target application.
Optionally, the monitoring module:
Determine whether the service request listened to is the service request triggered by the operation behavior of user;
If the service request is the service request triggered by the operation behavior of user, determine that the user is in active
State.
Optionally, further include:
Collection module, when collecting the request for the service request that the operation behavior by user that a variety of applications issue triggers
It carves;
Analysis module carries out data analysis meter to the request moment being collected into based on preset data analysis algorithm
It calculates, to obtain the habit period that user uses a variety of applications.
Optionally, the data analysis algorithm includes collaborative filtering.
Optionally, the determining module:
If it is determined that user is in active state, determine whether the service request corresponding request moment hits user and make
With the habit period of the target application;
If the service request corresponding habit period for requesting moment hit user to use the target application, to
The target application pushes preset push content.
Optionally, the pushing module is further:
The notification message that the user is in active state is sent to push platform, from the push platform to the mesh
Mark application pushes preset push content.
This specification also proposes a kind of electronic equipment, including:
Processor;
For storing the memory of machine-executable instruction;
Wherein, it can be held by reading and executing the machine corresponding with the control logic of message push of the memory storage
Row instruction, the processor are prompted to:
The service request that a variety of applications under the same login system installed in monitoring users terminal issue;
In response to the service request that the either objective application in a variety of applications for listening to issues, based on what is listened to
The service request determines whether user is in active state;
If it is determined that user is in active state, preset push content is pushed to the target application.
Pass through above technical scheme, on the one hand, the touching by all kinds of means that push content may be implemented reaches;On the other hand, Ke Yishi
Existing user oriented dynamic content push, when user is in active state, then user oriented carries out content push, can be significant
Promote the precision of content push.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
This specification be directed to a kind of a variety of applications by under the same login system installed on user terminal to
Family carries out enlivening detection, and when determining that user is in active state, then the accurate push scheme of content push is carried out to user.
When realizing, a variety of applications under same login system, background service can be installed in advance on user terminal
End can monitor the issued service request of above-mentioned a variety of applications in real time.
After server-side listens to the service request that the application of the either objective in above-mentioned a variety of applications issues, server-side can be with
Based on the service request that the target application listened to issues, to determine whether user is in active state;
For example, in one embodiment, can determine whether the service request listened to is operation behavior by user
The service request triggered;If so, showing that user currently just executes relevant user's operation, server-side in the target application
It can determine that the user is currently at active state.
Further, if it is determined that user is currently at active state, and server-side can be immediately by preset push at this time
Content push is to above-mentioned target user.
Pass through above technical scheme, on the one hand, since server-side can will push content, pass through what is installed on user terminal
Any application in a variety of applications under same login system, is pushed to user, therefore the touching by all kinds of means of push content may be implemented
It reaches;On the other hand, due to only when determining that user is in active state, then user oriented carries out content push, therefore can be with
It realizes user oriented dynamic content push, the precision of content push can be obviously improved.
This specification is described below by specific embodiment and in conjunction with specific application scenarios.
Referring to FIG. 1, Fig. 1 is a kind of information push method that one embodiment of this specification provides, it is applied to server-side, holds
Row following steps:
Step 102, the service request that a variety of applications under the same login system installed in monitoring users terminal issue;
Step 104, the service request issued in response to the either objective application in a variety of applications for listening to, is based on
The service request listened to determines whether user is in active state;
Step 106, if it is determined that user is in active state, pushes preset push content to the target application.
A variety of applications under above-mentioned same login system can specifically include and have access to a unified backstage login
System or platform complete a variety of applications logged in;
For example, in practical applications, a variety of applications under above-mentioned same login system can specifically be covered by same operation
A variety of applications of Fang Kaifa operation, and the application with the operator with cooperative relationship;For example, by taking Alibaba as an example, Ah
The APP such as Alipay, Taobao under Li Baba are applied, and the APP such as youku.com with Alibaba with cooperative relationship are answered
With since its unified login system that can be linked into Alibaba backstage is completed to log in, these APP application can
With the application being referred to as under same login system.
User terminal is being currently used in above-mentioned active state, in particular to user, can view and be pushed by server-side
To the User Status of the PUSH message of user terminal;
For example, in practical applications, above-mentioned active state, which can specifically include user and be used on user terminal, to be installed
A certain application, execute the User Status of corresponding user's operation in this application;Such as, it is assumed that server-side detects user just
The payment application installed on using user terminal, is interacted with server-side and completes a delivery operation, then server-side
It can be assumed that the user is currently at active state.
Above-mentioned service request, during can specifically include using service interaction is carried out with server-side, after being sent to
Any type of request message of platform server-side;For example, in practical applications, above-mentioned request message specifically can be user and step on
Record is in application, using the logging request for being sent to server-side backstage;It is needing to access in background server alternatively, being also possible to apply
Data resource when, be sent to data access request of background server, etc..
In the present specification, a variety of applications under same login system can be installed in advance, this is a variety of to answer on user terminal
With that can keep connecting with background server respectively, and interacted by the connection with background server, to background server
Send service request.
For example, in practical applications, above-mentioned a variety of applications and the connection kept between background server specifically can be base
In the interconnection protocols such as socket agreement or http agreement, the long connection of creation.
And the server-side on backstage can star the monitoring service for above-mentioned a variety of applications (for example, monitoring service is specific
Can be the oracle listener of background server starting), and monitor by the monitoring service service that above-mentioned a variety of applications issue
Request, to using the user of above a variety of applications to carry out enlivening detection, to determine whether user is in active state.
For example, in practical applications, using usually can be by calling the access interface (API) of background server, backward
Platform server-side submits service request;It therefore, can be by the monitoring service of enabling, to server-side for background server
The access interface of side is monitored, to obtain using the service request for being sent to background server.
Wherein, it should be noted that in practical applications, apply in the process for carrying out service interaction with background server
In, it usually may include following two categories using the service request for being sent to background server:
The first kind is applied during remaining operational in the operating system that user terminal carries (i.e. in operating system
Running background), the service request periodically sent to background server;
For example, finger daemon of the application by operation, periodically executes a certain on the operating system backstage of user terminal
During affairs or task, it is periodically sent to the service request of background server.This kind of service requests are usually to apply
During running background, it is actively sent to the service request of background server, is not to be triggered by the operation behavior of user
Service request.
Second class applies the service request triggered after the operation behavior for detecting user;I.e. user holds in the application
When some user's operations of row, it can trigger and initiate corresponding service request using to background server;Wherein, user described above
Operation, can specifically cover what user executed in the application, can trigger and ask using the service for sending response to background server
The operation asked;
For example, in practical applications, above-mentioned user's operation can specifically include user to providing in the user interface of application
Interactive button or interaction options selected operation or user for specific touch operation performed by user interface,
Etc.;For example, the interactive entrances such as login button, payment button can be provided with user oriented in the user interface of application,
And user can operate above-mentioned login button or payment button by the modes such as clicking, to trigger using backward
Platform server-side sends logging request or payment request, etc..
It wherein, is not the clothes triggered by the operation behavior of user due to the service request of the first kind illustrated above
Business request, when background server is received using this kind of service requests sent, user may be not in active state;Than
Such as, user may be there is no user terminal be being used, and also there is no complete any type of operation in the application.
Therefore, in a kind of embodiment shown, when background server listens to any mesh in above-mentioned a variety of applications
The service request that mark application issues, when determining user currently whether in active state based on the service request listened to,
Service request can be received by identification, if ask for the service triggered by user's operation behavior shown in above second class
It asks, to determine user currently whether in active state.
When realizing, background server can be identified further after receiving the service request that above-mentioned target application issues
The type of the service request, to determine the service request received, if by being triggered by user's operation shown in above second class
Service request.
Wherein, the concrete mode of the type for the service request that identification application is sent, in the present specification without especially limiting
It is fixed;
For example, in one implementation, on the one hand, the various services that can be sent to background server for application are asked
It asks, distributes a type identification respectively, and the type mark is carried in service request, and then background server can pass through clothes
The type identification carried in business request, to determine the type of the service request received;Another convenience, background server can define
The several service request type triggered by user's operation;For example, logging request, payment request etc. are clearly by user
Operate triggered service request;When identifying the service request type received, it can be compared by type, be received to determine
Service request whether be the service request triggered by user's operation.
In the present specification, when the identification process more than background server passes through, determine that the service request received is served as reasons
The service request that user's operation is triggered shows that the target application is being currently used in user at this time, holds in the target application
The relevant user's operation of row, in this case, server-side can determine that the user is currently at active state.
, whereas if the identification process more than passing through, determines that the service request received is not to be touched by user's operation
The service request of hair, the service request may be operating system backstage automatic running of the above-mentioned target application in user terminal at this time
During the service request that is sent to background server of timing, and the target may currently not be used and answer by user
With also there is no execute relevant user's operation in the target application;In this case, server-side can determine the user
It is current that there is no be in active state.
In the present specification, above-mentioned background server can carry message push service, and pass through the message push service
Relevant push content is pushed to above-mentioned a variety of applications.
Wherein, in order to promote the precision of content push, in the present specification, above-mentioned background server disappears by above-mentioned
It, can be no longer using traditional timing push during breath Push Service pushes contents to above-mentioned a variety of applications push correlations
Mechanism, but it currently whether is sufficiently in active state with reference to user, and then active state can be currently in confirmation user
When, then actively content push is carried out to above-mentioned a variety of applications.
When realizing, when background server receives the service request that above-mentioned target application is sent, and it is based on the service request
When determining that user is currently at active state, the push content that background server can immediately complete preparatory editor at this time,
The target application is pushed to, the push content is exported to user by user interface from above-mentioned target application.
Since the target application may be used in active user, relevant user's operation is executed in the target application,
Therefore after above-mentioned target application outputs push content to user by user interface, which can view at the first time
The push content.
It is pushed compared to traditional timing, in this way, user terminal currently will not used due to user
When, the push content of background server push is missed, therefore can really now determine that in fact when user is in active state again
The dynamic push mode pushed, can be obviously improved the precision of content push.
Wherein, it should be added that, above-mentioned background server, can when carrying out content push to above-mentioned target application
Directly to be pushed by above-mentioned background server, the push platform docked can also be passed through from above-mentioned background server to user
It is pushed;
For example, above-mentioned background server can dock push platform in a kind of embodiment shown, when above-mentioned backstage
When server-side determines that user is currently at active state, a user can be sent to above-mentioned push platform and be in active state
Notification message;In turn, after receiving the notification message, the push content that can immediately complete editor pushes away the push platform
It send to above-mentioned target application, is quoted from above-mentioned target and the object content is exported to user by user interface.
In the present specification, background server is listening to being touched by the operation behavior of user for above-mentioned a variety of application sendings
After the service request of hair, the request moment for the service request that each application received issues can also be collected, then will be collected into
The request moment for the service request that each application issues carries out data analytical calculation as data analysis sample, uses user above-mentioned
The use habit of a variety of applications carries out going deep into excavation, obtains habit period of the user using above-mentioned a variety of applications when.
For example, at the request moment for the service request that can be issued for above-mentioned a variety of applications, carry out data analysis meter respectively
It calculates, obtains user using the habit period (the habit period of different applications may be different) of above-mentioned a variety of applications, obtain
User states " the chip time distribution " when a variety of applications in use.
Wherein, the above-mentioned request moment specifically can be the time of reception that background server receives service request, be also possible to
Using the sending moment of the above-mentioned service request of sending (for example, when carrying service request sending instant is corresponding in service request
Between stab), in the present specification without being particularly limited to;I.e. in the present specification, can using the sending moment of service request as
It the request moment of service request, can also be using the time of reception of service request as the request moment of service request.
Above-mentioned background server carries out data analysis at the request moment of the service request issued to each application being collected into
When calculating, used data analysis algorithm, can cover any form of can excavate out and use from the operation behavior of user
The Behavior preference at family and the data analysis algorithm of rule, in the present specification also without being particularly limited to;
For example, in one embodiment, above-mentioned data analysis algorithm specifically can be collaborative filtering;Background service
End can carry out data analysis meter to the request moment for the service request that each application being collected into issues by collaborative filtering
It calculates, and then excavates out the habit period that user uses above-mentioned a variety of applications, obtain when user states a variety of applications in use
" chip time distribution ".
In the present specification, in order to further enhance the precision of content push, background server can also retouch above
It states and is determining that user is in active state, then on the basis of carrying out content push to user, will further pass through data analysis meter
It calculates, obtained user uses the habit period of above-mentioned a variety of applications as reference, to assist system to complete content push.
In a kind of embodiment shown, when background server receives the service request that above-mentioned target application is sent, and
When determining that user is currently at active state based on the service request, background server can further obtain the service at this time
The request moment of request, and the request moment is matched with user using the habit period of above-mentioned target application, come true
Whether the request moment of the fixed service request hits the habit period that user uses above-mentioned target application.
On the one hand, if whether the request moment of the service request hits the habit time that user uses above-mentioned target application
Section, the push content that background server can again complete preparatory editor at this time, pushes to the target application, is answered by above-mentioned target
The push content is exported to user with by user interface.
On the other hand, if the request moment miss user of the service request uses the habit time of above-mentioned target application
Section, although user is in active state at this time, the maloperation which is likely to user is triggered;In such case
Under, background server, which can be suspended or cancel to the target application, carries out content push.
In this way, can when determining that user is in active state, then to user carry out content push intelligence
On the basis of push-mechanism, the further use habit that each application is used with reference to user, to complete the decision of content push,
And then the precision of content push can be obviously improved.
Certainly, in practical applications, background server, can also be not when whether decision carries out content push to user
The recognition result of active state whether is in reference to user, but only with reference to user to the use habit of each application;
In this case, it after background server receives the service request that above-mentioned target application is sent, can obtain immediately
The request moment of the service request is taken, and the request moment and user are used to the habit period progress of above-mentioned target application
Match, to determine whether the request moment of the service request hits the habit period that user uses above-mentioned target application;If so,
The push content that preparatory editor can be completed immediately, pushes to the target application;Conversely, can suspend or cancel to the mesh
Mark application carries out content push.
Pass through above technical scheme, on the one hand, since server-side can will push content, pass through what is installed on user terminal
Any application in a variety of applications under same login system, is pushed to user, therefore the touching by all kinds of means of push content may be implemented
It reaches;
For example, server-side can trigger use by a variety of applications illustrated above for identical push content
Family can be referred to as an independent content push channel for each application.
On the other hand, due to only when determining that user is in active state, then user oriented carries out content push, therefore
User oriented dynamic content push may be implemented, the precision of content push can be obviously improved;
For example, application only is being currently used in confirmation user, and when executing corresponding user's operation in the application,
Again to user carry out content push, can it is easier attract user attention, user is noticed at the first time
The content of push, therefore the probability that user checks the content of push can be improved, and then the operator for push content is brought more
More flowing of access and any active ues quantity.
Corresponding with above method embodiment, this specification additionally provides a kind of embodiment of message driving means.This theory
The embodiment of the message driving means of bright book can be using on an electronic device.Installation practice can by software realization,
It can be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as the device on a logical meaning,
It is that computer program instructions corresponding in nonvolatile memory are read by memory by the processor of electronic equipment where it
What middle operation was formed.
For hardware view, as shown in Fig. 2, one kind for electronic equipment where the message driving means of this specification is hard
Part structure chart fills in embodiment other than processor shown in Fig. 2, memory, network interface and nonvolatile memory
Electronic equipment where setting can also include other hardware, repeat no more to this generally according to the actual functional capability of the electronic equipment.
Fig. 3 is a kind of block diagram of message driving means shown in one exemplary embodiment of this specification.
Referring to FIG. 3, the message driving means 30 can be applied in aforementioned electronic equipment shown in Fig. 2, include:
Monitor module 301, determining module 302 and pushing module 303;
Module 301 is monitored, the service that a variety of applications under the same login system installed in monitoring users terminal issue is asked
It asks;
Determining module 302, in response to the service request that the either objective application in a variety of applications for listening to issues,
Determine whether user is in active state based on the service request listened to;
Pushing module 303, if it is determined that user is in active state, pushes in preset push to the target application
Hold.
In the present embodiment, the monitoring module 301:
Determine whether the service request listened to is the service request triggered by the operation behavior of user;
If the service request is the service request triggered by the operation behavior of user, determine that the user is in active
State.
In the present embodiment, further include:
Collection module 304 (is not shown) in Fig. 3, collects what the operation behavior by user that a variety of applications issue triggered
The request moment of service request;
Analysis module (is not shown) in Fig. 3, based on preset data analysis algorithm to the request moment being collected into
Row data analytical calculation, to obtain the habit period that user uses a variety of applications.
In the present embodiment, the data analysis algorithm includes collaborative filtering.
In the present embodiment, the determining module 302:
If it is determined that user is in active state, determine whether the service request corresponding request moment hits user and make
With the habit period of the target application;
If the service request corresponding habit period for requesting moment hit user to use the target application, to
The target application pushes preset push content.
In the present embodiment, the pushing module 303 is further:
The notification message that the user is in active state is sent to push platform, from the push platform to the mesh
Mark application pushes preset push content.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with
It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
Corresponding with above method embodiment, this specification additionally provides the embodiment of a kind of electronic equipment.The electronics is set
It is standby to include:Processor and memory for storing machine-executable instruction;Wherein, in processor and memory usually pass through
Portion's bus is connected with each other.In other possible implementations, the equipment is also possible that external interface, with can be with other
Equipment or component are communicated.
In the present embodiment, by reading and executing the corresponding with the control logic of message push of the memory storage
Machine-executable instruction, the processor are prompted to:
The service request that a variety of applications under the same login system installed in monitoring users terminal issue;
In response to the service request that the either objective application in a variety of applications for listening to issues, based on what is listened to
The service request determines whether user is in active state;
If it is determined that user is in active state, preset push content is pushed to the target application.
In the present embodiment, by reading and executing the corresponding with the control logic of message push of the memory storage
Machine-executable instruction, the processor are also prompted to:
Determine whether the service request listened to is the service request triggered by the operation behavior of user;
If the service request is the service request triggered by the operation behavior of user, determine that the user is in active
State.
In the present embodiment, by reading and executing the corresponding with the control logic of message push of the memory storage
Machine-executable instruction, the processor are also prompted to:
Collect the request moment for the service request that the operation behavior by user that a variety of applications issue triggers;
Data analytical calculation is carried out to the request moment being collected into based on preset data analysis algorithm, to be used
Family uses the habit period of a variety of applications.
In the present embodiment, by reading and executing the corresponding with the control logic of message push of the memory storage
Machine-executable instruction, the processor are also prompted to:
If it is determined that user is in active state, determine whether the service request corresponding request moment hits user and make
With the habit period of the target application;
If the service request corresponding habit period for requesting moment hit user to use the target application, to
The target application pushes preset push content.
In the present embodiment, by reading and executing the corresponding with the control logic of message push of the memory storage
Machine-executable instruction, the processor are also prompted to:
The notification message that the user is in active state is sent to push platform, from the push platform to the mesh
Mark application pushes preset push content.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to this specification
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and undocumented in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.