Processor, task processing method thereof and architecture for processing tasks

By configuring multiple cores and control circuits in the DSP processor to manage task distribution, the problem of overburdening the main DSP core in the traditional method is solved, and the task processing speed and efficiency are improved.

CN110032443BActive Publication Date: 2024-10-25SAMSUNG ELECTRONICS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201811509925.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-12-11
Filing Date
2018-12-11
Publication Date
2024-10-25
Estimated Expiration
2038-12-11

AI Technical Summary

Technical Problem

In multiple digital signal processors (DSPs), traditional task delivery methods result in increased burden on the main DSP core and reduced task processing speed, especially when the number of tasks increases.

Method used

By configuring multiple cores in the processor, using the control circuit to obtain the instructions associated with the task, storing the instructions in the memory, and delivering the instructions to the appropriate core, checking the response, and allocating according to the task allocation status information, ensuring Tasks are assigned to only one core to prevent other cores from accessing data.

Benefits of technology

It improves task processing speed and management efficiency, avoids performance degradation caused by locking algorithms, and achieves fast task delivery and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110032443B_ABST
    Figure CN110032443B_ABST
Patent Text Reader

Abstract

A processor includes: a plurality of cores configured to independently perform operations; a memory; and a control circuit electrically connected to the plurality of cores and the memory. The control circuit is configured to: obtain one or more instructions associated with a task; store data corresponding to the task based on the one or more instructions; transmit the instructions to at least some of the cores; check one or more cores among the at least some of the cores that have responded to the instructions; if the task is assigned to one core, prevent the task from being assigned to cores other than the one core; and assign the task to one of the cores, the assignment of the task including: changing state information associated with the assignment and setting the other cores among the plurality of cores to which the task is not assigned to not access the data corresponding to the task. A task processing method and an architecture for processing tasks are also provided.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS]

[0002] This application claims the priority of Korean Patent Application No. 10-2017-0169551 filed on December 11, 2017 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] The present disclosure relates to a task delivery method capable of quickly processing tasks in a plurality of digital signal processors (hereinafter also referred to as DSPs) and / or an electronic device including a plurality of DSPs in which the task delivery method is implemented. Background Art

[0004] With the development of electronic technology, electronic devices having various functions, such as smart phones, tablet personal computers (PCs), etc., are being widely used.

[0005] Recent electronic devices often have a main processor that includes a plurality of DSPs. The plurality of DSPs may be used as the main processor to perform signal processing functions, such as a function of extracting information from a signal originating from other internal devices, a function of changing the details or characteristics of information, a voice encoding function for digitizing a voice signal, a digital filter function, or a function of processing sound or video.

[0006] According to conventional DSP technology, the master DSP core can determine the execution command according to the order in which the command packets or data message packets arrive at the queue and can monitor the operation status of the slave DSP and perform scheduling based on the monitoring result to determine the slave DSP to receive the execution command.

[0007] However, according to the above-mentioned conventional task delivery method between DSPs, the main DSP core collects all task information and then performs scheduling and task delivery. Therefore, when the number of tasks increases, the burden on the main DSP core increases. Therefore, the task processing speed of the DSP may decrease. Summary of the invention

[0008] Various exemplary embodiments of the present invention may provide a task delivery method capable of quickly processing tasks in a plurality of DSPs, and also provide an electronic device including a plurality of DSPs in which the above method is implemented.

[0009] According to one aspect of the inventive concept, a processor is provided, the processor comprising: a plurality of cores configured to independently perform operations; a memory; and a control circuit electrically connected to the plurality of cores and the memory. The control circuit is configured to: obtain one or more instructions associated with a task to be processed using at least some of the plurality of cores; store data corresponding to the task in the memory based on the one or more instructions; deliver at least some of the one or more instructions to the at least some of the plurality of cores; check one or more of the plurality of cores among the at least some of the cores that have responded to the at least some of the one or more instructions; if the task is assigned to one of the plurality of cores, prevent the task from being assigned to the plurality of cores other than the one core; and if the task is not assigned to the core, assign the task to one core, the assignment of the task comprising: changing state information associated with the assignment and setting other cores among the plurality of cores to which the task is not assigned to not access the data corresponding to the task.

[0010] According to another aspect of the inventive concept, a task processing method of a processor is provided, the processor comprising a plurality of cores capable of independently executing operations, a memory and a control circuit electrically connected to the plurality of cores and the memory, the task processing method comprising: obtaining one or more instructions associated with a task to be processed using at least some of the plurality of cores; storing data corresponding to the task in the memory based on the one or more instructions; transmitting at least some of the one or more instructions to the at least some of the plurality of cores; checking one or more cores among the at least some of the cores that have responded to the at least some of the one or more instructions; if the task is assigned to one core, preventing the task from being assigned to the plurality of cores other than the one core; and assigning the task to the one core, the assignment of the task comprising: changing status information associated with the assignment and setting other cores among the plurality of cores to which the task is not assigned to not access the data corresponding to the task.

[0011] According to another aspect of the inventive concept, an architecture for processing tasks is provided, the architecture comprising: a plurality of cores, including a plurality of different digital signal processors or at least one hardware accelerator; and a control circuit electrically connected to the plurality of cores, wherein the control circuit is configured to: receive task processing requests from at least some of the plurality of cores; store instructions and information associated with the task in an internal memory; transmit at least some of the instructions associated with the task to the plurality of cores in the form of events; and assign the task to the first core among the plurality of cores to respond to the at least some of the instructions.

[0012] It should be noted that the objects of the present invention are not limited to the above objects, and other objects of the present invention will be apparent to those skilled in the art by reading the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other aspects and features of the present disclosure will become more apparent by describing in detail exemplary embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0014] Figure 1 is a block diagram of an electronic device in a network environment according to various exemplary embodiments.

[0015] Figure 2 is a block diagram illustrating the architecture of various exemplary embodiments according to the present invention.

[0016] Figure 3 is a block diagram of a control circuit according to various exemplary embodiments of the present invention.

[0017] Figure 4 is a flow chart of the operation of an architecture according to various exemplary embodiments of the present invention.

[0018] Figure 5 is an operational flow chart illustrating a task processing procedure of an architecture according to various exemplary embodiments of the present invention.

[0019] Figure 6 is an example diagram illustrating a process in which a shared command queue (SCQ) circuit distributes tasks requested by at least some cores to other cores.

[0020] Figure 7 is an exemplary diagram showing a method in which the SCQ circuit allocates tasks in consideration of dependencies between the tasks.

[0021] Figure 8 An example is shown in which the SCQ circuit sets a waiting task.

[0022] Fig. 9is a block diagram of a camera module according to various exemplary embodiments.

[0023] [Explanation of Symbols]

[0024] 100: Network environment;

[0025] 101, 102: electronic devices;

[0026] 104: Electronic device / external electronic device;

[0027] 108: server;

[0028] 120: processor;

[0029] 121: main processor;

[0030] 123: auxiliary processor;

[0031] 130, 250, 950: memory;

[0032] 132: Volatile memory;

[0033] 134: non-volatile memory;

[0034] 136: internal memory;

[0035] 138: external memory;

[0036] 140: Procedure;

[0037] 142: Operating system;

[0038] 144: middleware;

[0039] 146: Application;

[0040] 150: input device;

[0041] 155: sound output device;

[0042] 160: display device;

[0043] 170: audio module;

[0044] 176: sensor module;

[0045] 177: Interface;

[0046] 178: connection terminal;

[0047] 179: touch module;

[0048] 180, 980: Camera module;

[0049] 188: Power management module;

[0050] 189: Battery;

[0051] 190: communication module;

[0052] 192: wireless communication module;

[0053] 194: Wired communication module;

[0054] 196: User identification module;

[0055] 197: antenna module;

[0056] 198: First Network;

[0057] 199: Second network;

[0058] 200, 600: architecture;

[0059] 210: control circuit / shared command queue (SCQ) circuit;

[0060] 220: core control hub;

[0061] 230: core / first core / second core;

[0062] 231, 631: first core;

[0063] 233, 633: second core;

[0064] 235, 635: the third core;

[0065] 237, 637: the fourth core;

[0066] 240, 320: bus;

[0067] 300: control circuit / shared command queue (SCQ) circuit;

[0068] 310: Main circuit;

[0069] 311: Special function register (SFR) setting circuit;

[0070] 312: interrupt request (IRQ) control circuit;

[0071] 313: queue control circuit;

[0072] 314, 622, 822: queue storage device;

[0073] 315: queue scheduling circuit;

[0074] 316: Queue memory validity checker;

[0075] 317: SRAM address controller;

[0076] 318: SRAM interface;

[0077] 350: memory / internal memory;

[0078] 401, 402, 403, 404, 405, 406, 407, 501, 502, 503, 504, 505, 506, 507, 508, 509: operation;

[0079] 610: Arrow;

[0080] 620, 800: Shared Command Queue (SCQ) circuit;

[0081] 621, 821: arbiter circuit;

[0082] 630: nuclear;

[0083] 711, 721, 722, 731, 741, 742, 743, 744, 751, 752: blocks;

[0084] 832: Waiting for task 1;

[0085] 835: Waiting for task 2;

[0086] 900: block diagram;

[0087] 910: Lens assembly;

[0088] 920: Flash;

[0089] 930: Image sensor;

[0090] 940: Image Stabilizer;

[0091] 960: Image signal processor. DETAILED DESCRIPTION

[0092] Figure 1 is a block diagram of an electronic device 101 in a network environment 100 according to various exemplary embodiments. Figure 1In the network environment 100, the electronic device 101 may communicate with the electronic device 102 through the first network 198 (e.g., short-range wireless communication), or may communicate with the electronic device 104 or the server 108 through the second network 199 (e.g., long-range wireless communication). According to an exemplary embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to an exemplary embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identity module 196, and an antenna module 197. In some exemplary embodiments, at least one of the components (e.g., display device 160 or camera module 180) may be excluded from the electronic device 101, or another component may be additionally included in the electronic device 101. In some exemplary embodiments, some components may be integrated with other components. For example, a sensor module 176 (e.g., a fingerprint sensor, an iris sensor, or an illumination sensor) is embedded in the display device 160 (e.g., a display).

[0093] For example, by executing software (e.g., program 140), the processor 120 may control at least another component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may process various data and perform operations on various data. The processor 120 may load instructions or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the loaded instructions or data, and store the resulting data in the non-volatile memory 134. According to an exemplary embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit or an application processor) and an auxiliary processor 123 (e.g., a graphics processing unit, an image signal processor, a sensor hub processor, or a communications processor) that operates independently of the main processor 121, and the auxiliary processor 123 is additionally or alternatively configured to use lower power than the main processor 121, or is dedicated to a specific function. Here, the auxiliary processor 123 may operate separately from the main processor or may be embedded in the main processor 121 at the same time.

[0094] In this case, when the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 may control at least some of the functions or states associated with at least one of the components of the electronic device 101 (e.g., the display device 160, the sensor module 176, or the communication module 190) on behalf of the main processor 121; or when the main processor 121 is in an active (e.g., executing an application) state, the auxiliary processor 123 may control at least some of the above functions or states together with the main processor 121. According to an exemplary embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as a part of another component (e.g., a camera module 180 or a communication module 190) that is functionally associated with the auxiliary processor 123. The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176), such as software (e.g., a program 140) and input data or output data for associated commands. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

[0095] The program 140 is software stored in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

[0096] The input device 150 is a device that receives commands or data from the outside of the electronic device 101 (eg, a user) to be used by components of the electronic device 101 (eg, the processor 120 ) and may include, for example, a microphone, a mouse, or a keyboard.

[0097] The sound output device 155 is a device for outputting a sound signal to the outside of the electronic device 101 and may include, for example, a speaker for general use (e.g., multimedia playback or recording playback) and a receiver only for call reception. According to an exemplary embodiment, the receiver may be formed integrally with the speaker or separately from the speaker.

[0098] The display device 160 is a device for visually providing information to a user of the electronic device 101 and may include, for example, a display, a hologram device, or a projector and a control circuit for controlling a corresponding device. According to an exemplary embodiment, the display device 160 may include a touch circuit or a pressure sensor capable of measuring the intensity of touch pressure.

[0099] The audio module 170 can perform bidirectional conversion between sound signals and electrical signals. According to an exemplary embodiment, the audio module 170 can obtain sound through the input device 150, or output sound through the sound output device 155 or an external electronic device (e.g., the electronic device 102 (e.g., a speaker or a headphone)) connected to the electronic device 101 in a wired or wireless manner.

[0100] The sensor module 176 may generate an electrical signal or data value corresponding to an external environmental state or an internal operating state (e.g., power or temperature) of the electronic device 101. The sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or a brightness sensor.

[0101] The interface 177 may support a prescribed protocol for connecting to an external electronic device (e.g., the electronic device 102) in a wired or wireless manner. According to an exemplary embodiment, the interface 177 may include a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0102] The connection terminal 178 may include a connector (e.g., an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector)) that can physically connect the electronic device 101 with an external electronic device (e.g., the electronic device 102).

[0103] The haptic module 179 may convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that a user may sense through tactile sense or kinesthetic sense. The haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0104] The camera module 180 may capture still images and videos. According to an exemplary embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

[0105] The power management module 188 is a module for managing power supplied to the electronic device 101 and may be configured, for example, as at least a part of a power management integrated circuit (PMIC).

[0106] The battery 189 is a device for supplying power to at least one component of the electronic device 101 and may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0107] The communication module 190 may establish a wired or wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108) and support communication through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (e.g., an application processor) and support wired communication or wireless communication. According to an exemplary embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication module). In the above communication modules, the corresponding communication modules can be used to communicate with external electronic devices through a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (WiFi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a local area network (LAN) or a wide area network (WAN))). The above-mentioned various types of communication modules 190 can be implemented as a single chip or multiple separate independent chips.

[0108] According to an exemplary embodiment, the wireless communication module 192 may identify and authenticate the electronic device 101 in the communication network using user information stored in the user identification module 196 .

[0109] The antenna module 197 may include one or more antennas for transmitting or receiving signals or power externally. According to an exemplary embodiment, the communication module 190 (eg, the wireless communication module 192) may transmit or receive signals to or from an external electronic device through an antenna suitable for a communication scheme.

[0110] Some of the elements may be connected to each other via a communication scheme between peripherals (e.g., a bus, a general purpose input / output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) to exchange signals (e.g., commands or data) between each other.

[0111] According to an exemplary embodiment, a command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 by a server 108 connected to the second network 199. Each of the electronic device 102 and the electronic device 104 may be a device of the same type or a different type as the electronic device 101. According to an exemplary embodiment, some or all actions performed by the electronic device 101 may be performed by another external electronic device or multiple external electronic devices. According to an exemplary embodiment, when the electronic device 101 should automatically or upon request perform a certain function or service, instead of autonomously running the function or service or in addition to autonomously running the function or service, the electronic device 101 may also request a function associated at least in part with the certain function or service from an external electronic device. When the request is received, the external electronic device may perform the requested function or another function and deliver the result of the execution to the electronic device 101. The electronic device 101 may use the received result as is or provide the requested function or service after additionally processing the received result. To this end, for example, cloud computing, distributed computing or client-server computing technology may be used.

[0112] The processor according to various exemplary embodiments of the present invention may include a plurality of cores (eg, Figure 2 230), memory (e.g., Figure 3 350) and a control circuit (eg, Figure 3 300 as shown), wherein the control circuit 300 may be configured to: obtain one or more instructions associated with a task to be processed using at least some of the multiple cores 230; store data corresponding to the task in the memory 350 based on the one or more instructions; deliver at least some of the one or more instructions to the at least some of the cores 230; check one or more cores 230 among the at least some of the cores 230 that have responded to the at least some of the instructions; prevent the task from being assigned to a core other than one core to which the task has been assigned; and assign the task to one of the cores 230 among the cores 230 when the task has not been assigned to the core 230, the assignment of the task including: changing state information associated with the assignment and setting other cores among the multiple cores to which the task has not been assigned to not access the data corresponding to the task. The control circuit 300 may be configured to assign the task to the first core among the at least some of the cores 230 to respond to the at least some of the instructions. The control circuit 300 may include a queue storage device (e.g., Figure 3The control circuit 300 may include an interrupt request (IRQ) control circuit 312, which generates an interrupt based on an event and delivers the task to one or more cores that have responded to at least some of the instructions. The memory 350 may be provided as a static random access memory (SRAM) and embedded in the control circuit 300. The control circuit 300 may include an SRAM address controller (e.g., Figure 3 The SRAM address controller is configured to automatically allocate addresses for storing data corresponding to the tasks and store the data corresponding to the tasks in the allocated addresses of the memory 350 in response to acquiring the one or more instructions associated with the tasks to be processed. The control circuit 300 may be configured to preferentially allocate the tasks to one or more cores designated based on the priorities set by the user. The multiple cores may be provided as multiple different DSPs.

[0113] According to various exemplary embodiments of the present invention, the architecture (eg, Figure 2 200) may include multiple cores (e.g., Figure 2 230) and a control circuit electrically connected to the plurality of cores (eg, Figure 3 300 as shown), wherein the control circuit 300 is configured to: receive task processing requests from at least some of the multiple cores; store instructions and information associated with the task in an internal memory 350; deliver at least some of the instructions associated with the task to the multiple cores in the form of events; and assign the task to the first core among the multiple cores that responds to the at least some instructions. When the task is assigned to one of the multiple cores 230, the control circuit 300 may be configured not to assign the task to other cores 230. The assignment of tasks by the control circuit 300 may include changing state information associated with the assignment and preventing other cores from accessing data corresponding to the task. The control circuit 300 may include a queue storage device (for example, Figure 3 As shown in 314), the queue storage device stores and manages task instructions in a FIFO structure.

[0114] Figure 2 is a block diagram illustrating an architecture 200 according to various exemplary embodiments of the present invention. According to an exemplary embodiment, Figure 2 The illustrated architecture 200 may be the same or similar to Figure 1The processor 120 is shown. In some exemplary embodiments, Figure 2 The illustrated architecture 200 may include at least Figure 1 Elements within processor 120 are shown.

[0115] Reference Figure 2 , the architecture 200 may include a plurality of cores 230 for independently performing operations, a memory 250, and a control circuit 210 electrically connected to the plurality of cores 230 and the memory 250. According to an exemplary embodiment, the architecture 200 may further include a core control hub 220 connecting the control circuit 210 to the plurality of cores 230 or a bus 240 connecting the plurality of cores 230 to the memory 250.

[0116] According to an exemplary embodiment, the plurality of cores 230 may be provided as a plurality of different DSPs or at least one hardware accelerator. According to an exemplary embodiment, the plurality of cores 230 may be configured to process data received from an electronic device (e.g., Figure 1 Other devices (eg, Figure 1 The tasks processed by the plurality of cores 230 may include the following functions: receiving a signal or information provided by an electronic device (e.g., Figure 1 Other devices (eg, Figure 1 The audio module 170, sensor module 176, tactile module 179 or camera module 180 shown in the figure may be used to extract information from a signal, change the details or characteristics of the information, encode the voice signal to digitize it, provide a digital filter function or process sound or video.

[0117] According to an exemplary embodiment, the plurality of cores 230 may independently perform operations to perform the functions. For example, the plurality of cores 230 may be provided as a plurality of different DSPs or at least one hardware accelerator. Figure 2 , the plurality of cores 230 are shown as a first core 231, a second core 233, a third core 235, and a fourth core 237, which are four cores that independently perform operations. However, there is no limitation on the number of cores in the present invention.

[0118] According to an exemplary embodiment, the memory 250 may be configured to store data corresponding to a task. According to an exemplary embodiment, the memory 250 may be installed in the control circuit 210. According to an exemplary embodiment, the memory 250 may be provided as an SRAM.

[0119] According to an exemplary embodiment, the control circuit 210 may be configured to receive task processing requests from the plurality of cores 230 and distribute the received tasks to the plurality of cores 230. According to an exemplary embodiment, the control circuit 210 may be a circuit that manages tasks requested by the plurality of cores 230.

[0120] According to an exemplary embodiment, the control circuit 210 may deliver a task requested by a specific core to a plurality of cores in the form of an interrupt event and may receive a response to the interrupt event from at least some of the plurality of cores. According to an exemplary embodiment, the control circuit 210 may allocate the requested task to the first core that responds among the plurality of cores. For example, the control circuit 210 may transmit the interrupt event associated with the task to the first to fourth cores 231, 233, 235, and 237 in response to receiving a task processing request from the first core 231. When the response is received for the first time from the third core 235 among the first to fourth cores 231, 233, 235, and 237, the control circuit 210 may allocate the task to the third core 235. According to an exemplary embodiment, the allocation of the task by the control circuit 210 may include: transmitting an instruction associated with the task or data corresponding to the task to the core that responds for the first time among the plurality of cores 230. According to an exemplary embodiment, the core (e.g., the third core 235) to which the task is allocated may perform a function associated with the allocated task.

[0121] According to an exemplary embodiment, the control circuit 210 may determine the priority of the task based on the user's setting. For example, a specified task among the multiple tasks may have to be processed with priority compared to other tasks among the multiple tasks. For example, although the control circuit 210 sequentially stores the first task, the second task, and the third task received from the multiple cores 230, the control circuit 210 may receive a request to process a fourth task with priority. In this case, the control circuit 210 may adjust the queue order so that the fourth task is processed before the first task to the third task.

[0122] According to an exemplary embodiment, the control circuit 210 may match a specific task with a specific core. For example, the control circuit 210 may set a designated core to process at least some of the plurality of tasks.

[0123] According to an exemplary embodiment, the control circuit 210 may adjust the task allocation time in consideration of dependencies between the various tasks. For example, there may be dependencies between the multiple tasks. For example, the second task may have to be processed after the first task is processed. In this case, by specifying a waiting task after processing the first task, the control circuit 210 may enable the second task to be processed after the processing of the first task is completed.

[0124] The control circuit 210 according to various exemplary embodiments of the present invention shares queues associated with the tasks with the plurality of cores 230 and manages the queues. Hereinafter, the control circuit 210 is defined as a shared command queue (SCQ) circuit.

[0125] Figure 3 is a block diagram of a control circuit according to various exemplary embodiments of the present invention.

[0126] Reference Figure 3 , the SCQ circuit 300 according to various exemplary embodiments of the present invention (eg, Figure 2 The SCQ circuit 210 shown may include a main circuit 310, a bus 320 (eg, Figure 2 The bus 320 is configured to connect the main circuit 310 to multiple cores (e.g., Figure 2 The multiple cores 230 are shown).

[0127] According to an exemplary embodiment, the main circuit 310 may include: a special function register (SFR) setting circuit 311 connected to the bus 320 to control the plurality of cores 230; an IRQ control circuit 312 configured to transmit IRQ to the plurality of cores 230; an SRAM address controller 317; an SRAM interface 318; and a queue control circuit 313. According to an exemplary embodiment, the queue control circuit 313 may include a queue storage device 314, a queue scheduling circuit 315, and a queue memory validity checker 316.

[0128] According to an exemplary embodiment, the plurality of cores 230 may share tasks with each other through the SCQ circuit 300. According to an exemplary embodiment, the SCQ circuit 300 stores and manages tasks received from the plurality of cores 230. For example, the SCQ circuit 300 may be configured to store and manage tasks. According to an exemplary embodiment, the SCQ circuit 300 may store task instructions and data associated with the tasks (task information). For example, the SCQ circuit 300 may be configured to store up to 32 tasks through the queue storage device 314. According to various exemplary embodiments, the number of tasks stored by the queue storage device 314 may be greater than 32.

[0129] According to an exemplary embodiment, one task may include one instruction or may include a plurality of instructions. For example, one task may include one piece of task information or may include 10 pieces of task information.

[0130] According to an exemplary embodiment, the queue storage device 314 may store the task instructions in a FIFO structure.

[0131] According to an exemplary embodiment, the SCQ circuit 300 may include an internal memory 350 having up to 8 kilobytes to store task information. For example, the SCQ circuit 300 may store task instructions received from at least one core 230 of the plurality of cores 230 in the queue storage device 314 and may store data associated with the task (task information) in an SRAM as the internal memory 350.

[0132] According to an exemplary embodiment, the SCQ circuit 300 may sequentially store the received task instructions and may distribute the task instructions to the plurality of cores 230 in the order in which the task instructions are stored. According to another exemplary embodiment, the SCQ circuit 300 may be configured to distribute the tasks to the plurality of cores 230 based on priorities set by a user.

[0133] According to an exemplary embodiment, the SRAM address controller 317 may be configured to store the task information in the internal memory 350 based on the control of the queue control circuit 313. For example, the SRAM address controller 317 may automatically generate an address based on the control of the queue control circuit 313 and may store the task information in the internal memory 350 according to the generated address. According to an exemplary embodiment, the SRAM address controller 317 may search for a memory space in the internal memory 350 where no data is stored to store the task information and may allocate the memory space, generate a storage address, and deliver the storage address to the queue control circuit 313.

[0134] According to an exemplary embodiment, the IRQ control circuit 312 may be configured to generate an interrupt based on an event and deliver the task instructions and the task information stored in the SCQ circuit 300 to the plurality of cores 230 .

[0135] According to an exemplary embodiment, the SFR setting circuit 311 may be configured to transmit an interrupt request to the plurality of cores 230 or to transmit an interrupt request to some cores designated from among the plurality of cores 230 based on a user's request.

[0136] A processor according to various exemplary embodiments of the present invention (including a plurality of cores capable of independently performing operations (e.g., Figure 2 230), memory (e.g., Figure 3 350) and a control circuit (eg, Figure 3The task processing method shown in FIG. 300 may include: obtaining one or more instructions associated with a task to be processed using at least some of the cores 230 of the plurality of cores 230; storing data corresponding to the task in a memory 350 based on the one or more instructions; delivering at least some of the instructions to the at least some of the cores 230; checking one or more cores 230 among the at least some of the cores 230 that have responded to the at least some of the instructions; preventing the task from being assigned to a core other than one core to which the task has been assigned; and assigning the task to one of the cores 230 when the task has not been assigned to the core 230, the assignment of the task including changing state information associated with the assignment and setting the other cores to not access the data corresponding to the task. To reiterate, the control circuit 300 may receive responses from the first core 230 and a group of second cores 230. The control circuit may then prevent the task from being assigned to each of the cores 230 of the group of second cores 230 and assign the task to the first core 230 instead. The set of second cores 230 may include each core other than the first core 230 that has responded to at least some of the instructions.

[0137] The task processing method may further include allocating the task to the first core among the at least some cores 230 that responds to the at least some instructions. Storing the data corresponding to the task in the memory 350 may include storing the task instructions in a queue storage device 314 having a FIFO structure. The task processing method may include generating an interrupt based on an event by the control circuit 300 through the IRQ control circuit 312 and delivering the task to one or more cores that have responded to the at least some instructions. The memory 350 may be provided as an SRAM and embedded in the control circuit 300. The task processing method may include automatically allocating an address for storing data corresponding to the task by the control circuit 300 through the SRAM address controller 317 and storing the data corresponding to the task in the allocated address of the memory 350 in response to the acquisition of the one or more instructions associated with the task to be processed. The task processing method may include preferentially allocating the task to one or more cores designated based on a priority set by a user. The plurality of cores may be provided as a plurality of different DSPs.

[0138] Figure 4 is an architecture according to various exemplary embodiments of the present invention ( Figure 2 200) is an operation flow chart shown.

[0139] Reference Figure 4 In operation 401, a SCQ circuit (eg, Figure 3 300) can be obtained with multiple cores to be used (e.g., Figure 2For example, the SCQ circuit 300 may receive task processing requests from at least some of the cores 230 among the plurality of cores 230 .

[0140] In operation 402, the SCQ circuit 300 according to an exemplary embodiment may store data corresponding to the task in a memory (eg, Figure 3 350).

[0141] In operation 403 , the SCQ circuit 300 according to an exemplary embodiment may deliver at least some of the instructions associated with the received tasks to the at least some of the cores.

[0142] In operation 404 , the SCQ circuit 300 according to an exemplary embodiment may check one or more cores among the at least some cores that have responded to the at least some instructions.

[0143] In operations 405 and 406 , when the task is allocated to one of the cores, the SCQ circuit 300 according to an exemplary embodiment may not allocate the task to other cores different from the one of the plurality of cores.

[0144] In operation 407, when the task is not allocated to the core, the SCQ circuit 300 according to an exemplary embodiment may allocate the task to one of the cores. According to an exemplary embodiment, the allocation of the task by the SCQ circuit 300 may include changing state information associated with the allocation and preventing other cores from accessing data corresponding to the task.

[0145] Figure 5 is an architecture according to various exemplary embodiments of the present invention (e.g., Figure 2 200) is an operational flow chart of the task processing process.

[0146] Reference Figure 5 In operation 501, a plurality of cores (eg, Figure 2 At least some of the cores in FIG. 230 may generate tasks and deliver the generated tasks to the SCQ circuit (eg, Figure 3 For example, the SCQ circuit 300 may receive task processing requests from at least some of the plurality of cores 230 .

[0147] In operations 502 and 503, the SCQ circuit 300 according to an exemplary embodiment may check (determine) whether to accommodate the corresponding task in response to receiving the task processing request from at least some of the plurality of cores 230 and deliver the result of the check to the plurality of cores 230. For example, the SCQ circuit 300 may be configured to store up to 32 tasks and store up to 8 kilobytes of task data through the queue storage device 314. According to an exemplary embodiment, as described above, when the number of tasks that can be accommodated exceeds a specified number or when a specified memory storage space is full, the SCQ circuit 300 may determine that more task data cannot be accommodated. According to an exemplary embodiment, when it is determined that more tasks cannot be accommodated, the SCQ circuit 300 may deliver corresponding information to the plurality of cores 230. According to an exemplary embodiment, the plurality of cores 230 may be configured to transmit the task processing request to the SCQ circuit 300 again at a predetermined time after receiving an event indicating that more tasks cannot be accommodated from the SCQ circuit 300. According to an exemplary embodiment, upon receiving an event indicating that a task can be accommodated from the SCQ circuit 300 , the plurality of cores 230 may deliver a task instruction and task data to the SCQ circuit 300 .

[0148] In operation 504, the SCQ circuit 300 according to an exemplary embodiment may store the received task instructions in sequence. For example, the SCQ circuit 300 may store the task instructions in a queue storage device having a FIFO structure (e.g., Figure 3 314), and an SRAM address controller (e.g., Figure 3 317) stores the task data in an internal memory (e.g., Figure 3 350).

[0149] In operations 505 and 506, the SCQ circuit 300 according to an exemplary embodiment may deliver at least some of the task instructions to all the cores 230 of the plurality of cores 230. Upon receiving the instruction, each of the plurality of cores 230 may transmit an event indicating whether the task can be processed to the SCQ circuit 300.

[0150] In operation 507, the SCQ circuit 300 according to an exemplary embodiment may check one or more cores among all the cores 230 of the plurality of cores 230 that have responded to the at least some instructions and may allocate the tasks to the one or more cores. According to an exemplary embodiment, the SCQ circuit 300 may sequentially store the received task instructions and may allocate the task instructions to the plurality of cores 230 in the order in which the task instructions are stored. According to another exemplary embodiment, the SCQ circuit 300 may be configured to allocate the tasks to the plurality of cores 230 based on a priority set by a user.

[0151] In operations 508 and 509 , according to an exemplary embodiment, the core to which the task is assigned may receive task data from the SCQ circuit 300 and may process the received task.

[0152] Figure 6 is an example diagram illustrating a process by which the SCQ circuitry distributes at least some core-requested tasks to other cores.

[0153] Reference Figure 6 , according to an exemplary embodiment of the present invention, architecture 600 (eg, Figure 2 200) may include multiple cores 630 that can independently perform operations (e.g., Figure 2 230) and SCQ circuit 620 (eg, Figure 3 According to an exemplary embodiment, the plurality of cores 630 may include first to fourth cores 631, 633, 635, and 637 provided as a plurality of different DSPs or at least one hardware accelerator.

[0154] According to an exemplary embodiment, the SCQ circuit 620 may deliver a task requested by a specific core to a plurality of cores in the form of an interrupt event and may receive a response to the interrupt event from at least some of the plurality of cores. According to an exemplary embodiment, the SCQ circuit 620 may allocate the requested task to the first core that responds among the plurality of cores. For example, the process of the SCQ circuit 620 allocating the tasks requested by the at least some cores to other cores may be represented as Figure 6 When a task processing request is received from the third core 635, the arbiter circuit 621 (eg, Figure 3 The queue control circuit 313 shown may store the received tasks in order in the queue storage device 622 (eg, Figure 3314) and may transmit an interrupt event associated with the task to the first to fourth cores 631, 633, 635, and 637. When the response is first received from the first core 631 among the first to fourth cores 631, 633, 635, and 637, the SCQ circuit 620 may allocate the task to the first core 631. The core (e.g., the first core 631) to which the task is allocated may perform a function associated with the allocated task.

[0155] Figure 7 is an exemplary diagram showing a method in which the SCQ circuit allocates tasks in consideration of dependencies between the tasks. Figure 8 An example of a SCQ circuit setting a waiting task is shown.

[0156] According to an exemplary embodiment, Figure 7 It may be an example of a two dimensional (2D) discrete Fourier transform (DFT) algorithm. When the architecture according to various exemplary embodiments of the present invention (e.g., Figure 2 As shown in 200), when executing a task, Figure 7 Dependencies may exist between the tasks as shown. For example, the tasks corresponding to blocks 721 and 722 may have to be processed after the tasks corresponding to block 711 are processed. Alternatively, the tasks corresponding to block 731 may have to be processed after the tasks corresponding to blocks 721 and 722 are processed. Alternatively, the tasks corresponding to blocks 741, 742, 743, and 744 may have to be processed after the tasks corresponding to block 731 are processed. Alternatively, the tasks corresponding to blocks 751 and 752 may have to be processed after the tasks corresponding to blocks 741, 742, 743, and 744 are processed.

[0157] Reference Figure 7 and Figure 8 , the SCQ circuit 800 according to various exemplary embodiments of the present invention (eg, Figure 3 300) can consider the dependencies between tasks to set waiting tasks. For example, the arbiter circuit 821 (e.g., Figure 3 The queue control circuit 313 shown may be a queue storage device 822 (e.g., Figure 3 314) specifies the waiting task 1832 so that Figure 7 The other tasks will not be processed before the task corresponding to block 711 is processed.

[0158] Alternatively, the arbiter circuit 821 of the SCQ circuit 800 may assign the waiting task 2 835 to the queue storage device 822 so that the waiting task 2 835 is assigned ... Figure 7 The other tasks will not be processed before the tasks corresponding to blocks 721 and 722 are processed.

[0159] Alternatively, the arbiter circuit 821 of the SCQ circuit 800 may designate waiting task 3 for the queue storage device 822 so that the other tasks are not processed until the task corresponding to block 731 is processed.

[0160] Alternatively, the arbiter circuit 821 of the SCQ circuit 800 may designate waiting task 4 for the queue storage device 822 so that the other tasks are not processed until the tasks corresponding to blocks 741, 742, 743, and 744 are processed.

[0161] Fig. 9 is a camera module 980 (eg, Figure 1 180) is a block diagram 900. Fig. 9 , the camera module 980 may include a lens assembly 910, a flash 920, an image sensor 930, an image stabilizer 940, a memory 950 (e.g., a buffer memory), or an image signal processor 960. The lens assembly 910 may collect light emitted from an object to be imaged. The lens assembly 910 may include one or more lenses. According to an exemplary embodiment, the camera module 980 may include a plurality of lens assemblies 910. In this case, the camera module 980 may be, for example, a dual camera, a 360 degree camera, or a spherical camera. The plurality of lens assemblies 910 may have the same lens properties (e.g., viewing angle, focal length, auto focus, f number, or optical zoom). Alternatively, at least one of the lens assemblies may have at least one lens property different from that of the other lens assemblies. The lens assembly 910 may include, for example, a wide-angle lens or a telephoto lens. The flashlight 920 may emit a light source for intensifying light emitted from an object. The flashlight 920 may include one or more light emitting diodes (LEDs) (eg, red-green-blue (RGB) LEDs, white LEDs, infrared LEDs, or ultraviolet LEDs) or xenon lamps.

[0162] The image sensor 930 may convert light delivered from an object through the lens assembly 910 into an electrical signal to acquire an image corresponding to the object. According to an exemplary embodiment, the image sensor 930 may include one image sensor selected from image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an infrared (IR) sensor, or an ultraviolet (UV) sensor, a plurality of image sensors having the same properties, or a plurality of image sensors having different properties. For example, each of the image sensors included in the image sensor 930 may be implemented as a charge coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

[0163] In response to the movement of the camera module 980 or the movement of the electronic device 101 including the camera module 980, the image stabilizer 940 may move or control (e.g., adjust the readout timing) the image sensor 930 or at least one lens included in the lens assembly 910 in a specific direction so as to partially compensate for the negative impact (e.g., image blur) on the captured image caused by the movement. According to an exemplary embodiment, the image stabilizer 940 may be implemented as, for example, an optical image stabilizer. The movement may be detected by a gyro sensor (not shown) or an acceleration sensor (not shown) located inside or outside the camera module 980.

[0164] To perform the next image processing task, the memory 950 may at least temporarily store at least a portion of the image acquired by the image sensor 930. For example, when image acquisition according to a shutter is delayed or when a plurality of images are acquired at a high speed, the acquired original image (e.g., a high-resolution image) may be stored in the memory 950, and the corresponding copy image (e.g., a low-resolution image) may be previewed through the display device 160. Then, when a prescribed condition (e.g., a user input or a system command) is satisfied, the image signal processor 960 may, for example, acquire and process at least some of the original images stored in the memory 950. According to an exemplary embodiment, the memory 950 may be provided as at least a portion of the memory 130 or as a separate memory that operates independently.

[0165] The image signal processor 960 may perform image processing (e.g., depth map creation, three-dimensional (3D) modeling, panorama creation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening)) on an image acquired through the image sensor 930 or an image stored in the memory 950. Additionally or alternatively, the image signal processor 960 may perform control (e.g., exposure time control or readout timing control) on at least one element included in the camera module 980 (e.g., the image sensor 930). The image processed by the image signal processor 960 may be stored again in the memory 950 for further processing, or may be delivered to an external element of the camera module 980 (e.g., Figure 1 According to an exemplary embodiment, the image signal processor 960 may be used as a processor (eg, Figure 1 120) or provided as a separate processor that operates independently of the processor 120. When the image signal processor 960 is provided as a separate processor, the image processed by the image signal processor 960 may be displayed on a display device (e.g., Figure 1 As shown in 160).

[0166] According to an exemplary embodiment, an electronic device (eg, Figure 1 101) may include two or more camera modules 980 having different properties or functions. In this case, for example, at least one of the camera modules 980 may be a wide-angle camera or a front camera, and at least another of the camera modules 980 may be a telephoto camera or a rear camera.

[0167] According to various exemplary embodiments of the present invention, the following effects can be obtained.

[0168] By managing and sharing tasks from multiple DSPs through SCQ circuits, task processing speed and task management efficiency can be improved.

[0169] Since there is no need to apply a separate locking algorithm to deliver a task, the SCQ circuit runs quickly. A locking algorithm is an algorithm that does not allow cores other than the specific DSP core to which the task is assigned to access the task data, which can degrade performance.

[0170] The SCQ circuit uses SRAM to store task data, and therefore has a fast processing speed since it does not need to use a main memory to deliver tasks.

[0171] The SCQ circuit does not have a master-slave structure and thus can apply tasks to all of the DSP cores.

[0172] Various types of devices may be provided as electronic devices according to various exemplary embodiments disclosed herein. The electronic device may include, for example, at least one of a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. The electronic device according to the exemplary embodiments disclosed herein is not limited to the above-mentioned devices.

[0173] It should be understood that it is not intended to limit the present disclosure to the specific form disclosed herein; rather, the present disclosure should be considered to cover various modifications, equivalent forms and / or alternative forms to the exemplary embodiments. When describing the drawings, similar reference numerals may be used to indicate similar components. Unless the context clearly indicates otherwise, the singular form used herein may also include the plural form. In the present disclosure, the expressions "A or B", "at least one of A and / or B", "A, B or C", and "at least one of A, B, and / or C" may include all possible combinations of the listed items. Expressions such as "first", "second", "the first" or "the second" used herein may represent various elements, regardless of the order and / or importance of the elements. These expressions are used to distinguish between the individual elements, rather than to limit the corresponding elements. It should be understood that when an element (e.g., a first element) is referred to as being (operably or communicatively) "coupled" or "connected" to another element (e.g., a second element), the first element may be directly coupled to or directly connected to the second element or any other elements (e.g., a third element) may be interposed between the two elements.

[0174] The term "module" used in the present disclosure may refer to a unit provided as hardware, software, or firmware. For example, the term "module" may be interchangeable with terms such as logic, logic block, component, or circuit. A module may be an integrated component or a minimum unit or a portion of a minimum unit that performs one or more specific functions. For example, a module may be provided as an application-specific integrated circuit (ASIC).

[0175] The various exemplary embodiments disclosed herein may be implemented as software (e.g., program 140) including instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., a computer). A machine that is a device capable of calling instructions stored in a storage medium and running according to the called instructions may include an electronic device (e.g., electronic device 101) according to the disclosed exemplary embodiments. When the instructions are executed by a processor (e.g., processor 120), the processor may directly execute the function corresponding to the instructions or execute the function corresponding to the instructions through other components controlled by the processor. The instructions may include code generated or executed by a compiler or interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term "non-transitory" means that the storage medium does not include a signal and is tangible, regardless of whether the data is stored in the storage medium in a semi-permanent form or temporarily stored in the storage medium.

[0176] According to exemplary embodiments, the methods according to various exemplary embodiments disclosed herein may be included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)) or distributed through an application store (e.g., PlayStore). TM (Play Store TM ) Online distribution. For online distribution, at least a portion of the computer program product may be at least temporarily stored in a storage medium (eg, a memory of a manufacturer's server, an application store's server, or a relay server) or may be temporarily generated.

[0177] Each component (e.g., module or program) in the components according to various exemplary embodiments may be composed of a single entity or multiple entities, and some of the above-mentioned subcomponents may be omitted, or other subcomponents may be further included in various exemplary embodiments. Alternatively or additionally, some components (e.g., modules or programs) may be integrated into one entity to perform the same or similar functions performed by each responsive component before integration. The operations performed by the modules, programs or other elements according to various exemplary embodiments of the present disclosure may be performed sequentially, in parallel, repeatedly or in a heuristic manner. In addition, some operations may be performed in different orders or may be omitted, or other operations may be added.

Claims

1. A processor, include: Multiple cores,configured to perform operations independently; Memory; as well as A control circuit is electrically connected to the plurality of cores and the memory, wherein the control circuit is configured to: obtaining one or more first instructions associated with a first task to be processed using at least one core of the plurality of cores, Based on the one or more first instructions, storing data corresponding to the first task in the memory, transmitting an event to at least two of the plurality of cores, wherein the event comprises at least one of the one or more first instructions obtained, In response to receiving a response to the event from one or more cores of the at least two cores, checking whether the one or more cores that have responded to the event are capable of processing the transmitted one or more first instructions, If the first task is not assigned to the plurality of cores, assigning the first task to one of the one or more cores that has responded and is capable of processing the transmitted one or more first instructions, and If the first task is assigned to the one core among the plurality of cores, preventing the first task from being assigned to other cores except the one core, The allocation of the first task includes: changing state information associated with the allocation and setting the other cores among the plurality of cores to which the first task is not allocated to not access the data corresponding to the first task. 2 . The processor of claim 1 , wherein the one core is a first one of the one or more cores that responds to the at least one first instruction of the one or more first instructions.

3. The processor according to claim 1, wherein the control circuit comprises a queue storage device configured to store and manage task instructions in a first-in-first-out structure.

4. The processor of claim 1 , wherein the control circuit comprises an interrupt request control circuit configured to generate an interrupt based on the event and transfer the first task to the one or more cores that have responded to the at least one first instruction of the one or more first instructions.

5. The processor of claim 1, wherein the memory is a static random access memory and is embedded in the control circuit.

6. The processor of claim 5 , wherein the control circuit comprises a static random access memory address controller, the static random access memory address controller being configured to allocate addresses for storing the data corresponding to the first task and to store the data corresponding to the first task in the allocated addresses of the memory in response to the obtaining of the one or more first instructions associated with the first task to be processed. 7 . The processor of claim 1 , wherein the control circuit is configured to assign the first task to one or more cores of the plurality of cores designated based on a priority set by a user.

8. The processor of claim 1, wherein the plurality of cores are a plurality of different digital signal processors.

9. A task processing method for a processor, the processor comprising a plurality of cores capable of independently executing operations, a memory, and a control circuit electrically connected to the plurality of cores and the memory, the task processing method include: obtaining one or more first instructions associated with a first task to be processed using at least one core of the plurality of cores, Based on the one or more first instructions, storing data corresponding to the first task in the memory, transmitting an event to at least two of the plurality of cores, wherein the event comprises at least one of the one or more first instructions obtained, In response to receiving a response to the event from one or more cores of the at least two cores, checking whether the one or more cores that have responded to the event are capable of processing the transmitted one or more first instructions, If the first task is not assigned to the plurality of cores, assigning the first task to one of the one or more cores that has responded and is capable of processing the transmitted one or more first instructions, and If the first task is assigned to the one core among the plurality of cores, preventing the first task from being assigned to other cores except the one core, The allocation of the first task includes: changing state information associated with the allocation and setting the other cores among the plurality of cores to which the first task is not allocated to not access the data corresponding to the first task. 10 . The task processing method according to claim 9 , wherein the one core is a first one of the one or more cores that responds to the at least one first instruction among the one or more first instructions. 11 . The task processing method according to claim 9 , wherein storing the data corresponding to the first task in the memory comprises storing task instructions in a queue storage device having a first-in-first-out structure.

12. The task processing method according to claim 9 further includes the control circuit using an interrupt request control circuit included in the control circuit to generate an interrupt based on the event and transmit the first task to the one or more cores that have responded to the at least one first instruction among the one or more first instructions.

13. The task processing method according to claim 9, wherein the memory is a static random access memory and is embedded in the control circuit.

14. The task processing method according to claim 13, further comprising: include: An address for storing the data corresponding to the first task is allocated by the control circuit using a static random access memory address controller and the data corresponding to the first task is stored in the allocated address of the memory in response to obtaining the one or more first instructions associated with the first task to be processed. 15 . The task processing method according to claim 9 , further comprising allocating the first task to one or more cores among the plurality of cores designated based on a priority set by a user. 16 . The task processing method according to claim 9 , wherein the plurality of cores are a plurality of different digital signal processors.

17. An architecture for processing tasks, include: multiple cores, including multiple different digital signal processors or at least one hardware accelerator; as well as a control circuit electrically connected to the plurality of cores, The control circuit is configured to: receiving a first task processing request corresponding to a first task from at least one core of the plurality of cores, storing instructions and information associated with the first task in an internal memory, transmitting at least some of the stored instructions associated with the first task to the plurality of cores in the form of events, In response to receiving a response to the event from one or more cores of the plurality of cores, checking whether the one or more cores that have responded to the event are capable of processing the transmitted instruction associated with the first task, assigning the first task to a core that has previously responded to the event and is capable of processing the transmitted instruction, and If the first task is assigned to the one core among the plurality of cores, preventing the first task from being assigned to other cores except the one core, The allocation of the first task includes: changing state information associated with the allocation and setting the other cores among the plurality of cores to which the first task is not allocated to not access the information corresponding to the first task.

18. The architecture of claim 17, wherein if the first task is assigned to the one core, the control circuit is configured not to assign the first task to other cores of the plurality of cores.

19. The architecture of claim 18, wherein the control circuitry allocates the first task to include: changing state information associated with the allocation; as well as The other cores among the plurality of cores are prevented from accessing data corresponding to the first task.

20. The architecture of claim 17, wherein the control circuit comprises a queue storage device, the queue storage device storing and managing task instructions in a first-in-first-out structure.

Citation Information

Patent Citations

  • Providing access from outside a multicore processor SoC to individually configure voltages

    CN106997233A

  • Processor system with temperature sensor and control method of the same

    US20060095911A1

  • SPU task manager for cell processor

    US20070074207A1

  • Method, system and computer program to optimize deterministic event record and replay

    US20090144742A1

  • Method for allocating process in multi-core environment and apparatus therefor

    US20140373025A1