A data communication method and device
A technology for data communication and communication data, applied in the field of communication, can solve the problems of low processing efficiency, inconsistent interface, complicated operation, etc., and achieve the effect of simple maintenance, unified interface, and unified realization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] refer to figure 1 , shows a flow chart of steps of a data communication method in Embodiment 1 of the present invention. In this embodiment, the data communication method may be applied, but not limited to: data communication between multiple cores of a single processor, and data communication between multiple cores of a multiprocessor.
[0046] Wherein, the data communication method includes:
[0047] Step 102, saving the communication data sent by the source processor core to the buffer.
[0048] In this embodiment, the buffer zone can be used as a bridge for communication and data transmission between processor cores, ignoring the characteristics of each processor core, shielding the differences between each processor core, unified interface, and low-level implementation Unite.
[0049] Step 104, sending an enqueue message to the queue manager.
[0050] In this embodiment, the enqueue message may carry the first address and the second address. Wherein, the first...
Embodiment 2
[0056] refer to figure 2 , shows a flow chart of steps of a data communication method in Embodiment 2 of the present invention. In this embodiment, the data communication method includes:
[0057] Step 202, according to the attribute information of the communication data, apply to the buffer manager for one or more buffers matching the attribute information.
[0058] In this embodiment, different buffers may be allocated to different communication data according to the attribute information of the communication data. Wherein, the attribute information may include, but is not limited to, at least one of the following information: type, format, and size of communication data.
[0059]It should be noted that one buffer can be used to store at least one piece of matching communication data, that is, multiple pieces of communication data can be stored in one buffer. Of course, a piece of communication data may also be stored in multiple buffers, which is not limited in this emb...
Embodiment 3
[0075] In combination with the foregoing embodiments, this embodiment uses a specific example to describe the data communication method. refer to image 3 , shows a system architecture diagram for implementing the data communication method in Embodiment 3 of the present invention. In this embodiment, the system for implementing the data communication method may mainly include: a buffer manager and a queue manager. Wherein, the buffer manager includes: at least one buffer allocated for different communication data: Pool1, Pool2 . . . Pooln. Management and maintenance in the queue manager has multiple enqueue messages; wherein, each enqueue message carries a buffer address (such as: Pool1, Pool2...Pooln) and a target processor core address (such as ID1, ID2 ···ID3). Wherein, each processor core and the queue manager may, but not limited to, perform interactive communication through a software interface (Swportal, Softwareportal).
[0076] Wherein, the specific flow of the da...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


