Method and device for transmitting information in batches

A technology for sending messages and messages, applied in the computer field, can solve the problems of high local disk space occupancy, poor performance, backlog, etc., to ensure the real-time sending and sending success rate, improve sending performance, and reduce network delay.

Inactive Publication Date: 2015-03-25
BEIJING QIHOO TECH CO LTD +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The QBus system currently uses a single message sending strategy. In order to ensure data reliability, data sending needs to wait for acknowledgment (ACK), and network delay has become a performance bottleneck. Among them, it is necessary to read the request packets one by one and send them to the corresponding server data directory. Repeatedly passing through the network results in poor performance and cannot meet the needs of a large number of users to call the sending interface. It is easy to cause a backlog of data sending, trigger backlog alarms, and increase operation and maintenance costs.
In addition, a large number of unsent messages make local files unable to be deleted, and the local disk space usage rate is 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 device for transmitting information in batches
  • Method and device for transmitting information in batches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] According to the first aspect of the present invention, a method 100 for sending messages in batches is provided, which is applied to a distributed message system.

[0029] In the embodiment of the present invention, the distributed message system may be a system that adopts distributed processing to publish and subscribe messages, for example including kafka, RabbitMQ, ActiveMQ, QBus and so on. In the following, the princip...

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 device for transmitting information in batches. The method and the device are applied to a distributed type information system. The method comprises the steps that a packaged request packet to be transmitted is read; the request packet is analyzed to obtain meta-information and information; whether the meta-information is the same as meta-information of a former request packet is judged; according to the judgment result, the meta-information and the corresponding information are processed and transmitted to a corresponding server data directory. By the utilization of the method and the device, the information with the same meta-information can be processed in batches and transmitted to the corresponding server data directory together, the network delay is reduced, and the transmitting performance is promoted greatly.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for sending messages in batches. Background technique [0002] A distributed message system is a system that uses distributed processing to publish and subscribe messages. Typical distributed message systems include kafka, RabbitMQ, ActiveMQ, QBus, and so on. [0003] Qbus is a distributed message system based on kafka, which is mainly composed of publisher (Producer), subscriber (Consumer), storage (Broker), coordinator (Zookeeper), agent (Agent) and other units. The main function of the Agent is to push the log files to the storage side in real time. [0004] The QBus system currently uses a single message sending strategy. In order to ensure data reliability, data sending needs to wait for acknowledgment (ACK), and network delay has become a performance bottleneck. Among them, it is necessary to read the request packets one by one and send them t...

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
IPC IPC(8): H04L29/08
CPCH04L67/10H04L51/04H04L67/06
Inventor 乔俊龙陈飞
Owner BEIJING QIHOO TECH 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