Message processing method and device

A message processing and message technology, applied in the network field, can solve the problem of consuming large resources, and achieve the effect of saving consumed resources, reducing resource consumption, and reducing the number of packaging times.

Active Publication Date: 2018-04-13
INSPUR SOFTWARE CO LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above description that in the prior art, each message needs to be packaged and sent, which consumes a lot of resources

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
  • Message processing method and device
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0082] Such as figure 1 As shown, the embodiment of the present invention provides a message processing method, which may include the following steps:

[0083] Step 101: Determine at least one topic subscribed by at least one client;

[0084] Step 102: For each of the topics, determine the client connection for the current topic corresponding to each ...

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 invention provides a message processing method and device. The method comprises the following steps of determining at least one theme subscribed by at least one customer; for each theme, determining a customer connection corresponding to each customer subscribing the current theme for a current theme; connecting a customer connection buffer pool to each customer; periodically acquiring messages of each theme respectively; for each theme, executing the following steps of determining at least one customer connection corresponding to the current theme; storing the acquired messages of the current theme into at least one customer connection buffer pool corresponding to the at least one customer connection; acquiring the messages from the at least one customer connection buffer pool; packaging the messages located in the same customer connection buffer pool respectively, and generating a data packet to be pushed corresponding to each customer connection buffer pool; and respectively pushing the data packet to be pushed corresponding to each customer connection buffer pool to the corresponding customer connection. According to the method and the device, the resource consumption can be reduced.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a message processing method and device. Background technique [0002] With the rapid development of network technology, there are more and more ways for users to obtain information. Among them, it is a common way for users to obtain required news through subscription. [0003] In the prior art, a user subscribes to a desired message, and when the message subscribed by the user is found, the message is pushed to the user one by one. Specifically, each message is packaged and then sent to the user one by one. [0004] It can be seen from the above description that in the prior art, each message needs to be packaged and sent, which consumes a lot of resources. Contents of the invention [0005] Embodiments of the present invention provide a message processing method and device, which can reduce resource consumption. [0006] On the one hand, an embodiment of the prese...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/803H04L12/863H04L12/911
CPCH04L47/125H04L47/623H04L47/70H04L67/55
Inventor 姜明李朝铭
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products