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

Container-based data transmission method and device

A data transmission method and container technology, applied in the computer field, can solve the problems of cumbersome configuration, error-prone, limited data communication efficiency, read and write speed, etc., to achieve the effect of ensuring high efficiency and reducing complexity

Pending Publication Date: 2021-11-23
ECARX (HUBEI) TECHCO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, during the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: the data communication efficiency in the above shared file system is limited by the read and write speed of the medium mounted on the shared file system, which affects the communication efficiency , and the above-mentioned network communication method, the configuration is cumbersome and error-prone

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
  • Container-based data transmission method and device
  • Container-based data transmission method and device
  • Container-based data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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 embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] At present, there are two main communication methods between Linux containers (Linux Containers, LXC): one is to communicate between two LXC containers by sharing the file system; the other is to communicate with each other through the network between LXC containers . The first communication scheme needs to share a directory to different c...

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 embodiment of the invention provides a container-based data transmission method and device. The method comprises the following steps: starting a first container and a second container after a host machine system is started, writing first data into a first pipeline file by the first container, and triggering a first data reporting event, storing the first pipeline file in a first shared directory of the first container and the second container, and the second container reading the first data from the first pipeline file after monitoring the first data reporting event. According to the data transmission method provided by the embodiment of the invention, data transmission between the first container and the second container is realized through the pipeline file, so that data circulation is completed in the cache of the kernel, and the configuration complexity is reduced while high efficiency is ensured.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a container-based data transmission method and device. Background technique [0002] In order to save hardware costs, container technology can be used in the car-machine system, so that multiple containers can be started through the same host system, and the instrument system and car entertainment system can be run separately through different containers. How to efficiently communicate between two containers is an urgent problem to be solved. [0003] In the prior art, the communication can be performed by sharing the file system between the two containers, and the communication can also be performed through the network between the two containers. [0004] However, during the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: the data communication efficiency in the abov...

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/08
CPCH04L67/568
Inventor 吴超楼赵辉赵拯
Owner ECARX (HUBEI) TECHCO LTD