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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


