CN110719308A - Method and system for avoiding high concurrent message blocking - Google Patents

Method and system for avoiding high concurrent message blocking Download PDF

Info

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
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
Application number
CN201810761852.0A
Other languages
Chinese (zh)
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.)
Shenzhen Yuyi Point Technology Co Ltd
Original Assignee
Shenzhen Yuyi Point 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 Shenzhen Yuyi Point Technology Co Ltd filed Critical Shenzhen Yuyi Point Technology Co Ltd
Priority to CN201810761852.0A priority Critical patent/CN110719308A/en
Publication of CN110719308A publication Critical patent/CN110719308A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

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

Method and system for avoiding high concurrent message blocking
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.
CN201810761852.0A 2018-07-12 2018-07-12 Method and system for avoiding high concurrent message blocking Pending CN110719308A (en)

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 party
Publication 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication 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) To the managing and control system and method for the self-starting under given conditions of android application programs
US20150365360A1 (en) Method and apparatus for processing push message in notification center of mobile terminal, and storage medium
EP2977854A1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
JP6105157B2 (en) Startup control method and apparatus, and terminal device
CN105847447B (en) Message pushing method and device
EP2933723A1 (en) Method, device and terminal equipment for cleaning up memory
CN105677477B (en) Method and device for optimizing application program resources and electronic equipment
WO2017181709A1 (en) Method and device for acquiring message to be pushed, and method and device for pushing message
CN106911556B (en) Message reminding management method and terminal
US11429461B2 (en) Broadcast control method and apparatus, and terminal
CN107171926B (en) Switching method and device of multi-platform message push service
CN106022101B (en) application management method and terminal
EP2985695A1 (en) Method and device for setting application program state
US9876744B2 (en) Information sending method and information sending apparatus
CN106973003B (en) Group message notification method, client, electronic device and server
EP3073681A1 (en) Social network information pushing method and apparatus
CN105491092B (en) Message pushing method and device
US20190215373A1 (en) A method for predicting the engagement level of a user of a user device, a related engagement prediction device and user device
US10878078B2 (en) System notification service control method, apparatus, terminal device, and storage medium
CN112804160B (en) Application program-based current limiting method, device, equipment, medium and product
CN103763683A (en) Method and device for pushing messages
CN110719308A (en) Method and system for avoiding high concurrent message blocking
CN107094160B (en) Method and system for downloading data file
CN105323186B (en) Notification message load control method and device
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200121