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
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 |
---|---|---|
US10482435B2 (en) | Consumer due diligence for money transfer systems and methods | |
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 | |
WO2016155379A1 (en) | Method, device and system for dynamically acquiring app interface control data | |
EP2453373A3 (en) | Method and system for transacted file operations over a network | |
CN107678844B (en) | Breakpoint intelligent distribution method, electronic device and computer readable storage medium | |
SG11201900526WA (en) | Risk identification method, risk identification apparatus, and cloud risk identification apparatus and system | |
CN106302581A (en) | The introduction method of batch data and system | |
RU2012132396A (en) | METHOD AND DEVICE FOR DETERMINING A COMMUNICATION PURPOSE AND ASSISTING COMMUNICATIONS BASED ON THE OBJECT DESCRIPTOR | |
CN107229656A (en) | Full dose data export method, apparatus and system | |
CN105786629A (en) | Data processing method based on message queue | |
US20170004152A1 (en) | System and method for dynamic data archival and purging | |
CN101146111B (en) | A file download method and device | |
US20180024849A1 (en) | Method, terminal and storage medium for starting software | |
CN106201666A (en) | A kind of distributed transaction implementation method | |
CN108900642A (en) | A kind of information push method controlled completely by server-side | |
CN107645476B (en) | Request processing method and device | |
CN109375998B (en) | Processing method in high-concurrency request environment | |
CN104518988A (en) | Method and system for priority processing of messages | |
WO2019080413A1 (en) | Customer management method and system, computer device and storage medium | |
CN108197459B (en) | task activation method, electronic device and computer readable storage medium | |
CN106302240A (en) | Received server-side client concurrently connects and data processing method | |
CN110650257A (en) | Intelligent customer service system based on big data | |
CN110879728A (en) | Method and device for starting small program |
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 |