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

A method and system for processing real-time messages

A real-time message and message technology, applied in the computer field, can solve the problem of reduced throughput of Storm, achieve the effect of reducing frequent access and improving throughput

Active Publication Date: 2022-04-12
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: every time Storm receives a message, it needs to operate Elasticsearch twice. When the number of messages is relatively large, inserting the message into Elasticsearch often becomes a bottleneck, resulting in Storm's throughput decreases during message processing

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
  • A method and system for processing real-time messages
  • A method and system for processing real-time messages
  • A method and system for processing real-time messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0031] figure 1 It is a schematic diagram of main steps of a method for processing real-time messages according to an embodiment of the present invention. like figure 1 As shown, the method for processing real-time messages according to the embodiment of the present invention mainly includes the following steps:

[0032] Step S101: Receive one or more real-time messages wit...

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 discloses a method and system for processing real-time messages, and relates to the technical field of computers. A specific implementation of the method includes: receiving one or more real-time messages with the same primary key; assembling the real-time messages to obtain one or more update operation objects; initiating a visit to the search system, and then in this visit Send all of said update operands to said search system. In this implementation, by assembling real-time messages with the same primary key, all the assembled update operation objects are sent to Elasticsearch for aggregation processing, which realizes batch sending of update operation objects, reduces frequent access to Elasticsearch, and improves the throughput of Storm .

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and system for processing real-time messages. Background technique [0002] With the rapid development of the Internet industry, data is becoming more and more important. Among them, real-time news is the focus of attention. In the prior art, massive real-time data is generally processed by a real-time streaming computing system. The specific scheme is: after receiving a message, the real-time streaming computing system (Storm) assembles the primary key required for accumulation and aggregation according to the message, According to the primary key, the corresponding message record is queried from Elasticsearch. If it is not queried, the message is inserted into Elasticsearch; if the message record is queried, the indicator value in the message record and the indicator value of the message (such as the website's Views, sales, etc.) are added and updated to Elasticsearc...

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): G06F16/33G06F16/953H04L67/568
CPCH04L67/568G06F16/3331G06F16/951
Inventor 路德棋
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More