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

Method and device for accessing shared resources in a multi-core processor system

A technology of multi-core processors and shared resources, applied in the field of accessing shared resources in multi-core processor systems, can solve problems such as increased power consumption, inability of the main core to sleep, waste of power consumption, etc., to avoid waste of power consumption and resources, save The effect of terminal power consumption and extended battery life

Active Publication Date: 2019-09-10
NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this method of adjusting shared resources through the master-slave core makes the coupling between the cores greater, the probability of errors is greater, and it is difficult to locate and solve problems; moreover, as long as any slave core needs to operate the shared resources, must ensure that the main core is in the wake-up state, so that it will cause waste of power consumption
Moreover, with the development of consumer digital terminals, the business and multimedia functions of the terminal are becoming more and more abundant, and the hardware requirements for the terminal are also getting higher and higher, and more and more core units are integrated in the central processing unit (CPU). The number of cores also increases accordingly. In this way, it is very likely that each slave core will keep accessing shared resources, resulting in the situation that the main core cannot sleep all the time, which will inevitably lead to a great increase in power consumption.

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 accessing shared resources in a multi-core processor system
  • Method and device for accessing shared resources in a multi-core processor system
  • Method and device for accessing shared resources in a multi-core processor system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The basic idea of ​​the embodiment of the present invention is: set the status bit indicating the access status of the shared resource; when any slave core accesses the shared resource, judge whether the shared resource is currently accessed according to the status bit; when it is determined that the shared resource is not accessed, the The slave core accesses the shared resource, and sets the status bit; after the slave core access ends, resets the status bit.

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] figure 1 It is a schematic diagram of the implementation flow of the method for accessing shared resources in the multi-core processor system of the embodiment of the present invention, as shown in figure 1 As shown, the methods for accessing shared resources in a multi-core processor system include:

[0027] Step 101: setting a status bit representing the acc...

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

Embodiments of the present invention disclose a method and an apparatus for accessing a shared resource, and a computer storage medium. The method for accessing a shared resource comprises: setting a status bit indicating an access status of a shared resource; when the shared resource is randomly accessed from a core processor, determining, according to the status bit, whether the shared resourced is currently accessed; when it is determined that the shared resource is not accessed, accessing the shared resource from the core processor, and setting the status bit; and after the access from the core processor ends, resetting the status bit.

Description

technical field [0001] The invention relates to a shared resource access technology in the communication field, in particular to a method and device for accessing a shared resource in a multi-core processor system. Background technique [0002] With the rapid development of multi-core processor technology, most terminals have adopted multi-core processor systems at present, and the existing multi-core processor systems all adopt the concept of resource sharing, so as to reduce hardware configuration costs. Existing multi-core processor systems usually include a master core and several slave cores. However, since there are many overlapping resources between cores, shared resources such as radio frequency control, bus clock, and phase-locked loop are used in the prior art. Access to the output frequency, etc. can only be performed by the master core. If the slave core wants to access shared resources, it needs to be accessed through the master core. Assume that core A is the ...

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 Patents(China)
IPC IPC(8): G06F13/36
Inventor 张冬冬于翔毛锋
Owner NANJING ZHONGXING XIN SOFTWARE CO LTD