CN107920018B - Method, server and system for realizing delayed push of data - Google Patents

Method, server and system for realizing delayed push of data Download PDF

Info

Publication number
CN107920018B
CN107920018B CN201711225393.6A CN201711225393A CN107920018B CN 107920018 B CN107920018 B CN 107920018B CN 201711225393 A CN201711225393 A CN 201711225393A CN 107920018 B CN107920018 B CN 107920018B
Authority
CN
China
Prior art keywords
disturbance
data
target client
free
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711225393.6A
Other languages
Chinese (zh)
Other versions
CN107920018A (en
Inventor
陈振清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Seashell Housing Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seashell Housing Beijing Technology Co Ltd filed Critical Seashell Housing Beijing Technology Co Ltd
Priority to CN201711225393.6A priority Critical patent/CN107920018B/en
Publication of CN107920018A publication Critical patent/CN107920018A/en
Application granted granted Critical
Publication of CN107920018B publication Critical patent/CN107920018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring 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 invention provides a method, a server and a system for realizing delayed push of data. Wherein the method comprises the following steps: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side. According to the embodiment of the invention, by supporting the disturbance-free setting, different pushing modes are adopted according to different settings of the data pushing template, and the disturbance-free performance of the data pushing function is improved.

Description

Method, server and system for realizing delayed push of data
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a method, a server and a system for realizing delayed data push.
Background
With the rapid development of mobile communication technology, Feed push has become a common function of many software, dynamic and real-time propagation can be carried out to subscribers through Feed streams, and the method is an effective way for users to acquire information streams. feed is actually a data format, and continuously provides updated contents for users, and microblogs, friends circles, talents, and various large portal media, and updated information received by a user side are feed streams.
The current feed technology is that the feed item is responsible for distributing and pushing, and a feed stream is sent to a corresponding subscription terminal. feed push is implemented through a template mechanism, the template can be registered by a developer in a platform, and fields and final presentation styles need to be defined during registration, such as: the house source { house } of your interest is reduced in price { count } element.
The feed pushing technology in the industry has the following technical defects: the feed technology instantly pushes the subscription message, and a user of a feed system cannot carry out detailed configuration on the type of the received message so as to avoid disturbing the pushing time. For example, it is not possible to receive push messages instantly for important message types, and set a do-not-disturb time for non-important message types, and not receive messages within the do-not-disturb time period.
Disclosure of Invention
In order to solve the problem that no disturbance can be set for a specific message type in the prior art, embodiments of the present invention provide a method, a server, and a system for implementing delayed push of data.
In a first aspect, an embodiment of the present invention provides a method for implementing delayed push of data, where the method includes: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
In a second aspect, an embodiment of the present invention provides a server for implementing delayed push data, where the server includes: the judgment module is specifically used for: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; an execution module specifically configured to: if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
In a third aspect, an embodiment of the present invention provides a system for implementing delayed push of data, where the system includes: any server and target client provided by the embodiment of the invention; the target client is used for carrying out disturbance-free setting, and the disturbance-free setting comprises an ID of the target client, an ID of a pushed data template and a disturbance-free time period of the pushed data template; sending the do-not-disturb setting to the server; and receiving the data pushed by the server.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the processor and the memory complete communication with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
According to the embodiment of the invention, by supporting the disturbance-free setting, different pushing modes are adopted according to different settings of the data pushing template, and the disturbance-free performance of the data pushing function is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for implementing delayed push of data according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server for implementing delayed push of data according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system for implementing delayed push of data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for implementing delayed push of data according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S1, judging whether the target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance;
the data pushed by the server to the target client is filled and generated by the pushed data template. If the server sends the house source price reduction information data "price reduction 1 ten thousand yuan for the unit 102 on the west building 1 of Guancun in the house source focused by you" to the target client, the data template "price reduction { count } yuan for the house source { house } focused by you" can be pushed to generate; all the house source price reduction information data are generated by filling the house source price reduction push data template, so that one push data template corresponds to one type of data.
Before pushing data to a target client, a server firstly judges whether the target client carries out disturbance-free setting on a pushed data template corresponding to the data which is pushed to the target client in advance; if the target client performs the disturbance-free setting on a certain pushed data template, the disturbance-free setting is performed on all data generated by the pushed data template. Wherein the do-not-disturb setting comprises setting a do-not-disturb time period. Specifically, the client sets the push data template to be free from disturbance by setting a corresponding function tag, where the function tag corresponds to the push data template. If the 'house source price adjustment' function label is set to be free of disturbance, namely, the push data template corresponding to the 'house source price adjustment' function label is set to be free of disturbance.
Step S2, if it is known that the target client performs the disturbance-free setting, acquiring a disturbance-free time period of the disturbance-free setting, and judging whether the current time is in the disturbance-free time period, if it is judged that the current time is not in the disturbance-free time period, immediately pushing the data to the target client; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
If the server learns that the target client performs the disturbance-free setting on the push data template, the server further obtains a disturbance-free time period of the disturbance-free setting, and if the client needs to push the data of the house source price adjustment, the server learns that the target client performs the disturbance-free setting on the push data template of the house source price adjustment, and further learns that the disturbance-free time period is 23:00-06:00, whether the current time is in the disturbance-free time period or not is judged. If the current time is 22:00, indicating that the current time is not in the disturbance-free time period, immediately pushing the data of the house source price adjustment to the target client; if the current time is 01:00, the current time is in the disturbance-free time period, the data of the house source price adjustment is delayed to be pushed to the target client, and if the current time is set to be in the disturbance-free time period, the data is pushed to the target client at a certain time.
And if the fact that the target client does not carry out the disturbance-free setting on the pushed data template is known, the data are pushed to the target client in real time.
The data pushing can be realized in a popup window mode.
According to the embodiment of the invention, by supporting the disturbance-free setting, different pushing modes are adopted according to different settings of the data pushing template, and the disturbance-free performance of the data pushing function is improved.
Further, based on the above embodiment, if it is determined that the current time is within the disturbance-free time period, delaying to push the data to the target client specifically includes: if the current time is judged and known to be in the disturbance-free time period, further acquiring the use state of the target client; if the target client is in use, the data is pushed to the target client in real time; otherwise, delaying the data to be pushed to the target client.
And if the current moment is judged and known to be within the disturbance-free time period, further acquiring the use state of the target client, wherein the use state of the target client refers to the use state of the application software corresponding to the target client, such as the use state of a mobile phone app, because the server communicates with the application software corresponding to the target client and pushes data. The target client being used means that the corresponding app of the target client is being used in the front end. If the target client is in front-end use, a heartbeat request signal is sent to the server according to a preset period (for example, every 5s), so that if the server judges that the heartbeat request signal of the target client is received in 5s, the target client can be known to be in front-end use, and otherwise, the target client is in a state of background operation or non-online (corresponding app is not opened or the mobile phone is not turned off).
If the target client is in use, the data is pushed to the target client in real time; otherwise, the target client side is in a background running state or is not in a network state, and the data is delayed to be pushed to the target client side.
On the basis of the above embodiment, the embodiment of the present invention obtains the use state of the target client in the disturbance-free time period, and immediately pushes data if the target client is in use, so as to improve the timeliness of data pushing on the basis of ensuring the disturbance-free performance.
Further, based on the above embodiment, the delaying of pushing the data to the target client specifically includes: and storing the data to be pushed in a delayed manner, the ID of the corresponding target client and the disturbance-free time period into a delayed pushing data table, performing polling traversal on the delayed pushing data table, and pushing the data to the target client if the current time is judged to be out of the disturbance-free time period or the target client is in use.
And if the current time is in the disturbance-free time period or if the current time is in the disturbance-free time period and the target client is not in use, delaying to push the data to the target client. The server stores data needing to be pushed in a delay pushing data table, an ID (identity) of a corresponding target client and the disturbance-free time period, and judges whether the disturbance-free time period passes or the target client is used at the current moment by traversing the table in a polling mode; otherwise, continue waiting.
On the basis of the above embodiment, the embodiment of the invention transmits data in time when the current time is not in the disturbance-free period or when the target client is in use by polling and traversing the delayed push data table, thereby ensuring the timeliness of data push.
Further, based on the above embodiment, the method further includes: receiving disturbance-free setting of the target client, wherein the disturbance-free setting comprises an ID of the target client, an ID of the pushed data template and the disturbance-free time period; and storing the disturbance-free setting after receiving the disturbance-free setting.
The target client can set the push data template in a disturbance-free mode, and the push data template can be specifically realized through the function tag corresponding to the corresponding push data template. And if the disturbance-free setting is carried out on the 'house source price adjustment', the disturbance-free time period is set to be 22: 00-05: 00, and the disturbance-free setting is sent to the server. The server receives the disturbance-free setting of the target client, wherein the disturbance-free setting comprises the ID of the target client, the ID of the push data template and the disturbance-free time period; the ID of the pushed data template corresponds to the pushed data template one by one; namely, the server can acquire the client side with the disturbance-free setting, the specific pushed data template and the disturbance-free time after receiving the disturbance-free setting. And the server receives the disturbance-free setting and stores the disturbance-free setting so as to inquire whether the target client carries out the disturbance-free setting when the data needs to be pushed.
On the basis of the above embodiments, the embodiments of the present invention provide a premise for implementing the do-not-disturb delay push by receiving the do-not-disturb setting of the target client.
Fig. 2 is a schematic structural diagram of a server for implementing delayed push of data according to an embodiment of the present invention. As shown in fig. 2, the server includes a determining module 10 and an executing module 20, wherein:
the determining module 10 is specifically configured to: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance;
the judging module 10 judges whether a target client performs disturbance-free setting on a pushed data template corresponding to data which is pre-pushed to the target client; if the target client performs the disturbance-free setting on a certain pushed data template, the disturbance-free setting is performed on all data generated by the pushed data template. Wherein the do-not-disturb setting comprises setting a do-not-disturb time period.
The execution module 20 is specifically configured to: if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
If the execution module 20 learns that the target client performs the disturbance-free setting on the pushed data template, it further obtains a disturbance-free time period of the disturbance-free setting, and if the data of the house source price adjustment is to be pushed to the client, learns that the target client performs the disturbance-free setting on the pushed data template of the house source price adjustment, and learns the disturbance-free time period, it determines whether the current time is in the disturbance-free time period. If the current time is not within the disturbance-free time period, immediately pushing the data of the house source price adjustment to the target client; and if the current time is in the disturbance-free time period, delaying to push the data of the house source price adjustment to the target client, and if the current time is set to be in the disturbance-free time period, pushing the data of the house source price adjustment to the target client at a certain time. And if the fact that the target client does not carry out the disturbance-free setting on the pushed data template is known, pushing the room source price adjusting data to the target client in real time.
According to the embodiment of the invention, by supporting the disturbance-free setting, different pushing modes are adopted according to different settings of the data pushing template, and the disturbance-free performance of the data pushing function is improved.
Further, based on the above embodiment, the executing module 20 is further configured to: if the current time is judged and known to be in the disturbance-free time period, further acquiring the use state of the target client; if the target client is in use, the data is pushed to the target client in real time; otherwise, delaying the data to be pushed to the target client.
And if the current moment is judged and known to be within the disturbance-free time period, further acquiring the use state of the target client, such as the use state of the corresponding app of the mobile phone terminal. The target client being used means that the corresponding app of the target client is being used in the front end. If the target client is in front-end use, a heartbeat request signal is sent to the server according to a preset period, so that if the server judges that the heartbeat request signal of the target client is received in the preset period, the server can know that the target client is in front-end use, and otherwise, the target client is in a background running or off-network state.
If the target client is in use, the data is pushed to the target client in real time; otherwise, the target client side is in a background running state or is not in a network state, and the data is delayed to be pushed to the target client side.
On the basis of the above embodiment, the embodiment of the invention obtains the use of the target client in the disturbance-free time period through judgment, and then pushes data in real time, so that the timeliness of data pushing is improved on the basis of ensuring the disturbance-free performance.
Further, based on the above embodiment, the execution module is further configured to: and storing the data to be pushed in a delayed manner, the ID of the corresponding target client and the disturbance-free time period into a delayed pushing data table, performing polling traversal on the delayed pushing data table, and pushing the data to the target client if the current time is judged to be out of the disturbance-free time period or the target client is in use.
If the pushing needs to be delayed, the execution module stores the data needing to be delayed, the ID of the corresponding target client and the disturbance-free time period into a delayed pushing data table, the execution module traverses the table through polling to judge whether the disturbance-free time period has passed or the target client is in use at the current moment, if the disturbance-free time period has passed or the target client is in use, the execution module pushes the data to the target client and marks that the data is pushed; otherwise, continue waiting.
On the basis of the above embodiment, the embodiment of the invention transmits data in time when the current time is not after the disturbance-free period or when the target client is in use by polling and traversing the delay push data table, thereby ensuring the timeliness of data push.
Further, based on the above embodiment, the apparatus further includes a do-not-disturb setting obtaining module, specifically configured to receive a do-not-disturb setting of the target client, where the do-not-disturb setting includes an ID of the target client, an ID of the pushed data template, and the do-not-disturb time period; and storing the disturbance-free setting after receiving the disturbance-free setting.
A disturbance-free setting acquisition module receives the disturbance-free setting of the target client, wherein the disturbance-free setting comprises an ID of the target client, an ID of the push data template and the disturbance-free time period; namely, the server can acquire the client side with the disturbance free setting, a specific pushed data template and the disturbance free time after receiving the disturbance free setting; the disturbance-free setting obtaining module receives the disturbance-free setting and stores the received disturbance-free setting, so that the judging module 10 can inquire whether the disturbance-free setting is performed by the target client when data needs to be pushed.
On the basis of the above embodiments, the embodiments of the present invention provide a premise for implementing the do-not-disturb delay push by receiving the do-not-disturb setting of the target client.
Fig. 3 is a schematic structural diagram of a system for implementing delayed push of data according to an embodiment of the present invention. As shown in fig. 3, the system includes a server 1 and a target client 2, where the server is any one of the servers provided by the embodiments of the present invention that implement delayed push data. The target client is used for carrying out disturbance-free setting, and the disturbance-free setting comprises an ID of the target client, an ID of a pushed data template and a disturbance-free time period of the pushed data template; sending the do-not-disturb setting to the server; and receiving the data pushed by the server.
And the ID of the push data template corresponds to the push data template one by one, and the push data template corresponding to the ID of the push template can be obtained according to the ID of the push template. If the target client 2 carries out disturbance-free setting on the pushed data template corresponding to the house source price adjustment, and sends the disturbance-free setting to the server 1, wherein the disturbance-free setting comprises the ID of the target client, the ID of the pushed data template corresponding to the house source price adjustment and a disturbance-free time period.
And the server 1 receives the disturbance-free setting and stores the disturbance-free setting. When data needs to be pushed to the target client 2, firstly, whether the target client 2 carries out disturbance-free setting on a corresponding data pushing template is inquired, and if the disturbance-free setting is not carried out, the data is pushed instantly; if the disturbance-free setting is carried out, whether the target client 2 is in use is further judged, if the target client 2 is in use, the data can be pushed instantly, otherwise, the data is delayed to be pushed to the target client 2.
According to the embodiment of the invention, by supporting the disturbance-free setting, different pushing modes are adopted according to different settings of the data pushing template, and the disturbance-free performance of the data pushing function is improved.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 4, the electronic device 4 includes a processor 401, a memory 402, and a bus 403. Wherein, the processor 401 and the memory 402 complete communication with each other through the bus 403; the processor 401 is configured to call the program instructions in the memory 402 to execute the methods provided by the above-mentioned method embodiments, for example, including: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; and if the target client side is not subjected to the disturbance-free setting, immediately pushing the data to the target client side.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the electronic device and the like are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for implementing delayed push data, comprising:
judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; the data is generated by filling the push data templates, and one push data template corresponds to one type of data;
if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; if the fact that the target client side does not carry out the disturbance-free setting is known, the data are immediately pushed to the target client side;
the delaying of the pushing of the data to the target client specifically includes: and storing the data to be pushed in a delayed manner, the ID of the corresponding target client and the disturbance-free time period into a delayed pushing data table, performing polling traversal on the delayed pushing data table, and pushing the data to the target client if the current time is judged to be out of the disturbance-free time period or the target client is in use.
2. The method according to claim 1, wherein if it is determined that the current time is within the non-disturbing time period, the delaying of pushing the data to the target client specifically includes:
if the current time is judged and known to be in the disturbance-free time period, further acquiring the use state of the target client;
if the target client is in use, the data is pushed to the target client in real time; otherwise, delaying the data to be pushed to the target client.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving disturbance-free setting of the target client, wherein the disturbance-free setting comprises an ID of the target client, an ID of a pushed data template and the disturbance-free time period;
and storing the disturbance-free setting after receiving the disturbance-free setting.
4. A server that implements delayed push data, the server comprising:
the judgment module is specifically used for: judging whether a target client side carries out disturbance-free setting on a pushed data template corresponding to data which is pushed to the target client side in advance; the data is generated by filling the push data templates, and one push data template corresponds to one type of data;
an execution module specifically configured to: if the fact that the target client side carries out the disturbance-free setting is known, obtaining a disturbance-free time period of the disturbance-free setting, judging whether the current time is in the disturbance-free time period, and if the fact that the current time is not in the disturbance-free time period is judged and known, immediately pushing the data to the target client side; if the current time is judged and known to be within the disturbance-free time period, delaying to push the data to the target client; if the fact that the target client side does not carry out the disturbance-free setting is known, the data are immediately pushed to the target client side;
the execution module is further to: and storing the data to be pushed in a delayed manner, the ID of the corresponding target client and the disturbance-free time period into a delayed pushing data table, performing polling traversal on the delayed pushing data table, and pushing the data to the target client if the current time is judged to be out of the disturbance-free time period or the target client is in use.
5. The server according to claim 4, wherein the execution module is further configured to:
if the current time is judged and known to be in the disturbance-free time period, further acquiring the use state of the target client;
if the target client is in use, the data is pushed to the target client in real time; otherwise, delaying the data to be pushed to the target client.
6. A system for implementing delayed push data, the system comprising:
the server and target client of any of claims 4 to 5;
the target client is used for carrying out disturbance-free setting, and the disturbance-free setting comprises an ID of the target client, an ID of a pushed data template and a disturbance-free time period of the pushed data template; sending the do-not-disturb setting to the server; and receiving the data pushed by the server.
7. An electronic device, comprising a memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 3.
CN201711225393.6A 2017-11-29 2017-11-29 Method, server and system for realizing delayed push of data Active CN107920018B (en)

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 CN107920018A (en) 2018-04-17
CN107920018B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451152B (en) * 2018-10-30 2021-08-13 重庆辉烨通讯技术有限公司 Information transmission method and system based on mobile terminal
CN112770415B (en) * 2020-12-31 2023-07-14 上海连尚网络科技有限公司 Information processing method and device for wireless hotspots
CN112752323B (en) * 2020-12-31 2023-05-05 上海连尚网络科技有限公司 Method and device for changing hot spot access state
CN113490167B (en) * 2021-08-10 2022-09-13 贵州科库科技有限公司 Short message sending method and system based on CRM system data set and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
CN106331027A (en) * 2015-06-30 2017-01-11 腾讯科技(深圳)有限公司 Information pushing method, pushing device and system
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
CN107040579A (en) * 2016-01-29 2017-08-11 纳宝株式会社 The method and system of personalized notifications are provided in content service

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825842B2 (en) * 2011-04-28 2014-09-02 Facebook, Inc. Managing notifications pushed to user devices
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN103561152B (en) * 2013-11-05 2016-08-17 广东欧珀移动通信有限公司 A kind of PUSH message processing method and mobile terminal
CN107040902A (en) * 2015-07-29 2017-08-11 阿里巴巴集团控股有限公司 The method and apparatus that a kind of message is pushed
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN106331027A (en) * 2015-06-30 2017-01-11 腾讯科技(深圳)有限公司 Information pushing method, pushing device and system
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

Also Published As

Publication number Publication date
CN107920018A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN107920018B (en) Method, server and system for realizing delayed push of data
US10277697B2 (en) Method and system for pushing web application message
WO2017181709A1 (en) Method and device for acquiring message to be pushed, and method and device for pushing message
CN110113381B (en) Method and device for subscribing theme in block chain
JP2019533235A5 (en)
US10205779B2 (en) Information sharing method, information sharing apparatus, and electronic device
US20150156257A1 (en) Application service providing method and system, and related device
WO2019072197A1 (en) Red packet distribution method, device, and medium
US20150312296A1 (en) Method and device for pushing multimedia resource and display terminal
JP2019530033A5 (en)
WO2008119266A1 (en) Prompt method and apparatus of short message splitting
US10038664B2 (en) Terminal status subscription method, apparatus, and system
US20170171585A1 (en) Method and Electronic Device for Recording Live Streaming Media
US20180209807A1 (en) Moving track sharing method and apparatus, and storage medium
US10506400B2 (en) Data download method and apparatus
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
WO2016127796A1 (en) Information interaction method and server
CN102932358B (en) Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device
WO2017000572A1 (en) Internet content adaptation protocol-based communication method, client and server
WO2020134754A1 (en) Page communication method and apparatus, computer device and storage medium
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN104468248B (en) Service performance monitoring method, reverse proxy server, statistical analysis server and system
CN113556695B (en) Information interaction method and information interaction system based on 5G message
US20190370293A1 (en) Method and apparatus for processing information
US10594776B2 (en) Information publishing method, device and server

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