Processor, communication method, storage medium and computing device

A communication method and storage medium technology, which is applied in the fields of storage media and computing equipment, processors and communication methods, can solve the problems of cumbersome data transmission process, etc., and achieve the effect of being convenient to use and solving the cumbersome data transmission process

Active Publication Date: 2021-07-13
ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID CO LTD +2
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The embodiment of the present application provides a processor, a communication method, a storage medium, and a computing device, so as to at least solve the technical problem of cumbersome data transmission process between processor cores in the prior art

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
  • Processor, communication method, storage medium and computing device
  • Processor, communication method, storage medium and computing device
  • Processor, communication method, storage medium and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present application, an embodiment of a processor communication method is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0031] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A hardware structural block diagram of a computer terminal (or mobile device) for implementing the processor communication method is shown. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor 102 may incl...

Embodiment 2

[0073] According to an embodiment of the present application, a processor for implementing the above processor communication method is also provided. The processor includes multiple processor cores, the source processor core for sending messages and the destination processor core for receiving messages are any one of the aforementioned multiple processor cores, and each processor core is configured with mailbox driver, wherein the source processor core is configured to: call the interface function in the mailbox driver to encapsulate the message to be sent, write the encapsulated message data into the specified register through the communication channel of the mailbox, and generate a message pointer corresponding to the specified register , call the interrupt generator in the mailbox driver to generate an interrupt request that contains the message pointer and the target processor core ID, and send the interrupt request to the target processor core; the target processor core is...

Embodiment 3

[0086] Embodiments of the present application may provide a computing device, and the computing device may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the above computing device may also be replaced with a terminal device such as a mobile terminal.

[0087] Optionally, in this embodiment, the aforementioned computing device may be located in at least one network device among multiple network devices of the computer network.

[0088] Optionally, in this embodiment, the aforementioned computing device includes one or more processors, memories, and transmission devices. Wherein, the memory may be used to store software programs and modules, such as program instructions / modules corresponding to the processor communication method and device in the embodiments of the present application. The processor executes various functional applications and data fusion by running software programs and modules stored in the memory, that is, ...

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 processor, a communication method, a storage medium and computing equipment. The processor comprises a plurality of processor cores, and each processor core is provided with a mailbox driver. The method comprises the steps that a source processor core calls an interface function in the mailbox driver to package a to-be-sent message, writes packaged message data into a specified register through a mailbox communication pipeline, and generates a message pointer corresponding to the specified register; the source processor core calls an interrupt generator in the mailbox driver to generate an interrupt request containing a message pointer and a target processor core identifier, and sends the interrupt request to the target processor core; and the target processor core processes the interrupt request and reads the message data from the specified register according to the message pointer contained in the interrupt request. The technical problem that in the prior art, the data transmission process between processor cores is tedious is solved.

Description

technical field [0001] The present application relates to the technical field of processors, and in particular, to a processor, a communication method, a storage medium, and a computing device. Background technique [0002] At present, ordinary chip inter-core communication needs to use interrupts for message notification, and then cooperate with the shared memory mechanism to transfer data information. This method is cumbersome and cannot be well supported for instant message transmission. This method has relatively large defects and deficiencies. : [0003] ①The driver code is complex and difficult to maintain [0004] The original communication method first needs to adapt the interrupt controller, and then use the function of each core's private interrupt controller to trigger the message, and then apply and use the memory. The combined use of the two major driver function components increases the difficulty of maintaining the driver code. For different boards, it is ne...

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): G06F9/54G06F15/173
CPCG06F9/542G06F9/544G06F9/546G06F9/547G06F15/173G06F2209/544G06F2209/547Y02D10/00
Inventor 匡晓云黄开天杨祎巍习伟于杨姚浩弓羽箭闫佳伟韩辉徐贵洲焦进星
Owner ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID CO LTD
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