Method and device for transmitting information in batches

A technology for sending messages and messages, which is applied in the computer field and can solve problems such as poor performance, backlog, and increased operation and maintenance costs

Active Publication Date: 2015-03-25
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 14 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 thro...

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

[0028] 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.

[0029] 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.

[0030] 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; according to the different types of the meta-information, the information and the meta-information are cached into a cache file correspondingly; whether time for transmitting the information corresponding to the meta-information is exceeded, or the size of the cached information corresponding to the meta-information is already larger than the cache size defined in advance is judged, and if the judgment result is yes, the meta-information and the corresponding information cached in the cache file are repackaged into a request packet, and transmitted to a corresponding server data directory. According to the method and the device, the meta-information and the information of the different types can be cached into the cache file correspondingly and transmitted in batches, 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/06H04L29/08
CPCH04L51/00H04L51/04H04L67/06H04L67/10H04L65/40
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