Communication method among various CPUs (Central Processing Units), system and CPU

A communication method and space technology, applied in the field of communication, can solve the problem that the CPU kernel and application program interface are difficult to unify.

Active Publication Date: 2011-01-26
HANGZHOU HIKVISION DIGITAL TECH
View PDF1 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiment of the present application is to provide a communication method, system and CPU between multiple CPUs, so as to solve the problem t...

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
  • Communication method among various CPUs (Central Processing Units), system and CPU
  • Communication method among various CPUs (Central Processing Units), system and CPU
  • Communication method among various CPUs (Central Processing Units), system and CPU

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0061] see figure 1 , is the flow chart of the first embodiment of the communication method between multiple CPUs of the present application:

[0062] Step 101: The core of the main CPU transmits the data sent by the application program of the main CPU to the preset shared memory space in the main CPU.

[0063] In the embodiment of the present application, the master CPU and the slave CPU may be connected through a PCI (Peripheral Component Interconnect, external component interconnect standard) bus or a PCIE (PCI Express, high-speed external component interconnect standard) bus. When the system is started, the master CPU divides a part of memory from its own memory as shared memory for use by the slave CPU, and the master CPU also needs to allocate PCI address.0 space for the slave CPU; An associated SOCKET is established, and the SOCKET established by the application program of the slave CPU monitors the request from the core of the CPU.

[0064] Step 102: After the slave ...

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 communication method among various CPUs, a system and a CPU. A main CPU among various CPUs is connected with a plurality of follow CPUs through a bus. The method comprises the following steps of transmitting data sent from an application program of the main CPU to a shared memory space preset in the main CPU by utilizing a kernel of the main CPU; obtaining the data from the shared memory space in kernels of the follow CPUs after receiving an interrupt signal triggered by the main CPU from the follow CPUs; and transmitting the data to application programs of the follow CPUs from the kernels of the follow CPUs by utilizing a preset socket SOCKET. Different interfaces required to be set in the course of transmitting different orders are united into an SOCKET interface by setting the SOCKET between the kernels and the application programs of the CPUs when the application programs among various CPUs are communicated, thus the setting complexity of the interfaces in the CPUs is reduced, and the performance of the application program communication among the CPUs is enhanced.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a communication method, system and CPU among multiple CPUs (Central Processing Units, central processing units). Background technique [0002] A large-scale application system usually contains thousands of CPUs, each CPU will run an operating system, and each operating system will also run various applications. communication. In the prior art, when multiple CPUs communicate, it is necessary to set up an external memory space for each CPU. When sending a data message, the sending CPU writes the data message to be sent into the external memory space of the receiving CPU. Then the interrupt signal is generated by setting the register and sent to the receiver CPU, and the receiver CPU receives the data message from the external memory space after receiving the interrupt signal. The above-mentioned communication among multiple CPUs mainly refers to the communicat...

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): G06F15/163G06F15/167
Inventor 金伟赵先林黄毅胡扬忠邬伟琪
Owner HANGZHOU HIKVISION DIGITAL TECH
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