WO2021221348A1 - Clock control method and electronic device therefor - Google Patents

Clock control method and electronic device therefor Download PDF

Info

Publication number
WO2021221348A1
WO2021221348A1 PCT/KR2021/004538 KR2021004538W WO2021221348A1 WO 2021221348 A1 WO2021221348 A1 WO 2021221348A1 KR 2021004538 W KR2021004538 W KR 2021004538W WO 2021221348 A1 WO2021221348 A1 WO 2021221348A1
Authority
WO
WIPO (PCT)
Prior art keywords
functions
information
processor
clock
control module
Prior art date
Application number
PCT/KR2021/004538
Other languages
French (fr)
Korean (ko)
Inventor
최현민
김양수
방경호
송학훈
이남욱
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2021221348A1 publication Critical patent/WO2021221348A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Definitions

  • Various embodiments disclosed in this document relate to a method for controlling a clock and an electronic device therefor.
  • the processor included in the electronic device may generate a clock by using a clock generator, and may perform a plurality of functions based thereon.
  • the processor may include at least one core.
  • the core may be understood as a component that performs operations such as operation and/or function operation of an electronic device based on a generated clock value.
  • the clock may be referred to as a unit indicating the operation clock and/or speed of the information processing apparatus, and as the clock increases, the operation speed of the information processing apparatus may increase.
  • the electronic device may include at least one processor.
  • the at least one processor may be divided into a main processor and/or an auxiliary processor.
  • the main processor may be configured to control functions performed in the electronic device in general, while the auxiliary processor may be set to specifically operate some of the functions.
  • Each processor may send and receive signals physically and/or electrically.
  • the signal may include a control signal of a clock value required to perform a plurality of functions.
  • the coprocessor may support an adaptive change of the operating clock.
  • the coprocessor may change its operating clock to handle functions required by the main processor. By increasing the operating clock, the processing speed and data throughput of the coprocessor can be increased. However, an increase in the operating clock may result in an increase in power consumption and heat generation by the coprocessor.
  • the electronic device may not normally stop the corresponding function.
  • the main processor may cause the auxiliary processor to perform a first function.
  • an operation clock of the coprocessor may be controlled.
  • the main processor the operation related to the first function is terminated, but in the auxiliary processor, the termination of the first function may not be processed.
  • the main processor may provide a signal (eg, an interrupt) instructing the auxiliary processor to terminate the first function.
  • a coprocessor may, for example, experience an interrupt storm in which it receives many signals in a short amount of time.
  • the auxiliary processor may omit the release of the clock for performing the first function. In this case, a problem of wasting power consumption may occur because the clock value to be released is continuously maintained.
  • An electronic device includes a main processor, an auxiliary processor configured to perform a plurality of audio data processing functions, and a clock control module operatively connected to the main processor and the auxiliary processor wherein the main processor transmits information about first functions related to the operation of the main processor among the plurality of audio data processing functions to the clock control module, and the auxiliary processor is configured to process the plurality of audio data transmits information on second functions executed by the auxiliary processor among functions to the clock control module, wherein the clock control module receives the first functions and the second functions from the main processor and the auxiliary processor It may be determined to terminate the execution of at least one of the second functions based on the information about the second functions.
  • a method for providing a clock control function includes a first method associated with an operation of a main processor among a plurality of audio data processing functions performed by a main processor in an auxiliary processor included in the electronic device. transmitting information about functions to a clock control module, the coprocessor transmitting information about second functions executed in the coprocessor among the plurality of audio data processing functions to the clock control module; and determining, by the clock control module, to end execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor.
  • the electronic device may identify functions that are not being executed and cancel the clock setting corresponding to the functions to ensure normal entry into a sleep mode.
  • the electronic device may minimize power consumption by controlling the clock setting using the clock control module.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure
  • FIG. 2 is a block diagram illustrating a configuration of an electronic device according to various embodiments of the present disclosure
  • FIG 3 illustrates clock information for each function provided by an electronic device, according to various embodiments of the present disclosure.
  • FIG. 4 is a table illustrating a clock setting value of an electronic device that changes with time, according to various embodiments of the present disclosure
  • FIG. 5 is a flowchart illustrating an operation of an electronic device according to various embodiments of the present disclosure
  • FIG. 6 is a flowchart illustrating an operation of an electronic device according to various embodiments of the present disclosure
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the processor 120 executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or in conjunction with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphics processing unit, an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the coprocessor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190. have.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • 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 .
  • the input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may 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, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • 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.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, 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 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. 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 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197 .
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 and 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • the one or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • the electronic device may have various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • 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 “A,
  • Each of the phrases “at least one of B, or C” may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases.
  • Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other such components, and refer to the component in another aspect (e.g., importance or order) is not limited.
  • one (e.g., first) component is “coupled” or “connected” to another (e.g., second) component with or without the terms “functionally” or “communicatively” Where referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101).
  • a machine eg, electronic device 101
  • the processor eg, the processor 120
  • the device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product).
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
  • FIG. 2 is a block diagram 200 illustrating a configuration of an electronic device according to various embodiments of the present disclosure.
  • the electronic device 201 (eg, the electronic device 101 of FIG. 1 ) includes a main processor 210 (eg, the main processor 121 of FIG. 1 ) and an auxiliary processor 220 (eg, the electronic device 101 of FIG. 1 ).
  • the coprocessor 123 of FIG. 1 ), the clock control module 230 , and/or the memory 270 may be included.
  • the coprocessor 220 may include a core 250 , a clock generator 240 , and/or a clock setting module 260 .
  • FIG. 2 only one coprocessor 220 and one clock control module 230 are illustrated, but the present invention is not limited thereto.
  • the electronic device 201 may include a plurality of auxiliary processors 220 and a plurality of clock control modules 230 .
  • One clock control module 230 may be electrically connected to at least one auxiliary processor 220 , respectively, to control clock settings.
  • the main processor 210 may be operatively connected to the auxiliary processor 220 , the memory 270 , and/or the clock control module 230 .
  • the main processor 210 may receive information about a plurality of data processing functions executed by the auxiliary processor 220 from the memory 270 .
  • the main processor 210 may transmit information about first functions related to the operation of the main processor 210 among the plurality of data processing functions to the clock control module 230 .
  • the information about the first functions may include an execution state of the first functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function.
  • the main processor 210 and the auxiliary processor 220 may be operatively connected 215a through an I2C (inter-integrated circuit) communication method.
  • the auxiliary processor 220 may be operatively connected to the main processor 210 , the clock control module 230 , and/or the memory 270 to operate.
  • the auxiliary processor 220 may be configured to perform a plurality of data processing functions.
  • the auxiliary processor 220 may be configured to use less power than the main processor 210 or to be specialized for a specified function.
  • the auxiliary processor 220 may be configured to be specialized in an audio data processing function.
  • the secondary processor 220 may be implemented separately from or as part of the main processor 210 .
  • the coprocessor 220 may include a clock generator 240 , a core 250 , and/or a clock setting module 260 . In FIG.
  • the auxiliary processor 220 is illustrated as including one core 250 , but is not limited thereto.
  • the auxiliary processor 220 may include a plurality of cores, and each core may operate independently of each other.
  • the coprocessor 220 periodically updates information including the operation of the core 250 , the clock control history of the clock generator 240 , and/or the clock setting information of the clock setting module 260 . may be transferred to the memory 270 .
  • the memory 270 may transmit information received from the auxiliary processor 220 to the main processor 210 .
  • the auxiliary processor 220 may identify a function to be performed by the electronic device, determine a clock value corresponding to the function, and generate a clock value through the clock generator 240 based on the determination.
  • the core 250 may perform a plurality of audio data processing functions based on the clock value generated by the clock generator 240 . Specifically, the core 250 may perform an audio data processing function based on a clock input from the outside (eg, the clock generator 240 ).
  • the auxiliary processor 220 may transmit information about second functions executed by the auxiliary processor 220 among a plurality of audio data processing functions to the clock control module 230 .
  • the clock setting module 260 may set the clock setting value of the electronic device by identifying the clock value transmitted from the clock generator 240 .
  • the clock setting module 260 may control the operation of the core 250 based on a clock input from the outside (eg, the clock generator 240 ).
  • the clock setting module may include an echo canceling function, a noise canceling function, and/or a volume correction function according to a call type.
  • the information on the second functions may include an execution state of the second functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function.
  • the auxiliary processor 220 may receive a control signal from the clock control module 230 and release a clock setting based on the control signal.
  • the auxiliary processor 220 is described as a device specialized in an audio data processing function, but is not limited thereto.
  • the auxiliary processor 220 may be a processor specialized in an image data processing function.
  • the clock control module 230 may be operatively coupled to the main processor 210 and/or the auxiliary processor 220 .
  • the clock control module 230 may be physically or electrically connected to the auxiliary processor 220 215b.
  • the clock control module 230 may receive information about a plurality of audio data processing functions from the main processor 210 and the auxiliary processor 220 .
  • the clock control module 230 may control the frequency of the operating clock generated by the clock generator 240 included in the auxiliary processor 220 based on the received information.
  • the clock control module 230 may determine to end execution of at least one of the second functions received from the coprocessor 220 .
  • the clock control module 230 may monitor and periodically update information stored in the coprocessor 220 and/or the memory 270 .
  • the clock control module 230 may determine to terminate execution of at least one of the second functions based on the updated information. After determining to end execution of at least one of the second functions, the clock control module 230 may generate a control signal based on the determination and transmit the generated control signal to the auxiliary processor 220 .
  • the control signal may include, for example, an operation end signal of some of the plurality of audio data processing functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function.
  • the main processor 210 the auxiliary processor 220 , the clock control module 230 , and/or the memory 270 are illustrated as being physically separated from each other, but the present invention is not limited thereto.
  • the above components may be implemented in one chip and/or one module 202 .
  • FIG 3 illustrates information 300 for each function provided by an electronic device according to various embodiments of the present disclosure.
  • the electronic device may provide a plurality of audio data processing functions.
  • the plurality of audio data processing functions may include an A function, a B function, and/or a C function.
  • Each function can operate with a different clock value.
  • function A may be set to operate using a clock rate of 20 Mhz, function B 100 Mhz, and function C 80 Mhz.
  • the clock value and clock ID for each function described in FIG. 3 may be the same referenced in FIG. 4 to be described later.
  • the auxiliary processor may store a clock ID for each function in a memory (eg, the memory 270 of FIG. 2 ).
  • the main processor eg, the main processor 210 of FIG. 2
  • the clock control module eg, the clock control module 230 of FIG. 2
  • the auxiliary processor includes a clock corresponding to each function. Based on the ID, it is possible to identify the clock setting value of the function, whether it is running, and/or whether it is terminated.
  • the clock control module may transmit a control signal to the coprocessor, and the control signal may include a clock setting value and/or a clock ID for each function.
  • the coprocessor may receive the control signal and release the clock setting based on the clock setting value and/or the clock ID for each function included in the control signal.
  • the clock setting value and clock ID value disclosed in FIG. 3 are exemplary, and embodiments of the present document are not to be construed as being limited thereto.
  • the values may vary according to a setting of an electronic device (eg, the electronic device 101 of FIG. 1 ) or performance of an interface (eg, the interface 177 of FIG. 1 ).
  • FIG. 4 illustrates a table 400 indicating clock setting values of an electronic device that change with time, according to various embodiments of the present disclosure.
  • the clock setting value may vary depending on whether a function provided by the electronic device (eg, the electronic device 101 of FIG. 1 ) is executed.
  • the clock value for each function shown in FIG. 4 may be referred to as described above in FIG. 3 .
  • the clock control module may classify and store clock setting values for each function, and among the functions in operation, the clock The feature with the largest value can be identified.
  • the A function may be set to operate with a clock value of c1 (eg 20Mhz), the B function c2 (eg 100Mhz), and the C function c3 (eg 80Mhz).
  • the value of the clock associated with each function may be the value of the operation clock required for each function.
  • the electronic device may provide the A function 401 .
  • the B function and the C function may be in a sleep mode.
  • Function A may be performed by a core included in the coprocessor (eg, the core 250 of FIG. 2 ).
  • the electronic device may require a clock value corresponding to c1 (eg, 20 Mhz) to provide the A function 401 .
  • the c1 may be a clock setting value for the operation of the A function.
  • the coprocessor may store the above operation information in a memory (eg, the memory 270 of FIG. 2 ).
  • the clock control module eg, the clock control module 230 of FIG. 2
  • the main processor eg, the main processor 210 of FIG. 2
  • the electronic device may provide the A function 401 , the B function 403 , and the C function 405 .
  • the electronic device may require a clock value corresponding to c2 (eg, 100Mhz), which is the maximum value among clock values corresponding to each function.
  • the c2 may be a clock setting value for the operation of the B function.
  • the auxiliary processor eg, the auxiliary processor 220 of FIG. 2
  • the clock control module eg, the clock control module 230 of FIG. 2
  • the main processor eg, the main processor 210 of FIG.
  • the clock control module may transmit operation information for each function to the clock control module.
  • the clock control module determines that the A function 401 and/or the C function 405 does not operate based on the updated information and/or the information received from the main processor, the A function 401 and/or the A function 401 and/or the Or it may decide to terminate the C function 405 .
  • the clock control module may generate a control signal and transmit it to the coprocessor.
  • the control signal may include a signal for terminating the operation of the A function 401 and/or the C function 405 .
  • the coprocessor may release the clock setting corresponding to the A function 401 and/or the C function 405 based on the received control signal.
  • the electronic device may provide the A function 401 and the C function 405 .
  • the electronic device may require a clock value of c3 (eg, 80Mhz), which is the maximum value among clock values corresponding to each function.
  • the c3 may be a clock setting value for the operation of the C function.
  • the auxiliary processor eg, the auxiliary processor 220 of FIG. 2
  • the clock control module eg, the clock control module 230 of FIG. 2
  • the main processor eg, the main processor 210 of FIG.
  • a clock generator (eg, clock generator 240 of FIG. 2 ) may generate a clock value corresponding to c3 in response to interruption of function B 403 .
  • the clock generator may continuously generate a clock value corresponding to c2. That is, the release of the clock setting corresponding to the B function 403 may be omitted.
  • a coprocessor may miss the action of releasing a clock setting under the influence of an interrupt storm that receives many signals in a short time.
  • the clock control module may determine to terminate the B function 403 . After determining the termination, the clock control module may generate a control signal and transmit it to the coprocessor.
  • the control signal may include a signal for terminating the operation of the B function 403 .
  • the coprocessor may release the clock setting corresponding to the B function 403 based on the received control signal.
  • the operation of the clock control module is defined as releasing a clock setting corresponding to a specified function, but is not limited thereto.
  • the coprocessor may omit the operation of controlling the execution of specified functions.
  • the operation of controlling the execution of the specified functions may include an operation of applying a clock setting value corresponding to the specified functions to perform the specified functions (eg, outputting an image and/or outputting a plurality of sound effects).
  • the clock control module may generate and transmit a signal for causing the release of the clock setting to terminate the missing function and transmit it to the coprocessor, or generate and transmit a signal for causing the execution instruction to execute the missing function to the coprocessor.
  • Clock values (eg, 20Mhz, 80Mhz, 100Mhz) used in this document may vary depending on the settings of the electronic device (eg, the electronic device 101 of FIG. 1 ) or the performance of the interface (eg, the interface 177 of FIG. 1 ). may vary.
  • FIG. 5 is a flowchart illustrating an operation of an electronic device 500 according to various embodiments of the present disclosure.
  • the clock control module receives information about first functions from the main processor (eg, the main processor 210 of FIG. 2 ).
  • the first functions may be functions related to the operation of the main processor among a plurality of audio data processing functions provided by the electronic device.
  • the clock control module may receive information about the second functions from the auxiliary processor (eg, the auxiliary processor 220 of FIG. 2 ).
  • the second functions may be functions executed by the auxiliary processor among a plurality of audio data processing functions provided by the electronic device.
  • the information received by the clock control module in operations 505 and 510 may include an execution state, identification information, execution time, execution end point, and/or clock setting value for each function of the plurality of audio data processing functions. may include.
  • the clock control module may determine to end execution of at least one of the second functions based on information received from the main processor and the auxiliary processor.
  • the clock control module may periodically update the information about the second functions being executed in the coprocessor by monitoring. Based on the updated information, it can decide which function to terminate execution of.
  • FIG. 6 illustrates a flowchart 600 of an operation of an electronic device according to various embodiments of the present disclosure.
  • the clock control module (eg, the clock control module 230 of FIG. 2 ) provides a function (eg, a plurality of The information related to the operation of performing the audio data processing function) can be updated periodically.
  • the clock control module may monitor information stored in a memory (eg, the memory 270 of FIG. 2 ).
  • the information may include an operation of the core 250 , a clock control history of the clock generator 240 , and/or clock setting information of the clock setting module 260 .
  • the information stored in the memory may be information transmitted from a main processor (eg, the main processor 210 of FIG. 2 ) and/or an auxiliary processor.
  • the clock control module may receive information related to the operation of the electronic device from the main processor.
  • the information may include execution states of a plurality of audio data processing functions, identification information, execution time points, and clock setting values for each function.
  • the clock control module may generate a control signal based on the periodically updated information.
  • the control signal may include a signal for terminating the operation of some of the plurality of audio data processing functions.
  • the plurality of audio data processing functions may include echo cancellation, noise cancellation, and/or a volume correction function according to a call type.
  • the clock control module may transmit the control signal to the coprocessor.
  • the clock control module may transmit the control signal to cause the coprocessor to release a clock setting corresponding to at least one function included in the control signal.
  • the clock control module may continuously monitor whether the control signal of the auxiliary processor is received and whether the electronic device operates for each function.
  • the electronic device may perform additional control to put the function into a sleep mode using the main processor.
  • the electronic device (eg, the electronic device 201 of FIG. 2 ) includes a main processor (eg, the main processor 210 of FIG. 2 ) and an auxiliary processor configured to perform a plurality of audio data processing functions (eg, the auxiliary processor 220 of FIG. 2 ), and a clock control module (eg, the clock control module 230 of FIG. 2 ) operatively connected to the main processor and the auxiliary processor. .
  • a main processor eg, the main processor 210 of FIG. 2
  • an auxiliary processor configured to perform a plurality of audio data processing functions
  • a clock control module eg, the clock control module 230 of FIG. 2
  • the main processor transmits information about first functions related to the operation of the main processor among the plurality of audio data processing functions to the clock control module
  • the auxiliary processor is configured to: transmits information about second functions executed by the auxiliary processor among data processing functions to the clock control module, wherein the clock control module is configured to transmit the first functions and the second functions received from the main processor and the auxiliary processor It may be determined to terminate execution of at least one of the second functions based on the information about the two functions.
  • the information about the first functions and the second functions includes an execution state of the plurality of audio data processing functions, identification information, an execution time point, an execution end point, and a clock setting value for each function can do.
  • the electronic device includes a memory (eg, the memory 270 of FIG. 2 ), stores information about the second functions being executed by the coprocessor in the memory, and controls the clock
  • the module may determine to terminate execution of at least one of the second functions by monitoring and periodically updating the information stored in the memory.
  • the clock control module may be configured to, after determining to end execution of at least one of the second functions, generate a control signal based on the determination, and send the control signal to the coprocessor.
  • control signal includes an operation end signal of some of the plurality of audio data processing functions
  • auxiliary processor corresponds to at least one of the second functions based on the received control signal. can be set to release the clock setting.
  • the coprocessor includes at least one core (eg, the core 250 of FIG. 2 ), the at least one core operates independently of each other, and a plurality of coprocessors configured to be executed Audio data processing functions can be controlled.
  • the plurality of audio data processing functions may include echo cancellation, noise cancellation, and a volume correction function according to a call type.
  • first functions related to an operation of the main processor among a plurality of audio data processing functions performed by a main processor in an auxiliary processor included in the electronic device transmitting, by the coprocessor, information about second functions executed by the coprocessor among the plurality of audio data processing functions to the clock control module, to the clock control module, and determining, by a clock control module, to terminate execution of at least one of the second functions based on information about the first functions and the second functions received from the main processor and the auxiliary processor can
  • the coprocessor includes a memory, and the coprocessor transmits, to the clock control module, information about second functions executed in the coprocessor among the plurality of audio data processing functions. further comprising the operation of storing information about the second functions being executed by the coprocessor in the memory, wherein the clock control module receives the first functions received from the main processor and the subprocessor and the The determining to terminate the execution of at least one of the second functions based on the information on the second functions includes: the clock control module monitors information stored in the memory and periodically updates the information stored in the memory, The method may further include determining to end execution of at least one of the functions.
  • the clock control module terminates execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor
  • the determining to be performed may further include generating a control signal based on the determination and transmitting the control signal to the coprocessor.
  • control signal includes an operation end signal of some of the plurality of audio data processing functions, generating a control signal based on the determination, and transmitting the control signal to the coprocessor is an operation of releasing clock settings corresponding to the second functions based on the control signal received by the coprocessor; It may be characterized in that it further comprises.
  • the coprocessor includes at least one core, and the coprocessor transmits information about second functions executed in the coprocessor among the plurality of audio data processing functions to the clock control module.
  • the transmitting may further include the operation of the at least one core in the coprocessor operating independently of each other and controlling a plurality of audio data processing functions set to be performed by the coprocessor.
  • the above-described clock control method according to various embodiments of the present document may be stored in a non-transitory readable medium.
  • a non-transitory readable medium may be mounted and used in various devices.
  • the non-transitory readable recording medium refers to a medium that stores data semi-permanently and can be read by a device, rather than a medium that stores data for a short moment, such as a register, cache, memory, or the like.
  • the above-described programs may be provided by being stored in a non-transitory readable recording medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, and the like.

Abstract

An electronic device comprising a main processor, an auxiliary processor, and a clock control module is disclosed. The electronic device may use the main processor to transmit, to the clock control module, information on first functions related to an operation of the main processor among a plurality of audio data processing functions, use the auxiliary processor to transmit, to the clock control module, information on second functions executed by the auxiliary processor among the plurality of audio data processing functions, and use the clock control module to determine to terminate execution of at least one of the second functions on the basis of the information about the first functions and the second functions. Various other embodiments identified through the specification may be possible.

Description

클록 제어 방법 및 이를 위한 전자 장치Clock control method and electronic device therefor
본 문서에서 개시되는 다양한 실시 예들은, 클록을 제어하는 방법 및 이를 위한 전자 장치에 관한 것이다.Various embodiments disclosed in this document relate to a method for controlling a clock and an electronic device therefor.
전자 장치에 포함된 프로세서는 클록 발생기를 이용하여 클록을 생성하고, 이를 기반으로 복수의 기능을 수행할 수 있다. 프로세서는 적어도 하나의 코어를 포함할 수 있다. 상기 코어는 생성된 클록 값에 기반하여 전자 장치의 연산 및/또는 기능 작동과 같은 작업을 수행하는 구성 요소로 이해될 수 있다. 여기서 클록은 상기 정보처리 장치의 동작 클록 및/또는 속도를 나타내는 단위로 참조될 수 있으며, 클록이 높아질수록 정보처리 장치의 동작 속도가 높아질 수 있다. The processor included in the electronic device may generate a clock by using a clock generator, and may perform a plurality of functions based thereon. The processor may include at least one core. The core may be understood as a component that performs operations such as operation and/or function operation of an electronic device based on a generated clock value. Here, the clock may be referred to as a unit indicating the operation clock and/or speed of the information processing apparatus, and as the clock increases, the operation speed of the information processing apparatus may increase.
전자 장치는 적어도 하나의 프로세서를 포함할 수 있다. 적어도 하나의 프로세서는 메인 프로세서 및/또는 보조 프로세서로 구분될 수 있다. 예를 들어, 메인 프로세서는 전자 장치에서 수행되는 기능들을 전반적으로 제어하는 한편, 보조 프로세서는 상기 기능들 중 일부에 특화되어 작동하도록 설정될 수 있다. 각 프로세서는 물리적 및/또는 전기적으로 신호를 송수신 할 수 있다. 상기 신호는 복수의 기능을 수행함에 있어서 요구되는 클록 값의 제어 신호를 포함할 수 있다.The electronic device may include at least one processor. The at least one processor may be divided into a main processor and/or an auxiliary processor. For example, the main processor may be configured to control functions performed in the electronic device in general, while the auxiliary processor may be set to specifically operate some of the functions. Each processor may send and receive signals physically and/or electrically. The signal may include a control signal of a clock value required to perform a plurality of functions.
예를 들어, 보조 프로세서는 적응적인 동작 클록의 변경을 지원할 수 있다. 예를 들어, 보조 프로세서는 메인 프로세서에 의하여 요구되는 기능을 처리할 수 있도록 동작 클록을 변경할 수 있다. 동작 클록을 증가시킴으로써 보조 프로세서의 처리 속도 및 데이터 처리량이 증가할 수 있다. 그러나, 동작 클록의 증가는 보조 프로세서에 의한 전력 소모량 및 발열의 증가를 초래할 수 있다. For example, the coprocessor may support an adaptive change of the operating clock. For example, the coprocessor may change its operating clock to handle functions required by the main processor. By increasing the operating clock, the processing speed and data throughput of the coprocessor can be increased. However, an increase in the operating clock may result in an increase in power consumption and heat generation by the coprocessor.
사용자가 제공받기를 원하지 않는 기능에 대하여 전자 장치가 해당 기능을 정상적으로 중단하지 못하는 문제가 발생할 수 있다. 예를 들어, 메인 프로세서는 보조 프로세서로 하여금 제1 기능을 수행하도록 할 수 있다. 제1 기능의 수행을 위하여 보조 프로세서의 동작 클록을 제어할 수 있다. 메인 프로세서에서는 제1 기능에 연관된 동작이 종료(terminate)되었으나, 보조 프로세서에서는 제1 기능의 종료가 처리되지 못할 수 있다. 예를 들어, 메인 프로세서는 보조 프로세서에 제1 기능을 종료를 지시하는 신호(예: 인터럽트)를 제공할 수 있다. 보조 프로세서는, 예를 들어, 짧은 시간에 많은 신호를 수신하는 인터럽트 스톰(interrupt storm)을 겪을 수 있다. 이 경우, 보조 프로세서는 제1 기능의 수행을 위한 클록의 릴리즈(release)를 누락할 수 있다. 이 경우, 해제되어야 할 클록 값이 지속적으로 유지되어 소모 전력을 낭비하는 문제가 발생할 수 있다.For a function that the user does not want to be provided, the electronic device may not normally stop the corresponding function. For example, the main processor may cause the auxiliary processor to perform a first function. In order to perform the first function, an operation clock of the coprocessor may be controlled. In the main processor, the operation related to the first function is terminated, but in the auxiliary processor, the termination of the first function may not be processed. For example, the main processor may provide a signal (eg, an interrupt) instructing the auxiliary processor to terminate the first function. A coprocessor may, for example, experience an interrupt storm in which it receives many signals in a short amount of time. In this case, the auxiliary processor may omit the release of the clock for performing the first function. In this case, a problem of wasting power consumption may occur because the clock value to be released is continuously maintained.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 메인 프로세서, 복수의 오디오 데이터 처리 기능들을 수행하도록 설정되는 보조 프로세서, 및 상기 메인 프로세서 및 상기 보조 프로세서와 작동적으로(operatively) 연결된 클록 제어 모듈을 포함하고, 상기 메인 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고, 상기 보조 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고, 상기 클록 제어 모듈은 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다.An electronic device according to an embodiment disclosed herein includes a main processor, an auxiliary processor configured to perform a plurality of audio data processing functions, and a clock control module operatively connected to the main processor and the auxiliary processor wherein the main processor transmits information about first functions related to the operation of the main processor among the plurality of audio data processing functions to the clock control module, and the auxiliary processor is configured to process the plurality of audio data transmits information on second functions executed by the auxiliary processor among functions to the clock control module, wherein the clock control module receives the first functions and the second functions from the main processor and the auxiliary processor It may be determined to terminate the execution of at least one of the second functions based on the information about the second functions.
본 문서에 개시되는 일 실시 예에 따른 클록 제어 기능을 제공하기 위한 방법은, 메인 프로세서가 상기 전자 장치에 포함된 보조 프로세서에서 수행하는 복수의 오디오 데이터 처리 기능들 중 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 클록 제어 모듈로 전송하는 동작, 상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작, 및 상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작을 포함할 수 있다. A method for providing a clock control function according to an embodiment disclosed in this document includes a first method associated with an operation of a main processor among a plurality of audio data processing functions performed by a main processor in an auxiliary processor included in the electronic device. transmitting information about functions to a clock control module, the coprocessor transmitting information about second functions executed in the coprocessor among the plurality of audio data processing functions to the clock control module; and determining, by the clock control module, to end execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor. may include
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 실행 중이 아닌 기능들을 식별하고, 상기 기능에 대응하는 클록 설정을 해지하여 정상적인 슬립(sleep) 모드 진입을 보장할 수 있다.According to various embodiments disclosed in this document, the electronic device may identify functions that are not being executed and cancel the clock setting corresponding to the functions to ensure normal entry into a sleep mode.
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 클록 제어 모듈을 이용하여 클록 설정을 제어함으로써 전력 소모를 최소화 할 수 있다.According to various embodiments disclosed in this document, the electronic device may minimize power consumption by controlling the clock setting using the clock control module.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
도 2는 다양한 실시 예들에 따른, 전자 장치의 구성을 나타내는 블록도를 도시한다.2 is a block diagram illustrating a configuration of an electronic device according to various embodiments of the present disclosure;
도 3은 다양한 실시 예들에 따른, 전자 장치가 제공하는 기능별 클록 정보를 도시한다.3 illustrates clock information for each function provided by an electronic device, according to various embodiments of the present disclosure.
도 4는 다양한 실시 예들에 따른, 시간에 따라 변화하는 전자 장치의 클록 설정 값을 나타내는 표를 도시한다.4 is a table illustrating a clock setting value of an electronic device that changes with time, according to various embodiments of the present disclosure;
도 5는 다양한 실시 예들에 따른, 전자 장치의 동작 흐름도를 도시한다.5 is a flowchart illustrating an operation of an electronic device according to various embodiments of the present disclosure;
도 6는 다양한 실시 예들에 따른, 전자 장치의 동작 흐름도를 도시한다.6 is a flowchart illustrating an operation of an electronic device according to various embodiments of the present disclosure;
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
이하, 본 문서의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings. However, this is not intended to limit the technology described in this document to specific embodiments, and it should be understood as including various modifications, equivalents, and/or alternatives of the embodiments of this document. .
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1 , in a network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or in conjunction with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. 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 .
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101 . The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device. According to an embodiment, the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may 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, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an 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.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, 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 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified and authenticated.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. 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 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as a part of the antenna module 197 .
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 and 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of 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 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나”, "A, B 또는 C", "A, B 및 C 중 적어도 하나” 및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, “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 “A, Each of the phrases "at least one of B, or C" may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other such components, and refer to the component in another aspect (e.g., importance or order) is not limited. that one (e.g., first) component is "coupled" or "connected" to another (e.g., second) component with or without the terms "functionally" or "communicatively" Where referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component 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, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
도 2는 다양한 실시 예들에 따른, 전자 장치의 구성을 나타내는 블록도(200)를 도시한다.2 is a block diagram 200 illustrating a configuration of an electronic device according to various embodiments of the present disclosure.
도 2를 참조하여, 전자 장치(201)(예: 도 1의 전자 장치(101))는 메인 프로세서(210)(예: 도 1의 메인 프로세서(121)), 보조 프로세서(220)(예: 도 1의 보조 프로세서(123)), 클록 제어 모듈(230), 및/또는 메모리(270)을 포함할 수 있다. 보조 프로세서(220)는 코어(250), 클록 발생기(240), 및/또는 클록 셋팅 모듈(260)을 포함할 수 있다. 도 2에서는 하나의 보조 프로세서(220) 및 하나의 클록 제어 모듈(230)만을 도시하고 있으나, 이에 한정되는 것은 아니다. 예를 들어, 전자 장치(201)는 복수의 보조 프로세서(220) 및 복수의 클록 제어 모듈(230)을 포함할 수 있다. 하나의 클록 제어 모듈(230)은 적어도 하나의 보조 프로세서(220)와 각각 전기적으로 연결되어 클록 설정을 제어할 수 있다. Referring to FIG. 2 , the electronic device 201 (eg, the electronic device 101 of FIG. 1 ) includes a main processor 210 (eg, the main processor 121 of FIG. 1 ) and an auxiliary processor 220 (eg, the electronic device 101 of FIG. 1 ). The coprocessor 123 of FIG. 1 ), the clock control module 230 , and/or the memory 270 may be included. The coprocessor 220 may include a core 250 , a clock generator 240 , and/or a clock setting module 260 . In FIG. 2 , only one coprocessor 220 and one clock control module 230 are illustrated, but the present invention is not limited thereto. For example, the electronic device 201 may include a plurality of auxiliary processors 220 and a plurality of clock control modules 230 . One clock control module 230 may be electrically connected to at least one auxiliary processor 220 , respectively, to control clock settings.
메인 프로세서(210)는 보조 프로세서(220), 메모리(270), 및/또는 클록 제어 모듈(230)과 작동적으로(operatively) 연결되어 동작할 수 있다. 예를 들어, 메인 프로세서(210)는 보조 프로세서(220)에서 실행되는 복수의 데이터 처리 기능들에 관한 정보를 메모리(270)로부터 수신할 수 있다. 메인 프로세서(210)는 상기 복수의 데이터 처리 기능들 중 상기 메인 프로세서(210)의 동작과 연관된 제1 기능들에 관한 정보를 클록 제어 모듈(230)로 전송할 수 있다. 예를 들어, 제1 기능들에 관한 정보는 상기 제1 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 및/또는 각 기능 별 클록 설정 값을 포함할 수 있다. 메인 프로세서(210)와 보조 프로세서(220)는 I2C(inter-integrated circuit) 통신 방식을 통하여 작동적으로 연결(215a)될 수 있다. The main processor 210 may be operatively connected to the auxiliary processor 220 , the memory 270 , and/or the clock control module 230 . For example, the main processor 210 may receive information about a plurality of data processing functions executed by the auxiliary processor 220 from the memory 270 . The main processor 210 may transmit information about first functions related to the operation of the main processor 210 among the plurality of data processing functions to the clock control module 230 . For example, the information about the first functions may include an execution state of the first functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function. The main processor 210 and the auxiliary processor 220 may be operatively connected 215a through an I2C (inter-integrated circuit) communication method.
보조 프로세서(220)는 메인 프로세서(210), 클록 제어 모듈(230), 및/또는 메모리(270)와 작동적으로(operatively) 연결되어 동작할 수 있다. 보조 프로세서(220)는 복수의 데이터 처리 기능을 수행하도록 설정될 수 있다. 보조 프로세서(220)는 메인 프로세서(210)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 예를 들어, 보조 프로세서(220)는 오디오 데이터 처리 기능에 특화되도록 설정될 수 있다. 보조 프로세서(220)는 메인 프로세서(210)와 별개로, 또는 그 일부로서 구현될 수 있다. 보조 프로세서(220)는 클록 발생기(240), 코어(250), 및/또는 클록 셋팅 모듈(260)을 포함할 수 있다. 도 2에서 보조 프로세서(220)는 하나의 코어(250)를 포함하는 것으로 도시하고 있으나, 이에 한정되는 것은 아니다. 예를 들어, 보조 프로세서(220)는 복수의 코어를 포함할 수 있으며, 각 코어는 서로 독립적으로 작동할 수 있다. 예를 들어, 보조 프로세서(220)는 코어(250)의 동작, 클록 발생기(240)의 클록 제어 히스토리, 및/또는 클록 셋팅 모듈(260)의 클록 셋팅 정보를 포함하는 정보를 주기적으로 최신화 하여 메모리(270)로 전송할 수 있다. 메모리(270)는 보조 프로세서(220)로부터 수신한 정보를 메인 프로세서(210)에 전송할 수 있다. 보조 프로세서(220)는 전자 장치가 수행하고자 하는 기능을 식별하고, 상기 기능에 대응하는 클록 값을 결정하고, 상기 결정에 기반하여 클록 발생기(240)를 통해 클록 값을 생성할 수 있다. 코어(250)는 클록 발생기(240)에서 생성된 클록 값을 기반으로 복수의 오디오 데이터 처리 기능을 수행할 수 있다. 구체적으로, 코어(250)는 외부(예: 클록 발생기(240))로부터 입력된 클록을 기반으로 오디오 데이터 처리 기능을 수행할 수 있다. 보조 프로세서(220)는 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서(220)에서 실행되는 제2 기능들에 관한 정보를 클록 제어 모듈(230)로 전송할 수 있다. 예를 들어, 클록 셋팅 모듈(260)은 클록 발생기(240)에서 전송된 클록 값을 식별하여 전자 장치의 클록 설정 값을 셋팅할 수 있다. 클록 셋팅 모듈(260)은 외부(예: 클록 발생기(240))로부터 입력된 클록을 기반으로 코어(250)의 동작을 제어할 수 있다. 클록 셋팅 모듈(예를 들어, 복수의 오디오 데이터 처리 기능들)은 에코 캔슬링, 노이즈 캔슬링, 및/또는 통화 형태에 따른 음량 보정 기능을 포함할 수 있다. 제2 기능들에 관한 정보는 상기 제2 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 및/또는 각 기능 별 클록 설정 값을 포함할 수 있다. 보조 프로세서(220)는 클록 제어 모듈(230)로부터 제어 신호를 수신하고, 상기 제어 신호에 기반하여 클록 설정을 릴리즈(release)할 수 있다. 보조 프로세서(220)는 오디오 데이터 처리 기능에 특화된 장치로 설명하고 있으나, 이에 제한되는 것은 아니다. 예를 들어, 보조 프로세서(220)는 이미지 데이터 처리 기능에 특화된 프로세서일 수 있다.The auxiliary processor 220 may be operatively connected to the main processor 210 , the clock control module 230 , and/or the memory 270 to operate. The auxiliary processor 220 may be configured to perform a plurality of data processing functions. The auxiliary processor 220 may be configured to use less power than the main processor 210 or to be specialized for a specified function. For example, the auxiliary processor 220 may be configured to be specialized in an audio data processing function. The secondary processor 220 may be implemented separately from or as part of the main processor 210 . The coprocessor 220 may include a clock generator 240 , a core 250 , and/or a clock setting module 260 . In FIG. 2 , the auxiliary processor 220 is illustrated as including one core 250 , but is not limited thereto. For example, the auxiliary processor 220 may include a plurality of cores, and each core may operate independently of each other. For example, the coprocessor 220 periodically updates information including the operation of the core 250 , the clock control history of the clock generator 240 , and/or the clock setting information of the clock setting module 260 . may be transferred to the memory 270 . The memory 270 may transmit information received from the auxiliary processor 220 to the main processor 210 . The auxiliary processor 220 may identify a function to be performed by the electronic device, determine a clock value corresponding to the function, and generate a clock value through the clock generator 240 based on the determination. The core 250 may perform a plurality of audio data processing functions based on the clock value generated by the clock generator 240 . Specifically, the core 250 may perform an audio data processing function based on a clock input from the outside (eg, the clock generator 240 ). The auxiliary processor 220 may transmit information about second functions executed by the auxiliary processor 220 among a plurality of audio data processing functions to the clock control module 230 . For example, the clock setting module 260 may set the clock setting value of the electronic device by identifying the clock value transmitted from the clock generator 240 . The clock setting module 260 may control the operation of the core 250 based on a clock input from the outside (eg, the clock generator 240 ). The clock setting module (eg, a plurality of audio data processing functions) may include an echo canceling function, a noise canceling function, and/or a volume correction function according to a call type. The information on the second functions may include an execution state of the second functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function. The auxiliary processor 220 may receive a control signal from the clock control module 230 and release a clock setting based on the control signal. The auxiliary processor 220 is described as a device specialized in an audio data processing function, but is not limited thereto. For example, the auxiliary processor 220 may be a processor specialized in an image data processing function.
클록 제어 모듈(230)은 메인 프로세서(210) 및/또는 보조 프로세서(220)와 작동적으로(operatively) 연결될 수 있다. 클록 제어 모듈(230)은 보조 프로세서(220)와 물리적, 또는 전기적으로 연결(215b)될 수 있다. 클록 제어 모듈(230)은 메인 프로세서(210) 및 보조 프로세서(220)로부터 복수의 오디오 데이터 처리 기능들에 관한 정보를 수신할 수 있다. 클록 제어 모듈(230)은 상기 수신한 정보에 기반하여, 보조 프로세서(220)에 포함된 클록 발생기(240)에서 발생하는 동작 클록의 주파수를 제어할 수 있다. 예를 들어, 클록 제어 모듈(230)은 보조 프로세서(220)에서 수신한 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다. 예를 들어, 클록 제어 모듈(230)은 보조 프로세서(220) 및/또는 메모리(270)에 저장된 정보를 모니터링하여 주기적으로 최신화 할 수 있다. 클록 제어 모듈(230)은 최신화 한 정보를 기반으로 하여 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다. 클록 제어 모듈(230)은 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정한 후, 상기 결정에 기반하여 제어 신호를 생성하여 보조 프로세서(220)로 전송할 수 있다. 상기 제어 신호는, 예를 들어, 상기 복수의 오디오 데이터 처리 기능들 중 일부의 동작 종료 신호, 식별 정보, 실행 시점, 실행 종점, 및/또는 각 기능 별 클록 설정 값을 포함할 수 있다.The clock control module 230 may be operatively coupled to the main processor 210 and/or the auxiliary processor 220 . The clock control module 230 may be physically or electrically connected to the auxiliary processor 220 215b. The clock control module 230 may receive information about a plurality of audio data processing functions from the main processor 210 and the auxiliary processor 220 . The clock control module 230 may control the frequency of the operating clock generated by the clock generator 240 included in the auxiliary processor 220 based on the received information. For example, the clock control module 230 may determine to end execution of at least one of the second functions received from the coprocessor 220 . For example, the clock control module 230 may monitor and periodically update information stored in the coprocessor 220 and/or the memory 270 . The clock control module 230 may determine to terminate execution of at least one of the second functions based on the updated information. After determining to end execution of at least one of the second functions, the clock control module 230 may generate a control signal based on the determination and transmit the generated control signal to the auxiliary processor 220 . The control signal may include, for example, an operation end signal of some of the plurality of audio data processing functions, identification information, an execution time point, an execution end point, and/or a clock setting value for each function.
도 2에서, 메인 프로세서(210), 보조 프로세서(220), 클록 제어 모듈(230), 및/또는 메모리(270)을 각각 물리적으로 구분되는 것으로 도시하고 있으나 이에 제한되는 것은 아니다. 예를 들어, 위 구성 요소들은 하나의 칩 및/또는 하나의 모듈(202)로 구현될 수 있다.In FIG. 2 , the main processor 210 , the auxiliary processor 220 , the clock control module 230 , and/or the memory 270 are illustrated as being physically separated from each other, but the present invention is not limited thereto. For example, the above components may be implemented in one chip and/or one module 202 .
도 3은 다양한 실시 예들에 따른, 전자 장치가 제공하는 기능별 정보(300)를 도시한다.3 illustrates information 300 for each function provided by an electronic device according to various embodiments of the present disclosure.
일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))는 복수의 오디오 데이터 처리 기능을 제공할 수 있다. 복수의 오디오 데이터 처리 기능은 A 기능, B 기능, 및/또는 C 기능을 포함할 수 있다. 각 기능은 서로 다른 클록 값으로 작동할 수 있다. 예를 들어, A 기능은 20Mhz, B 기능은 100Mhz, 그리고 C 기능은 80Mhz의 클록 레이트를 이용하여 동작하도록 설정될 수 있다. 다르게 설명되지 않으면, 도 3에서 설명하고 있는 기능별 클록 값 및 클록 ID는 후술할 도 4에서도 동일하게 참조될 수 있다. According to an embodiment, the electronic device (eg, the electronic device 101 of FIG. 1 ) may provide a plurality of audio data processing functions. The plurality of audio data processing functions may include an A function, a B function, and/or a C function. Each function can operate with a different clock value. For example, function A may be set to operate using a clock rate of 20 Mhz, function B 100 Mhz, and function C 80 Mhz. Unless otherwise described, the clock value and clock ID for each function described in FIG. 3 may be the same referenced in FIG. 4 to be described later.
일 실시예에 따르면, 보조 프로세서(예: 도 2의 보조 프로세서(220))는 각 기능 별 클록 ID를 메모리(예: 도 2의 메모리(270))에 저장할 수 있다. 보조 프로세서는 메인 프로세서(예: 도 2의 메인 프로세서(210)) 및/또는 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))과 정보를 송수신 하는 과정에서, 각 기능에 대응하는 클록 ID를 기반으로 기능의 클록 설정 값, 실행 여부, 및/또는 종료 여부를 식별할 수 있다. 예를 들어, 클록 제어 모듈은 보조 프로세서로 제어 신호를 전송할 수 있고, 상기 제어 신호는 각 기능별 클록 설정 값 및/또는 클록 ID를 포함할 수 있다. 보조 프로세서는 제어 신호를 수신하고, 상기 제어 신호에 포함된 각 기능별 클록 설정 값 및/또는 클록 ID를 기반으로 클록 설정을 릴리즈(release)할 수 있다.According to an embodiment, the auxiliary processor (eg, the auxiliary processor 220 of FIG. 2 ) may store a clock ID for each function in a memory (eg, the memory 270 of FIG. 2 ). In the process of transmitting and receiving information with the main processor (eg, the main processor 210 of FIG. 2 ) and/or the clock control module (eg, the clock control module 230 of FIG. 2 ), the auxiliary processor includes a clock corresponding to each function. Based on the ID, it is possible to identify the clock setting value of the function, whether it is running, and/or whether it is terminated. For example, the clock control module may transmit a control signal to the coprocessor, and the control signal may include a clock setting value and/or a clock ID for each function. The coprocessor may receive the control signal and release the clock setting based on the clock setting value and/or the clock ID for each function included in the control signal.
도 3에 개시된 클록 설정 값 및 클록 ID 값은 예시적인 것으로서, 본 문서의 실시예들이 이에 제한하여 해석되는 것은 아니다. 예를 들어, 상기 값들은 전자 장치(예: 도 1의 전자 장치(101))의 설정이나 인터페이스(예: 도 1의 인터페이스(177))의 성능에 따라 달라질 수 있다. The clock setting value and clock ID value disclosed in FIG. 3 are exemplary, and embodiments of the present document are not to be construed as being limited thereto. For example, the values may vary according to a setting of an electronic device (eg, the electronic device 101 of FIG. 1 ) or performance of an interface (eg, the interface 177 of FIG. 1 ).
도 4는 다양한 실시 예들에 따른, 시간에 따라 변화하는 전자 장치의 클록 설정 값을 나타내는 표(400)를 도시한다.4 illustrates a table 400 indicating clock setting values of an electronic device that change with time, according to various embodiments of the present disclosure.
일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))가 제공하는 기능의 실행 여부에 따라 클록 설정 값이 달라질 수 있다. 도 4에 도시된 각 기능별 클록 값은 도 3에서 상술한 내용과 같이 참조될 수 있다.According to an embodiment, the clock setting value may vary depending on whether a function provided by the electronic device (eg, the electronic device 101 of FIG. 1 ) is executed. The clock value for each function shown in FIG. 4 may be referred to as described above in FIG. 3 .
도 4를 참조하여, 본 문서의 다양한 실시예에 따르면, 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 클록 설정 값을 기능 별로 구분하여 저장할 수 있고, 동작 중인 기능들 중 클록 값이 가장 큰 기능을 식별할 수 있다. 예를 들어, A 기능은 c1(예: 20Mhz), B 기능은 c2(예: 100Mhz), C 기능은 c3(예: 80Mhz)의 클록 값으로 동작하도록 설정될 수 있다. 각각의 기능에 연관된 클록의 값은 각각의 기능에 요구되는 동작 클록의 값일 수 있다. Referring to FIG. 4 , according to various embodiments of the present document, the clock control module (eg, the clock control module 230 of FIG. 2 ) may classify and store clock setting values for each function, and among the functions in operation, the clock The feature with the largest value can be identified. For example, the A function may be set to operate with a clock value of c1 (eg 20Mhz), the B function c2 (eg 100Mhz), and the C function c3 (eg 80Mhz). The value of the clock associated with each function may be the value of the operation clock required for each function.
시간 t0부터 t1에서, 전자 장치는 A 기능(401)을 제공할 수 있다. 이 때, B 기능 및 C 기능은 슬립 상태(sleep mode)일 수 있다. A 기능은 보조 프로세서에 포함된 코어(예: 도 2의 코어(250))에서 수행될 수 있다. 전자 장치는 A 기능(401)의 제공을 위하여 c1(예: 20Mhz)에 대응하는 클록 값을 필요로 할 수 있다. 상기 c1은 A 기능의 동작을 위한 클록 설정 값일 수 있다. 보조 프로세서는 위와 같은 동작 정보를 메모리(예: 도 2의 메모리(270))에 저장할 수 있다. 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 동작하고 있는 기능에 대응하는 정보를 모니터링하여 주기적으로 최신화 할 수 있다. 또한, 메인 프로세서(예: 도 2의 메인 프로세서(210))는 각 기능별 동작 정보를 클록 제어 모듈로 전송할 수도 있다. From time t0 to time t1 , the electronic device may provide the A function 401 . In this case, the B function and the C function may be in a sleep mode. Function A may be performed by a core included in the coprocessor (eg, the core 250 of FIG. 2 ). The electronic device may require a clock value corresponding to c1 (eg, 20 Mhz) to provide the A function 401 . The c1 may be a clock setting value for the operation of the A function. The coprocessor may store the above operation information in a memory (eg, the memory 270 of FIG. 2 ). The clock control module (eg, the clock control module 230 of FIG. 2 ) may monitor and periodically update information corresponding to the function being operated. Also, the main processor (eg, the main processor 210 of FIG. 2 ) may transmit operation information for each function to the clock control module.
시간 t1부터 t2에서, 전자 장치는 A 기능(401), B 기능(403), 및 C 기능(405)을 제공할 수 있다. 전자 장치는 각 기능에 대응하는 클록 값 중 최댓값인 c2(예: 100Mhz)에 대응하는 클록 값을 필요로 할 수 있다. 상기 c2는 B 기능의 동작을 위한 클록 설정 값일 수 있다. 보조 프로세서(예: 도 2의 보조 프로세서(220))는 위와 같은 동작 정보를 메모리(예: 도 2의 메모리(270))에 저장할 수 있다. 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 동작하고 있는 기능에 대응하는 정보를 모니터링하여 주기적으로 최신화 할 수 있다. 또한, 메인 프로세서(예: 도 2의 메인 프로세서(210))는 각 기능별 동작 정보를 클록 제어 모듈로 전송할 수도 있다. 클록 제어 모듈은 최신화 한 정보 및/또는 메인 프로세서로부터 수신한 정보를 기반으로 하여 A 기능(401) 및/또는 C 기능(405)이 동작하지 않는다고 판단된 경우, 상기 A 기능(401) 및/또는 C 기능(405)을 종료하도록 결정할 수 있다. 클록 제어 모듈은 종료를 결정한 후, 제어 신호를 생성하여 보조 프로세서로 전송할 수 있다. 상기 제어 신호는 A 기능(401) 및/또는 C 기능(405)의 동작을 종료하도록 하는 신호를 포함할 수 있다. 보조 프로세서는 수신한 상기 제어 신호에 기반하여 A 기능(401) 및/또는 C 기능(405)에 대응하는 클록 설정을 릴리즈할 수 있다.From time t1 to time t2 , the electronic device may provide the A function 401 , the B function 403 , and the C function 405 . The electronic device may require a clock value corresponding to c2 (eg, 100Mhz), which is the maximum value among clock values corresponding to each function. The c2 may be a clock setting value for the operation of the B function. The auxiliary processor (eg, the auxiliary processor 220 of FIG. 2 ) may store the above operation information in a memory (eg, the memory 270 of FIG. 2 ). The clock control module (eg, the clock control module 230 of FIG. 2 ) may monitor and periodically update information corresponding to the function being operated. Also, the main processor (eg, the main processor 210 of FIG. 2 ) may transmit operation information for each function to the clock control module. When the clock control module determines that the A function 401 and/or the C function 405 does not operate based on the updated information and/or the information received from the main processor, the A function 401 and/or the A function 401 and/or the Or it may decide to terminate the C function 405 . After determining the termination, the clock control module may generate a control signal and transmit it to the coprocessor. The control signal may include a signal for terminating the operation of the A function 401 and/or the C function 405 . The coprocessor may release the clock setting corresponding to the A function 401 and/or the C function 405 based on the received control signal.
시간 t2부터 t3에서, 전자 장치는 A 기능(401) 및 C 기능(405)을 제공할 수 있다. 전자 장치는 각 기능에 대응하는 클록 값 중 최댓값인 c3(예: 80Mhz)의 클록 값을 필요로 할 수 있다. 상기 c3은 C 기능의 동작을 위한 클록 설정 값일 수 있다. 보조 프로세서(예: 도 2의 보조 프로세서(220))는 위와 같은 동작 정보를 메모리(예: 도 2의 메모리(270))에 저장할 수 있다. 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 동작하고 있는 기능에 대응하는 정보를 모니터링하여 주기적으로 최신화 할 수 있다. 또한, 메인 프로세서(예: 도 2의 메인 프로세서(210))는 각 기능별 동작 정보를 클록 제어 모듈로 전송할 수도 있다. 시간 t2부터 t3에서, 전자 장치는 B 기능(403)의 제공을 중단할 수 있다. 클록 발생기(예: 도 2의 클록 발생기(240))는 B 기능(403)의 중단에 대응하여 c3에 대응하는 클록 값을 생성할 수 있다. 참조 번호 410을 참조하면, 클록 발생기는 c2에 대응하는 클록 값을 계속하여 생성할 수 있다. 즉, B 기능(403)에 해당하는 클록 설정의 릴리즈가 누락될 수 있다. 예를 들어, 보조 프로세서는 짧은 시간에 많은 신호를 수신하는 인터럽트 스톰(interrupt storm)의 영향으로, 클록 설정을 릴리즈하는 동작을 누락할 수 있다. 이 때, 클록 제어 모듈은 최신화 한 정보 및/또는 메인 프로세서로부터 수신한 정보를 기반으로 하여 B 기능(403)이 동작하지 않는다고 판단된 경우, B 기능(403)을 종료하도록 결정할 수 있다. 클록 제어 모듈은 종료를 결정한 후, 제어 신호를 생성하여 보조 프로세서로 전송할 수 있다. 상기 제어 신호는 B 기능(403)의 동작을 종료하도록 하는 신호를 포함할 수 있다. 보조 프로세서는 수신한 상기 제어 신호에 기반하여 B 기능(403)에 대응하는 클록 설정을 릴리즈할 수 있다.From time t2 to time t3 , the electronic device may provide the A function 401 and the C function 405 . The electronic device may require a clock value of c3 (eg, 80Mhz), which is the maximum value among clock values corresponding to each function. The c3 may be a clock setting value for the operation of the C function. The auxiliary processor (eg, the auxiliary processor 220 of FIG. 2 ) may store the above operation information in a memory (eg, the memory 270 of FIG. 2 ). The clock control module (eg, the clock control module 230 of FIG. 2 ) may monitor and periodically update information corresponding to the function being operated. Also, the main processor (eg, the main processor 210 of FIG. 2 ) may transmit operation information for each function to the clock control module. From time t2 to time t3 , the electronic device may stop providing the B function 403 . A clock generator (eg, clock generator 240 of FIG. 2 ) may generate a clock value corresponding to c3 in response to interruption of function B 403 . Referring to reference numeral 410, the clock generator may continuously generate a clock value corresponding to c2. That is, the release of the clock setting corresponding to the B function 403 may be omitted. For example, a coprocessor may miss the action of releasing a clock setting under the influence of an interrupt storm that receives many signals in a short time. At this time, when it is determined that the B function 403 does not operate based on the updated information and/or the information received from the main processor, the clock control module may determine to terminate the B function 403 . After determining the termination, the clock control module may generate a control signal and transmit it to the coprocessor. The control signal may include a signal for terminating the operation of the B function 403 . The coprocessor may release the clock setting corresponding to the B function 403 based on the received control signal.
도 4에서, 클록 제어 모듈의 동작은 지정된 기능에 대응하는 클록 설정을 릴리즈 하는 것으로 정의되었으나, 이에 한정되는 것은 아니다. 예를 들어, 보조 프로세서는 짧은 시간에 많은 신호를 수신하는 인터럽트 스톰의 영향으로, 지정된 기능들을 실행하도록 제어하는 동작을 누락할 수 있다. 지정된 기능들을 실행하도록 제어하는 동작은 지정된 기능들(예: 영상 출력 및/또는 복수의 효과음 출력)을 수행하도록 하기 위해, 지정된 기능들에 대응하는 클록 설정 값을 인가하는 동작을 포함할 수 있다. 클록 제어 모듈은 상술한 바와 같이 클록 설정의 릴리즈가 누락된 기능을 종료하도록 하는 신호를 생성하여 보조 프로세서로 전송하거나, 실행 명령이 누락된 기능을 실행하도록 하는 신호를 생성하여 보조 프로세서로 전송할 수 있다. In FIG. 4 , the operation of the clock control module is defined as releasing a clock setting corresponding to a specified function, but is not limited thereto. For example, under the influence of an interrupt storm that receives a large number of signals in a short time, the coprocessor may omit the operation of controlling the execution of specified functions. The operation of controlling the execution of the specified functions may include an operation of applying a clock setting value corresponding to the specified functions to perform the specified functions (eg, outputting an image and/or outputting a plurality of sound effects). As described above, the clock control module may generate and transmit a signal for causing the release of the clock setting to terminate the missing function and transmit it to the coprocessor, or generate and transmit a signal for causing the execution instruction to execute the missing function to the coprocessor. .
본 문서에서 사용된 클록 값(예: 20Mhz, 80Mhz, 100Mhz)은 전자 장치(예: 도 1의 전자 장치(101))의 설정이나 인터페이스(예: 도 1의 인터페이스(177))의 성능에 따라 달라질 수 있다.Clock values (eg, 20Mhz, 80Mhz, 100Mhz) used in this document may vary depending on the settings of the electronic device (eg, the electronic device 101 of FIG. 1 ) or the performance of the interface (eg, the interface 177 of FIG. 1 ). may vary.
도 5는 다양한 실시 예들에 따른, 전자 장치의 동작 흐름도(500)를 도시한다.5 is a flowchart illustrating an operation of an electronic device 500 according to various embodiments of the present disclosure.
도 5를 참조하여, 동작 505에서, 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 메인 프로세서(예: 도 2의 메인 프로세서(210))로부터 제1 기능들에 관한 정보를 수신할 수 있다. 예를 들어, 제1 기능들은 전자 장치가 제공하는 복수의 오디오 데이터 처리 기능들 중 상기 메인 프로세서의 동작과 연관된 기능일 수 있다.Referring to FIG. 5 , in operation 505 , the clock control module (eg, the clock control module 230 of FIG. 2 ) receives information about first functions from the main processor (eg, the main processor 210 of FIG. 2 ). can receive For example, the first functions may be functions related to the operation of the main processor among a plurality of audio data processing functions provided by the electronic device.
동작 510에서, 클록 제어 모듈은 보조 프로세서(예: 도 2의 보조 프로세서(220))로부터 제2 기능들에 관한 정보를 수신할 수 있다. 예를 들어, 제2 기능들은 전자 장치가 제공하는 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 기능일 수 있다.In operation 510 , the clock control module may receive information about the second functions from the auxiliary processor (eg, the auxiliary processor 220 of FIG. 2 ). For example, the second functions may be functions executed by the auxiliary processor among a plurality of audio data processing functions provided by the electronic device.
일 실시예에 따르면, 동작 505 및 동작 510에서 클록 제어 모듈이 수신하는 정보는, 상기 복수의 오디오 데이터 처리 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 및/또는 각 기능 별 클록 설정 값을 포함할 수 있다.According to an embodiment, the information received by the clock control module in operations 505 and 510 may include an execution state, identification information, execution time, execution end point, and/or clock setting value for each function of the plurality of audio data processing functions. may include.
동작 515에서, 클록 제어 모듈은 메인 프로세서 및 보조 프로세서로부터 수신한 정보에 기반하여 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다. 또한, 클록 제어 모듈은 보조 프로세서에서 실행 중인 상기 제2 기능들에 관한 정보를 모니터링하여 주기적으로 최신화 할 수 있다. 최신화 한 정보를 기반으로 하여 실행을 종료할 기능을 결정할 수 있다.In operation 515 , the clock control module may determine to end execution of at least one of the second functions based on information received from the main processor and the auxiliary processor. In addition, the clock control module may periodically update the information about the second functions being executed in the coprocessor by monitoring. Based on the updated information, it can decide which function to terminate execution of.
도 6는 다양한 실시 예들에 따른, 전자 장치의 동작 흐름도(600)를 도시한다.6 illustrates a flowchart 600 of an operation of an electronic device according to various embodiments of the present disclosure.
도 6을 참조하여, 동작 605에서, 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))은 전자 장치(예: 도 2의 전자 장치(201))가 제공하는 기능(예: 복수의 오디오 데이터 처리 기능)을 수행하는 동작과 연관된 정보를 주기적으로 최신화 할 수 있다. 예를 들어, 클록 제어 모듈은 메모리(예: 도 2의 메모리(270))에 저장된 정보를 모니터링 할 수 있다. 상기 정보는 코어(250)의 동작, 클록 발생기(240)의 클록 제어 히스토리, 및/또는 클록 셋팅 모듈(260)의 클록 셋팅 정보 등을 포함할 수 있다. 상기 메모리에 저장된 정보는 메인 프로세서(예: 도 2의 메인 프로세서(210)) 및/또는 보조 프로세서로부터 전송된 정보일 수 있다. 다른 예를 들어, 클록 제어 모듈은 메인 프로세서로부터 상기 전자 장치의 동작과 관련된 정보를 수신할 수 있다. 예를 들어, 상기 정보는 복수의 오디오 데이터 처리 기능들의 실행 상태, 식별 정보, 실행 시점, 및 각 기능 별 클록 설정 값을 포함할 수 있다.Referring to FIG. 6 , in operation 605 , the clock control module (eg, the clock control module 230 of FIG. 2 ) provides a function (eg, a plurality of The information related to the operation of performing the audio data processing function) can be updated periodically. For example, the clock control module may monitor information stored in a memory (eg, the memory 270 of FIG. 2 ). The information may include an operation of the core 250 , a clock control history of the clock generator 240 , and/or clock setting information of the clock setting module 260 . The information stored in the memory may be information transmitted from a main processor (eg, the main processor 210 of FIG. 2 ) and/or an auxiliary processor. As another example, the clock control module may receive information related to the operation of the electronic device from the main processor. For example, the information may include execution states of a plurality of audio data processing functions, identification information, execution time points, and clock setting values for each function.
동작 610에서, 클록 제어 모듈은 주기적으로 최신화 한 상기 정보를 기반으로 제어 신호를 생성할 수 있다. 예를 들어, 상기 제어 신호는 복수의 오디오 데이터 처리 기능들 중 일부의 동작을 종료하도록 하는 신호를 포함할 수 있다. 상기 복수의 오디오 데이터 처리 기능들은 에코 캔슬링, 노이즈 캔슬링, 및/또는 통화 형태에 따른 음량 보정 기능을 포함할 수 있다.In operation 610, the clock control module may generate a control signal based on the periodically updated information. For example, the control signal may include a signal for terminating the operation of some of the plurality of audio data processing functions. The plurality of audio data processing functions may include echo cancellation, noise cancellation, and/or a volume correction function according to a call type.
동작 615에서, 클록 제어 모듈은 상기 제어 신호를 보조 프로세서로 전송할 수 있다. 클록 제어 모듈은 상기 제어 신호를 전송함으로써 보조 프로세서로 하여금 상기 제어 신호에 포함된 적어도 하나의 기능에 대응하는 클록 설정을 릴리즈하도록 할 수 있다.In operation 615 , the clock control module may transmit the control signal to the coprocessor. The clock control module may transmit the control signal to cause the coprocessor to release a clock setting corresponding to at least one function included in the control signal.
동작 620에서, 클록 제어 모듈은 보조 프로세서의 제어 신호 수신 여부 및 전자 장치의 각 기능 별 동작 여부를 계속하여 모니터링 할 수 있다.In operation 620, the clock control module may continuously monitor whether the control signal of the auxiliary processor is received and whether the electronic device operates for each function.
본 문서의 다양한 실시예에 따르면, 클록 제어 모듈이 종료할 것으로 결정한 기능에 대하여, 전자 장치는 메인 프로세서를 이용하여 상기 기능을 슬립(sleep) 모드로 진입하도록 하는 추가적인 제어를 수행할 수 있다.According to various embodiments of the present disclosure, with respect to a function determined by the clock control module to be terminated, the electronic device may perform additional control to put the function into a sleep mode using the main processor.
다양한 실시예들에 따르면, 전자 장치(예: 도 2의 전자 장치(201))는 메인 프로세서(예: 도 2의 메인 프로세서(210)), 복수의 오디오 데이터 처리 기능들을 수행하도록 설정되는 보조 프로세서(예: 도 2의 보조 프로세서(220)), 및 상기 메인 프로세서 및 상기 보조 프로세서와 작동적으로(operatively) 연결된 클록 제어 모듈(예: 도 2의 클록 제어 모듈(230))을 포함할 수 있다.According to various embodiments, the electronic device (eg, the electronic device 201 of FIG. 2 ) includes a main processor (eg, the main processor 210 of FIG. 2 ) and an auxiliary processor configured to perform a plurality of audio data processing functions (eg, the auxiliary processor 220 of FIG. 2 ), and a clock control module (eg, the clock control module 230 of FIG. 2 ) operatively connected to the main processor and the auxiliary processor. .
일 실시예에 따르면, 상기 메인 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고, 상기 보조 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고, 상기 클록 제어 모듈은 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다.According to an embodiment, the main processor transmits information about first functions related to the operation of the main processor among the plurality of audio data processing functions to the clock control module, and the auxiliary processor is configured to: transmits information about second functions executed by the auxiliary processor among data processing functions to the clock control module, wherein the clock control module is configured to transmit the first functions and the second functions received from the main processor and the auxiliary processor It may be determined to terminate execution of at least one of the second functions based on the information about the two functions.
일 실시예에 따르면, 상기 제1 기능들 및 상기 제2 기능들에 관한 정보는 상기 복수의 오디오 데이터 처리 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 및 각 기능 별 클록 설정 값을 포함할 수 있다.According to an embodiment, the information about the first functions and the second functions includes an execution state of the plurality of audio data processing functions, identification information, an execution time point, an execution end point, and a clock setting value for each function can do.
일 실시예에 따르면, 상기 전자 장치는 메모리(예: 도 2의 메모리(270))를 포함하고, 상기 보조 프로세서에서 실행 중인 상기 제2 기능들에 관한 정보를 상기 메모리에 저장하고, 상기 클록 제어 모듈은 상기 메모리에 저장된 정보를 모니터링하여 주기적으로 최신화 하여, 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정할 수 있다.According to an embodiment, the electronic device includes a memory (eg, the memory 270 of FIG. 2 ), stores information about the second functions being executed by the coprocessor in the memory, and controls the clock The module may determine to terminate execution of at least one of the second functions by monitoring and periodically updating the information stored in the memory.
일 실시예에 따르면, 상기 클록 제어 모듈은 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정한 후, 상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하도록 설정될 수 있다.According to an embodiment, the clock control module may be configured to, after determining to end execution of at least one of the second functions, generate a control signal based on the determination, and send the control signal to the coprocessor. can
일 실시예에 따르면, 상기 제어 신호는 상기 복수의 오디오 데이터 처리 기능들 중 일부의 동작 종료 신호를 포함하고, 상기 보조 프로세서는 수신한 상기 제어 신호에 기반하여 상기 제2 기능들 중 적어도 하나에 대응하는 클록 설정을 릴리즈하도록 설정될 수 있다.According to an embodiment, the control signal includes an operation end signal of some of the plurality of audio data processing functions, and the auxiliary processor corresponds to at least one of the second functions based on the received control signal. can be set to release the clock setting.
일 실시예에 따르면, 상기 보조 프로세서는 적어도 하나의 코어(예: 도 2의 코어(250))를 포함하고, 상기 적어도 하나의 코어는 서로 독립적으로 작동하며, 상기 보조 프로세서에서 수행하도록 설정된 복수의 오디오 데이터 처리 기능들을 제어할 수 있다.According to an embodiment, the coprocessor includes at least one core (eg, the core 250 of FIG. 2 ), the at least one core operates independently of each other, and a plurality of coprocessors configured to be executed Audio data processing functions can be controlled.
일 실시예에 따르면, 상기 복수의 오디오 데이터 처리 기능들은 에코 캔슬링, 노이즈 캔슬링, 및 통화 형태에 따른 음량 보정 기능을 포함할 수 있다.According to an embodiment, the plurality of audio data processing functions may include echo cancellation, noise cancellation, and a volume correction function according to a call type.
다양한 실시예들에 따르면, 전자 장치가 클록 설정을 제어하는 방법은, 메인 프로세서가 상기 전자 장치에 포함된 보조 프로세서에서 수행하는 복수의 오디오 데이터 처리 기능들 중 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 클록 제어 모듈로 전송하는 동작, 상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작, 및 상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, in a method for an electronic device to control a clock setting, first functions related to an operation of the main processor among a plurality of audio data processing functions performed by a main processor in an auxiliary processor included in the electronic device transmitting, by the coprocessor, information about second functions executed by the coprocessor among the plurality of audio data processing functions to the clock control module, to the clock control module, and determining, by a clock control module, to terminate execution of at least one of the second functions based on information about the first functions and the second functions received from the main processor and the auxiliary processor can
일 실시예에 따르면, 상기 보조 프로세서는 메모리를 포함하고, 상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작은, 상기 보조 프로세서에서 실행 중인 상기 제2 기능들에 관한 정보를 상기 메모리에 저장하는 동작을 더 포함하고, 상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작은, 상기 클록 제어 모듈은 상기 메모리에 저장된 정보를 모니터링하여 주기적으로 최신화 하여, 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작을 더 포함하는 것을 특징으로 할 수 있다.According to an embodiment, the coprocessor includes a memory, and the coprocessor transmits, to the clock control module, information about second functions executed in the coprocessor among the plurality of audio data processing functions. further comprising the operation of storing information about the second functions being executed by the coprocessor in the memory, wherein the clock control module receives the first functions received from the main processor and the subprocessor and the The determining to terminate the execution of at least one of the second functions based on the information on the second functions includes: the clock control module monitors information stored in the memory and periodically updates the information stored in the memory, The method may further include determining to end execution of at least one of the functions.
일 실시예에 따르면, 상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작은, 상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하는 동작을 더 포함하는 것을 특징으로 할 수 있다.According to an embodiment, the clock control module terminates execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor The determining to be performed may further include generating a control signal based on the determination and transmitting the control signal to the coprocessor.
일 실시예에 따르면, 상기 제어 신호는 상기 복수의 오디오 데이터 처리 기능들 중 일부의 동작 종료 신호를 포함하고, 상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하는 동작은, 상기 보조 프로세서가 수신한 상기 제어 신호에 기반하여 상기 제2 기능들에 대응하는 클록 설정을 release하는 동작; 을 더 포함하는 것을 특징으로 할 수 있다.According to an embodiment, the control signal includes an operation end signal of some of the plurality of audio data processing functions, generating a control signal based on the determination, and transmitting the control signal to the coprocessor is an operation of releasing clock settings corresponding to the second functions based on the control signal received by the coprocessor; It may be characterized in that it further comprises.
일 실시예에 따르면, 상기 보조 프로세서는 적어도 하나의 코어를 포함하고, 상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작은, 상기 보조 프로세서 내의 상기 적어도 하나의 코어가 서로 독립적으로 작동하며, 상기 보조 프로세서에서 수행하도록 설정된 복수의 오디오 데이터 처리 기능들을 제어하는 동작을 더 포함하는 것을 특징으로 할 수 있다.According to an embodiment, the coprocessor includes at least one core, and the coprocessor transmits information about second functions executed in the coprocessor among the plurality of audio data processing functions to the clock control module. The transmitting may further include the operation of the at least one core in the coprocessor operating independently of each other and controlling a plurality of audio data processing functions set to be performed by the coprocessor.
한편, 상술한 본 문서의 다양한 실시예들에 따른 클록 제어 방법은 비일시적 판독 가능 매체(non-transitory readable medium)에 저장될 수 있다. 이러한 비일시적 판독 가능 매체는 다양한 장치에 탑재되어 사용될 수 있다.Meanwhile, the above-described clock control method according to various embodiments of the present document may be stored in a non-transitory readable medium. Such a non-transitory readable medium may be mounted and used in various devices.
여기서 비일시적 판독 가능 기록 매체란, 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라, 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체 적으로, 상술한 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리 카드, ROM 등과 같은 비일시적 판독 가능 기록 매체에 저장되어 제공될 수 있다.Here, the non-transitory readable recording medium refers to a medium that stores data semi-permanently and can be read by a device, rather than a medium that stores data for a short moment, such as a register, cache, memory, or the like. Specifically, the above-described programs may be provided by being stored in a non-transitory readable recording medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, and the like.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    메인 프로세서;main processor;
    복수의 오디오 데이터 처리 기능들을 수행하도록 설정되는 보조 프로세서; 및a coprocessor configured to perform a plurality of audio data processing functions; and
    상기 메인 프로세서 및 상기 보조 프로세서와 작동적으로(operatively) 연결된 클록 제어 모듈; 을 포함하고,a clock control module operatively coupled to the main processor and the auxiliary processor; including,
    상기 메인 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고,the main processor transmits information about first functions related to the operation of the main processor among the plurality of audio data processing functions to the clock control module;
    상기 보조 프로세서는 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하고,the coprocessor transmits information about second functions executed in the coprocessor among the plurality of audio data processing functions to the clock control module;
    상기 클록 제어 모듈은 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는, 전자 장치.The clock control module determines to end execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor .
  2. 청구항 1에 있어서,The method according to claim 1,
    상기 제1 기능들 및 상기 제2 기능들에 관한 정보는 상기 복수의 오디오 데이터 처리 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 또는 각 기능 별 클록 설정 값 중 적어도 하나를 포함하는, 전자 장치.The information on the first functions and the second functions includes at least one of an execution state, identification information, execution time, execution end point, or clock setting value for each function of the plurality of audio data processing functions; Device.
  3. 청구항 1에 있어서,The method according to claim 1,
    상기 전자 장치는 메모리; 를 포함하고,The electronic device may include a memory; including,
    상기 보조 프로세서에서 실행 중인 상기 제2 기능들에 관한 정보를 상기 메모리에 저장하고, store information about the second functions being executed in the coprocessor in the memory;
    상기 클록 제어 모듈은 상기 메모리에 저장된 정보를 모니터링하여 주기적으로 최신화 하여, 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는, 전자 장치.and the clock control module monitors and periodically updates information stored in the memory, and determines to terminate execution of at least one of the second functions.
  4. 청구항 1에 있어서,The method according to claim 1,
    상기 클록 제어 모듈은 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정한 후, 상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하도록 설정된, 전자 장치.and the clock control module is configured to, after determining to end execution of at least one of the second functions, generate a control signal based on the determination, and send the control signal to the coprocessor.
  5. 청구항 4에 있어서, 5. The method according to claim 4,
    상기 제어 신호는 상기 복수의 오디오 데이터 처리 기능들 중 일부의 동작 종료 신호를 포함하고,The control signal includes an operation end signal of some of the plurality of audio data processing functions,
    상기 보조 프로세서는 수신한 상기 제어 신호에 기반하여, 종료하기로 결정한 상기 제2 기능들 중 적어도 하나에 대응하는 클록 설정을 릴리즈하도록 설정된, 전자 장치.and the coprocessor is configured to release a clock setting corresponding to at least one of the second functions determined to be terminated based on the received control signal.
  6. 청구항 1에 있어서,The method according to claim 1,
    상기 보조 프로세서는 적어도 하나의 코어;를 포함하고,The coprocessor includes at least one core;
    상기 적어도 하나의 코어는 상기 보조 프로세서에서 수행하도록 설정된 복수의 오디오 데이터 처리 기능들을 제어하는, 전자 장치.The at least one core controls a plurality of audio data processing functions set to be performed by the coprocessor.
  7. 청구항 1에 있어서,The method according to claim 1,
    상기 복수의 오디오 데이터 처리 기능들은 에코 캔슬링, 노이즈 캔슬링, 또는 통화 형태에 따른 음량 보정 기능 중 적어도 하나를 포함하는, 전자 장치.The plurality of audio data processing functions include at least one of echo cancellation, noise cancellation, and a volume correction function according to a call type.
  8. 전자 장치가 클록 제어 기능을 제공하기 위한 방법으로서,A method for an electronic device to provide a clock control function, comprising:
    메인 프로세서가 상기 전자 장치에 포함된 보조 프로세서에서 수행하는 복수의 오디오 데이터 처리 기능들 중 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 클록 제어 모듈로 전송하는 동작;transmitting, by the main processor, information on first functions related to the operation of the main processor among a plurality of audio data processing functions performed by the auxiliary processor included in the electronic device to the clock control module;
    상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작; 및transmitting, by the co-processor, information on second functions executed by the co-processor among the plurality of audio data processing functions to the clock control module; and
    상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작; 을 포함하는, 방법.determining, by the clock control module, to terminate execution of at least one of the second functions based on information about the first functions and the second functions received from the main processor and the auxiliary processor; A method comprising
  9. 청구항 8에 있어서,9. The method of claim 8,
    상기 제1 기능들 및 상기 제2 기능들에 관한 정보는 상기 복수의 오디오 데이터 처리 기능들의 실행 상태, 식별 정보, 실행 시점, 실행 종점, 또는 각 기능 별 클록 설정 값 중 적어도 하나를 포함하는, 방법.The information on the first functions and the second functions includes at least one of an execution state, identification information, execution time, execution end point, or clock setting value for each function of the plurality of audio data processing functions. .
  10. 청구항 8에 있어서,9. The method of claim 8,
    상기 전자 장치는 메모리; 를 포함하고,The electronic device may include a memory; including,
    상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작은,Transmitting, by the co-processor, information about second functions executed by the co-processor among the plurality of audio data processing functions to the clock control module,
    상기 보조 프로세서에서 실행 중인 상기 제2 기능들에 관한 정보를 상기 메모리에 저장하는 동작; 을 더 포함하고,storing information about the second functions being executed by the coprocessor in the memory; further comprising,
    상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작은,Determining, by the clock control module, to terminate execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor,
    상기 클록 제어 모듈은 상기 메모리에 저장된 정보를 모니터링하여 주기적으로 최신화 하여, 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작; 을 더 포함하는 것을 특징으로 하는, 방법.determining, by the clock control module, to terminate execution of at least one of the second functions by periodically updating the information stored in the memory; The method, characterized in that it further comprises.
  11. 청구항 8에 있어서,9. The method of claim 8,
    상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작은,Determining, by the clock control module, to terminate execution of at least one of the second functions based on the information about the first functions and the second functions received from the main processor and the auxiliary processor,
    상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하는 동작; 을 더 포함하는 것을 특징으로 하는, 방법.generating a control signal based on the determination and transmitting the control signal to the coprocessor; The method, characterized in that it further comprises.
  12. 청구항 11에 있어서, 12. The method of claim 11,
    상기 제어 신호는 상기 복수의 오디오 데이터 처리 기능들 중 일부의 동작 종료 신호를 포함하고,The control signal includes an operation end signal of some of the plurality of audio data processing functions,
    상기 결정에 기반하여 제어 신호를 생성하고, 상기 제어 신호를 상기 보조 프로세서로 전송하는 동작은,The operation of generating a control signal based on the determination and transmitting the control signal to the coprocessor comprises:
    상기 보조 프로세서가 수신한 상기 제어 신호에 기반하여 상기 제2 기능들에 대응하는 클록 설정을 릴리즈하는 동작; 을 더 포함하는 것을 특징으로 하는, 방법.releasing clock settings corresponding to the second functions based on the control signal received by the coprocessor; The method, characterized in that it further comprises.
  13. 청구항 8에 있어서,9. The method of claim 8,
    상기 보조 프로세서는 적어도 하나의 코어;를 포함하고,The coprocessor includes at least one core;
    상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작은,Transmitting, by the co-processor, information about second functions executed by the co-processor among the plurality of audio data processing functions to the clock control module,
    상기 보조 프로세서 내의 상기 적어도 하나의 코어가 서로 독립적으로 작동하며, 상기 보조 프로세서에서 수행하도록 설정된 복수의 오디오 데이터 처리 기능들을 제어하는 동작; 을 더 포함하는 것을 특징으로 하는, 방법.the at least one core in the coprocessor operates independently of each other and controls a plurality of audio data processing functions set to be performed by the coprocessor; The method, characterized in that it further comprises.
  14. 청구항 8에 있어서,9. The method of claim 8,
    상기 복수의 오디오 데이터 처리 기능들은 에코 캔슬링, 노이즈 캔슬링, 또는 통화 형태에 따른 음량 보정 기능 중 적어도 하나를 포함하는, 방법.The method of claim 1, wherein the plurality of audio data processing functions include at least one of an echo cancellation function, a noise cancellation function, or a volume correction function according to a call type.
  15. 전자 장치가 클록 제어 기능을 제공하기 위한 방법을 실행하기 위한 프로그램을 포함하는 컴퓨터 판독 가능 기록 매체에 있어서,A computer-readable recording medium comprising a program for executing a method for an electronic device to provide a clock control function,
    상기 전자 장치가 클록 설정을 릴리즈하는 방법은,The method for the electronic device to release a clock setting comprises:
    메인 프로세서가 전자 장치에 포함된 보조 프로세서에서 수행하는 복수의 오디오 데이터 처리 기능들 중 복수의 오디오 데이터 처리 기능들 중 메인 프로세서의 동작과 연관된 제1 기능들에 관한 정보를 클록 제어 모듈로 전송하는 동작;Transmitting, by the main processor, information on first functions related to the operation of the main processor among the plurality of audio data processing functions performed by the auxiliary processor included in the electronic device to the clock control module ;
    상기 보조 프로세서가 상기 복수의 오디오 데이터 처리 기능들 중 상기 보조 프로세서에서 실행되는 제2 기능들에 관한 정보를 상기 클록 제어 모듈로 전송하는 동작; 및transmitting, by the co-processor, information on second functions executed by the co-processor among the plurality of audio data processing functions to the clock control module; and
    상기 클록 제어 모듈이 상기 메인 프로세서 및 상기 보조 프로세서로부터 수신한 상기 제1 기능들 및 상기 제2 기능들에 관한 정보에 기반하여 상기 제2 기능들 중 적어도 하나의 실행을 종료하도록 결정하는 동작; 을 포함하는, 컴퓨터 판독 가능 기록 매체.determining, by the clock control module, to terminate execution of at least one of the second functions based on information about the first functions and the second functions received from the main processor and the auxiliary processor; A computer-readable recording medium comprising a.
PCT/KR2021/004538 2020-04-28 2021-04-12 Clock control method and electronic device therefor WO2021221348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0051284 2020-04-28
KR1020200051284A KR20210132862A (en) 2020-04-28 2020-04-28 Method for controlling clock and elecronic device therefor

Publications (1)

Publication Number Publication Date
WO2021221348A1 true WO2021221348A1 (en) 2021-11-04

Family

ID=78373651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/004538 WO2021221348A1 (en) 2020-04-28 2021-04-12 Clock control method and electronic device therefor

Country Status (2)

Country Link
KR (1) KR20210132862A (en)
WO (1) WO2021221348A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060041632A (en) * 2004-02-04 2006-05-12 샤프 가부시키가이샤 Ic card with built-in coprocessor for auxiliary arithmetic, and control method thereof
KR20070061795A (en) * 2005-04-12 2007-06-14 각코호진 와세다다이가쿠 Multiprocessor system and multigrain parallelizing compiler
US20090313629A1 (en) * 2008-06-17 2009-12-17 Nec Electronics Corporation Task processing system and task processing method
KR101208882B1 (en) * 2008-08-04 2012-12-05 애플 인크. Media processing method and device
KR20160001964A (en) * 2014-06-30 2016-01-07 삼성전자주식회사 Operating Method For Microphones and Electronic Device supporting the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060041632A (en) * 2004-02-04 2006-05-12 샤프 가부시키가이샤 Ic card with built-in coprocessor for auxiliary arithmetic, and control method thereof
KR20070061795A (en) * 2005-04-12 2007-06-14 각코호진 와세다다이가쿠 Multiprocessor system and multigrain parallelizing compiler
US20090313629A1 (en) * 2008-06-17 2009-12-17 Nec Electronics Corporation Task processing system and task processing method
KR101208882B1 (en) * 2008-08-04 2012-12-05 애플 인크. Media processing method and device
KR20160001964A (en) * 2014-06-30 2016-01-07 삼성전자주식회사 Operating Method For Microphones and Electronic Device supporting the same

Also Published As

Publication number Publication date
KR20210132862A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
WO2019240543A1 (en) Electronic device including flexible printed circuit board adjacent to antenna
WO2020166894A1 (en) Electronic device and method for recommending word in same
WO2021033965A1 (en) Electronic device for power management, and operation method therefor
WO2021054594A1 (en) Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
WO2020189906A1 (en) Electronic device for controlling external conversion device
WO2020153817A1 (en) Method for controlling display and electronic device thereof
WO2019059670A1 (en) Method for performing communication with external electronic device using resonant frequency modified according to proximity of external object, and electronic device supporting same
WO2022086207A1 (en) Fast charging method and electronic device
WO2021107577A1 (en) Electronic device for supporting to control auto brightness of display
WO2021010732A1 (en) Electronic device for outputting audio through usb port and method thereof
WO2021020711A1 (en) Electronic device for predicting defect and method for controlling the electronic device
WO2020050581A1 (en) Input/output terminal and electronic device comprising same
WO2020138909A1 (en) Content sharing method and electronic device therefor
WO2020060124A1 (en) Electronic device for filtering packet and method for operating same
WO2020106091A1 (en) Electronic device changing identification information based on state information and another electronic device identifying identification information
WO2020040413A1 (en) Electronic device having key assembly comprising pressure sensor, and operating method therefor
WO2019151619A1 (en) Electronic device in which tray for loading sim card is inserted, and control method therefor
WO2021221348A1 (en) Clock control method and electronic device therefor
WO2021172893A1 (en) Method and device for echo canceling
WO2020204451A1 (en) Method for keyless reset, and electronic device therefor
WO2021091093A1 (en) Power path control method and electronic apparatus supporting same
WO2021162439A1 (en) Electronic device performing restoration on basis of comparison of constant value and control method thereof
WO2020213858A1 (en) Electronic device, audio-purpose external electronic device, and method of receiving signal by electronic device connected with audio-purpose external electronic device
WO2021060722A1 (en) Electronic device and method for controlling reset of control ic
WO2021162388A1 (en) Electronic device including storage, and method for transmitting discard command of file system to storage by using same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21796492

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21796492

Country of ref document: EP

Kind code of ref document: A1