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

Method and device for data communication among multiple processors

A data communication and multi-processor technology, applied in the field of communication, can solve the problems of complicated and confusing processing process of the receiver, and inconsistent data receiving interface of the receiver, so as to facilitate the operation and maintenance of reading and writing data, and improve the communication efficiency. Effect

Active Publication Date: 2019-11-15
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the embodiment of the present invention, the inventor found that the address of reading and writing data in the existing method needs to be jointly maintained by both the sender and the receiver; it increases the difficulty of use, the interface of the receiver to receive data is not uniform, and the processing flow of the receiver is complicated; and When the number of processors is large, one processor needs to agree on communication rules with multiple processors, which is easy to confuse

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 data communication among multiple processors
  • Method and device for data communication among multiple processors
  • Method and device for data communication among multiple processors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0042] figure 2 It shows a schematic flowchart of a data communication method between multiprocessors provided by this embodiment, including:

[0043] S201. Any processor determines a corresponding sending message queue in memory according to the occupied space of the message to be sent, and stores the message to be sent in the sending message queue.

[0044] Wherein, the message to be sent is a message sent from one processor to another processor, and in this example is a message to be sent by the processor to some other processor.

[0045] The occupied space of the message to be sent is the size of the message to be sent.

[0046] The memory is an area used to s...

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 discloses a method and device for data communication among multiple processors, and the method comprises: enabling any processor to determine a corresponding message sending queue in a memory according to the occupied space of a to-be-sent message, and storing the to-be-sent message into the message sending queue; determining an address of a received message queue corresponding to the address of the sent message queue according to high-speed serial computer extension bus standard PCIE address mapping; and storing the to-be-sent message into the received messagequeue according to the address of the received message queue, so as to enable a processor receiving the to-be-sent message to read the to-be-sent message from the received message queue. According tothe embodiment of the invention, the message sending queues and the message receiving queues are arranged in the memories of the processors, message-based data communication between the two processorsis completed through PCIE address mapping, data receiving and sending interfaces of the processors are unified, data reading and writing are convenient to operate and maintain, and the communicationefficiency between the processors is greatly improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a data communication method and device among multiple processors. Background technique [0002] As users have higher and higher requirements on the processing capabilities of smart devices, multi-processor smart devices have become more and more popular. Especially in the base station system, the high efficiency and real-time performance of communication between different processors is the key technology of the current base station system. A high-speed transmission channel is a bridge for communication between different processors. Currently, PCIE (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) has become a widely used communication protocol between processors. [0003] However, the existing method of using PCIE communication between processors is similar to DMA (Direct Memory Access, direct mem...

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): G06F13/40
CPCG06F13/4018G06F2213/0026
Inventor 史建新
Owner DATANG MOBILE COMM EQUIP CO LTD
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