CN110719308A - Method and system for avoiding high concurrent message blocking - Google Patents
- ️Tue Jan 21 2020
CN110719308A - Method and system for avoiding high concurrent message blocking - Google Patents
Method and system for avoiding high concurrent message blocking Download PDFInfo
-
Publication number
- CN110719308A CN110719308A CN201810761852.0A CN201810761852A CN110719308A CN 110719308 A CN110719308 A CN 110719308A CN 201810761852 A CN201810761852 A CN 201810761852A CN 110719308 A CN110719308 A CN 110719308A Authority
- CN
- China Prior art keywords
- message
- priority
- pushing
- high concurrent
- controller Prior art date
- 2018-07-12 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
Images
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
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/6215—Individual queue per QOS, rate or priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/622—Queue service order
-
- 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/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
A method and system for avoiding high concurrent message blocking are characterized by comprising a message receiving system S201, a message pushing controller S202, a priority controller S203, a message pushing system S204, a concurrent threshold configuration file S301 and a priority configuration file S302; after the message receiving system S201 receives all message queues pushed by other terminals or systems S1, the message pushing controller S202 determines whether the message queues belong to high concurrency message pushing according to the user concurrency threshold configuration file S301; if the high-concurrency message pushing belongs to, processing a message queue by the priority controller S203; if the high concurrency message pushing is not the result, the message queue directly enters the message pushing system S204; the priority controller S203 determines the priority of the application message queue according to the user priority profile S302, and pushes the application message queue to the message push system S204 one by one according to the priority order, and after receiving the message queue, the message push system S204 directly pushes the application message queue to the application program S4.
Description
Technical Field
The invention relates to the related fields of cloud computing, software and instant messages in the field of electronic information, in particular to a method and a system for avoiding high concurrent message blocking.
Background
The current mobile phone APP, websites, instant message systems and the like all relate to a message pushing function, and the message pushing can enable clients and users to obtain latest notification and reminding through application programs at the first time, so that the application of related services of the existing Internet is greatly facilitated. The messages of the application programs can be classified into types of APP background notification and reminding, APP update prompting, historical messages of an instant message system, short message messages and the like, and most of the technologies and methods adopted in the field of message pushing at present are methods of cloud pushing, passive receiving of the application programs and active prompting of the application programs.
However, the prior art and the method often suffer from the following problems that when the device or the application program or the user account is not started for a long time, a large amount of messages to be pushed are often accumulated in the system, once the device or the application program is started, the accumulated message queues start to be pushed and prompted at the same time, so that the instant traffic and the performance are easily caused to reach the peak value, the system is very easy to be down, and negative experience is brought to the user.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to design a method and a system for avoiding high concurrent message blocking, in which a message push controller is added in a message queue to determine whether high concurrent message pushing belongs to, if high concurrent message pushing belongs to, the system transfers the message queue processing to a priority controller, and the priority controller pushes messages one by one according to a message push priority set by a user, thereby avoiding system blocking and downtime caused by high concurrent messages.
In order to solve the above technical problems, an embodiment of the present invention provides a method and a system for avoiding high concurrent message blocking, including a message receiving system, a message push controller, a priority controller, a message push system, a concurrent threshold configuration file, and a priority configuration file;
the message receiving system receives all message queues pushed by other terminals or systems, including a reminding message of an APP, an upgrading message of the APP, a short message and a history message of an instant message system;
the message pushing controller reads a concurrency threshold value configuration file of a user when being started, and the user can define a high concurrency message pushing threshold value in the concurrency threshold value configuration file;
further, when the priority controller is started, the priority configuration file of the user is read, and the user can define the priority of the application program message queue in the priority configuration file;
further, after the message receiving system receives all the pushed message queues, the message pushing controller judges whether the message is pushed by high concurrent messages according to the user concurrent threshold configuration file; if the high-concurrency message pushing belongs to, processing a message queue by the priority controller; if the high concurrency message pushing is not the high concurrency message pushing, the message queue directly enters the message pushing system;
further, the priority controller determines the priority of the application program message queue according to the user priority configuration file, and pushes the application program message queue to the message pushing system one by one according to the priority sequence;
further, after receiving the message queue, the message pushing system directly pushes the message queue to the application program.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention designs a method and a system for avoiding high-concurrency message blocking, which avoids application breakdown or system breakdown caused by high-concurrency message pushing, the technology can be applied to the existing APP, short message and instant message systems, avoids application breakdown and system breakdown caused by long-time non-startup or long-time non-login of an account number, and concentrated message pushing once startup or login, all systems automatically run in the background, and greatly improves user experience.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram and a schematic flow diagram of a method and a system for avoiding high concurrent message blocking according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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 schematic diagram of a structure and a flow of a method and a system for avoiding high concurrent message blocking according to an embodiment of the present invention, and includes the following specific steps:
a method and system for avoiding high concurrent message blocking, including message receiving system S201, message push controller S202, priority controller S203, message push system S204, concurrent threshold configuration file S301, priority configuration file S302;
the message receiving system S201 receives all message queues pushed by other terminals or systems S1, including but not limited to a reminding message of APP, an upgrade message of APP, a short message, and a history message of an instant message system;
when the message push controller S202 is started, reading a concurrency threshold configuration file S301 of the user, where the user may define a threshold for high-concurrency message push in the concurrency threshold configuration file S301;
the priority controller S203 reads the priority configuration file S302 of the user when starting, and the user can define the priority of the application message queue in the priority configuration file S302;
after the message receiving system S201 receives all message queues pushed by other terminals or systems S1, the message pushing controller S202 determines whether the message queues belong to high concurrency message pushing according to the user concurrency threshold configuration file S301; if the high-concurrency message pushing belongs to, processing a message queue by the priority controller S203; if the high concurrency message pushing is not the result, the message queue directly enters the message pushing system S204;
the priority controller S203 determines the priority of the application program message queue according to the user priority configuration file S302, and pushes the application program message queue to the message pushing system S204 one by one according to the priority sequence;
after receiving the message queue, the message pushing system S204 directly pushes the message queue to the application program S4.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (9)
1. A method and a system for avoiding high concurrent message blocking are characterized by comprising a message receiving system, a message pushing controller, a priority controller, a message pushing system, a concurrent threshold configuration file and a priority configuration file.
2. The method and system for avoiding high concurrent message blocking according to claim 1, wherein the message receiving system receives all message queues pushed by other terminals or systems, including but not limited to APP alert messages, APP upgrade messages, short message messages, history messages of instant message systems.
3. The method and system for circumventing high concurrent message blocking according to claim 1, wherein the message push controller reads a user's concurrency threshold profile at startup.
4. The method and system for circumventing high concurrent message blocking as claimed in claim 1, wherein a user can define a threshold for high concurrent message pushing in a concurrency threshold profile.
5. The method and system for circumventing high concurrent message blocking of claim 1, wherein the priority controller reads a user's priority profile upon startup.
6. The method and system for circumventing high concurrent message blocking as claimed in claim 1, wherein a user can define application message queue priority in a priority profile.
7. The method and system for avoiding high concurrent message blocking according to claim 1, wherein after the message receiving system receives all message queues to be pushed, the message pushing controller determines whether the high concurrent message pushing belongs to the high concurrent message pushing according to a user concurrent threshold configuration file; if the high-concurrency message pushing belongs to, processing a message queue by the priority controller; and if the high-concurrency message pushing is not carried out, the message queue directly enters the message pushing system.
8. The method and system for circumventing high concurrent message blocking of claim 1, wherein the priority controller determines the priority of application message queues according to a user priority profile and pushes application message queues to the message push system one by one according to a priority order.
9. The method and system for avoiding high concurrent message blocking according to claim 1, wherein the message pushing system directly pushes the message queue to the application program after receiving the message queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810761852.0A CN110719308A (en) | 2018-07-12 | 2018-07-12 | Method and system for avoiding high concurrent message blocking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810761852.0A CN110719308A (en) | 2018-07-12 | 2018-07-12 | Method and system for avoiding high concurrent message blocking |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110719308A true CN110719308A (en) | 2020-01-21 |
Family
ID=69209066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810761852.0A Pending CN110719308A (en) | 2018-07-12 | 2018-07-12 | Method and system for avoiding high concurrent message blocking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110719308A (en) |
Citations (2)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453593A (en) * | 2016-10-26 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Message pushing method and device |
CN107733806A (en) * | 2016-08-12 | 2018-02-23 | 中国移动通信集团湖南有限公司 | A kind of data processing method and device |
-
2018
- 2018-07-12 CN CN201810761852.0A patent/CN110719308A/en active Pending
Patent Citations (2)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107733806A (en) * | 2016-08-12 | 2018-02-23 | 中国移动通信集团湖南有限公司 | A kind of data processing method and device |
CN106453593A (en) * | 2016-10-26 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Message pushing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104991803B (en) | 2018-04-06 | To the managing and control system and method for the self-starting under given conditions of android application programs |
US20150365360A1 (en) | 2015-12-17 | Method and apparatus for processing push message in notification center of mobile terminal, and storage medium |
EP2977854A1 (en) | 2016-01-27 | Method, apparatus, and user terminal for removing malicious power consuming application |
JP6105157B2 (en) | 2017-03-29 | Startup control method and apparatus, and terminal device |
US11429461B2 (en) | 2022-08-30 | Broadcast control method and apparatus, and terminal |
CN105847447B (en) | 2022-06-07 | Message pushing method and device |
CN104038908B (en) | 2017-05-10 | Push message sending method and device |
CN105677477B (en) | 2019-10-15 | Method and device for optimizing application program resources and electronic equipment |
EP2851798A1 (en) | 2015-03-25 | Method, device, and terminal for adjusting heartbeat cycle for application |
CN107171926B (en) | 2020-08-14 | Switching method and device of multi-platform message push service |
WO2017181709A1 (en) | 2017-10-26 | Method and device for acquiring message to be pushed, and method and device for pushing message |
US9876744B2 (en) | 2018-01-23 | Information sending method and information sending apparatus |
CN106973003B (en) | 2021-02-12 | Group message notification method, client, electronic device and server |
CN105867581A (en) | 2016-08-17 | Power optimization method and device and mobile terminal |
WO2018033463A1 (en) | 2018-02-22 | A method for predicting the engagement level of a user of a user device, a related engagement prediction device and user device |
EP3073681A1 (en) | 2016-09-28 | Social network information pushing method and apparatus |
US10878078B2 (en) | 2020-12-29 | System notification service control method, apparatus, terminal device, and storage medium |
CN105491092B (en) | 2020-05-26 | Message pushing method and device |
CN113064740A (en) | 2021-07-02 | Message processing method and device |
CN103763683A (en) | 2014-04-30 | Method and device for pushing messages |
CN110719308A (en) | 2020-01-21 | Method and system for avoiding high concurrent message blocking |
US20160112525A1 (en) | 2016-04-21 | Distribution control device and method for same, push distribution system, and storage medium |
CN105323186B (en) | 2020-04-21 | Notification message load control method and device |
CN111767074A (en) | 2020-10-13 | Configuration updating method, device, terminal and storage medium |
CN112989323B (en) | 2024-02-13 | Process detection method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2020-01-21 | PB01 | Publication | |
2020-01-21 | PB01 | Publication | |
2021-02-09 | SE01 | Entry into force of request for substantive examination | |
2021-02-09 | SE01 | Entry into force of request for substantive examination | |
2022-10-18 | WD01 | Invention patent application deemed withdrawn after publication | |
2022-10-18 | WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200121 |