CN106998274A - Application message method for pushing and device - Google Patents
Application message method for pushing and device Download PDFInfo
- Publication number
- CN106998274A CN106998274A CN201611141946.5A CN201611141946A CN106998274A CN 106998274 A CN106998274 A CN 106998274A CN 201611141946 A CN201611141946 A CN 201611141946A CN 106998274 A CN106998274 A CN 106998274A
- Authority
- CN
- China
- Prior art keywords
- message
- user
- push
- terminal
- active ues
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
- H04L43/103—Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of application message method for pushing and device.Methods described includes:The message that receiving terminal automatic regular polling is uploaded pushes request, and the message pushes request and carries user's mark;Pushed according to the message in the default message database of request detection with the presence or absence of the corresponding PUSH message of user mark;If so, then obtaining the PUSH message and sending the PUSH message to terminal, so that PUSH message described in the terminal-pair is shown.Message is sent by terminal automatic regular polling and pushes request, server need not set up lasting connection with terminal always, only need to send when message pushes request in terminal and responded, reduce the resource requirement to service end, by setting terminal polling to send the time interval that message pushes request, can reach only can meet the demand that user accesses using a small amount of server, improve the utilization rate of server.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of application message method for pushing and device.
Background technology
With the rapid popularization of Mobile solution, in order to ensure use of the user to Mobile solution, Mobile solution is led to
Know to push and turn into the effective means of lifting user activity.At present, in order to ensure notify push real-time, it is necessary to safeguard client
Long connection between end and service end, so-called long connection refers to continuously transmit multiple packets in a connection, in client
Reliable and stable connection is created and kept between service end.In long connection, client is generally by the way of long poll, i.e.,
Service end circulatory monitoring data, when monitoring that data update, export to client and disconnect, client receives number immediately
Request is sent again after, so that server enters next cycle.In long connection, service end and each client are kept
Lasting connection.
Therefore, in order to carry out real-time informing push, it is necessary to open substantial amounts of resident service device to Mobile solution, but generally
The notice of Mobile solution is pushed at most also just once a day, so substantial amounts of server resource will be caused to leave unused, and reduce clothes
The utilization rate of business device.
The content of the invention
Based on this, it is necessary in view of the above-mentioned problems, offer is a kind of can to reduce the resource requirement of service end, improve server
Utilization rate application message method for pushing and device.
A kind of application message method for pushing, including:
The message that receiving terminal automatic regular polling is uploaded pushes request, and message pushes request and carries user's mark;
Pushed according to message in the default message database of request detection with the presence or absence of the corresponding PUSH message of user's mark;
If so, then obtaining PUSH message and sending PUSH message to terminal, so that terminal-pair PUSH message is shown.
In one of the embodiments, application message method for pushing also includes:
User activity is obtained according to the system journal in preset time, user activity is filtered out and is more than default liveness
User be used as any active ues;
Any active ues are screened according to default screening conditions, any active ues for meeting preparatory condition are pushed away as message
The targeted customer sent;
The user of targeted customer is identified and PUSH message is interrelated and is stored in message database.
In one of the embodiments, user activity is obtained according to the system journal in preset time, filters out user
Liveness is more than the user of default liveness as any active ues, including:
Obtain the visitation frequency recorded in preset time in system journal and access duration;
User activity is obtained according to visitation frequency and access duration;
Filter out user activity and be more than the user of default liveness as any active ues.
In one of the embodiments, any active ues are screened according to default screening conditions, default screening will be met
The targeted customer that any active ues of condition are pushed as message, including:
The corresponding user's mark of any active ues and application message are obtained, application message includes the version number of application, regional generation
Code, language numbering and active time version number, area code, language numbering and at least one of active time;
Application message is screened according to default screening conditions, the application message for meeting default screening conditions is corresponding
The targeted customer that any active ues are pushed as message.
In one of the embodiments, application message method for pushing also includes:
PUSH message in the successful erasing of information message database of push returned according to the terminal received.
A kind of application message pusher, including:
Receiving module, request is pushed for the message that receiving terminal automatic regular polling is uploaded, and message pushes request and carries user
Mark;
Detection module, for being pushed according to message in the default message database of request detection with the presence or absence of user's mark pair
The PUSH message answered;
Sending module, if for detecting that there is user in default message database identifies corresponding PUSH message, obtains
Take PUSH message and send PUSH message to terminal, so that terminal-pair PUSH message is shown.
In one of the embodiments, application message pusher also includes:
Any active ues screening module, for obtaining user activity according to the system journal in preset time, filters out use
The user that family liveness is more than default liveness is used as any active ues;
Targeted customer's determining module, for being screened according to default screening conditions to any active ues, will meet default bar
The targeted customer that any active ues of part are pushed as message;
Message storage module, for the user of targeted customer mark and PUSH message is interrelated and be stored in message count
According in storehouse.
In one of the embodiments, any active ues screening module is used to obtain what is recorded in system journal in preset time
Visitation frequency and access duration;User activity is obtained according to visitation frequency and access duration;Filter out user activity
User more than default liveness is used as any active ues.
In one of the embodiments, targeted customer's determining module is used to obtain the corresponding user's mark of any active ues and answered
With information, application message includes version number, area code, language numbering and active time version number, area code, the language of application
At least one of speech numbering and active time;Application message is screened according to default screening conditions, default sieve will be met
The targeted customer for selecting the corresponding any active ues of application message of condition to be pushed as message.
In one of the embodiments, application message pusher also includes:
Module is removed, pushing away in successful erasing of information message database is pushed for what is returned according to the terminal received
Send message.
Above-mentioned application message method for pushing and device, the message uploaded according to terminal automatic regular polling, which is pushed, to be asked and carries
User identify and detect that user identifies corresponding PUSH message in message database, obtain PUSH message send to terminal so that
Terminal is shown, and completes the process that application message is pushed.Message is sent by terminal automatic regular polling and pushes request, server is not
Need to set up lasting connection with terminal always, it is only necessary to send when message pushes request and responded in terminal, reduction is to clothes
The resource requirement at business end, by setting terminal polling transmission message to push the time interval of request, can reach and only use on a small quantity
Server can meet the demand of user's access, improve the utilization rate of server.
Brief description of the drawings
Fig. 1 is application message method for pushing flow chart in one embodiment;
Fig. 2 is the flow chart in one embodiment the step of service end generation application PUSH message;
Fig. 3 is the step flow chart of acquisition any active ues in one embodiment;
Fig. 4 is application message method for pushing flow chart in another embodiment;
Fig. 5 is the structured flowchart of application message pusher in one embodiment;
Fig. 6 is the structured flowchart of application message pusher in one embodiment;
Fig. 7 is the structured flowchart of application message pusher in another embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As shown in figure 1, comprising the following steps in one embodiment there is provided a kind of application message method for pushing:
Step 110, the message that receiving terminal automatic regular polling is uploaded pushes request, and message pushes request and carries user's mark.
In the present embodiment, automatic regular polling mechanism is set in the application in advance, automatic regular polling refers to send every preset time
Once ask.When the application of some in terminal operationally, start automatic regular polling mechanism, terminal is every preset time to being currently running
The message of the corresponding server of application push interface and send message and push request.
The message push request that interface terminal is sent is pushed by message, message push request carries user and identified,
User mentioned here mark can be that unique identifier such as the UDID generated according to terminal system information or log in is answered
The corresponding ID of account information.Here terminal can with but be not limited only to be that mobile phone, tablet personal computer, wearable device etc. are mobile
Terminal or other equipment that can run application.
Step 120, pushed according to message corresponding with the presence or absence of user's mark in the default message database of request detection
PUSH message, if so, then performing step 130.
In the present embodiment, service end is updated in the specific time to PUSH message, and by the PUSH message of renewal
Interrelated be stored in message database is identified with user.After the message for receiving terminal pushes request, service end inquiry
Message database, i.e., the user's mark carried PUSH message is mutually matched with user's mark in message database, if matching
It is unsuccessful, then illustrate that user identifies the PUSH message that corresponding application is not associated, the connection that server disconnects with terminal is closed
System, if the match is successful, illustrates that user identifies corresponding application and there is associated PUSH message, performs step 130.
Step 130, obtain PUSH message and send PUSH message to terminal, so that terminal-pair PUSH message carries out exhibition
Show.
In the present embodiment, when the user that the message push request carrying sent with terminal is matched in message database marks
When the consistent user of knowledge identifies, obtain the associated PUSH message of user mark and send terminal corresponding to user's mark,
So that terminal-pair PUSH message is shown.PUSH message mentioned here can be the optimization fresh information of application, version change
The various announcement informations such as more information, activity pushed information, or other promotion messages such as public good exploitation information etc..The push disappears
Breath can be in the advance edit definition of service end, therefore, it is possible to avoid the push of flame or mass advertising information.Terminal-pair
The exhibition method of PUSH message can be but be not limited only to be informing displaying, pop-up displaying, screen locking displaying.
Above-mentioned application message method for pushing, server only needs to push the message that terminal timing is sent and asks to ring
Should, obtain corresponding PUSH message and transmit to terminal the push process that can be completed to PUSH message, it is not necessary to which server is always
Keep being connected with terminal, continuous Monitoring Data, which updates, to be sent to terminal, therefore, reduces the demand to server resource, is made few
The server of amount just can meet basic user's request, improve the utilization rate of server.
In one embodiment, application message method for pushing also includes the step of terminal generates PUSH message, such as Fig. 2 institutes
Show, comprise the following steps:
Step 210, user activity is obtained according to the system journal in preset time, filters out user activity and be more than in advance
If the user of liveness is used as any active ues.
In the present embodiment, in order to improve the efficiency of push, message push, any active ues only are carried out to recent any active ues
Refer to the user in the recent period commonly using application, it is possible to use user activity determines any active ues.When using applying, terminal should
It is recorded in the request of data to server in system journal, system journal refers to hardware in record system, software and system
The information of problem, while event that can be to occur in monitoring system.By obtaining the system journal in preset time, obtain pre-
If the user activity in the time, default liveness, the preset time of acquisition are set previously according to data analysis or product demand
The corresponding user's mark of application that interior user activity is more than the default liveness is the corresponding user's mark of any active ues.
Step 220, any active ues are screened according to default screening conditions, the active use of default screening conditions will be met
The targeted customer that family is pushed as message.
In the present embodiment, in order to further lift the efficiency of push, set screening conditions to any active ues of acquisition again
Screened, be the targeted customer that message is pushed by any active ues for meeting default screening conditions.
Specifically, for identical application, the demand of different users may be different, therefore in order to further improve push
Efficiency, set screening conditions to push different message for different users.The application that news is read is provided as a, for
Different users is different to the demand of News genre, and such as a part of user compares the financial category information of concern, another part user
Compare and pay close attention to amusement message, if needing to push now with the related message of first financial class, setting screening conditions first are
Financial class relevant information was accessed in preset time, any active ues to acquisition are screened, and meet enlivening for the screening conditions
User is the targeted customer that the financial class relevant information is pushed.
Step 230, the user of targeted customer is identified and PUSH message is interrelated and is stored in message database.
In the present embodiment, in order to provide corresponding PUSH message for corresponding terminal, after targeted customer is obtained, obtain
Targeted customer corresponding user mark is taken, user's mark of PUSH message and targeted customer is interrelated and be stored in message count
According in storehouse.When the message for receiving terminal transmission pushes request, you can inquired about according to the incidence relation in message database
User identifies corresponding PUSH message.
In the present embodiment, any active ues in preset time are obtained by system journal, and according to different PUSH messages
Different screening conditions are set, the targeted customer of PUSH message is further obtained in any active ues, finally by PUSH message with
User's mark of targeted customer sets up associated storage in message database, can be pushed for different user's requests different
Message, effectively raises the efficiency of push.
As shown in figure 3, in one embodiment, user activity, screening are obtained according to the system journal in preset time
Go out user activity and be more than the user for presetting liveness as any active ues, including:
Step 310, obtain the visitation frequency recorded in preset time in system journal and access duration.
In the present embodiment, visitation frequency refers to that user is using the frequency and number of times of application in the scheduled time, and accessing duration is
Refer to user every time using the duration of application.Record is accessed because user can be produced using application in service end every time, record exists
In system journal, therefore system journal is analyzed, can obtain correspondence the user preset time in using application the frequency and
Duration.
Step 320, user activity is obtained according to visitation frequency and access duration.
In the present embodiment, user activity can be weighed with visitation frequency and access duration, previously according to data point
Analysis or product demand set a liveness, using default liveness as weigh whether be any active ues standard.Daily
Timing is analyzed proxima luce (prox. luc) system journal, is obtained the visitation frequency in proxima luce (prox. luc) system journal and is accessed duration, so as to obtain
Daily user activity is taken, while the system journal obtained in preset time obtains the user activity in preset time, according to
Daily user activity and the corresponding user activity of user activity acquisition in preset time.
Step 330, filter out user activity and be more than the user of default liveness as any active ues.
In the present embodiment, the user activity of acquisition is compared with default liveness, user activity is filtered out
User more than default liveness identifies, then the user filtered out identifies corresponding user as any active ues.Specifically, can
To have used the user of application to be judged as any active ues in preset time by setting liveness to make, now only need to pre-
If the system journal in the time is traveled through, the user's mark recorded in system journal is obtained, progress is identified to the user of acquisition
Deduplication operation can obtain the corresponding user's identification list of any active ues.
In one embodiment, any active ues are screened according to default screening conditions, default screening conditions will be met
The targeted customer that is pushed as message of any active ues, including:
The corresponding user's mark of any active ues and application message are obtained, application message includes the version number of application, regional generation
At least one of code, language numbering and active time;
Application message is screened according to default screening conditions, the application message for meeting default screening conditions is corresponding
The targeted customer that any active ues are pushed as message.
In the present embodiment, in order to improve pushing efficiency, any active ues are carried out with the target that further screening acquisition is pushed and is used
Family.Specifically, having recorded the application message and corresponding when user is conducted interviews using application to service end in system journal
User identifies, and application message includes at least one of version number, area code, language numbering and active time of application.When
When writing PUSH message, according to the particular content of PUSH message, suitable screening bar is set by any combination of application message
Part, obtains corresponding targeted customer's mark.There is great leak in the version before such as detecting an application version number 5,
Now need to write a notice and be pushed to corresponding user, now using version number as screening conditions, version number is 5 or following
The corresponding user of application be designated the PUSH message targeted customer mark;If the English edition before version number 5 is deposited for another example
In problem and Chinese version, there is no problem, then screening conditions be English and version number for 5 or less the corresponding use of application
Family is designated the corresponding targeted customer's mark of the screening conditions.
In one embodiment, application message method for pushing also includes:The push success returned according to the terminal received
Erasing of information message database in PUSH message.
In the present embodiment, when the user of acquisition is identified corresponding PUSH message by server to be sent to terminal, terminal-pair
The PUSH message received is shown, and is returned after the completion of displaying and is pushed successful message to server, the message is equally carried
User is identified, and server is received after the successful message of the push, is searched according to the user of carrying mark in message database
Corresponding PUSH message is identified to the user, and the PUSH message is removed.
In the present embodiment, after terminal receives PUSH message and successful presentation, the push that server receiving terminal is returned
Successful information, identifies corresponding PUSH message to user and is purged, effectively avoid message and repeat push, improve and push away
The efficiency sent.
As shown in figure 4, comprising the following steps in one embodiment there is provided a kind of application message method for pushing:
Step 410, obtain the visitation frequency recorded in preset time in system journal and access duration, according to access frequency
Secondary and access duration obtains user activity, filters out user activity and is more than the user of default liveness as active use
Family.
In the present embodiment, in order to improve the efficiency of PUSH message, message push is carried out only for recent any active ues, is
Filter out any active ues can pre-set liveness as evaluate user whether be any active ues standard.System journal is
Refer to the information of hardware, software and system problem in record system, while event that can be to occur in monitoring system.Obtain default
The record that supervision application is accessed in system journal in time, that is, obtain the visitation frequency applied in system journal and access duration,
So that according to visitation frequency and duration acquisition user activity is accessed, by the user activity obtained according to system journal with presetting
Liveness is compared, and the corresponding user's mark of application that user activity is more than default liveness, which is that any active ues are corresponding, to be used
Family is identified.
Specifically, being screened for convenience to any active ues, the criterion for setting liveness is proxima luce (prox. luc) to application
Used, i.e. server system journal of the timing to proxima luce (prox. luc) daily is analyzed, as long as meeting in server analysis
Have in system journal using the record applied, be considered as this and be designated any active ues mark using corresponding user.When with householder
When moving some function using application, service end triggers the API (Application of the corresponding server end of the function
Programming Interface, application programming interface) call, now only need to the API request in Ergodic Theory daily record
Daily record is obtained with the corresponding user's mark of any active ues.For example, user is designated the UDID values of system information generation, now
First by Linux grep orders, the regularly system journal to proxima luce (prox. luc) is screened, and is filtered out user and is used application to produce
API request daily record, UDID parameters are included in the Request Log, then using Linux command awk, UDID parameter extractions are gone out
To be saved in a file, one UDID of correspondence per a line.Because user may be more than a day with using applying or use
The difference in functionality of application, therefore there is repetition in the UDID parameters now extracted, the file of preservation UDID parameters is used
Linux sort orders, then using Linux uniq orders, just obtain removing the UDID lists of any active ues after repeating.
Step 420, the corresponding user's mark of any active ues and application message are obtained, and user's mark is deposited with application message
Storage is in database.
In the present embodiment, after the user's mark for obtaining any active ues, corresponding application message is obtained in system journal, should
Include at least one such as version number, area code, language numbering and the active time of application with information.By application message and user
Mark is associated and is stored in database, so as to subsequent operation.
Specifically, by taking MySQL (Relational DBMS) as an example, MySQL is a kind of associated data library management system
System, linked database is saved the data in different tables.What user's mark here can be generated with terminal system information
The expression of UDID values, the different UDID values different terminals of correspondence and different application messages.Obtained after screening, deduplication operation
UDID lists are taken, the corresponding application messages of UDID in the UDID lists are obtained, and by UDID lists and corresponding application message
In the USER tables for storing MySQL database.
In other embodiments, if daily user's visit capacity is more, data warehouse can also be used to identify user
Stored with corresponding application message, be more suitable for the scene of batch increase and condition query.Data warehouse mentioned here
Refer to (Subject Oriented), integrated (Integrated), the metastable (Non- of a subject-oriented
Volatile), the data acquisition system of reflecting history change (Time Variant), for supporting administrative decision (Decision
Making Support)。
Step 430, application message is screened according to default screening conditions, the application for meeting default screening conditions is believed
Cease the targeted customer that corresponding any active ues are pushed as message.
In the present embodiment, in order to further improve pushing efficiency, set screen according to application message in database in advance
Condition, the corresponding application message of any active ues to storage is screened, and will meet the application message pair of default screening conditions
The targeted customer that the user's mark answered is pushed as message identifies.
Specifically, application message includes at least one in version number, area code, language numbering and the active time of application
Kind.Application for different editions number needs different upgrade informations;The message of push according to the different content in area not
Together, such as application of a forecasting weather, row information push is entered when different areas is needed for locality;For application
Active time pushes the application of different message, such as a music service, and the active time recommendation for user is different types of
Music etc., therefore for the particular content of different PUSH messages, compiled previously according to the version number of application, area code, language
Number and at least one of active time screening conditions are set, obtain corresponding target in the corresponding user's mark of any active ues
User's mark of user.Such as by taking MySQL as an example, when the user that corresponding any active ues are obtained according to system journal identifies and right
The application message answered, and after being stored in the USER tables of MySQL database, set screening conditions to carry out USER tables by SQL
Screening, obtains the set of the corresponding user's mark of targeted customer.
Step 440, the user of targeted customer is identified and PUSH message is interrelated and is stored in message database.
In the present embodiment, after the targeted customer for determining PUSH message, by the specific message of PUSH message and targeted customer
Corresponding user's mark is interrelated, and is stored in message database, is easy to the user carried according to the solicited message of terminal
Mark is inquired about corresponding PUSH message.
Specifically, by taking redis databases as an example, redis is that the use increased income an ANSI C language writes, supports net
Network, can based on internal memory also can persistence log type, Key-Value databases, and provide the API of multilingual.When getting
After the set of the corresponding user's mark of targeted customer, user's mark is represented with UDID values, obtains the corresponding UDID row of targeted customer
Each UDID value in table, and each UDID value is interrelated with the PUSH message write respectively, it is stored in UDID
For in key redis Database Lists.The data model of redis databases is key-value patterns, as the guarantor by key of UDID
When depositing, UDID access is supported, and PUSH message is using UDID as mark.
By taking NoSQL (Not only SQL, refer to the database of non-relational) as an example, NoSQL is to data by major key
Inquired about.After obtaining the corresponding UDID lists of targeted customer, each UDID value in UDID lists is obtained, and by UDID
Value is interrelated with PUSH message respectively, preserves in a list, by the major key that UDID is table.
Step 450, the message that receiving terminal automatic regular polling is uploaded pushes request, and message pushes request and carries user's mark,
It whether there is user in the default message database of user's label detection that request carrying is pushed according to message and identify corresponding push away
Send message.
In the present embodiment, automatic regular polling mechanism is set in the application in advance, when this is applied when terminal operating, timing wheel is triggered
Inquiry mechanism, the message of automatic regular polling server, which pushes interface and sends message, pushes request, and message pushes request and carries user's mark
Know, the message that server receiving terminal is sent is pushed after request, by detecting whether there is identical use in message database
Family is identified, and detects whether that there is user identifies corresponding PUSH message.
Specifically, such as being identified using the UDID values that terminal system information is generated as user, server receives terminal upload
When message pushes request, obtain message and push in the UDID that request is carried, inquiry redis databases using UDID as key list,
Now UDID, as invoking server API parameter, is the mark of PUSH message, finds corresponding UDID and illustrates redis
There is the PUSH message associated with the UDID in database.
Likewise, if PUSH message is stored in NoSQL databases, UDID as major key inquire about in NoSQL with
UDID is the form of major key, is pushed to if the message needs for illustrating corresponding push in NoSQL databases if having identical UDID
The corresponding application terminals of the UDID.
Step 460, when detecting the presence of user and identifying corresponding PUSH message, PUSH message is obtained and by PUSH message
Send to terminal, so that terminal-pair PUSH message is shown.
In the present embodiment, because user's mark is associated with PUSH message in message database, if in message database
In detect message and push user's mark identical user mark that request is carried, then explanation exists and pushes what request was carried
User identifies corresponding PUSH message, obtains the PUSH message associated with user mark and sends to terminal, so that terminal
PUSH message is shown.
Specifically, such as being identified using the UDID values that terminal system information is generated as user, by key of UDID in redis data
Identical UDID has been found in storehouse, then has obtained the PUSH message associated with the UDID, then the PUSH message pushes to terminal,
It is shown the terminal-pair PUSH message, such as in informing displaying, pop-up displaying, screen locking displaying, so that user sees this
PUSH message carries out corresponding operating.
Step 470, the push in the successful erasing of information message database of push returned according to the terminal received disappears
Breath.
In the present embodiment, in the present embodiment, sent when the user of acquisition is identified corresponding PUSH message by server to end
During end, the PUSH message that end-on is received is shown, and is returned after the completion of displaying and is pushed successful message to server, this disappears
Breath is same to carry user's mark, and server is received after the successful message of the push, according to the user of carrying mark in message count
Corresponding PUSH message is identified according to the user is found in storehouse, and the PUSH message is removed.
Specifically, being asked when the message that service end pushes interface transmission by mark of UDID to terminal to service end message is pushed
Ask progress corresponding, and corresponding PUSH message is found in redis or NoSQL databases and send to terminal, terminal-pair
The PUSH message is shown, and returns to the push successful information for carrying the UDID to service end, and service end exists according to the UDID
Corresponding PUSH message is found in redis or NoSQL databases, the PUSH message is removed, it is to avoid repeats to push.
In the present embodiment, service end timing analysis system journal is marked the user of targeted customer with determining targeted customer
The specifying information associated storage with PUSH message is known in message database, is that message push is prepared.Sent out when receiving terminal
During the request that the message sent is pushed, corresponding user is searched in message database according to the user's mark for pushing request carrying and marked
Know, pushed so as to obtain corresponding PUSH message, according to the return information of terminal after pushing successfully, removing is pushed into
The PUSH message of work(.Pass through terminal automatic regular polling send acquisition request service end PUSH message, it is not necessary to service end always with
Terminal is kept in touch, by setting the time interval of automatic regular polling, can reasonably utilize service end resource, and set up feedback
Mechanism, it is to avoid repeat to push the resource requirement that reduce further to service end, improve the utilization rate of server.
As shown in figure 5, in one embodiment there is provided a kind of application message pusher, including:
Receiving module 510, request is pushed for the message that receiving terminal automatic regular polling is uploaded, and message is pushed to ask to carry and used
Family is identified;
Detection module 520, for being pushed according to message in the default message database of request detection with the presence or absence of user's mark
Know corresponding PUSH message;
Sending module 530, if for detecting that there is user in default message database identifies corresponding PUSH message,
Obtain PUSH message and send PUSH message to terminal, so that terminal-pair PUSH message is shown.
Above-mentioned application message pusher, the message uploaded by receiving terminal automatic regular polling, which is pushed, asks, according to message
The user's mark for pushing request carrying inquires about corresponding PUSH message in message database, and PUSH message is sent to user
Corresponding terminal is identified to be shown PUSH message.Server only needs to the PUSH message request that receiving terminal timing is uploaded
And responded, it is not necessary to lasting connection is set up with terminal always, the requirement to Service Source is reduced, reached using a small amount of
Server just disclosure satisfy that user's request, improve the utilization rate of server.
As shown in fig. 6, in one embodiment there is provided a kind of application message pusher, including:
Any active ues screening module 610, for obtaining user activity according to the system journal in preset time, is filtered out
The user that user activity is more than default liveness is used as any active ues;
Targeted customer's determining module 620, it is default by meeting for being screened according to default screening conditions to any active ues
The targeted customer that any active ues of condition are pushed as message;
Message storage module 630, for the user of targeted customer mark and PUSH message is interrelated and be stored in and disappear
Cease in database.
In one embodiment, any active ues screening module 610 is used to obtain what is recorded in system journal in preset time
Visitation frequency and access duration;User activity is obtained according to visitation frequency and access duration;Filter out user activity
User more than default liveness is used as any active ues.
In one embodiment, targeted customer's determining module 620 is used to obtain the corresponding user's mark of any active ues and answered
With information, application message includes at least one of version number, area code, language numbering and active time of application;According to
Default screening conditions are screened to application message, will meet the corresponding any active ues of application message of presetting screening conditions as
The targeted customer that message is pushed.
As shown in fig. 7, in one embodiment, application message pusher also includes:
Module 540 is removed, in the successful erasing of information message database of push according to the terminal return received
PUSH message.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of application message method for pushing, it is characterised in that methods described includes:
The message that receiving terminal automatic regular polling is uploaded pushes request, and the message pushes request and carries user's mark;
Pushed according to the message in the default message database of request detection with the presence or absence of the corresponding push of user mark
Message;
If so, then obtaining the PUSH message and sending the PUSH message to terminal, so as to be pushed described in the terminal-pair
Message is shown.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
User activity is obtained according to the system journal in preset time, the user activity is filtered out and is more than default liveness
User be used as any active ues;
Any active ues are screened according to default screening conditions, any active ues for meeting the default screening conditions are made
The targeted customer pushed for message;
The corresponding user's mark of the targeted customer is obtained, the user is identified and PUSH message is interrelated and is stored in institute
State in message database.
3. method according to claim 2, it is characterised in that the system journal according in preset time obtains user
Liveness, filters out the user activity and is more than the user for presetting liveness as any active ues, including:
Obtain the visitation frequency recorded in preset time in system journal and access duration;
The user activity is obtained according to the visitation frequency and access duration;
Filter out the user activity and be more than the user of default liveness as any active ues.
4. method according to claim 2, it is characterised in that the basis is preset screening conditions and entered to any active ues
Row screening, the targeted customer that any active ues for meeting the default screening conditions are pushed as message, including:
The corresponding user of any active ues is obtained to identify and application message, version number of the application message including application,
At least one of area code, language numbering and active time;
The application message is screened according to the default screening conditions, will meet should described in the default screening conditions
The targeted customer pushed with the corresponding any active ues of information as message.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
The push in the message database according to the push successful erasing of information that the terminal received is returned disappears
Breath.
6. a kind of application message pusher, it is characterised in that described device includes:
Receiving module, request is pushed for the message that receiving terminal automatic regular polling is uploaded, and the message pushes request and carries user
Mark;
Detection module, for being pushed according to the message in the default message database of request detection with the presence or absence of user mark
Know corresponding PUSH message;
Sending module, if for detecting that there is the user in default message database identifies corresponding PUSH message, obtains
Take the PUSH message and send the PUSH message to terminal, so that PUSH message described in the terminal-pair is shown.
7. device according to claim 6, it is characterised in that described device also includes:
Any active ues screening module, for obtaining user activity according to the system journal in preset time, filters out the use
The user that family liveness is more than default liveness is used as any active ues;
Targeted customer's determining module, for being screened according to default screening conditions to any active ues, will meet described pre-
If the targeted customer that any active ues of condition are pushed as message;
Message storage module, for obtaining the corresponding user's mark of the targeted customer, the user is identified and PUSH message
It is interrelated and be stored in the message database.
8. device according to claim 7, it is characterised in that any active ues screening module is used to obtain preset time
The visitation frequency and access duration recorded in interior system journal;Described use is obtained according to the visitation frequency and access duration
Family liveness;Filter out the user activity and be more than the user of default liveness as any active ues.
9. device according to claim 7, it is characterised in that targeted customer's determining module is used to obtain described active
User corresponding user mark and application message, the application message include the version number of application, area code, language numbering and
At least one of active time information;The application message is screened according to the default screening conditions, by meeting
State the targeted customer that the corresponding any active ues of the application message of default screening conditions are pushed as message.
10. device according to claim 6, it is characterised in that described device also includes:
Module is removed, in message database described in the successful erasing of information of push according to the terminal return received
The PUSH message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611141946.5A CN106998274A (en) | 2016-12-12 | 2016-12-12 | Application message method for pushing and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611141946.5A CN106998274A (en) | 2016-12-12 | 2016-12-12 | Application message method for pushing and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106998274A true CN106998274A (en) | 2017-08-01 |
Family
ID=59430860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611141946.5A Pending CN106998274A (en) | 2016-12-12 | 2016-12-12 | Application message method for pushing and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106998274A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730317A (en) * | 2017-10-25 | 2018-02-23 | 上海斐讯数据通信技术有限公司 | A kind of advertising display control method, system and a kind of server |
CN108769235A (en) * | 2018-06-08 | 2018-11-06 | 河南嘟嘟计算机科技有限公司 | A kind of statistical method obtaining user's browsing pages time |
CN109040300A (en) * | 2018-09-04 | 2018-12-18 | 航天信息股份有限公司 | The method, apparatus and storage medium of PUSH message |
CN109067864A (en) * | 2018-07-25 | 2018-12-21 | 网易(杭州)网络有限公司 | Notification message method for pushing, device and electronic equipment |
CN109194734A (en) * | 2018-08-29 | 2019-01-11 | 北京小米移动软件有限公司 | Information push method, device, server and readable storage medium storing program for executing |
CN109218411A (en) * | 2018-08-22 | 2019-01-15 | 中国平安人寿保险股份有限公司 | Data processing method and device, computer readable storage medium, electronic equipment |
WO2019210585A1 (en) * | 2018-05-03 | 2019-11-07 | 平安科技(深圳)有限公司 | Message push method and apparatus, and computer readable storage medium and terminal device |
CN110557453A (en) * | 2019-09-05 | 2019-12-10 | 广州虎牙科技有限公司 | data distribution method, device, equipment and storage medium |
CN110737828A (en) * | 2019-09-16 | 2020-01-31 | 平安科技(深圳)有限公司 | information pushing method and related device |
CN111262949A (en) * | 2020-02-21 | 2020-06-09 | 普联技术有限公司 | Message pushing method, control device, monitoring equipment, system and storage medium |
CN111460294A (en) * | 2020-03-31 | 2020-07-28 | 汉海信息技术(上海)有限公司 | Message pushing method and device, computer equipment and storage medium |
CN112148833A (en) * | 2019-06-27 | 2020-12-29 | 百度在线网络技术(北京)有限公司 | Information pushing method, server, terminal and electronic equipment |
CN112187622A (en) * | 2020-09-27 | 2021-01-05 | 北京金山云网络技术有限公司 | Instant message display method and device and server |
CN112333259A (en) * | 2020-10-29 | 2021-02-05 | 云账户技术(天津)有限公司 | Message pushing method and device and readable storage medium |
CN112612962A (en) * | 2020-12-28 | 2021-04-06 | 厦门市最有料信息科技有限公司 | Personalized recommended content access duplication elimination management method |
CN115238198A (en) * | 2022-09-26 | 2022-10-25 | 江苏银承网络科技股份有限公司 | Method and device for pushing file information |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685502A (en) * | 2013-12-09 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Message pushing method, device and system |
CN103780603A (en) * | 2013-12-31 | 2014-05-07 | 电子科技大学 | Lightweight push method in application |
CN104967552A (en) * | 2014-11-12 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Message push method and apparatus |
CN105491539A (en) * | 2014-09-18 | 2016-04-13 | 博雅网络游戏开发(深圳)有限公司 | Message push management method and device |
CN105631538A (en) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | User activity prediction method and device, and application method and system thereof |
CN106161593A (en) * | 2016-06-21 | 2016-11-23 | 北京奇虎科技有限公司 | MESSAGE POLL method and server, communication system |
-
2016
- 2016-12-12 CN CN201611141946.5A patent/CN106998274A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685502A (en) * | 2013-12-09 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Message pushing method, device and system |
CN103780603A (en) * | 2013-12-31 | 2014-05-07 | 电子科技大学 | Lightweight push method in application |
CN105491539A (en) * | 2014-09-18 | 2016-04-13 | 博雅网络游戏开发(深圳)有限公司 | Message push management method and device |
CN104967552A (en) * | 2014-11-12 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Message push method and apparatus |
CN105631538A (en) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | User activity prediction method and device, and application method and system thereof |
CN106161593A (en) * | 2016-06-21 | 2016-11-23 | 北京奇虎科技有限公司 | MESSAGE POLL method and server, communication system |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730317A (en) * | 2017-10-25 | 2018-02-23 | 上海斐讯数据通信技术有限公司 | A kind of advertising display control method, system and a kind of server |
WO2019210585A1 (en) * | 2018-05-03 | 2019-11-07 | 平安科技(深圳)有限公司 | Message push method and apparatus, and computer readable storage medium and terminal device |
CN108769235A (en) * | 2018-06-08 | 2018-11-06 | 河南嘟嘟计算机科技有限公司 | A kind of statistical method obtaining user's browsing pages time |
CN109067864A (en) * | 2018-07-25 | 2018-12-21 | 网易(杭州)网络有限公司 | Notification message method for pushing, device and electronic equipment |
CN109067864B (en) * | 2018-07-25 | 2021-03-05 | 网易(杭州)网络有限公司 | Notification message pushing method and device and electronic equipment |
CN109218411A (en) * | 2018-08-22 | 2019-01-15 | 中国平安人寿保险股份有限公司 | Data processing method and device, computer readable storage medium, electronic equipment |
CN109218411B (en) * | 2018-08-22 | 2022-10-18 | 中国平安人寿保险股份有限公司 | Data processing method and device, computer readable storage medium and electronic equipment |
CN109194734A (en) * | 2018-08-29 | 2019-01-11 | 北京小米移动软件有限公司 | Information push method, device, server and readable storage medium storing program for executing |
CN109040300A (en) * | 2018-09-04 | 2018-12-18 | 航天信息股份有限公司 | The method, apparatus and storage medium of PUSH message |
CN109040300B (en) * | 2018-09-04 | 2021-05-14 | 航天信息股份有限公司 | Method, device and storage medium for pushing messages |
CN112148833B (en) * | 2019-06-27 | 2023-08-08 | 百度在线网络技术(北京)有限公司 | Information pushing method, server, terminal and electronic equipment |
CN112148833A (en) * | 2019-06-27 | 2020-12-29 | 百度在线网络技术(北京)有限公司 | Information pushing method, server, terminal and electronic equipment |
CN110557453A (en) * | 2019-09-05 | 2019-12-10 | 广州虎牙科技有限公司 | data distribution method, device, equipment and storage medium |
CN110737828A (en) * | 2019-09-16 | 2020-01-31 | 平安科技(深圳)有限公司 | information pushing method and related device |
CN111262949A (en) * | 2020-02-21 | 2020-06-09 | 普联技术有限公司 | Message pushing method, control device, monitoring equipment, system and storage medium |
CN111262949B (en) * | 2020-02-21 | 2023-04-07 | 普联技术有限公司 | Message pushing method, control device, monitoring equipment, system and storage medium |
CN111460294A (en) * | 2020-03-31 | 2020-07-28 | 汉海信息技术(上海)有限公司 | Message pushing method and device, computer equipment and storage medium |
CN111460294B (en) * | 2020-03-31 | 2023-09-15 | 汉海信息技术(上海)有限公司 | Message pushing method, device, computer equipment and storage medium |
CN112187622A (en) * | 2020-09-27 | 2021-01-05 | 北京金山云网络技术有限公司 | Instant message display method and device and server |
CN112333259A (en) * | 2020-10-29 | 2021-02-05 | 云账户技术(天津)有限公司 | Message pushing method and device and readable storage medium |
CN112612962A (en) * | 2020-12-28 | 2021-04-06 | 厦门市最有料信息科技有限公司 | Personalized recommended content access duplication elimination management method |
CN115238198A (en) * | 2022-09-26 | 2022-10-25 | 江苏银承网络科技股份有限公司 | Method and device for pushing file information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106998274A (en) | Application message method for pushing and device | |
CN105531698B (en) | Equipment, system and method for batch and real time data processing | |
US10275355B2 (en) | Method and apparatus for cleaning files in a mobile terminal and associated mobile terminal | |
CN109145047B (en) | User tag portrait configuration method, data processing device and storage medium | |
CN105677250B (en) | The update method and updating device of object data in object storage system | |
CN108463817A (en) | Personalised entity library | |
CN107943841A (en) | Stream data processing method, system and computer-readable recording medium | |
CN103136335A (en) | Data control method based on data platforms | |
US20080243789A1 (en) | Groupware system with improved contact data handling | |
CN107341225B (en) | Information intelligent push and discrimination method, device and system | |
CN107222570B (en) | Health information pushing method based on user use condition | |
CN101103349A (en) | Method for extracting content, content extraction server based on RSS and apparatus for managing the same and system for providing standby screen of mobile communication terminal using the same | |
CN101690109A (en) | Be used to use the user profile generation architecture of the targeted content distribution of external procedure | |
CN104067268A (en) | Unified user profiles | |
CN106886597A (en) | Control system, control method and receiving terminal that a kind of trigger-type is notified | |
CN112311612A (en) | Family portrait construction method and device and storage medium | |
CN101833580A (en) | Report inquiring system and data acquisition method and device thereof | |
CN110442791A (en) | Data push method and system | |
CN102236707A (en) | Method, device and system for obtaining update data of database | |
CN106844497A (en) | The check device and method of a kind of database code | |
US7275065B2 (en) | Method and system for supporting per-user-per-row read/unread tracking for relational databases | |
CN112348568A (en) | Centralized management platform and method for account number of advertisement putting platform | |
CN111046113A (en) | Data retrieval device and method for different types of data warehouses | |
CN108173898A (en) | The method, apparatus and terminal device of service are accessed for resource | |
CN112395366A (en) | Data processing and creating method and device of distributed database and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170801 |
|
RJ01 | Rejection of invention patent application after publication |