A data transmission method based on dual cpu

A data transmission method and data transmission technology, applied in the field of data transmission based on dual CPUs, can solve the problems of increased CPU overhead, low transmission efficiency, poor expansion ability, etc., to reduce transmission pressure and overhead, optimize data structure, and reduce CPU The effect of processing power requirements

Active Publication Date: 2020-07-07
江苏纳通能源技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when a CPU communicates internally with other CPUs, it will use all data as a frame of data to transmit and exchange all data. The data length is long, the redundant items are many, and the transmission efficiency is low, which greatly increases the CPU overhead. , and if the data length needs to be increased, the CPU needs to increase overhead to process these data, and the expansion ability is poor

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 data transmission method based on dual cpu

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0022] This application discloses a data transmission method based on dual CPUs. The data of the first CPU and the second CPU are periodically transmitted and exchanged by this data transmission method. This application uses the first CPU to execute this method as an example for illustration , the process of the second CPU executing the method is similar to that of the first CPU. In this application, the first CPU needs to classify the data first to optimize the data structure. This part includes the following steps:

[0023] Step 1: The first CPU determines the response period of each data, and the response period of each data is preset or can be obtained through estimation.

[0024] Step 2: Determine the priority of the data according to the corresponding relationship between the response period and the priority. The corresponding relation...

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 data transmission method based on dual CPUs, and relates to the field of data transmission. The method comprises the steps that the priority of all data to be transmitted isdetermined, the data with the high priority is stored in a fast data division in a data structure, and the data with the low priority is stored in a drawer data division in the data structure; each group of data in the drawer data division points to the next group of data and is circularly stored; in the th transmission period, one frame of data is transmitted to the second CPU, wherein the oneframe of data comprises a data head, fast data, drawer data and verifying data, the fast data comprise all the data in the fast data division, and the drawer data comprises the jth group of data in the drawer data division; i is made to be equal to i+1, and transmission continues to be carried out. The priority of the data is classified through the CPUs, the data structure is optimized, responding is carried out according to responding requirements during data transmission, the data length is reduced, superfluous terms are reduced, and the transmission pressure and expenses of the CPUs are reduced.

Description

technical field [0001] The invention relates to the field of data transmission, in particular to a data transmission method based on dual CPUs. Background technique [0002] There are external communication and internal communication in the control system. External communication is the communication between CPU (Central Processing Unit, central processing unit) and external running software such as PC (Personal Computer, personal computer) and server. CPU and various external running software The software cooperates to realize the reading and writing of data; the internal communication is the communication between the CPU and other CPUs, and the data communication or exchange volume of the internal communication will directly affect the efficiency of the CPU. [0003] At present, when a CPU communicates internally with other CPUs, it will use all data as a frame of data to transmit and exchange all data. The data length is long, the redundant items are many, and the transmis...

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): G06F15/163G06F11/10
CPCG06F11/1004G06F15/163
Inventor 郑洪涛张耀
Owner 江苏纳通能源技术有限公司
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