CN108900642A - A kind of information push method controlled completely by server-side - Google Patents
A kind of information push method controlled completely by server-side Download PDFInfo
- Publication number
- CN108900642A CN108900642A CN201810933952.7A CN201810933952A CN108900642A CN 108900642 A CN108900642 A CN 108900642A CN 201810933952 A CN201810933952 A CN 201810933952A CN 108900642 A CN108900642 A CN 108900642A
- Authority
- CN
- China
- Prior art keywords
- push
- server
- registration
- user
- queue
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of information push methods controlled completely by server-side, and server-side creates the database and tables of data of push, to save the corresponding registration_id of user;App client gets the registration_id of user when user logs in every time, is uploaded to server-side and is saved;Triggering push is being carried out, the operation requests of end interface corresponding function are serviced, meeting automatic trigger push operation is initiated to push to the registration_id of designated user;Timing is needed regularly to push together, server-side does not need client assistance then, passes through crontab script, automatic trigger push operation.Server-side triggering push of the present invention, pushes queue, improves push arrival rate, reduces and push concurrent peak value.
Description
Technical field
The present invention relates to message push technology fields, more particularly to a kind of message push side controlled completely by server-side
Method.
Background technique
The existing scheme pushed now is controlled by app client, and app client needs to log in or swash every time in user
When living, send and request to Push Service end, to obtain corresponding registration_id, and registration_id is saved
To the data file of client local, client can send push request to server-side when being pushed.
This solution heavy dependence app client is pushed, and in terms of all timings regularly push, effect
Fruit is bad, it is necessary to which the existing state for keeping app process, if user forces to kill app process, can push failure.
Summary of the invention
The object of the invention is to remedy the disadvantages of known techniques, provides one kind and is pushed away completely by the message that server-side controls
Delivery method.
The present invention is achieved by the following technical solutions:
A kind of information push method controlled completely by server-side, specific step is as follows:
1)Server-side creates the database and tables of data of push, to save the corresponding registration_id of user;
2)App client gets the registration_id of user when user logs in every time, is uploaded to server-side progress
It saves;
3)In the Chang manager for carrying out triggering push, such as:Examination & approval initiate, examination & approval pass through, check card successfully, the birthday remind, meeting
Make a reservation for successfully etc., service the operation requests of end interface corresponding function, can automatic trigger push operation, to designated user's
Registration_id initiates push;
4)Needing timing together, regularly push is often handled, such as:Clock in and out is reminded, and meeting starts to remind, and server-side is then
Client assistance is not needed, crontab script, automatic trigger push operation, to the registration_id of designated user are passed through
Initiate push;
5)Push is concurrent excessively high in order to prevent, and server-side is added when being pushed and pushes queue, all operations to be pushed,
Advanced queue, in addition there is the progress of fixed quantity, and evidence of fetching in queue is completed push with the principle of first in first out, reduced simultaneously
The risk for sending out excessively high;
6)It pushes operation to complete, push successfully.
It is an advantage of the invention that:Server-side triggering push of the present invention, pushes queue, improves push arrival rate, reduces push
Concurrent peak value.
Detailed description of the invention
Fig. 1 is work flow diagram of the invention.
Specific embodiment
As shown in Figure 1, a kind of information push method controlled completely by server-side, specific step is as follows:
1)Server-side creates the database and tables of data of push, to save the corresponding registration_id of user;
2)App client gets the registration_id of user when user logs in every time, is uploaded to server-side progress
It saves;
3)In the Chang manager for carrying out triggering push, such as:Examination & approval initiate, examination & approval pass through, check card successfully, the birthday remind, meeting
Make a reservation for successfully etc., service the operation requests of end interface corresponding function, can automatic trigger push operation, to designated user's
Registration_id initiates push;
4)Needing timing together, regularly push is often handled, such as:Clock in and out is reminded, and meeting starts to remind, and server-side is then
Client assistance is not needed, crontab script, automatic trigger push operation, to the registration_id of designated user are passed through
Initiate push;
5)Push is concurrent excessively high in order to prevent, and server-side is added when being pushed and pushes queue, all operations to be pushed,
Advanced queue, in addition there is the progress of fixed quantity, and evidence of fetching in queue is completed push with the principle of first in first out, reduced simultaneously
The risk for sending out excessively high;
6)It pushes operation to complete, push successfully.
By the comparison of ten thousand projects of cloud 1.0 and 1.2, when using app triggering push, arrival rate is only 1.0 versions
30%, 1.2 versions are pushed using server-side, and arrival rate reaches 93%, improve 3 times or more.
Claims (1)
1. a kind of information push method controlled completely by server-side, it is characterised in that:Specific step is as follows:
1)Server-side creates the database and tables of data of push, to save the corresponding registration_id of user;
2)App client gets the registration_id of user when user logs in every time, is uploaded to server-side progress
It saves;
3)Triggering push is being carried out, the operation requests of end interface corresponding function is being serviced, understands automatic trigger push operation, to
The registration_id of designated user initiates push;
4)Timing is needed regularly to push together, server-side does not need client assistance then, by crontab script, automatically
Push operation is triggered, initiates to push to the registration_id of designated user;
5)Push is concurrent excessively high in order to prevent, and server-side is added when being pushed and pushes queue, all operations to be pushed,
Advanced queue, in addition there is the progress of fixed quantity, and evidence of fetching in queue completes push with the principle of first in first out;
6)It pushes operation to complete, push successfully.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810933952.7A CN108900642A (en) | 2018-08-16 | 2018-08-16 | A kind of information push method controlled completely by server-side |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810933952.7A CN108900642A (en) | 2018-08-16 | 2018-08-16 | A kind of information push method controlled completely by server-side |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108900642A true CN108900642A (en) | 2018-11-27 |
Family
ID=64354672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810933952.7A Pending CN108900642A (en) | 2018-08-16 | 2018-08-16 | A kind of information push method controlled completely by server-side |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108900642A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001926A (en) * | 2011-09-09 | 2013-03-27 | 华为技术有限公司 | Method, device and system for subscription notification |
CN103024052A (en) * | 2012-12-17 | 2013-04-03 | 北京奇虎科技有限公司 | System and method for achieving browser data synchronization |
US20150026237A1 (en) * | 2013-07-18 | 2015-01-22 | International Business Machines Corporation | Push notification via file sharing service synchronization |
CN104378436A (en) * | 2014-11-20 | 2015-02-25 | 深圳市远行科技有限公司 | Information push system and method based on server push |
CN107528922A (en) * | 2017-09-29 | 2017-12-29 | 深圳市金立通信设备有限公司 | A kind of information push method, terminal and computer-readable recording medium |
CN107809489A (en) * | 2017-11-17 | 2018-03-16 | 南京感度信息技术有限责任公司 | A kind of message push system based on MQTT agreements |
CN108322513A (en) * | 2018-01-05 | 2018-07-24 | 深圳壹账通智能科技有限公司 | Across the information push method of mobile application, device, mobile terminal and storage medium |
CN108400927A (en) * | 2018-01-22 | 2018-08-14 | 广州欧赛斯信息科技有限公司 | A kind of information push method and device for high concurrent message |
-
2018
- 2018-08-16 CN CN201810933952.7A patent/CN108900642A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001926A (en) * | 2011-09-09 | 2013-03-27 | 华为技术有限公司 | Method, device and system for subscription notification |
CN103024052A (en) * | 2012-12-17 | 2013-04-03 | 北京奇虎科技有限公司 | System and method for achieving browser data synchronization |
US20150026237A1 (en) * | 2013-07-18 | 2015-01-22 | International Business Machines Corporation | Push notification via file sharing service synchronization |
CN104378436A (en) * | 2014-11-20 | 2015-02-25 | 深圳市远行科技有限公司 | Information push system and method based on server push |
CN107528922A (en) * | 2017-09-29 | 2017-12-29 | 深圳市金立通信设备有限公司 | A kind of information push method, terminal and computer-readable recording medium |
CN107809489A (en) * | 2017-11-17 | 2018-03-16 | 南京感度信息技术有限责任公司 | A kind of message push system based on MQTT agreements |
CN108322513A (en) * | 2018-01-05 | 2018-07-24 | 深圳壹账通智能科技有限公司 | Across the information push method of mobile application, device, mobile terminal and storage medium |
CN108400927A (en) * | 2018-01-22 | 2018-08-14 | 广州欧赛斯信息科技有限公司 | A kind of information push method and device for high concurrent message |
Non-Patent Citations (1)
Title |
---|
程和侠 等: "《Linux操作系统》", 31 January 2017 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1347381A3 (en) | Architecture for plugging messaging systems into an application server | |
US10367897B2 (en) | Method and apparatus for releasing services in stages | |
EP2698730A1 (en) | Data acquisition method, device and system | |
WO2019127893A1 (en) | Electronic signature method, electronic device, and computer readable storage medium | |
WO2016155379A1 (en) | Method, device and system for dynamically acquiring app interface control data | |
EP4332750A3 (en) | Server, control method, and program | |
EP2453373A3 (en) | Method and system for transacted file operations over a network | |
SG11201900526WA (en) | Risk identification method, risk identification apparatus, and cloud risk identification apparatus and system | |
CN111626858A (en) | Processing method and device for transaction, electronic equipment and computer readable medium | |
WO2019200763A1 (en) | Method for processing question answering request from agent, and electronic apparatus and computer-readable storage medium | |
CN107678844B (en) | Breakpoint intelligent distribution method, electronic device and computer readable storage medium | |
DE602006012364D1 (en) | BY DATA PUBLISHED BY PORTABLE COMMUNICATIONS OBJECTS DURING A CAMPAIGN | |
WO2019062082A1 (en) | Breakpoint data following method, electronic device, and computer readable storage medium | |
CN107229656A (en) | Full dose data export method, apparatus and system | |
CN105786629A (en) | Data processing method based on message queue | |
CN105426169A (en) | Method for automatically adjusting network card identification sequence in Windows system | |
CN104539510A (en) | Multi-protocol-based information pushing system and method | |
US20170004152A1 (en) | System and method for dynamic data archival and purging | |
US20180024849A1 (en) | Method, terminal and storage medium for starting software | |
CN108900642A (en) | A kind of information push method controlled completely by server-side | |
CN104518988A (en) | Method and system for priority processing of messages | |
WO2019080413A1 (en) | Customer management method and system, computer device and storage medium | |
CN103580951A (en) | Method of comparing outputs in a plurality of information systems | |
CN110650257A (en) | Intelligent customer service system based on big data | |
CN109088907B (en) | File transfer 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181127 |