CN107920018A - A kind of method, server and system for realizing delay propelling data - Google Patents
A kind of method, server and system for realizing delay propelling data Download PDFInfo
- Publication number
- CN107920018A CN107920018A CN201711225393.6A CN201711225393A CN107920018A CN 107920018 A CN107920018 A CN 107920018A CN 201711225393 A CN201711225393 A CN 201711225393A CN 107920018 A CN107920018 A CN 107920018A
- Authority
- CN
- China
- Prior art keywords
- interruption
- destination client
- free
- data
- delay
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the present invention provides a kind of method, server and system for realizing delay propelling data.Wherein, the described method includes:Judge whether destination client pair has carried out interruption-free setting with being pushed to the corresponding propelling data template of data of the destination client in advance;If knowing, the destination client has carried out the interruption-free and has set, then obtain the interruption-free period that the interruption-free is set, and judge current time whether within the interruption-free period, if judgement knows current time not within the interruption-free period, the data are pushed immediately to the destination client;If judgement knows current time within the interruption-free period, delay pushes the data and gives the destination client;If knowing, the destination client does not carry out the interruption-free setting, pushes the data immediately to the destination client.The embodiment of the present invention realizes by supporting interruption-free to set and uses different push modes according to different set of propelling data template, improve the interruption-free performance of data-pushing function.
Description
Technical field
The present embodiments relate to network technique field, is specially a kind of method for realizing delay propelling data, server
And system.
Background technology
With the fast development of mobile communication technology, feed pushes the common features for having become numerous softwares, passes through
Dynamic realtime can be broadcast to subscriber by Feed streams, be a kind of effective means that user obtains information flow.Feed is actually
Be a kind of data format, the content of renewal be persistently provided to user, microblogging, circle of friends, know, major door media, user terminal
Received fresh information, is all a kind of feed streams.
Current feed technologies are that feed projects are responsible for distribution push in itself, and feed streams are sent to corresponding subscribe to eventually
End.Feed push is realized by template (template) mechanism, and template can be registered in platform by developer, note
Need to define field during volume and finally show pattern, such as:The source of houses { house } price reduction { count } member that you pay close attention to.
Current feed push technologies in the industry, there is following technical shortcoming:Feed technologies push away immediately to subscribing to message
Send, the user of feed systems cannot carry out received type of message the refinement configuration interruption-free push time.For example it can not realize
PUSH message is received immediately for important type of message, and the interruption-free time is set for insignificant type of message, is being exempted from
Bother and message is not received in the period.
The content of the invention
To solve the problems, such as that can not be directed to specific type of message in the prior art sets interruption-free, the embodiment of the present invention carries
For a kind of method, server and system for realizing delay propelling data.
In a first aspect, the embodiment of the present invention provides a kind of method for realizing delay propelling data, this method includes:Judge mesh
Whether mark client, which pair has carried out interruption-free with being pushed to the corresponding propelling data template of data of the destination client in advance, sets
Put;If knowing, the destination client has carried out the interruption-free and has set, and obtains the interruption-free time that the interruption-free is set
Section, and current time is judged whether within the interruption-free period, if judging to know current time not in the interruption-free
Between in section, then push the data immediately to the destination client;If judgement knows current time in the interruption-free time
In section, then delay pushes the data and gives the destination client;If knowing, the destination client does not carry out the interruption-free
Set, then push the data immediately to the destination client.
Second aspect, the embodiment of the present invention provide a kind of server for realizing delay propelling data, which includes:Sentence
Disconnected module, is specifically used for:Judge destination client whether pair with being pushed to the corresponding push of data of the destination client in advance
Data template has carried out interruption-free setting;Execution module, is specifically used for:If know the destination client carried out it is described exempt from beat
Setting is disturbed, then obtains the interruption-free period that the interruption-free is set, and judge current time whether in the interruption-free time
In section, if judging to know current time not within the interruption-free period, the data are pushed immediately and give target visitor
Family end;If judgement knows current time within the interruption-free period, delay pushes the data and gives the target customer
End;If knowing, the destination client does not carry out the interruption-free setting, pushes the data immediately to the target customer
End.
The third aspect, the embodiment of the present invention provide a kind of system for realizing delay propelling data, which includes:The present invention
Any server and destination client that embodiment provides;The destination client is used to carry out interruption-free setting, described to exempt to beat
Disturb the interruption-free time for setting and including the ID of the destination client, the ID of propelling data template and the propelling data template
Section;The interruption-free is sent to set to the server;Receive the data of the server push.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, including memory and processor, the processor and
The memory completes mutual communication by bus;The memory storage has and can be referred to by the program that the processor performs
Order, the processor call described program instruction to be able to carry out following method:Judge destination client whether pair with being pushed in advance
The corresponding propelling data template of data of the destination client has carried out interruption-free setting;If know the destination client into
The interruption-free of having gone is set, then obtains the interruption-free period that the interruption-free is set, and judge current time whether in institute
State in the interruption-free period, if judging to know that current time within the interruption-free period, does not push the data immediately
To the destination client;If judgement knows current time within the interruption-free period, delay pushes the data and gives
The destination client;If knowing, the destination client does not carry out the interruption-free setting, push immediately the data to
The destination client.
5th aspect, the embodiment of the present invention provide a kind of computer-readable recording medium, are stored thereon with computer program,
The computer program realizes following method when being executed by processor:Judge destination client whether pair be pushed to the target in advance
The corresponding propelling data template of data of client has carried out interruption-free setting;If it is described to know that the destination client has carried out
Interruption-free is set, then obtains the interruption-free period that the interruption-free is set, and judge current time whether in the interruption-free
In period, if judging to know current time not within the interruption-free period, the data are pushed immediately to the mesh
Mark client;If judgement knows current time within the interruption-free period, delay pushes the data and gives the target
Client;If knowing, the destination client does not carry out the interruption-free setting, pushes the data immediately to the target
Client.
The embodiment of the present invention is realized and set according to the different of propelling data template using not by supporting interruption-free to set
Same push mode, improves the interruption-free performance of data-pushing function.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow diagram provided in an embodiment of the present invention realized and postpone propelling data;
Fig. 2 is the structure diagram of the server provided in an embodiment of the present invention realized and postpone propelling data;
Fig. 3 is the structure diagram of the system provided in an embodiment of the present invention realized and postpone propelling data;
Fig. 4 is the structure diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
Fig. 1 is the method flow diagram provided in an embodiment of the present invention realized and postpone propelling data.As shown in Figure 1, the side
Method includes:
Step S1, judge destination client whether pair with being pushed to the corresponding push number of data of the destination client in advance
Interruption-free setting has been carried out according to template;
Server is filled by propelling data template to the data that destination client pushes and generated.If server is to target customer
The source of houses price reduction information data " 1 building 2 unit 102 in source of houses Zhong Guan-cun West that you pay close attention to make a price reduction 10,000 yuan " that end is sent, then can be by
This propelling data template " source of houses { house } price reduction { count } member that you pay close attention to " generation;All source of houses price reduction information datas are all logical
The price reduction propelling data template filling generation of this source of houses is crossed, therefore, a propelling data template corresponds to a type of data.
Whether server first determines whether destination client pair with being pushed in advance before by data-pushing to destination client
The corresponding propelling data template of data of the destination client has carried out interruption-free setting;If destination client pushes away some
Send data template to carry out interruption-free setting, then exempted from equivalent to the data to all thus propelling data template generations
Bother setting.Wherein, the interruption-free, which is set, includes setting the interruption-free period.Specifically, client is to propelling data template
Carrying out interruption-free setting can be by being configured corresponding functional label, and the functional label is corresponding with propelling data template.
Interruption-free setting such as is carried out to " source of houses price adjustment " functional label, is a pair propelling data corresponding with " source of houses price adjustment " functional label
Template carries out interruption-free setting.
If step S2, knowing, the destination client has carried out the interruption-free and has set, and obtains the interruption-free and sets
The interruption-free period, and current time is judged whether within the interruption-free period, if judging to know that current time does not exist
In the interruption-free period, then the data are pushed immediately to the destination client;If judgement knows current time in institute
State in the interruption-free period, then delay pushes the data and gives the destination client;If know the destination client not into
The row interruption-free is set, then pushes the data immediately to the destination client.
If server knows that the destination client has carried out the propelling data template interruption-free and set, into
One step obtains the interruption-free period that the interruption-free is set, the data that such as readjust prices to the pushes customer source of houses, and knows target
Client has carried out interruption-free setting to the propelling data template of " source of houses price adjustment ", and it is 23 further to know the interruption-free period:
00-06:00, then judge current time whether within the interruption-free period.If current time is 22:00, when illustrating current
Carve not within the interruption-free period, then push the data of the source of houses price adjustment immediately to the destination client;As currently
Moment is 01:00, illustrate current time within the interruption-free period, then delay pushes the data of the source of houses price adjustment to institute
State destination client, after the interruption-free period as described in being arranged to sometime carry out as described in data pushing away to destination client
Send.
If knowing, the destination client does not carry out the interruption-free setting to the propelling data template, immediately push
The data give the destination client.
The push of the data can be realized by the form of pop-up.
The embodiment of the present invention is realized and set according to the different of propelling data template using not by supporting interruption-free to set
Same push mode, improves the interruption-free performance of data-pushing function.
Further, based on above-described embodiment, if the judgement knows current time within the interruption-free period,
Delay pushes the data and is specifically included to the destination client:If judgement knows current time in the interruption-free period
It is interior, then further obtain the use state of the destination client;If the destination client is used, institute is pushed immediately
Data are stated to the destination client;Otherwise, delay pushes the data and gives the destination client.
If judgement knows that current time within the interruption-free period, further obtains making for the destination client
With state, since server application software corresponding with destination client is communicated and data-pushing, so the target is objective
The use state at family end refers to the use state of the corresponding application software in the destination client, such as the use state of mobile phone app.
The destination client, which is used, refers to that the corresponding app of the destination client is just used in front end.If the target customer
Rectify and used in front end, then heartbeat request signal can be sent to server (as per 5s) according to predetermined period, if therefore server
Judge to be informed in the heartbeat request signal for receiving the destination client in 5s, then would know that the target customer rectifies
Used in front end, otherwise, the destination client is for running background or not in net (being not switched on corresponding app or mobile phone shutdown) shape
State.
If the destination client is used, the data are pushed immediately to the destination client;Otherwise, it is described
Destination client pushes the data and gives the destination client for running background or not in net state, then delay.
On the basis of above-described embodiment, the embodiment of the present invention is made by obtaining in interruption-free period destination client
With state, if destination client is used, instant propelling data, on the basis of interruption-free performance is ensured, improves number
According to the promptness of push.
Further, the data are pushed and are specifically included to the destination client based on above-described embodiment, the delay:
The data, the ID of corresponding destination client and the interruption-free period that need to will postpone to push are stored into delay push number
According to table, the poll traversal delay propelling data table, if judging to know current time not within the interruption-free period or institute
State destination client to be used, then push the data to the destination client.
If current time within the interruption-free period, if or current time it is within the interruption-free period and described
Destination client is not using, then delay pushes the data and gives the destination client.Server will need to postpone the number of push
Delay propelling data table is stored into according to, the ID of corresponding destination client and the interruption-free period, server passes through poll
The table is traveled through, judges whether current time has had been subjected to whether the interruption-free period or the destination client make
With if judging to know that the interruption-free period or judgement knew that the destination client is used, by the number
According to being pushed to the destination client, and mark the data and pushed;Otherwise, then continue waiting for.
On the basis of above-described embodiment, the embodiment of the present invention travels through delay propelling data table by poll, when current
Quarter sends data in time not after the interruption-free period or when destination client is used, and ensure that the promptness of data-pushing.
Further, further included based on above-described embodiment, the method:The interruption-free for receiving the destination client is set
Put, the interruption-free, which is set, includes the ID of the destination client, the ID of the propelling data template and the interruption-free time
Section;Receive and the interruption-free setting is stored after the interruption-free is set.
Destination client can to propelling data template carry out interruption-free setting, specifically can by with corresponding propelling data template
Corresponding functional label is realized.Interruption-free setting such as is carried out to " source of houses price adjustment ", the interruption-free period is arranged to 22:00~
05:00, and the interruption-free is set and is sent to server.The interruption-free that server receives the destination client is set
Put, the interruption-free, which is set, includes the ID of the destination client, the ID of the propelling data template and the interruption-free time
Section;The ID of the propelling data template and the propelling data template correspond;I.e. described server exempts to beat described in receiving
Disturb client, specific propelling data template and the interruption-free time that would know that after setting and interruption-free is set.Server connects
Receive after the interruption-free is set and stored, in case carrying out whether destination client carries out interruption-free when needing propelling data
The inquiry of setting.
On the basis of above-described embodiment, the embodiment of the present invention is set by receiving the interruption-free of destination client, in fact
Existing interruption-free delay push provides premise.
Fig. 2 is the structure diagram of the server provided in an embodiment of the present invention realized and postpone propelling data.Such as Fig. 2 institutes
Showing, the server includes judgment module 10 and execution module 20, wherein:
Judgment module 10 is specifically used for:Judge destination client whether pair with being pushed to the data of the destination client in advance
Corresponding propelling data template has carried out interruption-free setting;
Judgment module 10, which judges whether destination client is pair corresponding with being pushed to the data of the destination client in advance, to be pushed away
Data template is sent to carry out interruption-free setting;If destination client has carried out interruption-free setting to some propelling data template,
Then interruption-free setting has been carried out equivalent to the data to all thus propelling data template generations.Wherein, the interruption-free is set
Put including setting the interruption-free period.
Execution module 20 is specifically used for:If knowing, the destination client has carried out the interruption-free and has set, and obtains institute
The interruption-free period of interruption-free setting is stated, and judges current time whether within the interruption-free period, if judging to know
Current time not within the interruption-free period, then pushes the data to the destination client immediately;If judgement is known
Then delay pushed the data and gave the destination client within the interruption-free period current time;If know the mesh
Mark client does not carry out the interruption-free setting, then pushes the data immediately to the destination client.
If execution module 20 knows that the destination client has carried out the propelling data template interruption-free and set,
The interruption-free period that the interruption-free is set, the data that such as readjust prices to the pushes customer source of houses are then further obtained, and are known
Destination client has carried out interruption-free setting to the propelling data template of " source of houses price adjustment ", and knows the interruption-free period, then sentences
Whether disconnected current time is within the interruption-free period.If current time does not push away immediately within the interruption-free period
The data of the source of houses price adjustment are sent to the destination client;If current time, within the interruption-free period, delay pushes away
The data of the source of houses price adjustment are sent sometime to carry out institute after the interruption-free period as described in being arranged to the destination client
State push of the data of source of houses price adjustment to destination client.If know the destination client to the propelling data template not into
The row interruption-free is set, then pushes the data of the source of houses price adjustment immediately to the destination client.
The embodiment of the present invention is realized and set according to the different of propelling data template using not by supporting interruption-free to set
Same push mode, improves the interruption-free performance of data-pushing function.
Further, it is additionally operable to based on above-described embodiment, the execution module 20:If judgement knows current time described
In the interruption-free period, then the use state of the destination client is further obtained;If the destination client is used,
The data are then pushed immediately to the destination client;Otherwise, delay pushes the data and gives the destination client.
If judgement knows that current time within the interruption-free period, further obtains making for the destination client
With state, such as the use state of the corresponding app of mobile phone terminal.The phase for referring to the destination client is used in the destination client
App is answered just to be used in front end.If the destination client is just used in front end, heartbeat request letter can be sent according to predetermined period
Number give server, if therefore server judge to be informed in the heartbeat request for receiving the destination client in predetermined period
Signal, then would know that the destination client is just used in front end, and otherwise, the destination client is for running background or not in net
State.
If the destination client is used, the data are pushed immediately to the destination client;Otherwise, it is described
Destination client pushes the data and gives the destination client for running background or not in net state, then delay.
On the basis of above-described embodiment, the embodiment of the present invention is informed in interruption-free period destination client by judging
It is used, and then instant propelling data, on the basis of interruption-free performance is ensured, improve the promptness of data-pushing.
Further, it is additionally operable to based on above-described embodiment, the execution module:It will need to postpone the data, right of push
The ID for the destination client answered and the interruption-free period are stored into delay propelling data table, the delay push of poll traversal
Tables of data, if judgement knows current time not within the interruption-free period or the destination client is used, pushes away
The data are sent to the destination client.
If need to postpone to push, execution module need to will postpone the data of push, corresponding destination client ID and described exempt from
Bothering the period is stored into delay propelling data table, and whether execution module travel through the table by poll, judge current time
The interruption-free period is spent or whether the destination client is used, if having spent the interruption-free period or described
Destination client is used, then gives the data-pushing to the destination client, and mark the data and pushed;It is no
Then, then continue waiting for.
On the basis of above-described embodiment, the embodiment of the present invention travels through delay propelling data table by poll, when current
Quarter sends data in time not after the interruption-free period or when destination client is used, and ensure that the promptness of data-pushing.
Further, based on above-described embodiment, described device further includes interruption-free and sets acquisition module, specifically for receiving
The interruption-free of the destination client is set, and the interruption-free, which is set, includes the ID of the destination client, the propelling data
The ID of template and the interruption-free period;Receive and the interruption-free setting is stored after the interruption-free is set.
The interruption-free that interruption-free sets acquisition module to receive the destination client is set, and the interruption-free sets bag
Include the ID of the destination client, the ID of the propelling data template and the interruption-free period;I.e. described server receives
When would know that the client that interruption-free is set, specific propelling data template and interruption-free after being set to the interruption-free
Between;Interruption-free sets acquisition module to receive after the interruption-free is set and is stored, in case when needing propelling data for sentencing
Disconnected module 10 carries out the inquiry whether destination client carries out interruption-free setting.
On the basis of above-described embodiment, the embodiment of the present invention is set by receiving the interruption-free of destination client, in fact
Existing interruption-free delay push provides premise.
Fig. 3 is the structure diagram of the system provided in an embodiment of the present invention realized and postpone propelling data.As shown in figure 3,
The system comprises server 1 and destination client 2, the server prolongs for any realization provided in an embodiment of the present invention
The server of slow propelling data.The destination client is used to carry out interruption-free setting, and the interruption-free, which is set, includes the mesh
Mark ID, the ID of propelling data template and the interruption-free period of the propelling data template of client;Exempt to beat described in transmission
Setting is disturbed to the server;Receive the data of the server push.
The ID of the propelling data template is corresponded with propelling data template, would know that according to the ID of the push template
Corresponding propelling data template.As 2 pairs of destination client propelling data template corresponding with source of houses price adjustment has carried out exempting to beat
Setting is disturbed, and sends the interruption-free and sets to server 1, the interruption-free sets the ID and the source of houses for including destination client
The ID for corresponding propelling data template of readjusting prices and interruption-free period.
Server 1 is received after the interruption-free is set and stored.Need to be to 2 propelling data of destination client when,
Whether inquiry destination client 2 first has carried out interruption-free setting to corresponding data-pushing template, if not carrying out interruption-free
Set, then push immediately;If having carried out interruption-free setting, determine whether destination client 2 is used, if mesh
Mark client 2 is used, then can also push immediately, and otherwise, delay propelling data is to destination client 2.
The embodiment of the present invention is realized and set according to the different of propelling data template using not by supporting interruption-free to set
Same push mode, improves the interruption-free performance of data-pushing function.
Fig. 4 is the structure diagram of electronic equipment provided in an embodiment of the present invention.As shown in figure 4, electronic equipment 4 includes place
Manage device 401, memory 402 and bus 403.Wherein, the processor 401 and the memory 402 are complete by the bus 403
Into mutual communication;The processor 401 is used to call the programmed instruction in the memory 402, to perform above-mentioned each side
The method that method embodiment is provided, such as including:Judge destination client whether pair with being pushed to the destination client in advance
The corresponding propelling data template of data has carried out interruption-free setting;If knowing, the destination client has carried out the interruption-free and has set
Put, then obtain the interruption-free period that the interruption-free is set, and judge current time whether within the interruption-free period,
If judgement knows current time not within the interruption-free period, the data are pushed immediately to the destination client;
If judgement knows current time within the interruption-free period, delay pushes the data and gives the destination client;If
Know that the destination client does not carry out the interruption-free setting, then push the data immediately to the destination client.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product includes being stored in non-transient
Computer program on computer-readable recording medium, the computer program include programmed instruction, when described program instructs quilt
When computer performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Judge target customer
Whether end pair has carried out interruption-free setting with being pushed to the corresponding propelling data template of data of the destination client in advance;If obtain
Know that the destination client has carried out the interruption-free and set, then obtain the interruption-free period that the interruption-free is set, and sentence
Whether disconnected current time is within the interruption-free period, if judging to know current time not within the interruption-free period,
The data are then pushed immediately to the destination client;If judgement knows current time within the interruption-free period,
Delay pushes the data and gives the destination client;If knowing, the destination client does not carry out the interruption-free setting,
Immediately the data are pushed to the destination client.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage
Medium storing computer instructs, and the computer instruction makes the computer perform the side that above-mentioned each method embodiment is provided
Method, such as including:Judge destination client whether pair with being pushed to the corresponding propelling data of data of the destination client in advance
Template has carried out interruption-free setting;If knowing, the destination client has carried out the interruption-free and has set, and exempts to beat described in acquisition
The interruption-free period of setting is disturbed, and judges current time whether within the interruption-free period, if judge to know current
Carve not within the interruption-free period, then push the data immediately to the destination client;If judgement knows current
It is engraved in the interruption-free period, then delay pushes the data and gives the destination client;If know the target customer
End does not carry out the interruption-free setting, then pushes the data immediately to the destination client.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The embodiments such as electronic equipment described above are only schematical, illustrate wherein described as separating component
Unit may or may not be physically separate, and thing is may or may not be as the component that unit is shown
Manage unit, you can with positioned at a place, or can also be distributed in multiple network unit.It can select according to the actual needs
Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying wound
In the case of the work for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
The part that technical solution substantially in other words contributes to the prior art is stated to embody in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is used so that an electronic equipment (can be personal computer, server, or network equipment etc.) performs each embodiment
Or the method described in some parts of embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and
Scope.
Claims (10)
- A kind of 1. method for realizing delay propelling data, it is characterised in that including:Judge whether destination client pair carries out with being pushed to the corresponding propelling data template of data of the destination client in advance Interruption-free setting;If knowing, the destination client has carried out the interruption-free and has set, and obtains the interruption-free time that the interruption-free is set Section, and current time is judged whether within the interruption-free period, if judging to know current time not in the interruption-free Between in section, then push the data immediately to the destination client;If judgement knows current time in the interruption-free time In section, then delay pushes the data and gives the destination client;If knowing, the destination client does not carry out the interruption-free Set, then push the data immediately to the destination client.
- 2. according to the method described in claim 1, it is characterized in that, if the judgement knows current time in the interruption-free Between in section, then delay pushes the data and is specifically included to the destination client:If judgement knows current time within the interruption-free period, further obtain the destination client uses shape State;If the destination client is used, the data are pushed immediately to the destination client;Otherwise, delay push The data give the destination client.
- 3. method according to claim 1 or 2, it is characterised in that the delay pushes the data and gives target visitor Family end specifically includes:The data, the ID of corresponding destination client and the interruption-free period that need to will postpone to push are stored into delay and push away Send tables of data, the poll traversal delay propelling data table, if judging to know current time not within the interruption-free period Or the destination client is used, then the data are pushed to the destination client.
- 4. method according to claim 1 or 2, it is characterised in that the method further includes:The interruption-free for receiving the destination client is set, and the interruption-free sets the ID for including the destination client, push The ID of data template and the interruption-free period;Receive and the interruption-free setting is stored after the interruption-free is set.
- 5. a kind of server for realizing delay propelling data, it is characterised in that the server includes:Judgment module, is specifically used for:Judge whether destination client is pair corresponding with being pushed to the data of the destination client in advance Propelling data template carried out interruption-free setting;Execution module, is specifically used for:If knowing, the destination client has carried out the interruption-free and has set, and exempts to beat described in acquisition The interruption-free period of setting is disturbed, and judges current time whether within the interruption-free period, if judge to know current Carve not within the interruption-free period, then push the data immediately to the destination client;If judgement knows current It is engraved in the interruption-free period, then delay pushes the data and gives the destination client;If know the target customer End does not carry out the interruption-free setting, then pushes the data immediately to the destination client.
- 6. server according to claim 5, it is characterised in that the execution module is additionally operable to:If judgement knows current time within the interruption-free period, further obtain the destination client uses shape State;If the destination client is used, the data are pushed immediately to the destination client;Otherwise, delay push The data give the destination client.
- 7. the server according to claim 5 or 6, it is characterised in that the execution module is additionally operable to:The data, the ID of corresponding destination client and the interruption-free period that need to will postpone to push are stored into delay and push away Send tables of data, the poll traversal delay propelling data table, if judging to know current time not within the interruption-free period Or the destination client is used, then the data are pushed to the destination client.
- A kind of 8. system for realizing delay propelling data, it is characterised in that the system comprises:Server and destination client as described in claim 5 to 7 is any;The destination client is used to carry out interruption-free setting, and the interruption-free, which is set, to be included the ID of the destination client, push away Send the ID of data template and the interruption-free period of the propelling data template;The interruption-free is sent to set to the service Device;Receive the data of the server push.
- 9. a kind of electronic equipment, it is characterised in that including memory and processor, the processor and the memory pass through total Line completes mutual communication;The memory storage has the programmed instruction that can be performed by the processor, the processor tune The method as described in Claims 1-4 is any is able to carry out with described program instruction.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The method as described in Claims 1-4 is any is realized when processor performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225393.6A CN107920018B (en) | 2017-11-29 | 2017-11-29 | Method, server and system for realizing delayed push of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225393.6A CN107920018B (en) | 2017-11-29 | 2017-11-29 | Method, server and system for realizing delayed push of data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107920018A true CN107920018A (en) | 2018-04-17 |
CN107920018B CN107920018B (en) | 2020-10-09 |
Family
ID=61898102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711225393.6A Active CN107920018B (en) | 2017-11-29 | 2017-11-29 | Method, server and system for realizing delayed push of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107920018B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451152A (en) * | 2018-10-30 | 2019-03-08 | 上海与德科技有限公司 | A kind of information transferring method and system based on mobile terminal |
CN112752323A (en) * | 2020-12-31 | 2021-05-04 | 上海连尚网络科技有限公司 | Method and device for changing hotspot access state |
CN112770415A (en) * | 2020-12-31 | 2021-05-07 | 上海连尚网络科技有限公司 | Information processing method and device about wireless hotspot |
CN113490167A (en) * | 2021-08-10 | 2021-10-08 | 贵州科库科技有限公司 | Short message sending method and system based on CRM system data set and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2053552A3 (en) * | 2005-11-03 | 2011-02-02 | KTFreetel Co., Ltd. | A legacy cooperation device and processing method |
CN103259825A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for message pushing |
CN103561152A (en) * | 2013-11-05 | 2014-02-05 | 广东欧珀移动通信有限公司 | Push message processing method and mobile terminal |
CN106331027A (en) * | 2015-06-30 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Information pushing method, pushing device and system |
US20170034296A1 (en) * | 2011-04-28 | 2017-02-02 | Facebook, Inc. | Managing notifications pushed to user devices |
CN106412003A (en) * | 2015-07-30 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Information pushing method and device, and information request device |
CN106600314A (en) * | 2016-11-23 | 2017-04-26 | 深圳市掌众信息技术有限公司 | Advertisement pushing system |
CN106844065A (en) * | 2017-01-18 | 2017-06-13 | 宇龙计算机通信科技(深圳)有限公司 | message display method, device and intelligent terminal |
CN107040579A (en) * | 2016-01-29 | 2017-08-11 | 纳宝株式会社 | The method and system of personalized notifications are provided in content service |
CN107040902A (en) * | 2015-07-29 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and apparatus that a kind of message is pushed |
CN107241493A (en) * | 2017-05-24 | 2017-10-10 | 北京小米移动软件有限公司 | Information processing method, device and computer-readable recording medium |
CN107302573A (en) * | 2017-06-19 | 2017-10-27 | 福建中金在线信息科技有限公司 | A kind of information-pushing method, device, electronic equipment and storage medium |
-
2017
- 2017-11-29 CN CN201711225393.6A patent/CN107920018B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2053552A3 (en) * | 2005-11-03 | 2011-02-02 | KTFreetel Co., Ltd. | A legacy cooperation device and processing method |
US20170034296A1 (en) * | 2011-04-28 | 2017-02-02 | Facebook, Inc. | Managing notifications pushed to user devices |
CN103259825A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for message pushing |
CN103561152A (en) * | 2013-11-05 | 2014-02-05 | 广东欧珀移动通信有限公司 | Push message processing method and mobile terminal |
CN106331027A (en) * | 2015-06-30 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Information pushing method, pushing device and system |
CN107040902A (en) * | 2015-07-29 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and apparatus that a kind of message is pushed |
CN106412003A (en) * | 2015-07-30 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Information pushing method and device, and information request device |
CN107040579A (en) * | 2016-01-29 | 2017-08-11 | 纳宝株式会社 | The method and system of personalized notifications are provided in content service |
CN106600314A (en) * | 2016-11-23 | 2017-04-26 | 深圳市掌众信息技术有限公司 | Advertisement pushing system |
CN106844065A (en) * | 2017-01-18 | 2017-06-13 | 宇龙计算机通信科技(深圳)有限公司 | message display method, device and intelligent terminal |
CN107241493A (en) * | 2017-05-24 | 2017-10-10 | 北京小米移动软件有限公司 | Information processing method, device and computer-readable recording medium |
CN107302573A (en) * | 2017-06-19 | 2017-10-27 | 福建中金在线信息科技有限公司 | A kind of information-pushing method, device, electronic equipment and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451152A (en) * | 2018-10-30 | 2019-03-08 | 上海与德科技有限公司 | A kind of information transferring method and system based on mobile terminal |
CN109451152B (en) * | 2018-10-30 | 2021-08-13 | 重庆辉烨通讯技术有限公司 | Information transmission method and system based on mobile terminal |
CN112752323A (en) * | 2020-12-31 | 2021-05-04 | 上海连尚网络科技有限公司 | Method and device for changing hotspot access state |
CN112770415A (en) * | 2020-12-31 | 2021-05-07 | 上海连尚网络科技有限公司 | Information processing method and device about wireless hotspot |
CN112770415B (en) * | 2020-12-31 | 2023-07-14 | 上海连尚网络科技有限公司 | Information processing method and device for wireless hotspots |
CN113490167A (en) * | 2021-08-10 | 2021-10-08 | 贵州科库科技有限公司 | Short message sending method and system based on CRM system data set and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107920018B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107920018A (en) | A kind of method, server and system for realizing delay propelling data | |
CN107861982A (en) | It is dynamically determined method, terminal, server and the system of application program page layout | |
CN104428822B (en) | Contactless payment method, apparatus and system | |
US20110238498A1 (en) | Service stage for subscription management | |
CN108829378A (en) | A kind of development approach of application software, device and electronic equipment | |
CN104540176B (en) | Wireless network access method, device and terminal | |
CN108810123A (en) | The method and apparatus for opening mobile cellular network service | |
CN102932521B (en) | Method and terminal for displaying interaction records of contacts in mobile equipment | |
CN106775871A (en) | Firmware upgrade method and equipment | |
CN107247629A (en) | Cloud computing system and cloud computing method and device for controlling server | |
CN103369505A (en) | Card selection method and system for multi-card mobile terminal, and mobile terminal | |
CN103747436A (en) | Application program downloading method and device | |
CN109968352A (en) | A kind of robot control method and robot, the device with store function | |
CN103139045A (en) | Business card exchange method, device and friend-making client | |
CN101901157B (en) | Management software self-starting installation method and system | |
CN104484229A (en) | Method and device for switching operating system, and terminal | |
CN104601644B (en) | A kind of method, apparatus and system of determining service provider | |
CN103200022A (en) | Handing method, equipment and system of data downloading abnormity | |
CN105722063A (en) | IMSI number management and calling method based on SoftSIM, SoftSIM management server and network side device | |
CN108418752A (en) | A kind of creation method and device of aggregation group | |
CN107135108A (en) | The update method and system of network connection list | |
CN104571781A (en) | Multi-application window display method and window management device in Android system | |
CN104796867A (en) | Automatic login method and automatic login terminal | |
CN102655531A (en) | Data sharing method and electronic terminal based on internet | |
CN102075386B (en) | Identification method and device |
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 | ||
CB02 | Change of applicant information |
Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd. Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing Applicant before: LIANJIA(BEIJING) TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |