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

Interface control circuit, equipment and identification switching method

An interface control and identification technology, applied in the computer field, can solve the problems of complex software system structure, high development, testing and maintenance costs, and low system performance, and achieve the effect of providing system performance, high development, testing, and maintenance costs and reducing complexity.

Active Publication Date: 2014-06-25
HUAWEI TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to solve the problems of low system performance that may be caused by threads or processors in the prior art when applying for the identification of key code segments, and the complex structure of the software system in the AMP device, and the high cost of development testing and maintenance, the embodiment of the present invention Provided is an interface control circuit, equipment and identification switching method

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
  • Interface control circuit, equipment and identification switching method
  • Interface control circuit, equipment and identification switching method
  • Interface control circuit, equipment and identification switching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Please refer to figure 1 , which shows a schematic structural diagram of a device provided in Embodiment 1 of the present invention, the device includes a bus 110, an interface control circuit 120 connected to the bus 110, a memory 130 connected to the interface control circuit 120, and at least one Processor 140.

[0057] The memory 130 is used for storing at least one identifier. Wherein, each identifier corresponds to a predetermined address and at least one critical code segment, the identifier is an idle identifier or a busy identifier, an idle identifier represents that the corresponding critical code segment can be accessed by the processor 140, and a busy identifier represents that the corresponding critical code segment cannot be accessed. Processor 140 accesses. In a specific implementation, the memory 130 can be realized as a chip, which can be connected to the interface control circuit 120 through a hardware interface; optionally, the memory 130 can also b...

Embodiment 2

[0062] Please refer to figure 1 , which shows a schematic structural diagram of the device provided by Embodiment 2 of the present invention, the device includes a bus 110, an interface control circuit 120 connected to the bus 110, a memory 130 connected to the interface control circuit 120, and at least one Processor 140.

[0063] The memory 130 is used for storing at least one identifier. Wherein, each identifier corresponds to a predetermined address and at least one critical code segment, the identifier is an idle identifier or a busy identifier, an idle identifier represents that the corresponding critical code segment can be accessed by the processor 140, and a busy identifier represents that the corresponding critical code segment cannot be accessed. Processor 140 accesses. In a specific implementation, the memory 130 can be realized as a chip, which can be connected to the interface control circuit 120 through a hardware interface; optionally, the memory 130 can also...

Embodiment 3

[0075] Please refer to image 3 , which shows a method flow chart of the identification switching method provided in Embodiment 3 of the present invention. The method is used in the equipment described in Embodiment 1 and Embodiment 2, and the method includes:

[0076] Step 301, receiving a read request sent by a processor and including a predetermined address;

[0077] When a processor needs to access a resource protected by a key code segment, the processor sends a read request including a predetermined address to the interface control circuit. Correspondingly, the interface control circuit can receive the read request including the predetermined address sent by the processor.

[0078] Step 302, querying the identifier stored in the memory according to the predetermined address in the read request;

[0079] After the interface control circuit receives the read request including the predetermined address, the interface control circuit may search the memory for an identifier...

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 an interface control circuit, equipment and an identification switching method, and belongs to the technical field of computers. The identification switching method includes receiving read requests which are transmitted by processors and contain preset addresses; inquiring identification according to the preset addresses in the read requests; switching the identification from idle identification into busy identification if the inquired identification is the idle identification. The identification is stored in a memory. The interface control circuit, the equipment and the identification switching method have the advantages that the problem of poor performance of a system due to the fact that existing equipment needs to be provided with close interruption or buses need to be locked when the equipment operates a thread or a processor applies for identification of a critical code section in the prior art can be solved; problems of complicated structure of a software system and high development testing and maintenance costs due to the fact that shared spaces need to be appointed via upper-layer software to enable all the processors to read the identification of the critical code section in multi-core equipment such as AMP (asymmetric multi-processing) equipment can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interface control circuit, equipment and a method for switching labels. Background technique [0002] In a uniprocessor device, a process can include two or more threads, and these threads can all access shared resources in the process, but there are some resources in the shared resources that cannot be accessed by two or more threads at the same time. Similarly, in multiprocessor devices such as AMP (asymmetric Multi-Processing, asymmetric multiprocessing) devices, there are some shared resources that can be accessed by each processor, but some of these shared resources cannot be accessed by two or more processors access at the same time. So this introduces the concept of a key code segment, which is a piece of code used to protect resources. In order to indicate whether the key code segment has been occupied by other threads or other processors, existing solutions usuall...

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/48
Inventor 庞振
Owner HUAWEI TECH CO LTD