Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and storage medium for optimizing broadcast push

A technology for broadcasting messages and computing modules, which is applied in the field of information exchange between clients and servers, can solve the problems of slow broadcasting messages, low broadcasting throughput, and occupying a lot of server resources, and achieves the effect of improving the efficiency of broadcasting push.

Active Publication Date: 2022-04-01
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above broadcast push method will cause the broadcast message to be very slow, and occupy a lot of resources of the server, and the broadcast throughput is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and storage medium for optimizing broadcast push
  • Method and storage medium for optimizing broadcast push
  • Method and storage medium for optimizing broadcast push

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Please refer to figure 2, this embodiment provides a method for optimizing broadcast push. Some modifications are made on the basis of the existing push architecture, which can significantly improve the efficiency of broadcast push. The method includes:

[0066] S1: preset registered user table;

[0067] The registered user table records include information such as each user ID and its corresponding application category, area code, and label. Among them, the user ID is also the device ID: device_id, which can be understood as a successfully registered account; application category app_type, such as application A, its app_type is type_a, application B, its app_type is type_b; area code area_code, if the account belongs to the Fujian region Or Zhejiang region; tags, such as gender, age, occupation and other personalized tags. Preferably, the label supports dynamic setting, that is, no index is set (that is, the index function cannot take effect)

[0068] The main fiel...

Embodiment corresponding Embodiment 1

[0086] This embodiment corresponds to Embodiment 1, and provides a specific application scenario:

[0087] Assuming that 100W is the preset base, that is, when it exceeds this order of magnitude, the broadcast push logic of multi-node computing is used, and when this order of magnitude is not reached, the single-node broadcast push logic is used. (The setting of this order of magnitude needs to be determined according to the specific business and system capacity. Of course, this order of magnitude can also be set automatically, according to some fixed policies, such as dynamic changes according to certain proportions of the number of registered users).

[0088] Splitting strategy: For the broadcast push of all personnel in the first type, when the program receives the broadcast message, it will query the number of registered user tables in advance. Assuming that the number of registered users has reached the preset base at this time, the broadcast task splitting module will fol...

Embodiment 3

[0096] This embodiment corresponds to Embodiment 1 or Embodiment 2, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it can implement the above-mentioned embodiment 1 or Embodiment 2. The steps included in a method for optimizing broadcast push. The specific steps will not be repeated here, please refer to the description of Embodiment 1 or Embodiment 2 for details.

[0097] To sum up, the method and storage medium for optimizing broadcast push provided by the present invention improve the efficiency of broadcast push; and can lock a specific broadcast group for broadcast through dynamic configuration, which is more practical; further, it is more practical than the old The combination of broadcast mode can realize the reasonable allocation of resources and improve the system performance.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method and a storage medium for optimizing broadcast push. The method includes: a preset registered user table and more than two push calculation modules, wherein the registered user table records the application category and area code corresponding to each user ID; After receiving the broadcast message of the specified broadcast group, it is judged according to the registered user table whether the number of target users has reached the preset base; if so, the target users are evenly distributed to each push calculation module to process the push data. The present invention improves the efficiency of broadcast push; and can lock a specific broadcast group for broadcast through dynamic configuration, which is more practical; furthermore, it is combined with the old broadcast mode to realize reasonable allocation of resources and improve system performance.

Description

technical field [0001] The invention relates to the field of information interaction between a client and a server, in particular to a method for optimizing broadcast push and a storage medium. Background technique [0002] Most systems or APPs need to use the message push function. Generally, the number of clients in an APP system will reach tens of millions, and each of them needs to maintain a long connection with the server, so that there will be tens of millions of long connections connected to the server. At the same time, the APP client that has established a long connection needs to send a heartbeat packet to the server at regular intervals, and the server can determine whether the APP client has been disconnected based on this. [0003] The above situation means that there are tens of millions of client terminals to be pushed. If a broadcast message is sent to all terminals, a corresponding number of message details needs to be generated. For example, a 100W user ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/18
CPCH04L12/1859H04L12/185H04L12/1886
Inventor 刘德建林伟郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH LTD