Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message transmission method and device

A message transmission and message technology, applied in multi-programming devices, inter-program communication, program control design, etc., can solve the problem of processor resource consumption and so on

Active Publication Date: 2020-10-09
UNIV OF SCI & TECH OF CHINA
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the case of a large number of small message interactions among the various working processes in the streaming computing system, using the existing asynchronous communication architecture based on the TCP / IP protocol for communication will cause the processor to perform frequent context switching, and , when the computing node is processing the message of the application program based on the TCP / IP protocol, the buffer copy is frequently performed between the working thread of the application program and the operating system, as well as the buffer copy of the protocol stack inside the operating system, resulting in a large amount of processing server resources are consumed

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] The invention is applicable to numerous general purpose or special purpose computing device environments or configurations. For example: personal computer, server computer, handheld or portable device, tablet type device, multiprocessor device, distributed computing environment including any of the above devices or devices, etc.

[0050] An embodiment of the present invention provides a message transmission method, which is applied to a stream computing...

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 transmission method and device. The method comprises the following steps: receiving an initial message tuple sent by a client through a receiving thread, obtaining a task number of the initial message tuple; determining a target actuator group based on the task number, transmitting the initial message tuple to a target executor group through a receiving thread; sequentially processing the initial message tuples through N actuators contained in the target actuator group, outputting the target message tuples corresponding to the initial message tuples by the Nthactuator in the target actuator group, and sending the target message tuples to a transmission queue of a sending thread; and determining the target message tuple received by the transmission queue asa to-be-transmitted message tuple through the sending thread, judging whether the to-be-transmitted message tuple stored in the transmission queue meets a preset transmission condition or not, and ifso, transmitting the to-be-transmitted message tuple in the transmission queue to the server. Resources of the processor can be saved, so that the working efficiency of the processor is improved.

Description

technical field [0001] The invention relates to the technical field of streaming data processing, in particular to a message transmission method and device. Background technique [0002] With the development of science and technology, streaming computing frameworks have also been more and more widely used. Streaming computing is a computing method different from batch computing. Streaming computing puts more emphasis on computing data flow and low latency. Therefore, for latency-sensitive distributed big data applications, streaming computing frameworks are usually used Process the data flow of such applications, so as to ensure the stable operation of the applications and improve the user experience. [0003] At present, the streaming computing framework generally uses the Java Virtual Machine (JavaVirtualMachine, JVM) as the underlying processing environment of the computing node. Therefore, when the two computing nodes of the streaming computing system interact with each...

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): G06F9/54
CPCG06F9/546G06F2209/548
Inventor 安虹张子豫李名凡韩文廷林晗林增
Owner UNIV OF SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products