Electronic device for selecting core that executes function of neural network, and method therefor
The electronic device efficiently selects cores based on execution times and reference times to optimize neural network performance and power usage, addressing the challenge of core selection in AI-equipped devices.
Patent Information
- Application Number
- PCT/KR2024/095415
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-02-19
- Publication Date
- 2024-08-29
AI Technical Summary
Current electronic devices equipped with artificial intelligence struggle to efficiently select the appropriate cores for executing neural network functions based on varying execution times and reference times, leading to suboptimal performance and power consumption.
An electronic device with multiple cores operating at different maximum frequencies, where a processor identifies events and determines the most suitable core for executing neural network functions by comparing execution times with reference times set by the application.
This approach allows for efficient core selection, optimizing neural network execution times and reducing power consumption by matching the core's frequency with the required task, thereby enhancing overall device performance and battery efficiency.
Smart Images

Figure KR2024095415_29082024_PF_FP_ABST
Abstract
Description
Electronic device and method for selecting a core for executing a function of a neural network
[0001] The present disclosure relates to an electronic device and method for selecting a core for executing a function of a neural network.
[0002] With the advancement of electronic devices, the development of technologies related to electronic devices equipped with artificial intelligence (AI) technology is progressing. Electronic devices equipped with AI technology can independently learn and make judgments about their surroundings, independent of instructions updated by external signals. As electronic devices equipped with AI technology actively learn and make judgments about their surroundings, they can automatically respond to situations requiring human judgment. Research is currently underway on hardware components for electronic devices equipped with AI technology to perform AI-specific calculations.
[0003] According to an embodiment, an electronic device may include a processor including a plurality of cores, including a first core operating at a frequency lower than a first maximum frequency and a second core operating at a frequency lower than a second maximum frequency. The second maximum frequency may be lower than the first maximum frequency. The processor may identify an event for operating a neural network provided by an application based on execution of an application. The processor may obtain, based on the event, execution times at which the neural network was executed by the plurality of cores, respectively, and a reference time set by the application. The processor may determine, based on the execution times and the reference time, a core among the plurality of cores to be used for executing the function. The processor may execute a function corresponding to the event using the determined core.
[0004] In one embodiment, an electronic device may include a processor including a plurality of cores, including a first core operating at a frequency lower than a first maximum frequency and a second core operating at a frequency lower than a second maximum frequency. The second maximum frequency may be lower than the first maximum frequency. A method of the electronic device may include an operation of identifying an event for operating a neural network provided by an application based on execution of the application. The method may include an operation of acquiring, based on the event, execution times at which the neural network was executed by the plurality of cores, respectively, and a reference time set by the application. The method may include an operation of determining, based on the execution times and the reference time, one (a) core among the plurality of cores to be used for executing the function. The method may include an operation of executing a function of the neural network corresponding to the event using the determined core.
[0005] In one embodiment, an electronic device may include a processor including a plurality of cores, the processor including a first core operating at a lower than a first maximum frequency and a second core operating at a lower than a second maximum frequency. The second maximum frequency may be lower than the first maximum frequency. A computer-readable storage medium storing one or more programs, wherein the one or more programs, when executed by the processor of the electronic device, cause the processor of the electronic device to identify an event for operating a neural network provided by the application based on execution of the application. The one or more programs, when executed by the processor of the electronic device, cause the processor of the electronic device to obtain, based on the event, execution times at which the neural network was executed by each of the plurality of cores and a reference time set by the application. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to determine, based on the execution times and the reference time, one (a) core among a plurality of cores to be used to execute the function. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to execute the function of the neural network corresponding to the event using the determined core.
[0006] FIG. 1 illustrates an example of an electronic device within a network environment, according to one embodiment.
[0007] FIG. 2A illustrates an example of a block diagram of an electronic device according to one embodiment.
[0008] FIG. 2b illustrates an example of multiple neural network models included within an application, according to one embodiment.
[0009] FIG. 2c illustrates an example of components contained within a memory, according to one embodiment.
[0010] FIG. 3 illustrates an example of an electronic device that performs different operations depending on the state of charge (SOC) of a battery, according to one embodiment.
[0011] FIG. 4A illustrates an example of an electronic device that acquires history information according to one embodiment.
[0012] FIG. 4b illustrates an example of an electronic device that acquires history information according to one embodiment.
[0013] FIG. 4c illustrates an example of an electronic device that acquires history information according to one embodiment.
[0014] FIG. 4d illustrates an example of an electronic device that acquires history information according to one embodiment.
[0015] FIG. 5 illustrates an example of an electronic device that acquires history information according to one embodiment.
[0016] FIG. 6 illustrates an example of an electronic device that performs different operations depending on the SOC of a battery, according to one embodiment.
[0017] FIG. 7 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment.
[0018] FIG. 8 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment.
[0019] FIG. 9 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment.
[0020] FIG. 10 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment.
[0021] FIG. 1 illustrates an example block diagram of an electronic device within a network environment, according to one embodiment.
[0022] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0023] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0024] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0025] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0026] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0027] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0028] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0029] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0030] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0031] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0032] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0033] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0034] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0035] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0036] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0037] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0038] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a 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 the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one 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). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via 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 legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0039] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0040] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0041] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0042] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0043] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0044] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0045] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0046] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0047] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0048] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as 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., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0049] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0050] FIG. 2A illustrates an example of a block diagram of an electronic device according to an embodiment. FIG. 2B illustrates an example of a plurality of neural network models included in an application according to an embodiment. FIG. 2C illustrates an example of components included in a memory according to an embodiment. The electronic device (101) of FIG. 2A may include the electronic device (101) of FIG. 1 . The processor (120) of FIG. 2A may be substantially the same as the processor (120) of FIG. 1 , or may include the processor (120) of FIG. 1 . The electronic device (101) of FIG. 2A may include a terminal owned by a user. For example, the terminal may include a personal computer (PC) such as a laptop or desktop, a smartphone, a smartpad, a tablet PC, a smartwatch, and a smart accessory such as a head-mounted device (HMD).
[0051] Referring to FIG. 2A, an electronic device (101) according to an embodiment may include at least one of a processor (120), a memory (130), and a battery (189). The processor (120), the memory (130), and the battery (189) may be electrically and / or operably coupled with each other by an electronic component such as a communication bus (205). Hereinafter, operably coupled hardware may mean that a direct connection or an indirect connection is established between the hardwares, either wired or wireless, such that a second hardware is controlled by a first hardware among the hardwares. Although illustrated in different blocks, the embodiment is not limited thereto. Some of the hardwares of FIG. 2A may be included in a single integrated circuit, such as a system on a chip (SoC). The type and / or number of hardware included in the electronic device (101) is not limited to that illustrated in FIG. 2A. For example, the electronic device (101) may include only some of the hardware illustrated in FIG. 2A.
[0052] According to one embodiment, the electronic device (101) may include hardware for processing data based on one or more instructions. The hardware for processing data may include a processor (120). For example, the hardware for processing data may include an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), a central processing unit (CPU), and / or an application processor (AP). The processor (120) may have a single-core processor structure, or a multi-core processor structure such as a dual core, a quad core, a hexa core, or an octa core.
[0053] According to one embodiment, the processor (120) of the electronic device (101) may include at least one of a cache memory (210) or a plurality of cores. The electronic device (101) may transmit data transmitted from the memory (130) to the plurality of cores through the cache memory (210).
[0054] For example, the processor (120) may include a first core (221) having a first maximum frequency in a first frequency range. For example, the processor (120) may include a second core (222) that operates in a second frequency range having a second maximum frequency less than the first maximum frequency. For example, the processor (120) may include a third core (223) that operates in a third frequency range having a third maximum frequency less than the second maximum frequency. Hereinafter, a neural network executed by the first core (221) and the second core (222) will be described, but the embodiment is not limited thereto. For example, operations substantially the same as those described below may be performed using the first core (221), the second core (222), and the third core (223).
[0055] For example, the plurality of cores may include a first core (221) to an Nth core (22n). For example, the plurality of cores may include cores having different maximum frequencies. For example, the plurality of cores may be driven in different frequency ranges. For example, the first core (221) of the plurality of cores may be driven at a first maximum frequency. For example, the first maximum frequency may include about 3.3 GHz. For example, the first core (221) may be referred to as a prime core. For example, the first core (221) may be referred to as a big core. For example, the second core (222) of the plurality of cores may be driven at a second maximum frequency. For example, the second maximum frequency may include about 2.8 GHz. For example, the second core (222) may be referred to as a performance core. For example, the second core (222) may be referred to as a middle core. For example, the third core (223) among the plurality of cores may be operated at a third maximum frequency. For example, the third maximum frequency may include about 2.0 GHz. For example, the third core (223) may be referred to as an efficient core. For example, the third core (223) may be referred to as a little core. However, the present invention is not limited to the above.
[0056] According to an embodiment, the electronic device (101) may execute a neural network model (236) based on each of the plurality of cores. Referring to FIG. 2b, for example, the neural network model (236) may be included in an application (231). For example, the neural network model (236) and a neural network model (238) different from the neural network model (236) may be included in the application (231). For example, the application (231) may include a plurality of neural network models (236, 238). Referring to FIG. 2c, for example, the neural network model (236) may be included in the memory (130) separately from the application (231). For example, the neural network model (236) of FIG. 2c may be executed by a plurality of applications. For example, the neural network model (236) of FIG. 2c may include a neural network model commonly used by multiple applications.
[0057] Referring to FIGS. 2A to 2C , for example, the electronic device (101) can obtain history information on execution of the neural network model (236) on each of the plurality of cores. Based on the history information obtained on execution of the neural network model (236) on each of the plurality of cores, the electronic device (101) can obtain a list (237) including the history information. For example, the list (237) can be generated using the scheduling processing service (232). For example, the list (237) can be generated based on the identification of a designated instruction included in an application (231). For example, the list (237) can be deleted or reset based on the termination of the application (231). The designated instructions are described below in Table 1.
[0058] According to one embodiment, the memory (130) of the electronic device (101) may include a hardware component for storing data and / or instructions input to and / or output from the processor (120) of the electronic device (101). For example, the memory (130) may include a volatile memory such as a random-access memory (RAM) (e.g., the volatile memory (132) of FIG. 1) and / or a non-volatile memory such as a read-only memory (ROM) (e.g., the non-volatile memory (134) of FIG. 1). For example, the volatile memory may include at least one of a dynamic RAM (DRAM), a static RAM (SRAM), a cache RAM, and a pseudo SRAM (PSRAM). For example, the non-volatile memory may include at least one of a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), a flash memory, a hard disk, a compact disc, a solid state drive (SSD), and an embedded multi-media card (eMMC).
[0059] According to one embodiment, the electronic device (101) may execute an application (231) contained in the memory (130). For example, the application (231) may include an application related to image processing. For example, the application related to image processing may include a camera application and / or a gallery application. For example, the application (231) may include an application related to voice recognition. For example, the application related to voice recognition may include voice command software and / or navigation software. For example, the application (231) may include an application related to path planning. For example, the application (231) may include an application related to natural language processing (NLP). For example, the NLP may include a function for conducting a conversation with a user via voice or text, such as a chatbot and / or a chatterbot. The above application (231) may include a neural network model (236). The neural network model (236) may include instructions for performing a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), and deep Q-networks.
[0060] According to one embodiment, the electronic device (101) may identify an event for driving the neural network based on the execution of the application (231). For example, the neural network may be executed in the application (231). For example, the neural network may be included in the application (231) or may be included in the memory (130) separately from the application (231). For example, the event for driving the neural network may include an operation for acquiring an image. For example, the event for driving the neural network may include an operation for displaying an image through a display. For example, the electronic device (101) may identify an event for detecting an object in the image based on the acquisition of the image. For example, the object may include the face of an animal such as a human. For example, the electronic device (101) may identify an event for correcting an object in the image based on the acquisition of the image. For example, an event for driving the neural network may include an operation of acquiring a voice signal through a microphone. For example, the electronic device (101) may, while executing an application (231), identify an event for converting the voice signal into text based on acquiring the voice signal.
[0061] According to one embodiment, the electronic device (101) may drive a neural network model (236) using a processor (120) including a plurality of cores based on identifying an event for driving a neural network provided by an application (231). According to one embodiment, the electronic device (101) may obtain identifiable history information by a scheduling processing service (232) based on a data structure referred to as an intent while the application (231) is running. Although an embodiment based on an intent set for exchanging information between processes has been described, the embodiment is not limited thereto. According to one embodiment, the electronic device (101) may use the history information identified by the scheduling processing service (232) to execute the application (231) using a method for transferring information between processes (e.g., inter process communication (IPC), shared memory, memory map, pipe, socket). The electronic device (101) can identify, based on the execution of the scheduling processing service (232), the name of the neural network model (236), the time at which the neural network model (236) was run, and / or the core that ran the neural network model (236) from the history information.
[0062] For example, the electronic device (101) may transmit information related to the operation of the neural network model (236) to the scheduling process service (232) based on instructions included in the application (231). For example, the instructions included in the application (231) may be referred to as Table 1 below. For example, Table 1 below may include at least a portion of the instructions included in the application (231) to be operated by a JVM (Java virtual machine). The examples described below include, but are not limited to, descriptions of instructions to be operated by a JVM.
[0063] String application_name;int model_number;class model() {String name;int expected_time;}public static int send_info(){Intent intent = new Intent(model);intent.setPackage("Processing Service");intent.setAction("List.CREATE");return 0;}
[0064] Referring to Table 1 above, the electronic device (101) can identify an instruction for indicating a name (e.g., package name) indicating an application (231), such as 'String application_name'. In Table 1 above, 'int model_number' can include the number of a neural network model (236) expressed as an integer.
[0065] In the above Table 1, the electronic device (101) can identify an instruction such as 'class model()'. For example, the 'class model()' may be related to information of a neural network model included in one (a) application (231). For example, 'String name' may include an instruction for obtaining a name indicating the name of a neural network model (236). Based on identifying an instruction such as 'class model()', the electronic device (101) may include an instruction for obtaining history information related to the execution of a neural network model (236) provided by the application (231). For example, the instruction may be referred to as code and / or instructions. The electronic device (101) may acquire the name of the neural network model (236) and / or the reference time based on the acquired history information related to the execution of the neural network model (236). Based on the history information and the reference time, the electronic device (101) may select one (a) core among a plurality of cores for executing the neural network model (236). The electronic device (101) may use the selected one core among the plurality of cores to execute a function of the neural network corresponding to an event for driving the neural network. The operation of selecting a core based on the history information and the reference time is described below in FIGS. 4A to 4D and / or FIG. 5 .
[0066] For example, the electronic device (101) can obtain a reference time set by the application (231), such as 'int expected_time'. For example, 'expected_time' may be a time when the execution of the neural network model (236) is to be completed and may be referred to as an expected time. For example, the expected time may include a time when the execution of the neural network is expected to be completed. For example, the electronic device (101) can obtain a reference time set by the neural network model (236). For example, the electronic device (101) can obtain a reference time set by the application (231) and a reference time set by the neural network model (236). However, the present invention is not limited thereto.
[0067] In Table 1, 'public static int send_info()' may include an instruction for transmitting history information of a neural network model (236) to a scheduler processing service (232). For example, the scheduling process service (232) may be executed in response to booting of the electronic device (101). The scheduling process service (232) may be executed while the electronic device (101) is powered on. In Table 1, 'Intent intent = new Intent(model)' may include an instruction for generating history information of a neural network model (236). In Table 1, 'intent.setPackage("Processing Service")' may include an instruction for transmitting information of a neural network model (236) executed in an application (231) to the scheduling processing service (232). In Table 1, 'intent.setAction("List.CREATE")' may include an instruction to transmit history information on the execution of the neural network model (236) to the scheduling processing service (232) and create a list (237). However, the present invention is not limited thereto.
[0068] According to one embodiment, the electronic device (101) can identify instructions included in the scheduling processing service (232). For example, the electronic device (101) can generate a list (237) based on the identification of instructions included in the scheduling processing service (232). For example, the electronic device (101) can store the list (237) in a volatile memory. The electronic device (101) can generate the list (237) based on booting of the electronic device (101). The booting may include initiating an operating system of the electronic device (101). The above scheduling processing service (232) may include an instruction for creating a list (237), an instruction for updating the list (237), an instruction for deleting the list (237), and an instruction for operating in different modes depending on the SOC of the battery (189). For example, the instruction for creating the list (237) may be referred to as 'Create List()'. For example, the instruction for updating the list (237) may be referred to as 'Update List()'. For example, the instruction for deleting the list (237) may be referred to as 'Delete List()'. For example, the instruction for deleting the list (237) may be executed in response to the termination of the application (231). The electronic device (101), in response to the termination of the application (231), may delete history information related to the terminated application (231) included in the list (237). For example, an instruction for operating in different modes depending on the SOC of the battery (189) may be referred to as 'Set Type()'. A description of the electronic device (101) operating in different modes depending on the SOC of the battery (189) is described below in FIG. 3.
[0069] According to one embodiment, the electronic device (101) may include a kernel (233) in the memory (130). For example, the kernel (233) may include an instruction such as 'Assign Core()'. The electronic device (101) may select a core for executing a function of a neural network using the kernel (233). For example, the electronic device (101) may select a core for executing a function of a neural network using the kernel (233) based on identifying history information of the neural network in the list (237) of the scheduling processing service (232). For example, the electronic device (101) may select a core for executing a function of the neural network based on a specified number (e.g., 3) or more of history information in the list (237). If less than the specified number of pieces of history information are identified, the electronic device (101) can identify a core to execute a neural network function based on a basic operating system (OS) scheduler. The electronic device (101) can execute the neural network function based on the core identified. The electronic device (101) can identify execution times of the neural network function included in the at least three pieces of history information based on the acquisition of at least three pieces of history information. The electronic device (101) can obtain an average value of the execution times. By utilizing the average value, the electronic device (101) can compensate for a delay in execution of the neural network function caused by heat generation or interruption of the electronic device (101).
[0070] According to one embodiment, the electronic device (101) can identify the execution of an application (231). Based on the execution of the application (231), the electronic device (101) can identify an event for driving a neural network provided by the application (231). The neural network can include a neural network model (236). Based on the event, the electronic device (101) can obtain history information on the execution of the neural network in each of a plurality of cores (221 to 22n) driven in different frequency ranges. The electronic device (101) can obtain a reference time set by the application (231). Based on the history information and the reference time, the electronic device (101) can select one core from among the plurality of cores. The electronic device (101) can execute a function of the neural network corresponding to the event using one core selected from among the plurality of cores. For example, a first core (221) among the plurality of cores may have a first frequency range. For example, the first frequency range may include a range between about 0.65 GHz and about 2.4 GHz. For example, a second core (222) among the plurality of cores may have a second frequency range. For example, the second frequency range may include a range between about 0.5 GHz and about 2.0 GHz. For example, a third core (223) among the plurality of cores may have a third frequency range. For example, the third frequency range may include a range between about 0.3 GHz and about 1.3 GHz. According to an embodiment, the electronic device (101) may identify a first time at which a neural network was driven by a first core (221) among the plurality of cores having a first maximum frequency, from the history information included in the list (237). For example, the first maximum frequency may include about 3.2 GHz.For example, the first time may be identified in the list (237) and may include an average time for which the function of the neural network is executed by the first core (221). The electronic device (101) may compare the first time with a reference time provided by the application (231) based on the identification of the first time. For example, the electronic device (101) may identify a reference time at which the execution of the neural network executed based on the application (231) is expected to be completed. For example, the reference time may be provided by the application (231) or set by the neural network model. The electronic device (101) may identify that the first time exceeds the reference time. The electronic device (101) may execute the function of the neural network using the first core (221) based on the identification of the first time exceeding the reference time.
[0071] According to an embodiment, the electronic device (101) may identify a second time at which a neural network is driven by a second core (222) having a second maximum frequency among a plurality of cores from the history information included in the list (237). For example, the second maximum frequency may include a frequency lower than the first maximum frequency. For example, the second maximum frequency may include about 2.8 GHz. For example, the second maximum frequency may include about 2.0 GHz. For example, the second time may be identified in the list (237) and may include an average time at which a function of the neural network is executed by the second core (222). Based on the identification of the second time, the electronic device (101) may compare the second time with a reference time provided by the application (231). The electronic device (101) may identify that the second time is less than or equal to the reference time. The electronic device (101) can execute the function of the neural network using the second core (222) based on identifying the second time that is less than or equal to the reference time.
[0072] According to an embodiment, the electronic device (101) may identify, from the history information included in the list (237), that a first time at which a neural network was driven by a first core (221) having a first maximum frequency among a plurality of cores is less than or equal to a reference time. Based on the identification of the first time being less than or equal to the reference time, the electronic device (101) may identify, from the history information, a second time at which a neural network was driven by a second core (222) having a second maximum frequency lower than the first maximum frequency. Based on the second time and the reference time, the electronic device (101) may identify one (a) core among the plurality of cores. Based on the second time and the reference time, the electronic device (101) may execute a function of the neural network by using one (a) core selected from among the plurality of cores. For example, the electronic device (101) can select a core for executing a function of a neural network based on a second time and the reference time, while identifying a first time that is less than or equal to a reference time.
[0073] According to an embodiment, the electronic device (101) may identify a state in which a first time period that is less than or equal to a reference time is identified. The following operations may include operations of the electronic device (101) for selecting a core for executing a function of a neural network in the state. The electronic device (101) may identify a second time period that exceeds a reference time from the history information included in the list (237). Based on the identification of the second time period that exceeds the reference time, the electronic device (101) may execute a function of a neural network using a first core (221) having a first maximum frequency among a plurality of cores. According to an embodiment, the electronic device (101) may identify a second time period that is less than or equal to a reference time from the history information included in the list (237). Based on the identification of the second time period that is less than or equal to the reference time, the electronic device (101) may execute a function of a neural network using a second core (222) among a plurality of cores. For example, the electronic device (101) may select a core (a) having a second maximum frequency lower than the first maximum frequency based on identifying a second time that is less than or equal to a reference time, and execute a function of the neural network. For example, the electronic device (101) may select a core having a second maximum frequency lower than or equal to a first maximum frequency based on identifying a first time and a second time that are less than or equal to a reference time, and execute a function of the neural network using a core having a lowest maximum frequency among a plurality of cores.
[0074] According to one embodiment, the electronic device (101) can identify the SOC of the battery (189). The electronic device (101) can select a state (or mode) of the electronic device (101) based on the SOC of the battery (189). For example, the electronic device (101) can identify a first state of the SOC of the battery (189). For example, the first state can include a state in which the SOC of the battery (189) is identified as a first section. For example, the first section can include a section in which the SOC of the battery (189) is about 30% or more and about 100% or less. According to one embodiment, the electronic device (101) can identify a second state of the SOC of the battery (189). For example, the second state may include a state identified as having a lower SOC than the SOC of the battery (189) in the first state. For example, the second state may include a state in which the SOC of the battery (189) is identified as a second section. For example, the second section may include a section in which the SOC of the battery (189) is greater than or equal to about 15% and less than or equal to about 30%. According to an embodiment, the electronic device (101) may identify a third state of the SOC of the battery (189). For example, the third state may include a state in which the SOC of the battery (189) is identified as a third section. For example, the third section may include a section in which the SOC of the battery (189) is greater than or equal to about 0% and less than or equal to about 15%. Below, examples of the operation of the electronic device (101) according to the state of the battery (189) of the electronic device (101) are described.
[0075] According to one embodiment, the electronic device (101) may change the reference time based on the identification of the SOC of the battery (189) in the second state. For example, the electronic device (101) may increase the reference time by a ratio provided by the electronic device (101). For example, the ratio provided by the electronic device (101) may be referred to as a 'delta variable'. The electronic device (101) may reduce power consumption by changing the selected core by increasing the reference time by the ratio. According to one embodiment, the electronic device (101) may select a core having a relatively low maximum frequency among the plurality of cores based on the identification of the SOC of the battery (189) in the third state, and execute the function of the neural network. For example, the core having a relatively low maximum frequency among the plurality of cores may include the second core (222) and / or the third core (223).
[0076] As described above, according to one embodiment, the electronic device (101) can identify a core executing a neural network based on a reference time and history information. Based on the identification of the core executing the neural network, the electronic device (101) can execute the function of the neural network. By executing the function of the neural network based on the reference time and history information, the electronic device (101) can increase battery efficiency.
[0077] FIG. 3 illustrates an example of an electronic device that performs different operations depending on the state of charge (SOC) of a battery, according to one embodiment. The electronic device (101) of FIG. 3 may include the electronic device (101) of FIG. 1 and / or FIG. 2A. The operations of FIG. 3 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A.
[0078] Referring to FIG. 3, according to an embodiment, an electronic device (101) may obtain an image (320) through a camera. For example, the electronic device (101) may obtain the image (320) from an external electronic device (e.g., a server). According to an embodiment, the electronic device (101) may display the image (320) based on the execution of an application (e.g., application (231) of FIG. 2A) for displaying the image (320). According to an embodiment, while the electronic device (101) displays the image (320) through a display, the electronic device (101) may identify an event for identifying an object within the image (320). For example, the electronic device (101) may identify an event for identifying a human face (330) within the image (320). For example, the event may include an event for driving a neural network.
[0079] According to an embodiment, an electronic device (101) may identify an event for driving a neural network. Based on the event, the electronic device (101) may select one of a plurality of cores (e.g., a first core (221), a second core (222), or a third core (223)) in which the neural network is driven in different frequency ranges, and execute a function of the neural network. For example, the first cores (221) among the plurality of cores may be included in a first cluster (340-1). For example, the second cores (222) among the plurality of cores may be included in a second cluster (340-2). For example, the third cores (223) among the plurality of cores may be included in a third cluster (340-3). Although the second core (222) and the third core (223) are illustrated as singular, they may be plural. The number of the first core (221), the second core (222), and / or the third core (223) is not limited.
[0080] For example, a first core (221) among the plurality of cores may operate at a first maximum frequency. The first maximum frequency may include about 3.2 GHz. For example, a second core (222) among the plurality of cores may operate at a second maximum frequency. The second maximum frequency may include about 2.8 GHz. For example, a third core (223) among the plurality of cores may operate at a third maximum frequency. The third maximum frequency may include about 2.0 GHz. The first core (221) may be referred to as a prime core. The second core (222) may be referred to as a performance core. The third core (223) may be referred to as an efficiency core. However, the present invention is not limited thereto. In the example described below, an example using a first core (221) and a second core (222) is described, but the number of cores is not limited.
[0081] According to an embodiment, the electronic device (101) may obtain history information on the execution of the neural network on each of a plurality of cores based on an event for driving the neural network. For example, the history information may include the name of the neural network. For example, the history information may include the time at which the neural network was executed. The time at which the neural network was executed may include a time interval from a first time at which values are input to a plurality of layers included in the neural network to a second time at which values are output through the plurality of layers. For example, the time at which the neural network was executed may include a time interval from a time at which an input value is input to an input layer among the plurality of layers to a time at which an output value is obtained based on an output layer among the plurality of layers. For example, the history information may include information related to the core on which the neural network was driven. However, the present invention is not limited thereto. The electronic device (101) can acquire a reference time set by the application based on an event for driving a neural network. For example, the reference time can be identified based on instructions included in the application.
[0082] According to one embodiment, the electronic device (101) can identify whether it has acquired history information a specified number of times (e.g., 3 times) or more from a list including history information (e.g., list (237) of FIG. 2A). Based on the identification of history information a specified number of times or more, the electronic device (101) can identify the SOC of the battery (e.g., battery (189) of FIG. 1). For example, the electronic device (101) can display a visual object (310) related to the SOC of the battery. The electronic device (101) can display different visual objects (310) based on the SOC of the battery. For example, the electronic device (101) can display a first visual object (310-1) when the SOC of the battery is identified as a first section. For example, the first section can include a section in which the SOC of the battery is between about 30% and about 100%. The electronic device (101) may operate in a first mode based on the identification of the SOC of the battery corresponding to the first section. According to an embodiment, the electronic device (101) may operate in the first mode while displaying the first visual object (310-1) based on the identification of the SOC of the battery corresponding to the first section. For example, the first mode may be referred to as a priority_performance mode. For example, in the first mode, the electronic device (101) may execute a function of a neural network using one core selected from among a plurality of cores based on history information and a reference time.
[0083] For example, the electronic device (101) may display a second visual object (310-2) when the SOC of the battery is identified as a second section. For example, the second section may include a section in which the SOC of the battery is between about 15% and about 30%. The electronic device (101) may operate in a second mode based on the identification of the SOC of the battery corresponding to the second section. According to an embodiment, the electronic device (101) may operate in the second mode while displaying the second visual object (310-2) based on the identification of the SOC of the battery corresponding to the second section. For example, the second mode may be referred to as a power priority mode (priority_power mode). For example, in the second mode, the electronic device (101) may increase the reference time provided by the application by a ratio provided by the electronic device (101). The electronic device (101) can select one of a plurality of cores and execute a function of a neural network based on the reference time increased by the above ratio.
[0084] For example, the electronic device (101) may display a third visual object (310-3) when the SOC of the battery is identified as a third section. For example, the third section may include a section in which the SOC of the battery is between about 0% and about 15%. The electronic device (101) may operate in a third mode based on the identification of the SOC of the battery corresponding to the third section. According to an embodiment, the electronic device (101) may operate in the third mode while displaying the third visual object (310-3) based on the identification of the SOC of the battery corresponding to the third section. For example, the third mode may be referred to as a power saving mode. For example, the electronic device (101) may operate in the third mode or the second mode based on whether the battery is being charged in the third mode. For example, the electronic device (101) can identify a first portion of the third section. For example, the first portion of the third section can include a portion where the SOC of the battery is between about 0% and about 10%. In the first portion of the third section, the electronic device (101) can operate in a third mode in a fourth state in which the battery is charging or a fifth state different from the fourth state. For example, the electronic device (101) can display a fourth visual object (310-4) in the fourth state. In the third mode, the electronic device (101) can execute a function of a neural network using the second core (222) or the third core (223). For example, the electronic device (101) can identify a second portion of the third section. For example, the second portion of the third section can include a portion where the SOC of the battery is between about 10% and about 15%.When the SOC of the battery is identified as the second portion of the third section, the electronic device (101) may operate in the second mode in the fourth state, and in the third mode in the fifth state. Hereinafter, the time for executing the function of the neural network using one of the multiple cores may include an average time identified in the list including history information.
[0085] According to one embodiment, the electronic device (101) may operate in the first mode based on the identification of the SOC of the battery in the first section. For example, the electronic device (101) may execute the function of the neural network using the first core (221) based on the first time for which the function of the neural network is executed using the first core (221) exceeding a reference time. For example, the electronic device (101) may execute the function of the neural network using the second core (222) based on the second time for which the function of the neural network is executed using the second core (222) being less than or equal to a reference time. For example, the electronic device (101) may execute the function of the neural network using the first core (221) based on the first time for which the function of the neural network is executed using the first core (221) exceeding a reference time and the second time for which the function of the neural network is executed using the second core (222) exceeding a reference time. For example, the electronic device (101) may execute the function of the neural network using the second core (222) or the third core (223) based on the fact that the first time for executing the function of the neural network using the first core (221) exceeds the reference time and the second time for executing the function of the neural network using the second core (222) or the third core (223) is less than or equal to the reference time. The above operations may include operations for executing the function of the neural network while the electronic device (101) operates in the first mode.
[0086] For example, when the processor (120) includes a plurality of cores, the electronic device (101) can identify a core to execute a function of a neural network based on the core type of the plurality of cores. For example, the core type may be related to a maximum frequency and / or a frequency range at which each of the cores operates. For example, the electronic device (101) can identify an execution time from a core with the highest maximum frequency (e.g., a first core (221)) to a core with the lowest maximum frequency (e.g., a third core (223)). The electronic device (101) can compare each of the execution times of the plurality of cores with a reference time. Based on the comparison of each of the execution times with the reference time, the electronic device (101) can execute the function of the neural network using a core having the lowest maximum frequency among one or more core types that are executed within a reference time or less. For example, when the execution time of the first core (221) exceeds the reference time, the execution time of the second core (222) exceeds the reference time, and the execution time of the third core (223) is less than or equal to the reference time, the electronic device (101) can execute the function of the neural network using the third core (223).
[0087] According to one embodiment, the electronic device (101) may operate in a second mode based on identifying the SOC of the battery in a second period that is different from the first period. For example, the electronic device (101) may change the reference time provided by the application while operating in the second mode. For example, the electronic device (101) may change the reference time provided by the application by a ratio provided by the electronic device (101) based on the change to the second mode. For example, the electronic device (101) may increase the reference time by a ratio provided by the electronic device (101). For example, the ratio provided by the electronic device (101) may be referred to as a 'delta variable'. The electronic device (101) may select one of the plurality of cores to execute the function of the neural network based on the changed reference time and the time at which the function of the neural network is executed by the plurality of cores.
[0088] For example, in the second mode, the electronic device (101) may execute the function of the neural network using the first core (221) based on the fact that the first time for executing the function of the neural network using the first core (221) exceeds the changed reference time. For example, the electronic device (101) may execute the function of the neural network using the second core (222) based on the fact that the second time for executing the function of the neural network using the second core (222) is less than or equal to the changed reference time. For example, the electronic device (101) may execute the function of the neural network using the first core (221) based on the fact that the first time for executing the function of the neural network using the first core (221) exceeds the changed reference time and the second time for executing the function of the neural network using the second core (222) exceeds the changed reference time. For example, the electronic device (101) may execute the function of the neural network using the second core (222) based on the fact that the first time for executing the function of the neural network using the first core (221) exceeds the changed reference time and the second time for executing the function of the neural network using the second core (222) is less than or equal to the changed reference time.
[0089] For example, the electronic device (101) may execute a function of a neural network using the second core (222) in the third mode. For example, the electronic device (101) may operate in the third mode when the SOC of the battery is identified as being between about 0% and about 15% and the battery is in a fifth state that is different from the fourth state in which it is being charged.
[0090] As described above, according to an embodiment, the electronic device (101) may identify an event (e.g., image acquisition and / or photographing input) related to a neural network provided by an application while executing an application. Based on the event, the electronic device (101) may obtain history information including a reference time set by the application and a time at which the neural network was executed using each of a plurality of cores. Based on the history information and the reference time, the electronic device (101) may execute a function of the neural network corresponding to the event using a core selected from among the plurality of cores. The electronic device (101) may reduce power consumption by executing the function of the neural network using a core selected from among the plurality of cores based on the history information and the reference time. The electronic device (101) may efficiently drive the core by executing the function of the neural network using a core selected from among the plurality of cores based on the history information and the reference time.
[0091] FIG. 4A illustrates an example of an electronic device that obtains history information, according to an embodiment. FIG. 4B illustrates an example of an electronic device that obtains history information, according to an embodiment. FIG. 4C illustrates an example of an electronic device that obtains history information, according to an embodiment. FIG. 4D illustrates an example of an electronic device that obtains history information, according to an embodiment. The electronic device (101) of FIGS. 4A to 4D may include the electronic device (101) of FIGS. 1, 2A, and / or 3. The operations of FIGS. 4A to 4D may be performed by the processor (120) of FIGS. 1 and / or 2A.
[0092] Referring to FIGS. 4A to 4D , according to an embodiment, an electronic device (101) may perform a function of a neural network provided by an application based on the execution of the application. FIGS. 4A to 4C may be examples of an electronic device (101) operating in the first mode described above in FIG. 3 . FIG. 4D may be an example of an electronic device (101) operating in the second mode described above in FIG. 3 . Hereinafter, the function of the neural network may include an operation of performing a function corresponding to machine learning included in the application. Hereinafter, an example of an electronic device (101) performing a function corresponding to one neural network is described, but the electronic device (101) may perform the operations described below while performing a plurality of functions provided by one (a) application.
[0093] According to one embodiment, the electronic device (101) may identify an event for driving a neural network included in an application based on the execution of the application. Based on the event, the electronic device (101) may obtain history information on the execution of the neural network in each of a plurality of cores (e.g., a first core (221) and a second core (222)). For example, among the plurality of cores, the first core (221) may be driven at a first maximum frequency. For example, among the plurality of cores, the second core (222) may be driven at a second maximum frequency. The first maximum frequency may include a frequency higher than the second maximum frequency. The electronic device (101) may generate (or acquire) a list (e.g., a first list (401) of FIG. 4A, a second list (402) of FIG. 4B, a third list (403) of FIG. 4C, and / or a fourth list (404) of FIG. 4D) based on the acquired history information. For example, the list may include a name (410) of an application, a name corresponding to a function (420) of a neural network provided by the application, a core (430) that drove the function of the neural network, a time (440) for driving the function of the neural network in each of a plurality of cores, a reference time (450), and / or an average time (460) for driving the function of the neural network in each of a plurality of cores. The electronic device (101) may select one of the plurality of cores based on the list generated using the history information. The electronic device (101) can execute the function of the neural network included in the application based on the selected core.
[0094] Referring to FIG. 4A, according to an embodiment, the electronic device (101) may obtain a first list (401) of executions of a neural network function based on each of a plurality of cores. For example, the first list (401) may be an example of executions of a neural network function related to face detection in an application for image acquisition. When the electronic device (101) executes the function (420) of the neural network by the first core (221), the electronic device (101) may store each execution time of the function of the neural network. The electronic device (101) may obtain history information of performing face detection on an image using the first core (221). For example, the history information may include the execution time of the neural network using the first core (221). The electronic device (101) may identify the first to fourth execution times of the neural network based on the first core (221). In an example of FIG. 4A, the first time may be 21 ms. The second time may be 18 ms. The third time may be 22 ms. The fourth time may be 21 ms. The electronic device (101) may identify an average time (460) for executing the neural network using the first core (221) based on obtaining the first to fourth times. In the example, the average time (460) may be 20.5 ms. The electronic device (101) may identify a reference time (450) provided by the application. The electronic device (101) may compare the average time (460) and the reference time (450). The electronic device (101) may identify that the average time (460) exceeds the reference time (450). The electronic device (101) can execute a function of a neural network using the first core (221) based on identifying the average time (460) exceeding the reference time (450).According to one embodiment, when an average time (460) exceeding a reference time (450) is identified, the electronic device (101) may execute a function of the neural network using the first core (221) without identifying the time at which the neural network was executed by the second core (222).
[0095] Referring to FIGS. 4B to 4C , according to an embodiment, the electronic device (101) can identify a first time, a second time, a third time, and / or a fourth time at which the neural network was executed using the first core (221). In the example of FIGS. 4B to 4C , the first time may be 15 ms. The second time may be 13 ms. The third time may be 11 ms. The fourth time may be 12 ms. The electronic device (101) can obtain an average time (460) of the first time to the fourth time. In the example of FIGS. 4B to 4C , the electronic device (101) can identify an average time (460) of 12.75 ms. The electronic device (101) can identify the time at which the neural network was executed using the second core (222) based on identifying an average time (460) that is less than 20 ms, which is the reference time (450).
[0096] Referring to FIG. 4B, the electronic device (101) can identify the time for executing the neural network using the second core (222) based on the average time (460) for executing the neural network using the first core (221) being less than the reference time (450). In one example of FIG. 4B, the electronic device (101) can identify the fifth time, the sixth time, and / or the seventh time for executing the neural network using the second core (222). In one example of FIG. 4B, the fifth time may be 19 ms. The sixth time may be 20 ms. The seventh time may be 20 ms. The electronic device (101) can obtain the average time (460) for executing the neural network using the second core (222) based on obtaining the fifth to seventh times. In an example of FIG. 4B, the average time (460) for executing the neural network using the second core (222) may be 19.67 ms. The electronic device (101) may identify that the average time (460) for executing the neural network using the second core (222) is less than or equal to the reference time (450). Based on the identification that the average time (460) for executing the neural network using the second core (222) is less than or equal to the reference time (450), the electronic device (101) may select the second core (222) and execute the function of the neural network.
[0097] Referring to FIG. 4C, the electronic device (101) can identify the time for executing the neural network using the second core (222) based on the average time (460) for executing the neural network using the first core (221) being less than or equal to the reference time (450). In one example of FIG. 4C, the electronic device (101) can identify the fifth time, the sixth time, and / or the seventh time for executing the neural network using the second core (222). In one example of FIG. 4C, the fifth time may be 22 ms. The sixth time may be 22 ms. The seventh time may be 21 ms. The electronic device (101) can obtain the average time (460) for executing the neural network using the second core (222) based on obtaining the fifth to seventh times. In an example of FIG. 4c, the average time (460) for executing the neural network using the second core (222) may be 21.67 ms. The electronic device (101) may identify that the average time (460) for executing the neural network using the second core (222) exceeds the reference time (450). Based on the identification that the average time (460) for executing the neural network using the second core (222) exceeds the reference time (450), the electronic device (101) may select the first core (221) to execute the function of the neural network.
[0098] Referring to FIG. 4D, according to an embodiment, the electronic device (101) can change the reference time (450) of FIGS. 4A to 4C, which is 20 ms, by a ratio provided by the electronic device (101). For example, the electronic device (101) can change the reference time (450) based on identifying a state in which the SOC of the battery is in a specified range (e.g., about 15% to about 30%). For example, in the state, the electronic device (101) can increase the reference time (450) by about 10%. In the example of FIG. 4D, the electronic device (101) increases the reference time (450) by about 10%, but is not limited thereto. The electronic device (101) can select one of a plurality of cores to execute a function of a neural network by using the increased reference time (450) and the average time (460). In an example of FIG. 4d, the electronic device (101) can execute a function of a neural network using the second core (222) based on the fact that the average time (460) for executing a neural network using the first core (221) and the average time (460) for executing a neural network using the second core (222) are less than or equal to the increased reference time (450).
[0099] As described above, according to an embodiment, the electronic device (101) may obtain history information on execution of a neural network on each of a plurality of cores. The history information may include a time (440) at which the neural network was executed based on each of the plurality of cores. The electronic device (101) may identify an average time (460) at which the neural network was executed based on each of the plurality of cores. The electronic device (101) may obtain a reference time (450) provided by an application. The electronic device (101) may select a core for executing a function of the neural network based on the reference time (450) and the average time (460). The electronic device (101) may execute a function of the neural network based on the selected core. The electronic device (101) can efficiently utilize multiple cores to execute the function of the neural network by using a core selected based on the reference time (450) and the average time (460). The electronic device (101) can reduce power consumption by executing the function of the neural network by using a core selected based on the reference time (450) and the average time (460).
[0100] FIG. 5 illustrates an example of an electronic device that acquires history information according to an embodiment. The electronic device (101) of FIG. 5 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, and / or FIG. 4D . The operations of FIG. 5 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0101] Referring to FIG. 5, according to an embodiment, an electronic device (101) may identify an event for driving a neural network provided by an application based on the execution of the application. Based on the event, the electronic device (101) may obtain history information on when the neural network was executed in each of the plurality of cores that are driven in different frequency ranges. For example, the history information may include an application name (510), a function of the neural network (520), a core (530) on which the neural network was driven, and / or a time (540) at which the neural network was driven in each of the plurality of cores. The electronic device (101) may generate a list (e.g., a first list (501) and / or a second list (502)) based on the history information. The electronic device (101) may sequentially store the history information. For example, the electronic device (101) can sequentially store a list including the history information in a volatile memory (e.g., the volatile memory (132) of FIG. 1). The electronic device (101) can obtain a reference time (550) set by the application based on the event.
[0102] According to an embodiment, the electronic device (101) may update the first list (501). For example, the electronic device (101) may identify, in the first list (501), a time (540) during which the neural network was driven a specified number of times or more. For example, the specified number of times may be 10. Based on the identification of a time (540) during which the neural network was driven a specified number of times or more, the electronic device (101) may delete the time (540) during which the neural network was driven. For example, the electronic device (101) may delete the first time (540-1) acquired first among the times (540) during which the neural network was driven. Based on the deletion of the first time (540-1), the electronic device (101) may store the second time (540-2). For example, the electronic device (101) can obtain a second list (502) storing the second time (540-2). Based on identifying the time (540) at which the neural network was driven a specified number of times or more, the electronic device (101) can sequentially store the time (540) at which the neural network was driven by each of the plurality of cores in the second list (502).
[0103] As described above, according to an embodiment, the electronic device (101) can update a list (e.g., the first list (501) and / or the second list (502)). For example, the electronic device (101) can change the sequentially stored run times (540) in the list when the number of run times exceeds a specified number (e.g., 10). The electronic device (101) can sequentially update the stored run times (540). The electronic device (101) can update the average time (560) by sequentially updating the stored run times (540). The electronic device (101) can select one of a plurality of cores using the updated average time (560) and the reference time (550). The electronic device (101) can execute a function of a neural network using the selected core. The electronic device (101) can efficiently use the battery and core of the electronic device (101) by selecting a core and executing the function of the neural network based on the updated average time (560) and reference time (550).
[0104] FIG. 6 illustrates an example of the operation of an electronic device according to an embodiment. The electronic device (101) of FIG. 6 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, FIG. 4D, and / or FIG. 5 . The operations of FIG. 6 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0105] Referring to FIG. 6, according to an embodiment, an electronic device (101) may execute a voice recognition application. The electronic device (101) may display a screen (620) related to the voice recognition application. Based on the execution of the voice recognition application, the electronic device (101) may identify an event for driving a neural network provided by the application. For example, the event for driving the neural network may include acquisition of an acoustic signal (603) by a user (601).
[0106] According to an embodiment, the electronic device (101), while executing the voice recognition application, may execute a function of a neural network corresponding to an event for driving a neural network provided by the application, using one of a plurality of cores, based on acquiring a voice signal (603) by a user (601). Based on the event, the electronic device (101) may acquire history information on execution of the neural network in each of the plurality of cores (e.g., the first core (221), the second core (222), and / or the third core (223)) on which the neural network is driven and a reference time set by the application. According to an embodiment, the electronic device (101), based on acquiring the history information, may acquire the lists of FIGS. 4A to 4D (e.g., the first list (401), the second list (402), the third list (403), and / or the fourth list (404)). The electronic device (101) can execute a function of the neural network corresponding to the event using one (a) core selected from among the plurality of cores based on the history information and the reference time.
[0107] For example, the electronic device (101) may display a visual object (610) related to the SOC of the battery. For example, the electronic device (101) may identify the SOC of the battery. The electronic device (101) may display a first visual object (610-1) based on the SOC of the battery being identified as a first section. For example, the first section may include a section in which the SOC of the battery is between about 30% and about 100%. While displaying the first visual object (610-1), the electronic device (101) may select one of a plurality of cores based on a first mode to execute a function of a neural network. In FIG. 6, the function of the neural network may include a voice recognition function. For example, the first mode may be referred to as the first mode of FIG. 3.
[0108] For example, the electronic device (101) may display a second visual object (610-2) based on the SOC of the battery being identified as a second section. For example, the second section may include a section in which the SOC of the battery is between about 15% and about 30%. While displaying the second visual object (610-2), the electronic device (101) may select one of a plurality of cores based on a second mode to execute a function of a neural network. The second mode may be referred to as the second mode of FIG. 3. When operating in the second mode, the electronic device (101) may adjust a reference time provided by an application by a ratio provided by the electronic device (101). For example, the electronic device (101) may increase the reference time based on the ratio. The electronic device (101) can select one of the plurality of cores based on the increased reference time and history information to execute the function of the neural network.
[0109] For example, the electronic device (101) may display a third visual object (610-3) based on the SOC of the battery being identified as a third section. For example, the third section may include a section in which the SOC of the battery is between about 0% and about 15%. While displaying the third visual object (610-3), the electronic device (101) may select one of the plurality of cores based on the third mode to execute a function of the neural network. For example, when operating in the third mode, the electronic device (101) may execute the function of the neural network by using the second core (222) and / or the third core (223) having a second maximum frequency that is lower than the first core (221) having the first maximum frequency. For example, the first cores (221) may be included in a first cluster (640-1). For example, the second core (222) may be included in the second cluster (640-2). For example, the third core (223) may be included in the third cluster (640-3). The clusters (640-1, 640-2, 640-3) may be sets of the same cores.
[0110] For example, the electronic device (101) may display a fourth visual object (610-4) while the battery is being charged. The electronic device (101) may identify a fourth state in which the battery is being charged, in a first portion of a third section, of the SOC of the battery. For example, the first portion of the third section may include a portion in which the SOC of the battery is between about 0% and 10%. The electronic device (101) may operate in a third mode in the fourth state. For example, the electronic device (101) may execute a function of a neural network in the fourth state by using a second core having a second maximum frequency lower than a first core having a first maximum frequency among a plurality of cores.
[0111] For example, the electronic device (101) may identify a fifth state in which the battery is not being charged in the second portion of the third section, in which the SOC of the battery is between about 10% and about 15%. The electronic device (101) may operate in different modes in the second state, depending on whether the battery is being charged. For example, the electronic device (101) may operate in the second mode when the battery is being charged in the second portion. For example, the electronic device (101) may operate in the third mode when the battery is not being charged in the second portion (e.g., when displaying the third visual object (640-3)).
[0112] As described above, according to one embodiment, the electronic device (101) can operate in different modes depending on the state of the battery. When operating in different modes depending on the state of the battery, the electronic device (101) can change the reference time. Based on the change in the reference time, the electronic device (101) can select one core among a plurality of cores. The electronic device (101) can reduce power consumption by executing a neural network function using the selected core.
[0113] FIG. 7 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment. The electronic device of FIG. 7 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, FIG. 4D, FIG. 5 , and / or FIG. 6 . The operations of FIG. 7 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0114] Referring to FIG. 7, in operation 701, an electronic device according to an embodiment may execute an application (e.g., application (231) of FIG. 2A). For example, the application may include neural network models (e.g., neural network model (236) of FIG. 2A). Based on the execution of the application, the electronic device may identify an event for driving a neural network provided by the application.
[0115] In operation 703, according to an embodiment, an electronic device may identify an event for driving a neural network provided by an application. Based on the event, the electronic device may obtain history information on when the neural network was executed on each of a plurality of cores driven in different frequency ranges. For example, based on the event, the electronic device may identify times at which the neural network was executed on each of the plurality of cores and a reference time. For example, the history information may include the types of cores that drove the neural network and / or the times at which the neural network was driven. Based on the event, the electronic device may obtain a reference time set by the application. Based on the event, the electronic device may obtain history information on when the neural network was executed on each of a plurality of cores driven in different frequency ranges and a reference time set by the application.
[0116] For example, an electronic device may include a processor including a first core operating in a first frequency range and a second core operating in a second frequency range having a second maximum frequency less than a first maximum frequency of the first frequency range.
[0117] In operation 705, according to an embodiment, the electronic device may execute a function of a neural network corresponding to an event using a core (a) selected from among a plurality of cores based on history information and a reference time. For example, the electronic device may identify, from a list including history information, times spent by each of the plurality of cores while executing the function of the neural network. Based on the times, the electronic device may obtain an average time for each of the plurality of cores to execute the function of the neural network. Based on the average time and the reference time provided by the application, the electronic device may select a core from among the plurality of cores to execute the function of the neural network.
[0118] For example, an electronic device may identify whether an execution time associated with a first core exceeds a reference time. Based on identifying that the execution time associated with the first core exceeds the reference time, the electronic device may execute a function corresponding to an event using the first core among a plurality of cores.
[0119] For example, the electronic device may identify an execution time associated with a second core based on identifying that the execution time associated with the first core is less than or equal to a reference time. The electronic device may identify one (a) core used to execute the function using the execution time associated with the second core based on identifying that the execution time associated with the first core is less than or equal to the reference time.
[0120] For example, the electronic device may identify an execution time associated with a second core based on the execution time associated with the first core being less than or equal to a reference time. For example, the electronic device may execute a function corresponding to an event using a third core among the plurality of cores based on identifying that the execution time associated with the first core is less than or equal to a reference time, the execution time associated with the second core is less than or equal to the reference time, and the execution time associated with the third core is less than or equal to the reference time.
[0121] As described above, according to one embodiment, an electronic device can obtain history information on execution of a neural network and a reference time set by an application. Based on the history information and the reference time, the electronic device can execute a function of the neural network using a core selected from among a plurality of cores. By executing the function of the neural network using the core selected based on the history information and the reference time, the electronic device can selectively reduce power consumption. By executing the function of the neural network using the core selected based on the history information and the reference time, the electronic device can efficiently execute the neural network.
[0122] FIG. 8 illustrates an example of a flowchart regarding the operation of an electronic device according to one embodiment. The electronic device of FIG. 8 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, FIG. 4D, FIG. 5 , and / or FIG. 6 , and / or the electronic device of FIG. 7 . The operations of FIG. 8 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0123] Referring to FIG. 8, in operation 801, according to an embodiment, an electronic device may execute an application. For example, the application may include a neural network model (e.g., the neural network model (236) of FIG. 2A). Based on the execution of the application, the electronic device may identify a reference time provided by the application.
[0124] In operation 803, according to an embodiment, the electronic device may identify a list in volatile memory (e.g., volatile memory (132) of FIG. 1 ). For example, the electronic device may identify whether a list exists in the volatile memory. For example, the list may include an application name, a name corresponding to a function of the neural network, the type of core that executed the neural network, and / or the time the neural network was executed by the core.
[0125] If the list is not identified (803-No), in operation 805, the electronic device (101) according to an embodiment may generate a list. For example, the electronic device (101) may obtain a list including an application name, a name corresponding to a function of a neural network, a core that executed the neural network, a time at which the neural network was executed by the core, a reference time provided by the application, and / or an average time of times at which the neural network was executed by the core.
[0126] In operation 807, according to an embodiment, the electronic device may execute basic scheduling processing provided by the operating system. For example, the electronic device may execute a neural network function based on the basic scheduling processing. For example, the electronic device may execute the neural network function using a core selected by the basic scheduling processing among a plurality of cores.
[0127] In operation 831, according to one embodiment, the electronic device may store, in a list, history information on execution of the function of the neural network based on execution of the function of the neural network using a core identified by basic scheduling processing.
[0128] If the list is identified (803-Yes), in operation 809, the electronic device according to an embodiment may identify whether there is a specified number of pieces of history information in the list or more. For example, the specified number may include three. Based on the identification of the specified number of pieces of history information or more, the electronic device may execute a function of the neural network using a core selected from among the plurality of cores.
[0129] If the number of pieces of history information specified in the list is identified (809-Yes), in operation 811, the electronic device according to an embodiment may identify whether it operates in a third mode among the first mode, the second mode, and the third mode. For example, the first mode may be referred to as the first mode of FIG. 3 . For example, the second mode may be referred to as the second mode of FIG. 3 . For example, the third mode may be referred to as the third mode of FIG. 3 . For example, the third mode may include a mode in which, when executing a function of a neural network, a second core having a second maximum frequency lower than a first maximum frequency of the first core is used to execute a function of a neural network.
[0130] When operating in the third mode (811-Yes), in operation 821, the electronic device according to an embodiment may identify the SOC of the battery. For example, the electronic device may identify the SOC of the battery divided into a first section, a second section, and a third section. The electronic device may identify whether the SOC of the battery is identified as a first part of the third section. For example, the first part may include a part where the SOC of the battery is between about 0% and about 10%. For example, a case where the SOC of the battery is not identified as the first part may include a case where the SOC of the battery is identified as a second part of the third section. For example, a case where the SOC of the battery is identified as a second part of the third section may include a case where the SOC of the battery is between about 10% and about 15%.
[0131] If the SOC of the battery is identified as the first part (821-Yes), in operation 823, the electronic device according to one embodiment can identify whether the battery is being charged. The electronic device can operate in different modes depending on whether the battery is being charged, if the SOC of the battery is identified as the first part.
[0132] If the SOC of the battery is not identified as the first part (821-No) or if the SOC of the battery is identified as the first part and the battery is not charging (823-No), in operation 825, the electronic device according to one embodiment may operate in a third mode. For example, in the third mode, the electronic device may select a second core among the plurality of cores to execute a function of the neural network.
[0133] If not operating in the third mode (811-No), in operation 813, the electronic device according to one embodiment may identify whether it operates in the second mode among the first and second modes. For example, in the second mode, the electronic device may change the reference time provided by the application based on a ratio provided by the electronic device. For example, the electronic device may increase the reference time by the ratio.
[0134] When operating in the second mode (813 - Yes), or when the SOC of the battery is identified as the first part and the battery is being charged (823 - Yes), in operation 817, according to an embodiment, the electronic device may operate in the second mode. While operating in the second mode, the electronic device may change the reference time. For example, the electronic device may increase the reference time using a rate provided by the electronic device in the second mode.
[0135] In operation 819, according to an embodiment, the electronic device may select a core for executing a function of the neural network based on the changed reference time and history information. For example, the electronic device may select a core for executing a function of the neural network among a plurality of cores using the core operation time included in the changed reference time and history information. For example, the electronic device may select a core for executing a function of the neural network among a plurality of cores using the average time included in a list generated using the changed reference time and history information.
[0136] If not operating in the second mode (813-No), in operation 815, the electronic device according to one embodiment may operate in the first mode. For example, in the first mode, the electronic device may select one core among a plurality of cores to execute the function of the neural network based on an average time acquired based on a specified number or more of history information and a reference time provided by the application.
[0137] In operation 827, according to one embodiment, the electronic device may store history information in a list based on the execution of a neural network function using the selected core. For example, the electronic device may store the time at which the selected core was operated among the history information in the list.
[0138] In operation 829, according to one embodiment, the electronic device may, in response to the termination of an application, delete history information related to the application in the list. The electronic device may delete execution data of a neural network related to the application in the list.
[0139] As described above, according to one embodiment, the electronic device may select one of the plurality of cores based on one of the different modes. For example, the electronic device may select one of the plurality of cores to execute a neural network function by using the time for which the neural network was executed on each of the plurality of cores and a reference time provided by the application. The electronic device may reduce power consumption by selecting a core to execute the neural network function based on the average time for which the neural network function was executed on each of the plurality of cores and the reference time. By selecting a core to execute the neural network function based on the average time and the reference time, the electronic device may increase power efficiency and complete execution of the neural network function within an expected time.
[0140] FIG. 9 illustrates an example of a flowchart regarding the operation of an electronic device according to an embodiment. The electronic device of FIG. 9 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, FIG. 4D, FIG. 5 , and / or FIG. 6 , or the electronic device of FIG. 7 and / or FIG. 8 . The operations of FIG. 9 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0141] Referring to FIG. 9, in operation 901, according to an embodiment, an electronic device may identify whether the execution time of a neural network using a first core (e.g., the first core (221) of FIG. 2A) having a first maximum frequency in the list exceeds a reference time. For example, the execution time of the neural network may include an average execution time of times when the neural network was executed using the first core.
[0142] If the execution time of the neural network using the first core exceeds the reference time (901-Yes), in operation 903, the electronic device according to one embodiment may execute the function of the neural network using the first core. For example, the electronic device may execute the function of the neural network using the first core having a first maximum frequency higher than the second maximum frequency.
[0143] If the execution time of the neural network using the first core is less than or equal to the reference time (901-No), in operation 905, the electronic device according to one embodiment may identify in the list whether the execution time of the neural network using the second core (e.g., the second core (221) and / or the third core (223) of FIG. 2A) exceeds the reference time. For example, the second core may have a second maximum frequency. For example, the second maximum frequency may be lower than the first maximum frequency.
[0144] If the execution time of the neural network using the second core is less than or equal to the reference time (905-No), in operation 907, the electronic device according to one embodiment may execute the function of the neural network using the second core. For example, the electronic device may execute the function of the neural network using the first core based on identifying that the execution time of the neural network function using the first core is less than or equal to the reference time and the execution time of the neural network function using the second core exceeds the reference time.
[0145] If the execution time of the neural network using the second core exceeds the reference time (905-Yes), in operation 909, the electronic device according to one embodiment may execute the function of the neural network using the first core. For example, the electronic device may execute the function of the network using the first core having the highest maximum frequency among the multiple cores.
[0146] As described above, according to one embodiment, an electronic device can identify a core for executing a neural network function based on the execution time and reference time of the neural network function identified in the list. By identifying a core for executing a neural network function based on the execution time and reference time of the neural network function, the electronic device can reduce power consumption.
[0147] FIG. 10 illustrates an example of a flowchart regarding the operation of an electronic device according to an embodiment. The electronic device of FIG. 10 may include the electronic device (101) of FIG. 1 , FIG. 2A, FIG. 3 , FIG. 4A, FIG. 4B, FIG. 4C, FIG. 4D, FIG. 5 , and / or FIG. 6 , or the electronic device of FIG. 7 , FIG. 8 , and / or FIG. 9 . The operations of FIG. 10 may be performed by the processor (120) of FIG. 1 and / or FIG. 2A .
[0148] Referring to FIG. 10, in operation 1001, according to an embodiment, an electronic device may identify the SOC of a battery. For example, the electronic device may identify whether the SOC of the battery is in a first range. For example, the first range may include a range in which the SOC of the battery is identified as being between about 30% and about 100%. The electronic device may set a mode based on the SOC of the battery. The electronic device may perform different operations based on the mode.
[0149] When the SOC of the battery is identified as the first section (1001-Yes), in operation 1003, the electronic device according to one embodiment may execute the function of the neural network in the first mode by using one of the first core (e.g., the first core (221) of FIG. 2A) and the second core (e.g., the second core (222) and / or the third core (223) of FIG. 2A). For example, the electronic device may perform the operations of FIG. 9 based on being set to the first mode.
[0150] If the SOC of the battery is not identified as the first section (1001-No), in operation 1005, the electronic device according to one embodiment may identify whether the SOC of the battery is in the second section. For example, the second section may include a section in which the SOC of the battery is identified as being between about 15% and about 30%. For example, the electronic device may identify whether the SOC of the battery is included in the second section based on the fact that the SOC of the battery is not in the first section.
[0151] If the SOC of the battery is not identified as a second section (1005-No), in operation 1009, the electronic device according to one embodiment may identify that the SOC of the battery is a third section. For example, the electronic device may identify whether the SOC of the battery is a first part that is part of the third section based on the SOC of the battery being identified as a third section. For example, the third section may include a section where the SOC of the battery is between about 0% and about 15%. For example, the first part may include a section where the SOC of the battery is between about 0% and about 10%. The electronic device may identify whether the SOC of the battery is included in the first part in the third section based on the SOC of the battery being not identified as a second section.
[0152] If the SOC of the battery is not the first portion in the third section (1009-No), in operation 1013, the electronic device according to one embodiment may identify whether the battery is being charged. For example, the electronic device may identify a first state in which the battery is being charged, such as a terminal such as a USB port and / or wireless charging. For example, the electronic device may identify whether the second portion, which is part of the third section, is based on the SOC of the battery being not the first portion. The electronic device may identify whether the battery is being charged based on the SOC of the battery identified as the second portion in the third section. For example, the second portion may include a section in which the SOC of the battery is between about 10% and about 15%.
[0153] When the SOC of the battery is identified as the second section (1005-Yes) or the battery is being charged in the second part of the third section (1013-Yes), in operation 1007, the electronic device according to an embodiment may change the reference time in the second mode. For example, the electronic device may change the first reference time identified in the first mode to the second reference time. For example, the electronic device may change the first reference time to the second reference time based on a rate set by the electronic device. The electronic device may execute the function of the neural network using one of the first core and the second core based on the changed reference time. For example, the electronic device may execute the function of the neural network using one of the plurality of cores based on the changed reference time and the time for which the neural network was executed on each of the plurality of cores. For example, the electronic device may perform the operations of FIG. 9 in the second mode using the changed reference time.
[0154] If the SOC of the battery is identified as the first part in the third section (1009 - Yes) or is identified as the second part in the third section and the battery is not being charged (1013 - No), in operation 1011, the electronic device according to one embodiment may, in the third mode, execute a function of the neural network using a core different from the core having the highest maximum frequency among the plurality of cores. For example, the electronic device may, in the third mode, execute a function of the neural network using a second core having a relatively lower maximum frequency among the first core and the second core. For example, the electronic device may, in the third mode, execute a function of the neural network using the second core based on a change in the reference time.
[0155] As described above, according to one embodiment, an electronic device can operate in different modes based on the SOC of the battery. The electronic device can select one of a plurality of cores based on the SOC of the battery to execute a function of a neural network. By setting a mode based on the SOC of the battery and identifying one of the plurality of cores to execute a function of the neural network, the electronic device can reduce power consumption and efficiently utilize resources.
[0156] A method for identifying a core that executes a function of a neural network may be required. As described above, according to one embodiment, an electronic device may include a processor including a plurality of cores, including a first core that operates at a frequency lower than a first maximum frequency and a second core that operates at a frequency lower than a second maximum frequency. The second maximum frequency may be lower than the first maximum frequency. The processor may identify an event for executing a neural network based on the execution of an application. Based on the event, the processor may obtain execution times at which the neural network was executed by each of the plurality of cores and a reference time set by the application. Based on the execution time and the reference time, the processor may determine a core among the plurality of cores to be used for executing the function. The processor may execute a function corresponding to the event using the determined core.
[0157] In one embodiment, the processor may execute a function corresponding to the event using the first core among the plurality of cores based on identifying that the execution time associated with the first core exceeds the reference time. The processor may identify one (a) core to be used for executing the function using the execution time associated with the second core based on identifying that the execution time associated with the first core is less than or equal to the reference time.
[0158] In one embodiment, the processor may include a third core operating at a third maximum frequency less than the second maximum frequency.
[0159] In one embodiment, the processor, in response to identifying that the execution time associated with the first core is less than or equal to the reference time, can determine, from among the plurality of cores, one (a) core to be utilized for execution of the function based on an execution time associated with at least one of the second core or the third core.
[0160] In one embodiment, the processor may execute the function corresponding to the event using the third core among the plurality of cores based on identifying that the execution time associated with the first core is less than or equal to the reference time and the execution time associated with the second core is less than or equal to the reference time.
[0161] According to one embodiment, the electronic device may include a battery. The processor may identify a state of charge (SOC) of the battery. The processor may determine whether to change the reference time using a rate provided by the electronic device based on whether the SOC is identified as one of a first state, a second state, or a third state.
[0162] In one embodiment, the processor may change the reference time using a ratio based on the SOC being identified as either the second state or the third state. The ratio may be used to cause the function to be executed using another core having a maximum frequency lower than the maximum frequency of the core determined prior to changing the reference time.
[0163] In one embodiment, the processor may change the reference time using the ratio provided by the electronic device so that power consumed by the core to execute the function is reduced based on the SOC being identified as one of the second state or the third state.
[0164] In one embodiment, the processor may determine, based on the SOC being identified as the first part of the third state, one (a) core among the plurality of cores having the lowest maximum frequency. The processor may execute the function using the determined one core.
[0165] In one embodiment, the electronic device may identify whether the battery is charging based on the SOC being identified as the second part of the third state. If the battery is charging, the processor may change the reference time by applying the ratio to the reference time. The processor may determine, using the changed reference time, one (a) core among the plurality of cores to be used to execute the function. If the battery is not charging, the processor may execute the function using the second core.
[0166] As described above, according to one embodiment, an electronic device may include a processor including a plurality of cores, including a first core operating at a frequency lower than a first maximum frequency and a second core operating at a frequency lower than a second maximum frequency. The second maximum frequency may be lower than the first maximum frequency. According to one embodiment, a method of an electronic device may include an operation of identifying an event for operating a neural network based on execution of an application. The method may include an operation of acquiring, based on the event, execution times at which the neural network was executed by each of the plurality of cores and a reference time set by the application. The method may include an operation of determining, based on the execution times and the reference time, one (a) core among the plurality of cores to be used for executing the function. The method may include an operation of executing a function of the neural network corresponding to the event using the determined core.
[0167] In one embodiment, the processor may include a third core operating at a third maximum frequency less than the second maximum frequency.
[0168] In one embodiment, the method may include, in response to identifying that the execution time associated with the first core is less than or equal to the reference time, determining, from among the plurality of cores, one (a) core to be used for execution of the function based on an execution time associated with at least one of the second core or the third core.
[0169] In one embodiment, the method may include an operation of executing the function corresponding to the event using the third core among the plurality of cores based on identifying that the execution time associated with the first core is less than or equal to the reference time and the execution time associated with the second core is less than or equal to the reference time.
[0170] In one embodiment, the method may include an operation of identifying a state of charge (SOC) of a battery. The method may include an operation of identifying whether to change the reference time using a ratio based on whether the SOC is identified as one of a first state, a second state, or a third state. The ratio may be used to enable the function to be executed using another core having a maximum frequency lower than the maximum frequency of the core determined prior to changing the reference time.
[0171] In one embodiment, the method may include changing the reference time using the rate provided by the electronic device so that power consumed by the core to execute the function is reduced based on the SOC being identified as one of the second state or the third state.
[0172] In one embodiment, the method may include determining, based on the SOC being identified as the first part of the third state, one (a) core among the plurality of cores having the lowest maximum frequency. The method may include executing the function using the determined core.
[0173] In one embodiment, the method may include an operation of identifying whether the battery is charging based on the SOC being identified as the second part of the third state. If the battery is charging, the method may include an operation of changing the reference time by applying the ratio to the reference time. The method may include an operation of determining, using the changed reference time, one (a) core among the plurality of cores to be used to execute the function. If the battery is not charging, the method may include an operation of identifying one (a) core having a lowest maximum frequency among the plurality of cores operating in different frequency ranges and executing the function.
[0174] As described above, according to one embodiment, an electronic device may include a processor including a plurality of cores, including a first core operating at less than a first maximum frequency and a second core operating at less than a second maximum frequency. The second maximum frequency may be less than the first maximum frequency. According to one embodiment, a computer-readable storage medium storing one or more programs may cause the processor of the electronic device to identify an event for operating a neural network based on execution of an application when executed by the processor of the electronic device. The one or more programs may cause the processor of the electronic device to obtain, based on the event, execution times at which the neural network was executed by each of the plurality of cores and a reference time set by the application. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to determine, based on the execution times and the reference time, one (a) core among a plurality of cores to be used to execute the function. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to execute the function of the neural network corresponding to the event using the determined core.
[0175] According to one embodiment, the third core may be driven at a third maximum frequency less than the second maximum frequency.
[0176] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to determine, based on an execution time associated with at least one of the second core or the third core, one (a) core among the plurality of cores to be utilized for execution of the function, in response to identifying that the execution time associated with the first core is less than or equal to the reference time.
[0177] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to execute the function corresponding to the event using the third core among the plurality of cores based on identifying that the execution time associated with the first core is less than or equal to the reference time and the execution time associated with the second core is less than or equal to the reference time.
[0178] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to identify a state of charge (SOC) of a battery. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to identify whether to change the reference time using a ratio based on the SOC being identified as one of a first state, a second state, or a third state. The ratio may be used to cause the function to be executed using another core having a maximum frequency less than a maximum frequency of a core that was determined prior to changing the reference time.
[0179] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to change the reference time using the rate provided by the electronic device, such that power consumed by the core to execute the function is reduced, based on the SOC being identified as one of the second state or the third state.
[0180] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to determine one (a) core among the plurality of cores having a lowest maximum frequency based on the SOC being identified as the first part of the third state. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to execute the function using the determined core.
[0181] In one embodiment, the one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to identify whether the battery is charging based on the SOC being identified as the second part of the third state. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to change the reference time by applying the ratio to the reference time if the battery is charging. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to determine, using the changed reference time, one (a) core from among the plurality of cores to be used to execute the function. The one or more programs, when executed by the processor of the electronic device, may cause the processor of the electronic device to identify one (a) core having a lowest maximum frequency from among the plurality of cores operating in different frequency ranges if the battery is not charging, and to execute the function.
[0182] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, electronic devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0183] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0184] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0185] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0186] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0187] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In electronic devices, Memory that stores instructions; A processor comprising a plurality of cores, including a first core operating at less than a first maximum frequency and a second core operating at less than a second maximum frequency, wherein the second maximum frequency is less than the first maximum frequency; The processor, when the instructions are executed, causes the electronic device to: Based on the execution of the application, identify events to drive the neural network; Based on the above event, the neural network obtains the execution times at which each of the plurality of cores was executed and the reference time set by the application; Based on the above execution times and the above reference time, determining one (a) core among the plurality of cores to be used to execute the function; and Using the core determined above, causing a function corresponding to the event to be executed, Electronic devices.
2. In paragraph 1, The processor, when the instructions are executed, causes the electronic device to: Based on identifying that the execution time associated with the first core exceeds the reference time, executing a function corresponding to the event using the first core among the plurality of cores; and Identifying one (a) core to be used for execution of the function, based on identifying that the execution time associated with the first core is less than or equal to the reference time, by using the execution time associated with the second core, Electronic devices.
3. In paragraph 2, The above processor, Further comprising a third core driven at a third maximum frequency less than the second maximum frequency; Electronic devices.
4. In paragraph 3, The processor, when the instructions are executed, causes the electronic device to: In response to identifying that the execution time associated with the first core is less than or equal to the reference time, causing one (a) core among the plurality of cores to be used for execution of the function to be determined based on the execution time associated with at least one of the second core or the third core. Electronic devices.
5. In paragraph 3, The processor, when the instructions are executed, causes the electronic device to: Based on identifying that the execution time associated with the first core is less than or equal to the reference time and that the execution time associated with the second core is less than or equal to the reference time, causing the function corresponding to the event to be executed using the third core among the plurality of cores. Electronic devices.
6. In paragraph 2, Including more batteries; The processor, when the instructions are executed, causes the electronic device to: Identifying the SOC (state of charge) of the above battery; and Causing the SOC to identify whether to change the reference time using a ratio based on whether the SOC is identified as being in one of the first state, the second state, or the third state, The above ratio is, The above function is used to execute using another core having a maximum frequency lower than the maximum frequency of the core determined before changing the above reference time. Electronic devices.
7. In paragraph 6, The processor, when the instructions are executed, causes the electronic device to: Causing the reference time to be changed using the rate provided by the electronic device, so that power consumed by the core to execute the function is reduced, based on the SOC being identified as one of the second state or the third state. Electronic devices.
8. In paragraph 6, The processor, when the instructions are executed, causes the electronic device to: Based on the above SOC being identified as the first part of the third state, determining one (a) core among the plurality of cores having the lowest maximum frequency; Causing the above function to be executed using one of the above-determined cores, Electronic devices.
9. In paragraph 6, The processor, when the instructions are executed, causes the electronic device to: Based on the above SOC being identified as the second part of the third state, identifying whether the battery is charging; If the battery is being charged, the ratio is applied to the reference time to change the reference time, and using the changed reference time, one (a) core among the plurality of cores is determined to be used to execute the function; and If the above battery is not charging, identifying one (a) core having the lowest maximum frequency among a plurality of cores operating in different frequency ranges, and causing the function to be executed. Electronic devices.
10. In the method of an electronic device, The electronic device comprises a processor including a plurality of cores, including a first core operating at less than a first maximum frequency and a second core operating at less than a second maximum frequency, wherein the second maximum frequency is less than the first maximum frequency. The above method, An action that identifies events for driving a neural network based on the execution of the application; Based on the above event, an operation of obtaining the execution times at which the neural network was executed by each of the plurality of cores and the reference time set by the application; An operation of determining, based on the above execution times and the above reference time, one (a) core among the plurality of cores to be used for executing the function; and An operation including executing a function corresponding to the event using the determined core. method.
11. In clause 10, The above method, An operation of executing a function corresponding to the event using the first core among the plurality of cores based on identifying that the execution time associated with the first core exceeds the reference time; and An operation of identifying one (a) core used for execution of the function, using the execution time associated with the second core, based on identifying that the execution time associated with the first core is less than or equal to the reference time, method.
12. In paragraph 11, The above method, Further comprising a third core driven at a third maximum frequency less than the second maximum frequency; method.
13. In paragraph 12, The above method, In response to identifying that the execution time associated with the first core is less than or equal to the reference time, the method comprises determining, based on an execution time associated with at least one of the second core or the third core, one (a) core among the plurality of cores to be used for execution of the function. method.
14. In paragraph 12, The above method, An operation of executing the function corresponding to the event using the third core among the plurality of cores based on identifying that the execution time associated with the first core is less than or equal to the reference time and the execution time associated with the second core is less than or equal to the reference time. method.
15. In paragraph 11, The above method, An operation to identify the state of charge (SOC) of the battery; and An operation for identifying whether to change the reference time using a ratio based on the SOC being identified as one of the first state, the second state, or the third state, The above ratio is, The above function is used to execute using another core having a maximum frequency lower than the maximum frequency of the core determined before changing the above reference time. method.
Citation Information
Patent Citations
Multi processor and method for reducing power consumption using the same
KR1020100030951A
Task distributing method of heterogeneous multi core processor system distributing tasks by using estimated execution time information and heterogeneous multi core process system using method thereof
KR1020140006351A
Computing system including multi-core processor and load balancing method thereof
KR1020140044596A
Novel low cost, low power high performance SMP / ASMP multiple-processor system
KR1020170069269A
Pot ladle
KR1020240085501A
