Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and system used for asynchronous multinuclear system to operate sharing resource

A multi-core system and shared resource technology, applied in the field of asynchronous multi-core system operation shared resources, can solve the problems of increasing logic difficulty, reducing flexibility, resource synchronization, etc., to expand the selection range, simplify the operation of shared resources, and improve flexibility Effect

Inactive Publication Date: 2013-10-30
HUAWEI TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, when a multi-core system accesses shared resources, the bus needs to support synchronous operations, and the processor needs to support synchronous access operations, which not only increases the logic difficulty, but also limits the choice of processors, reducing flexibility
[0006] In the actual SoC design, it is often encountered that the conditions for resource synchronization and sharing are not satisfied
If there is a control processor in the system such as ARM7, Cortex M3, MCU, this processor is used as system control or low power consumption control, the control processor cannot issue synchronous operations, and the control processor and the main processor will access the same resources, there will be resource synchronization problems. This kind of processor is generally not hung on the same bus as the main processor, and it is difficult to achieve it through unified bus support.

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, device and system used for asynchronous multinuclear system to operate sharing resource
  • Method, device and system used for asynchronous multinuclear system to operate sharing resource
  • Method, device and system used for asynchronous multinuclear system to operate sharing resource

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] figure 1 It is a flowchart of a method for operating a shared resource in an asynchronous multi-core system provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0034] Step 11, the hardware resource lock receives the lock command issued by the first processor in the asynchronous multi-core system, and the hardware resource lock is implemented through registers;

[0035] Step 12, when the hardware resource lock is in a locked state, ignore the lock command, and when the hardware resource lock is in an unlocked state, set it to a state locked by the first processor, so that the first processor operates a shared resource.

[0036] Optionally, before the hardware resource lock receives the lock command sent by the first processor in the asynchronous multi-core system, it further includes:

[0037] receiving a query command sent by the first processor, where the first query command is used to query the status of the hardwa...

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

Technical effects of a method, an apparatus, and a system for operating a shared resource in an asynchronous multiprocessing system that are provided in the present invention are as follows: A processor in an asynchronous multiprocessing system implements an operation on a shared resource by locking a hardware resource lock, and the hardware resource lock is implemented by a register; in this way, a bus in the asynchronous multiprocessing system does not need to support a synchronization operation, and the processor also does not need to have a feature of supporting a synchronization operation, and is capable of implementing the operation on the shared resource only in a manner of accessing the register, which simplifies the operation on the shared resource by the processor in the asynchronous multiprocessing system, enlarges a selection range of the processor in the asynchronous multiprocessing system, and further improves flexibility of the asynchronous multiprocessing system.

Description

technical field [0001] The invention relates to computer technology, in particular to a method, device and system for operating shared resources in an asynchronous multi-core system. Background technique [0002] System On Chip (SoC) such as single-core operating system (Operating System, OS) multi-process system, symmetric multi-core (Symmetric Multiprocessing, SMP) system, asymmetric multi-core (Asymmetric Multiprocessing, AMP) system will involve shared resources Access. [0003] For a single-core OS system, the synchronization and sharing of resources is usually realized through the semaphore provided by the operating system, and the semaphore can be realized through software without hardware support. When multiple processes of a single-core OS system access shared resources, a semaphore needs to be obtained first, and the semaphore is usually implemented by a data structure provided by the operating system (that is, through a software data structure). The process obta...

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): G06F9/50G06F15/16
CPCG06F17/30171G06F13/1663G06F16/1774
Inventor 苏箐刘宇郭献成刘虎
Owner HUAWEI TECH CO LTD