WO2022025526A1 - Method for providing input data and electronic device supporting same - Google Patents

Method for providing input data and electronic device supporting same Download PDF

Info

Publication number
WO2022025526A1
WO2022025526A1 PCT/KR2021/009509 KR2021009509W WO2022025526A1 WO 2022025526 A1 WO2022025526 A1 WO 2022025526A1 KR 2021009509 W KR2021009509 W KR 2021009509W WO 2022025526 A1 WO2022025526 A1 WO 2022025526A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
input
processor
external
state
Prior art date
Application number
PCT/KR2021/009509
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 WO2022025526A1 publication Critical patent/WO2022025526A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • 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/3293Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • Various embodiments of the present disclosure relate to a method of providing input data and an electronic device supporting the same.
  • the electronic device may not only display input data input through the input device through the display device of the electronic device, but may also operate as an input device for an external electronic device connected to the electronic device. For example, the electronic device may transmit the input data to the external electronic device so that the external electronic device displays the input data input through the input device.
  • the electronic device may operate as an input device for an external electronic device while the system (eg, an application processor) is activated, but may not operate as an input device for the external electronic device when the system is deactivated.
  • system eg. an application processor
  • Various embodiments of the present invention provide a method for providing input data, which can provide input data input through an input device to an external electronic device while a system is in an inactive state (or with low power), and an electronic device supporting the same It's about the device.
  • An electronic device includes an input module, a communication module, a main processor, and at least one auxiliary processor operably connected to the input module, the communication module, and the main processor and the at least one auxiliary processor receives a first input through the input module, checks whether the first input is an input for switching an external input mode, and determines whether the first input is an input for switching the external input mode Controls the main processor to be in an inactive state based on confirming that it is an input for may be configured to transmit to an electronic device.
  • a method of providing input data in an electronic device includes the steps of: receiving, by at least one coprocessor of the electronic device, a first input through an input module of the electronic device; checking, by one sub-processor, whether the first input is an input for switching the external input mode, and confirming, by the at least one sub-processor, that the first input is an input for switching the external input mode an operation of controlling the main processor of the electronic device to be in an inactive state based on the It may include an operation of transmitting to an external electronic device connected to the electronic device through communication.
  • a method for providing input data and an electronic device supporting the same provide input data input through an input device to an external electronic device while a system is in an inactive state (or at low power) can do.
  • 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 an electronic device according to various embodiments of the present disclosure
  • FIG. 3 is a block diagram illustrating an electronic device including a coprocessor in which a first coprocessor and a second coprocessor are integrated, according to various embodiments of the present disclosure
  • FIG. 4 is an overall flowchart illustrating a method of providing input data, according to various embodiments.
  • FIG. 5 is a flowchart illustrating a method of operating in an external input mode based on an input for changing a power state, according to various embodiments of the present disclosure
  • FIG. 6 is a flowchart illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure
  • FIG. 7 is an exemplary diagram illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure
  • FIG. 8 is a flowchart illustrating a method of operating in an external input mode based on a folded state of an electronic device, according to various embodiments of the present disclosure
  • FIG. 9 is an exemplary diagram illustrating various folding states of an electronic device according to various embodiments of the present disclosure.
  • FIG. 10 is an exemplary diagram illustrating a method of operating in an external input mode based on a folded state of an electronic device, according to various embodiments of the present disclosure
  • FIG. 11 is a flowchart illustrating a method of operating in an external input mode based on detachment of an electronic pen, according to various embodiments of the present disclosure
  • FIG. 12 is an exemplary diagram illustrating a method of operating in an external input mode based on detachment of an electronic pen, 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.
  • an electronic device 101 communicates with an 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 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • 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 module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178
  • may be omitted or one or more other components may be added to the electronic device 101 .
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a 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 stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a 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 stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123
  • the auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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 module 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 auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • 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 module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 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.
  • the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • 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 module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • an external electronic device eg, a sound output module 155
  • a sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • 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 designated 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • 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 performance 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 communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses the 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 or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • 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 an 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 (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 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, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, underside) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • 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 or 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 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.
  • 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, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • 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
  • first, second, or first or second may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • a processor eg, processor 120
  • a device eg, 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 include a signal (eg, electromagnetic wave), and this term is used in cases 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 included and provided in a 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 TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones).
  • a part of the computer program product may be temporarily stored or temporarily generated 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, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • 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 illustrating an electronic device 101 according to various embodiments of the present disclosure.
  • input data eg, data related to user input
  • the input module 240 or an external input device communicatively connected to the electronic device 101
  • an external electronic device connected to the network Example: A mode of the electronic device 101 that transmits to the electronic device 102 or 104 of FIG. 1 will be referred to as an 'external input mode'.
  • the external electronic device may perform an operation based on the input data.
  • the electronic device 101 performs an operation based on input data (eg, data related to a user input) input through the input module 240 (or an external input device communicatively connected to the electronic device 101 ).
  • This mode will be referred to as an 'internal input mode'.
  • the internal input mode may be referred to as a 'normal input mode'.
  • the electronic device 101 includes a display module 210 , a sensor module 220 , a power circuit 230 , an input module 240 , a communication module 250 , and a main processor. 260 , a first co-processor 270 , and a second co-processor 280 may be included.
  • the display module 210 may be the display module 160 of FIG. 1 .
  • the display module 210 may operate as an input device.
  • the display module 210 may include a sensor (eg, a touch sensor) capable of receiving an input by a user (eg, a user's finger).
  • the display module 210 may transmit the received input to the main processor 260 (or the second auxiliary processor 280 ).
  • the display module 210 is illustrated as being connected to the main processor 260 in FIG. 2 , in an embodiment, the display module 210 may be connected to the second auxiliary processor 280 .
  • the sensor module 220 may include various sensors.
  • the sensor module 220 is a sensor capable of detecting a posture, motion, and/or folding (and unfolding) of the electronic device 101 (hereinafter referred to as "unfolding"). , referred to as a 'first sensor').
  • the first sensor may include at least one of an acceleration sensor and a gyro sensor.
  • the sensor included in the first sensor is not limited to the above-described example, and, for example, may further include a hall sensor to detect folding of the electronic device 101 .
  • the sensor module 220 includes a sensor (hereinafter, 'first 2 sensors').
  • the second sensor is a magnetic field change induced by a coil (eg, a coil for charging) included in the electronic pen when the electronic pen is accommodated in the electronic device 101 or separated from the electronic device 101 . It may include a sensor (eg, a magnetic field sensor or a coil sensor) capable of detecting
  • the second sensor is not limited to the above example, and may include any sensor capable of detecting that the electronic pen is accommodated in the electronic device 101 or is separated from the electronic device 101 .
  • the sensor module 220 may further include at least one of a biosensor and an image sensor (eg, a camera module).
  • the sensor module 220 is illustrated as being connected to the main processor 260 in FIG. 2 , the present invention is not limited thereto.
  • the sensor module 220 may be connected to at least one of the first auxiliary processor 270 and/or the second auxiliary processor 280 .
  • the power circuit 230 may transmit (eg, supply) power to each component included in the electronic device 101 .
  • the power circuit 230 may include the power management module 188 and the battery 189 of FIG. 1 .
  • the power circuit 230 may transmit power to each component included in the electronic device 101 based on the control signal received from the first auxiliary processor 270 . For example, when the power circuit 230 receives, from the first auxiliary processor 270 , a signal indicating that the main processor 260 is in an inactive or power off state (or is switched to an inactive state). , power may not be transmitted to the main processor 260 (eg, power to the main processor 260 may be cut off). In an embodiment, the power circuit 230 may provide constant power to the first co-processor 270 and the second co-processor 280 .
  • the input module 240 may be the input module 150 of FIG. 1 .
  • the input module 240 includes (eg, built-in) included in the electronic device 101 , a first input module (eg, a physical keyboard), and a second input module (eg, related to power). a key), a touch pad, and/or an electronic pen.
  • the first input module may be connected to the second co-processor 280
  • the second input module may be connected to the first co-processor 270 .
  • the electronic device 101 may be connected to an external input device capable of generating input data by wire or wirelessly.
  • the electronic device 101 may be connected to a mouse (eg, a mouse or wireless mouse connected through a USB cable) or a keyboard (eg, a keyboard or wireless keyboard connected through a USB cable).
  • the external input device may receive power from the electronic device 101 through the power circuit 230 .
  • the external input device may receive power from the power circuit 230 under the control of the first auxiliary processor 270 .
  • the input module 240 and the external input device may be referred to as a human interface device (HID).
  • HID human interface device
  • the input module 240 is illustrated as being connected to the second auxiliary processor 280 in FIG. 2 , the present invention is not limited thereto.
  • the keyboard may be connected to the second auxiliary processor 280
  • the power button may be connected to the first auxiliary processor 270 .
  • the communication module 250 may be the communication module 190 of FIG. 1 .
  • the communication module 250 may include a wireless communication module 192 and a wired communication module 194 .
  • the communication module 250 may include a short-range communication (eg, Bluetooth, WiFi, or IrDA) module for connection with an external electronic device capable of receiving input data.
  • a short-range communication eg, Bluetooth, WiFi, or IrDA
  • the main processor 260 may be the main processor 121 of FIG. 1 .
  • the main processor 260 may include a central processing unit or an application processor.
  • the main processor may include an embedded graphic processor unit (GPU).
  • the first co-processor 270 may be included in the co-processor 123 of FIG. 1 .
  • the first auxiliary processor 270 may have lower performance than the main processor 260 and may operate with low power (or in a power saving mode).
  • the first co-processor 270 may be an embedded processor for a low-power microcontroller in which many instructions are set to process complex tasks more quickly.
  • the first coprocessor 270 is equipped with a hardware divider and multiply-accumulate (MAC) instructions, and may support debug and trace functions.
  • the first coprocessor 270 provides additional instruction targets in Digital Signal Processing tasks such as Single Instruction Multiple Data (SIMD) and faster single cycle MAC operations. It can also provide an optional single-precision floating-point unit that supports the IEEE 754 floating-point standard.
  • the first auxiliary processor 270 may manage power of the electronic device 101 .
  • the first auxiliary processor 270 may receive from the main processor 260 , based on the operation state information of the main processor 260 (eg, a flag indicating the state of the main processor 260 ). by checking ), the power circuit 230 may be controlled so that power corresponding to the state of the main processor 260 is transmitted to the main processor 260 .
  • the first auxiliary processor 270 may include a power controller.
  • the first co-processor 270 may control the second co-processor 280 .
  • the first auxiliary processor 270 may cause the second auxiliary processor 280 to perform an operation corresponding to the internal input mode or the external input mode based on the information on the state of the main processor 260;
  • the second auxiliary processor 280 may be controlled.
  • the first co-processor 270 may include at least a portion of the power management module 188 (eg, PMIC).
  • the first auxiliary processor 270 may perform at least some functions of the power management module 188 .
  • the first auxiliary processor 270 may control a fan driving speed of the fan device based on operation state information of the main processor 260 (eg, a central processing unit).
  • the second co-processor 280 may be included in the co-processor 123 of FIG. 1 .
  • the second sub-processor 280 may have lower performance than the first sub-processor 270 and may operate with low power.
  • the present invention is not limited thereto.
  • the second auxiliary processor 280 may have the same performance as the first auxiliary processor 270 and may operate with the same power.
  • the first sub-processor 270 may have lower performance than the second sub-processor 280 and may operate with low power.
  • the first auxiliary processor 270 may operate in a low power state
  • the second auxiliary processor 280 may operate in an active state.
  • the second auxiliary processor 280 may perform an operation corresponding to the internal input mode or the external input mode. For example, the second auxiliary processor 280 may transmit input data input through the input module 240 to the main processor 260 through the first auxiliary processor 270 in the internal input mode. . As another example, in the external input mode, the second auxiliary processor 280 may transmit input data input through the input module 240 to the external electronic device through the communication module 250 . For another example, in the internal input mode, the second auxiliary processor 280 transmits input data input through the input module 240 to the main processor 260 without going through the first auxiliary processor 270 . may be
  • the second auxiliary processor 280 may include an input/output controller.
  • the second coprocessor 280 may include interfaces for communicating with the input module 240 and the communication module 250 .
  • the second auxiliary processor 280 may include a communication interface (eg, an inter integrated circuit (I2C) communication interface) for receiving input data from the input module 240 .
  • the second auxiliary processor 280 may include a communication interface (eg, a universal asynchronous receiver/transmitter (UART) communication interface) for transmitting input data to the wireless communication device.
  • the communication interfaces included in the second auxiliary processor 280 are not limited to the above-described examples.
  • the second co-processor 280 transmits the input data received from the input module 240 to the communication module 250 using a first communication interface (eg, an I2C communication interface).
  • the input data may be converted to conform to the standard of the second communication interface (eg, UART communication interface).
  • the second auxiliary processor 280 transmits the input data received from the input module 240 to the communication module 250 using the first communication interface to transmit the input data to the second communication interface. It may include a bus interface (BUS interface) that can be converted to meet the standard of the interface.
  • BUS interface bus interface
  • first auxiliary processor 270 and the second auxiliary processor 280 may be referred to as a first micro controller unit (MCU) and a second MCU, respectively.
  • MCU micro controller unit
  • FIG. 3 is a block diagram illustrating an electronic device 101 including a coprocessor in which the first coprocessor 270 and the second coprocessor 280 are integrated, according to various embodiments of the present disclosure.
  • the electronic device 101 includes a display module 210 , a sensor module 220 , a power circuit 230 , an input module 240 , a communication module 250 , a main processor 260 , and an auxiliary device.
  • a processor 290 may be included.
  • the display module 210 , the sensor module 220 , the power circuit 230 , the input module 240 , the communication module 250 , and the main processor 260 are, respectively, the display module 210 of FIG. 2 , the sensor Since at least some of the module 220 , the power circuit 230 , the input module 240 , the communication module 250 , and the main processor 260 are the same or similar, a detailed description thereof will be omitted.
  • the co-processor 290 may be included in the co-processor 123 of FIG. 1 .
  • the auxiliary processor 290 has lower performance than the main processor 260 and may operate with a lower power.
  • the co-processor 290 may perform the operations of the first co-processor 270 and the second co-processor 280 of FIG. 2 .
  • the coprocessor 290 may include a power controller 291 .
  • the power controller 291 may manage power of the electronic device 101 .
  • the coprocessor 290 may include an input controller 292 .
  • the input controller 292 may perform an operation corresponding to an internal input mode or an external input mode.
  • the electronic device 101 includes an input module 240 , a communication module 250 , a main processor 260 , and the input module 240 , the communication module 250 , and at least one sub-processor (270, 280, 290) operably coupled to the main processor (260), wherein the at least one co-processor (270, 280, 290) comprises: the input module (240) ) through receiving the first input, confirming whether the first input is an input for switching the external input mode, and confirming that the first input is an input for switching the external input mode, based on the main
  • the processor 260 is controlled to be in an inactive state, and in the external input mode, input data input through the input module 240 is communicated with the electronic device 101 through the communication module 250. may be configured to transmit to an electronic device.
  • the at least one coprocessor 270 , 280 , and/or 290 may include a first coprocessor 270 , and a second coprocessor operating at lower power as compared to the first coprocessor 270 . (280).
  • the first auxiliary processor 270 receives, through the input module 240 , an input for switching a power state (eg, pressing a power button), and the input for turning off the power is the Based on confirming that it is an input for switching the external input mode: to control the main processor 260 to be in a power-off state, and to control the second auxiliary processor 280 to operate in the external input mode can
  • a power state eg, pressing a power button
  • the electronic device 101 further includes a power circuit 230 , and the first auxiliary processor 270 is supplied to the main processor 260 through the power circuit 230 . It may be configured to shut off power and enter a standby state.
  • the second auxiliary processor 280 receives, through the input module 240 , a designated key input for switching the electronic device 101 to the external input mode, and
  • the main processor 260 and the first auxiliary processor 270 may be controlled to be in a standby state based on confirming that the designated key input is an input for switching the external input mode.
  • the second auxiliary processor 280 based on confirming that the designated key input is an input for switching the external input mode, via the communication module 250, the electronic device 101 and It may be configured to communicate with the external electronic device.
  • the electronic device 101 further includes a display module 210
  • the second sub-processor 280 is configured to be configured to be configured to be configured to be connected to the electronic device from the external electronic device via the communication module 250 .
  • the main processor 260 Upon receiving a request for changing the mode of 101 to the external input mode, the main processor 260 changes the mode of the electronic device 101 to the external input mode through the display module 210 It may be configured to display guide information associated with a designated input for conversion.
  • the electronic device 101 further includes a sensor module 220 , and the main processor 260 detects a folding state of the electronic device 101 through the sensor module 220 . and, based on the detected folding state, control the at least one coprocessor 270 , 280 , and/or 290 to operate in the external input mode.
  • the electronic device 101 further includes a sensor module 220 , the main processor 260 detects that the electronic pen is separated from the electronic device 101 , and the electronic device 101 Based on detecting that the electronic pen is detached from the , the at least one auxiliary processor 270 , 280 , and/or 290 may be configured to control operation in the external input mode.
  • the at least one auxiliary processor 270 , 280 , 290 receives input data from an external input device communicatively connected to the electronic device 101 through the communication module 250 in the external input mode. and transmit the received input data to the external electronic device through the communication module 250 .
  • FIG. 4 is an overall flowchart 400 illustrating a method of providing input data in accordance with various embodiments.
  • the coprocessor receives a first input through the input module 240 .
  • the coprocessor receives a first input through the input module 240 .
  • the coprocessor (eg, the first coprocessor 270 or the second coprocessor 280 ), in the internal input mode, via the power button, keyboard, mouse, touchpad, or electronic pen, 1 Can receive input (eg user input).
  • the internal input mode is based on input data (eg, data related to a user input) input through the input module 240 (or an external input device connected to the electronic device 101), the electronic device ( 101) may be a mode set to perform the operation.
  • the electronic device ( 101) may be a mode set to perform the operation.
  • the second auxiliary processor 280 transmits the data to the main processor 260 through the first auxiliary processor 270 .
  • the main processor 260 may display input data through the display module 210 .
  • the main processor 260 , the first coprocessor 270 , and the second coprocessor 280 may be in an active state (eg, an active state or a wake-up state). have.
  • the first auxiliary processor 270 may receive a first input for changing the power state of the electronic device 101 through the input module 240 (eg, a power button).
  • the second auxiliary processor 280 through the input module 240 (eg, a keyboard), a designated key (hereinafter referred to as a key) to switch the mode of the electronic device 101 from the internal input mode to the external input mode. , referred to as a 'key for switching an external input mode') may receive a first input.
  • the second auxiliary processor 280 selects the mode of the electronic device 101 from an external electronic device communicatively connected to the electronic device 101 through the communication module 250 .
  • a request for switching from the internal input mode to the external input mode (hereinafter, referred to as a 'request for switching the external input mode') may be received.
  • the coprocessor eg, the first coprocessor 270 or the second coprocessor 280
  • the coprocessor is configured such that the first input is an input for switching the external input mode (eg, to an external input mode). input for conversion of ) can be checked.
  • input data eg, data related to a user input
  • input module 240 or an external input device connected to the electronic device 101
  • the electronic device 101 It may be a mode set to transmit to an external electronic device through which communication is connected.
  • the first auxiliary processor 270 when the first auxiliary processor 270 receives a first input for switching the electronic device 101 to a power state through the input module 240 (eg, a power button), the received second It can be confirmed that input 1 is an input designated for external input mode.
  • the input module 240 eg, a power button
  • the input for changing the power state may include an input of pressing the power button (eg, an input of briefly pressing the power button or an input of long pressing the power button).
  • the input for switching the power state may include at least one of an input for switching to a power saving mode, an input for restarting the system, or an input for shutting down the system, selectable through a menu. .
  • the second auxiliary processor 280 when the second auxiliary processor 280 receives the first input for the key for switching the external input mode through the input module 240 (eg, a keyboard), the received first input is It can be confirmed that the input is for external input mode conversion.
  • the input module 240 eg, a keyboard
  • the second auxiliary processor 280 changes the mode of the electronic device 101 from the internal input mode to the external input mode from the external electronic device communicatively connected to the electronic device 101 through the communication module 250 .
  • the received input is an input for switching to the external input mode.
  • the auxiliary processor may control the main processor 260 to be in an inactive state.
  • the auxiliary processor may control the main processor 260 to be in an inactive state.
  • the first co-processor 270 is configured to determine that the received first input is an input for powering off the electronic device 101 based on the power state transition input to the electronic device 101 . based on confirmation), the main processor 260 may be controlled to be in an inactive state. For example, the first auxiliary processor 270 may transmit, to the main processor 260 , reception information on the power state change input based on the power state change input to the electronic device 101 . The main processor 260 and the first auxiliary processor 270 may be switched (or entered) into an inactive state (eg, a power off state) based on the received information.
  • an inactive state eg, a power off state
  • the first auxiliary processor 270 switches the electronic device 101 to an inactive state (eg, a power-off state) through the power circuit 230 based on an input for switching the power state.
  • Power transmitted to the main processor 260 may be cut off.
  • the first auxiliary processor 270 transmits power to the main processor 260 that is switched to an inactive state (eg, a power-off state) based on an input for switching the electronic device 101 to a power state.
  • a control signal for blocking the voltage may be transmitted to the power circuit 230 .
  • the first auxiliary processor 270 controls the main processor 260 to be in an inactive state (eg, a power-off state) based on an input for changing the power state of the electronic device 101, and
  • an inactive state eg, a power-off state
  • the processor 260 e.g, information indicating an S5 state of an advanced configuration and power interface (ACPI) standard
  • ACPI advanced configuration and power interface
  • the first auxiliary processor 270 may control the second auxiliary processor 280 to operate in an external input mode based on an input for switching the power state of the electronic device 101 .
  • the first auxiliary processor 270 may generate a second control signal for causing the second auxiliary processor 280 to operate in an external input mode based on an input for switching the electronic device 101 to a power state. may be transmitted to the coprocessor 280 .
  • the first auxiliary processor 270 may activate the second auxiliary processor 280 in an active state (eg, an active state or a wake-up state) based on an input for switching the electronic device 101 to a power state. ) is switched and can be controlled to operate in the external input mode.
  • an active state eg, an active state or a wake-up state
  • the second coprocessor 280 is configured to, based on a key input for switching the external input mode (eg, a key designated to switch to the external input mode) (eg, the received first input for switching the mode) Based on confirming that it is a key input), the main processor 260 may be controlled to be in an inactive state.
  • the second auxiliary processor 280 may directly transmit information indicating that an input for a key for switching an external input mode is received to the main processor 260 .
  • the second auxiliary processor 280 may transmit information indicating that a key input for switching the external input mode is received to the main processor 260 through the first auxiliary processor 270 .
  • the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state) based on information indicating that an input for a key for switching an external input mode is received (or to be entered). can).
  • the standby state may be a state operated with low power compared to an active state (eg, an active state or a wake-up state).
  • the standby state may be a state in which power is supplied lower than that of the active state.
  • the standby state may be a state that is converted to an active state when a specified input is received.
  • the standby state may be a state that is converted to an active state according to a specified period.
  • the standby state may be an S3 state or an S4 state of the ACPI standard.
  • the standby state may be referred to as a sleep state.
  • the processor in the standby state, may be in a power-off state.
  • the processor eg, the main processor 260
  • the main processor 260 in a power-off state, and may include a state in which power is supplied to the memory 150 .
  • the main processor 260 is , it is possible to control the display module 210 to be inactive (eg, in a power-off state or in a standby state) based on information indicating that a key input for switching an external mode is received.
  • inactive Information indicating transition to (eg, a standby state or a power-off state) may be transmitted (eg, a flag may be set to indicate that the main processor 260 is in an inactive state).
  • the main processor 260 to the first auxiliary processor 270 , based on information indicating that a key input for switching the external input mode is received, sets the display module 210 to an inactive state (eg, : It can transmit information indicating transition to the power-off state or standby state (eg, information indicating that it is in the S3 state or S4 state of the ACPI standard).
  • an inactive state eg, : It can transmit information indicating transition to the power-off state or standby state (eg, information indicating that it is in the S3 state or S4 state of the ACPI standard).
  • the first auxiliary processor 270 includes, from the main processor 260 , information or a display module (When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered).
  • an inactive state eg, a power-off state or a standby state
  • the state may be converted to a standby state (eg, may be entered).
  • the second auxiliary processor 280 based on the request for switching the external input mode received from the external electronic device (eg, based on confirming that the request for mode switching is received), the main processor 260 may be controlled to be in an inactive state.
  • the second auxiliary processor 280 may directly transmit information indicating that a request for switching the external input mode is received to the main processor 260 .
  • the second sub-processor 280 may transmit information indicating that a request for switching the external input mode is received to the main processor 260 through the first sub-processor 270 .
  • the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state) based on information indicating that a key input for switching an external input mode is received.
  • the main processor 260 guides an input for switching to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received.
  • information can be displayed.
  • the main processor 260 may display text describing a key for switching the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. have.
  • the main processor 260 converts the mode of the electronic device 101 to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. For this purpose, information indicating that a key input for switching the external input mode must be input may be displayed. Examples of a method for the main processor 260 to display guide information will be described later in detail with reference to FIG. 7 .
  • the main processor 260 displays information guiding an input for switching to the external input mode through the display module 210 and then displays a key for switching the external input mode via the input module 240 .
  • the display module 210 may be controlled to be in an inactive state (eg, a power-off state or a standby state).
  • the main processor 260 displays information guiding an input for switching to the external input mode through the display module 210 and then displays a key for switching the external input mode via the input module 240 .
  • an input is received, it can be switched to an inactive state (eg, a standby state or a power-off state).
  • the main processor 260 in response to receiving a request for mode change, selects a setting menu (eg, a quick icon) that enables the electronic device 101 to operate in the external input mode when selected.
  • a setting menu eg, a quick icon
  • the display module 210 may be controlled to display.
  • the main processor 260 may control the electronic device 101 to operate in the external input mode in response to a request for mode change being received.
  • the main processor 260 after or before the transition to an inactive state (eg, a standby state or a power-off state), the first auxiliary processor 270, the state of the main processor 260 is It may carry information indicating that it will be switched to or to be transitioned to an inactive state (eg, a standby state or a power-off state).
  • the second auxiliary processor 280 after the main processor 260 is converted to the inactive state or before the main processor 260 is converted to the inactive state, the communication module ( Through 250 , an operation for communicatively connecting the electronic device 101 with an external electronic device may be performed. For example, when an input for powering off the electronic device 101 is received, the main processor 260 may be switched to an inactive state by the above-described operations. After the main processor 260 is converted to the inactive state or before the main processor 260 is converted to the inactive state, the second auxiliary processor 280 communicates with the electronic device 101 to an external device through the communication module 250 . An operation for communication connection with the electronic device may be performed.
  • the second auxiliary processor 280 may set the electronic device 101 to an external electronic device. An operation for communication connection with the device may be performed.
  • the second auxiliary processor 280 may control the main processor 260 to be in an inactive state.
  • the second auxiliary processor 280 sets the main processor 260 to a current state (eg, : can be controlled to maintain the active state).
  • the second auxiliary processor 280 when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 does not perform an operation for communication-connecting the electronic device 101 with the external electronic device.
  • the present invention is not limited thereto, and even when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 may be additionally or alternatively to the external electronic device previously connected to the electronic device 101 . to perform an operation for communication connection with a new external electronic device.
  • the co-processor (eg, the first co-processor 270 or the second co-processor 280) may operate in an external input mode.
  • the second auxiliary processor 280 when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may be switched (or maintained) to an active state.
  • the first auxiliary processor 270 operates the electronic device 101 as the second auxiliary processor 280 and the second auxiliary processor 280 in the external input mode based on the input for switching the power state.
  • the second auxiliary processor 280 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state (eg, an active state) or may maintain an active state.
  • the second sub-processor 280 may control the communication module 250 to be in an activated state when receiving a control signal for operating in the external input mode from the first sub-processor 270 . have.
  • the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
  • input data eg, data related to a user input
  • the external electronic device may perform an operation based on the input data.
  • the external electronic device may input (eg, write) a message or execute a function of an application of the external electronic device based on input data received from the electronic device 101 .
  • the second co-processor 280 in the external input mode, processes the input data input through the input module 240 to the main processor 260 or the first co-processor 270 without passing it. can do.
  • the main processor 260 may store information related to the function being performed before the transition to the inactive state in the memory 130 .
  • the main processor 260 may store in the memory 130 information related to a function that was being performed before switching to the inactive state. For example, when the main processor 260 is switched to an inactive state, the memory 130 maintains the supply of power from the power circuit 230 , so that information related to the function being performed by the main processor 260 is stored in the memory 130 . ) can be maintained.
  • the second processor 280 may store, in the external input mode, information related to data transmitted to the external electronic device (eg, a data transmission history) in the memory 130 .
  • the main processor 260 when the main processor 260 is switched from the inactive state to the active state, the main processor 260, in the external input mode, relates to data transmitted to the external electronic device through the communication module 250 .
  • Information eg, data transmission history
  • the second auxiliary processor 280 transmits input data input through an external input device (eg, a keyboard connected by wire or wirelessly) connected to the electronic device 101 in communication with the communication module ( ) in the external input mode. 250 ) to an external electronic device connected to the electronic device 101 .
  • an external input device eg, a keyboard connected by wire or wirelessly
  • the communication method between the electronic device 101 and the external input device may be the same as or different from the communication method between the electronic device 101 and the external electronic device.
  • the second auxiliary processor 280 communicatively connects the electronic device 101 and an external input device (eg, a Bluetooth keyboard) through a first communication method (eg, Bluetooth communication), and the first communication method
  • the communication module 250 may be controlled to connect the electronic device 101 and an external electronic device (eg, a mobile phone) through communication.
  • the second auxiliary processor 280 communicatively connects the electronic device 101 and an external input device (eg, a Bluetooth keyboard) through a first communication method (eg, Bluetooth communication), and performs the first communication
  • the communication module 250 may be controlled to communicate and connect the electronic device 101 and an external electronic device (eg, a TV/monitor supporting a mirroring function) through a second communication method (eg, Wi-Fi) different from the method. have.
  • the processor eg, the main processor 260 , the first auxiliary processor 270 , and the second auxiliary processor 280 ) is configured to, based on the specified input, perform an external input mode. can be switched to internal input mode (eg, return from external input mode to internal input mode).
  • the second auxiliary processor 280 based on an input from the input module 240 for switching the external input mode to the internal input mode (eg, an input for a key for switching the external input mode), It can operate in an internal input mode (eg, by switching from an external input mode to an internal input mode).
  • the second auxiliary processor 280 may receive an input for converting the external input mode to the internal input mode from the input module 240 .
  • the second auxiliary processor 280 may control the main processor 260 such that the main processor 260 is switched from an inactive state (eg, a standby state or a power-off state) to an active state.
  • the main processor 260 When the main processor 260 is switched from the inactive state to the active state, the main processor 260 is configured such that the first auxiliary processor 270 is switched from the inactive state (eg, standby state) to the active state, the first auxiliary processor ( 270) can be controlled.
  • the main processor 260 may be configured such that the first auxiliary processor 270 is switched from an inactive state (eg, a standby state) to an active state.
  • Information indicating transition to a state eg, information indicating that it is in an ACPI S0 state
  • may be conveyed eg, setting a flag to indicate that the state of the main processor 260 is in an active state).
  • the first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode.
  • the second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
  • the first auxiliary processor 270 turns on an input (eg, the electronic device 101 ) for converting the external input mode to the internal input mode from the input module 240 (eg, a power button) Based on (input to power on), it can operate in an internal input mode.
  • an inactive state eg, a standby state
  • the first auxiliary processor 270 may receive an input for a power button for turning on the electronic device 101 .
  • the first auxiliary processor 270 may control the main processor 260 so that the main processor 260 is switched from an inactive state (eg, a standby state or a power-off state) to an active state.
  • the main processor 260 When the main processor 260 is switched from the inactive state to the active state, the main processor 260 is the first auxiliary processor 270, information indicating that the main processor 260 is switched to the active state (eg, ACPI S0) information indicating that it is in a state).
  • the first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode.
  • the second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
  • the main processor 260 may respond to information received from the sensor module 220 (eg, folding state information of the electronic device 101 or an input indicating storage of the electronic pen into the electronic device 101 ). Based on this, the electronic device 101 may operate in the internal input mode.
  • the main processor 260 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state based on information received from the sensor module 220 .
  • the main processor 260 is configured such that the first auxiliary processor 270 is switched from the inactive state (eg, standby state) to the active state, the first auxiliary processor ( 270) can be controlled.
  • the first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode.
  • the second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
  • the main processor 260 controls the mode of the electronic device 101 based on information received from the sensor module 220 (eg, a first sensor or a second sensor). may perform an operation for switching from the internal input mode to the external input mode (or from the external input mode to the internal input mode). In relation to examples of the operation of the main processor 260 , it will be described later in detail with reference to FIGS. 8 to 12 .
  • FIG. 5 is a flowchart 500 illustrating a method of operating in an external input mode based on an input for switching a power state, according to various embodiments of the present disclosure.
  • the first auxiliary processor 270 may receive an input for switching the power state through the input module 240 (eg, a power button). .
  • the first auxiliary processor 270 may receive an input for a power button for switching the power state of the electronic device 101 while operating in the internal input mode.
  • the first auxiliary processor 270 may control the main processor 260 to be in an inactive state (eg, a power-off state or a standby state).
  • the first auxiliary processor 270 may control the main processor 260 to be in an inactive state based on confirming that an input for changing the power state is received.
  • the first auxiliary processor 270 transmits, to the main processor 260 , information indicating that the input for switching the power state is received, to the main processor 260 , based on the input for switching the power state.
  • the main processor 260 may be switched to (or entered) an inactive state (eg, a power-off state) based on information indicating that an input for switching the power state is received.
  • the first auxiliary processor 270 based on the input for switching the power state, through the power circuit 230, to the main processor 260 that is switched to an inactive state (eg, a power off state)
  • the transmitted power can be interrupted.
  • the first auxiliary processor 270 is a control signal for cutting off power transmitted to the main processor 260 converted to an inactive state (eg, a power-off state) based on the input for switching the power state. may be transmitted to the power circuit 230 .
  • the power circuit 230 may not supply power to the main processor 260 based on the control signal received from the first auxiliary processor 270 .
  • the first auxiliary processor 270 controls the main processor 260 to be in an inactive state (eg, a power-off state) based on an input for power state transition, and controls the main processor 260 to When information indicating that the state of the processor 260 will be switched to an inactive state (eg, a power-off state) (eg, information indicating an S5 state of the ACPI standard) is received (or the first auxiliary processor 270 is the main processor When a flag indicating that the state of 260 is in an inactive state is checked), the power transmitted to the main processor 260 converted to an inactive state (eg, a power-off state) through the power circuit 230 may be blocked. have.
  • an inactive state eg, a power-off state
  • the first auxiliary processor 270 may control the second auxiliary processor 280 to operate in an external input mode based on an input for power state transition.
  • the first co-processor 270 sends a control signal to the second co-processor 280 to cause the second co-processor 280 to operate in an external input mode based on the input for switching the power state.
  • can transmit As another example, based on the input for power state transition, the first auxiliary processor 270 switches the activation state (eg, active state or wake-up state) of the second auxiliary processor 280 to an external input mode can be controlled.
  • the main processor 260 when information indicating that an input for changing a power state is received is received from the first auxiliary processor 270 , the main processor 260 performs an external input by the electronic device 101 based on the user input mode or the power of the electronic device 101 may be turned off without the electronic device 101 operating in the external input mode. For example, when information indicating that an input for powering off the electronic device 101 is received is received from the first auxiliary processor 270 , the main processor 260 may, through the display module 210 , the electronic device An object (eg, a button, an icon) for allowing the 101 to operate in the external input mode and an object for turning off the power of the electronic device 101 without the electronic device 101 operating in the external input mode can be displayed.
  • an object eg, a button, an icon
  • the main processor 260 when information indicating that an input for power state transition is received from the first auxiliary processor 270 is received, the main processor 260 performs mode conversion within a specified time through the display module 210 . Information indicating that the electronic device 101 can operate in the external input mode when a key for 101) can be displayed to indicate that the power can be turned off.
  • the main processor 260 when receiving an input for an object for allowing the electronic device 101 to operate in an external input mode through the input module 240 , the main processor 260 receives an input for mode conversion within a specified time. When an input for a key is received), the above-described operation for allowing the electronic device 101 to operate in the external input mode may be performed.
  • the main processor 260 When the main processor 260 receives an input for an object for causing the electronic device 101 to turn off without operating in the external input mode (or a key for mode switching within a specified time) when an input for .
  • the main processor 260 may transmit information indicating that an input to an object for causing the electronic device 101 to be turned off without operating in the external input mode is received to the first auxiliary processor 270 . have.
  • the main processor 260 may be switched to an inactive state (eg, a power-off state).
  • the first auxiliary processor 270 may control the second auxiliary processor 280 to enter the standby state without operating in the external input mode.
  • the first auxiliary processor 270 may be switched to an inactive state (eg, a standby state) based on receiving the information.
  • the second auxiliary processor 280 may perform an operation for connecting the electronic device 101 with an external electronic device through the communication module 250 .
  • the second auxiliary processor 280 may perform an operation for connecting the electronic device 101 with an external electronic device using Bluetooth low energy (BLE) communication.
  • BLE Bluetooth low energy
  • communication for connecting the electronic device 101 and an external electronic device is not limited to Bluetooth low energy communication.
  • the second auxiliary processor 280 performs an operation for connection with an external electronic device that has been previously connected to the electronic device 101 (eg, was most recently connected to the electronic device 101 ). can be done
  • the second auxiliary processor 280 may additionally or alternatively to the external electronic device previously connected to the electronic device 101 .
  • An operation for connection with a new external electronic device may be performed.
  • an operation for connection with an external electronic device is performed in operation 505 , but is not limited thereto.
  • the first auxiliary processor 270 controls the main processor 260 to be in an inactive state.
  • the 2 The auxiliary processor 280 may search (eg, search for) at least one external electronic device to be connected to the electronic device 101 through the communication module 250 .
  • the main processor 260 may display a list of at least one searched external electronic device through the display module 210 .
  • the main processor 260 may receive a user input for selecting an external electronic device to be connected to the electronic device 101 in the list.
  • the main processor 260 may control the second auxiliary processor 280 to perform an operation for connection with the selected external electronic device based on the user input.
  • the main processor 260 may be switched to an inactive state (eg, a power-off state).
  • the second co-processor 280 may operate in an external input mode.
  • the second auxiliary processor 280 may operate in an external input mode.
  • the second auxiliary processor 280 when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may be switched (or maintained) to an active state.
  • the first auxiliary processor 270 transmits a control signal for operating in the input mode to the second auxiliary processor 280 based on the input for switching the power state.
  • the second auxiliary processor 280 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state (eg, an active state) or may maintain an active state.
  • the second sub-processor 280 may control the communication module 250 to be in an activated state when receiving a control signal for operating in the external input mode from the first sub-processor 270 . have.
  • the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
  • input data eg, data related to a user input
  • the external electronic device may perform an operation based on the input data. For example, the external electronic device may input (eg, write) a message or execute a function of an application of the external electronic device based on input data received from the electronic device 101 .
  • the second co-processor 280 does not transmit the input data input through the input module 240 to the main processor 260 or the first co-processor 270 in the external input mode. can
  • the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
  • an external input device eg, a wired or wirelessly connected keyboard
  • the second auxiliary processor 280 is in a standby state when the electronic device 101 is not connected to the external electronic device (eg, an external electronic device to be connected to the electronic device 101 is not found). can be converted to For example, when the electronic device 101 is not connected to an external electronic device, the second auxiliary processor may be switched to a standby state without operating in the external input mode.
  • the second auxiliary processor 280 may search for an external electronic device to be connected to the electronic device 101 after it is periodically switched from a standby state to an active state (eg, a wake-up state).
  • the second auxiliary processor 280 may store information about the found external electronic device (eg, Bluetooth address information) in the memory 130 . .
  • the main processor 260 may display the electronic device 101 and the electronic device 101 and an external electronic device communicatively connected to the same screen (eg, the same input data).
  • a mirroring function to display the screen to be displayed can be performed.
  • the main processor 260 may receive a user input for selecting whether to switch to an external input mode or perform a mirroring function.
  • the electronic device 101 and the external electronic device may be communicatively connected using Wi-Fi communication.
  • the main processor 260 maintains an activated state
  • the auxiliary processor 280 receives data for a screen displayed through the display module 210 including input data input through the input module 240 . It can be transmitted to an external electronic device through the communication module 250 .
  • the auxiliary processor 280 may control to perform an operation of the electronic device 101 based on input data received from the external electronic device.
  • FIG. 6 is a flowchart 600 illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure.
  • FIG. 7 is an exemplary diagram 700 illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure.
  • the second auxiliary processor 280 sets the mode of the electronic device 101 to the internal input mode through the input module 240 (eg, a keyboard).
  • a key input for switching to the external input mode (hereinafter, referred to as a 'key for switching the external input mode') may be received from the .
  • the second auxiliary processor 280 is a key input for switching an external input mode, and an 'Fn (function)' key 723-1 and an 'S' key in the keyboard 720 .
  • An input to (723-2) may be received.
  • the key input for switching the external input mode is not limited to the above-described example.
  • the second auxiliary processor 280 changes the mode of the electronic device 101 from the internal input mode to the external input mode from the external electronic device communicatively connected to the electronic device 101 through the communication module 250 .
  • the external electronic device 103 eg, the electronic devices 102 and 104 of FIG. 1
  • An input for the designated key 731 may be received.
  • the external electronic device 103 may transmit a request for switching the external input mode to the electronic device 101 based on receiving an input for the specified key 731 .
  • the second auxiliary processor 280 may transmit information indicating that the received request for switching the external input mode is received to the main processor 260 .
  • the main processor 260 guides an input for switching to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. information can be displayed. For example, as shown in FIG. 7 , the main processor 260 displays a text 711 describing a key for switching the external input mode on the screen 710 through the display module 210 . can do.
  • the guide information is not limited to the above-described example, and for example, the main processor 260, based on information indicating that a request for external input mode switching is received, through the display module 210, the electronic device In order to change the mode of 101 to the external input mode, information indicating that a key input for switching the external input mode should be displayed may be displayed.
  • the second auxiliary processor 280 after information guiding input for switching to the external input mode is displayed, through the input module 240 (eg, keyboard), a key for switching the external input mode input can be received.
  • the input module 240 eg, keyboard
  • the second auxiliary processor 280 may perform an operation for communication-connecting the electronic device 101 with an external electronic device through the communication module 250 .
  • the second auxiliary processor 280 may perform an operation for communicatively connecting the electronic device 101 with an external electronic device using Bluetooth low energy (BLE) communication.
  • BLE Bluetooth low energy
  • communication for connecting the electronic device 101 and an external electronic device is not limited to Bluetooth low energy communication.
  • the second auxiliary processor 280 operates for a communication connection with an external electronic device that has been previously connected to the electronic device 101 (eg, was most recently connected to the electronic device 101 ). can be performed.
  • the second auxiliary processor 280 may enable the electronic device 101 to communicate with an external electronic device selected based on a user selection input.
  • the second auxiliary processor 280 may search (eg, search for) at least one external electronic device to be connected to the electronic device 101 through the communication module 250 .
  • the main processor 260 may display a list of at least one searched external electronic device through the display module 210 .
  • the main processor 260 may receive a user input for selecting an external electronic device to be connected to the electronic device 101 in the list.
  • the main processor 260 may control the second auxiliary processor 280 to perform an operation for communication connection with the selected external electronic device based on the user selection input.
  • the second auxiliary processor 280 may enable the electronic device 101 to communicate with the selected external electronic device through the communication module 250 .
  • the second auxiliary processor 280 when the electronic device 101 and the external electronic device are already in a communication-connected state, the second auxiliary processor 280 performs an operation for communication-connecting the electronic device 101 with the external electronic device again.
  • the present invention is not limited thereto, and even when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 may be additionally or alternatively to the external electronic device previously connected to the electronic device 101 . to perform an operation for communication connection with a new external electronic device.
  • the second auxiliary processor 280 (or the main processor 260 ) is, through the communication module 250 , to the external electronic device, the electronic device Information for confirming whether the external electronic device permits the device 101 to operate as an input device for the external electronic device may be transmitted.
  • the external electronic device 103 determines, from the electronic device 101 , that the electronic device 101 operates as an input device for the external electronic device 103 .
  • information 741 related to the received information may be displayed on the screen 740 .
  • the external electronic device 103 When receiving a user input for allowing the electronic device 101 to operate as an input device for the external electronic device 103 , the external electronic device 103 is the electronic device 101 , the electronic device 101 . may transmit information indicating that it is allowed to operate as an input device for the external electronic device 103 .
  • the second auxiliary processor 280 may control the main processor 260 to be in an inactive state (eg, a standby state or a power off state).
  • the second auxiliary processor 280 may control the main processor 260 to be in an inactive state (eg, a standby state or a power-off state).
  • the second auxiliary processor 280 may directly transmit information indicating that an input for a key for switching an external input mode is received to the main processor 260 .
  • the second auxiliary processor 280 may transmit information indicating that an input for a key for switching the external input mode is received to the main processor 260 through the first auxiliary processor 270 .
  • the main processor 260 may be switched to (or entered) an inactive state (eg, a standby state or a power-off state) based on information indicating that an input for a key for switching an external input mode is received. .
  • the main processor 260 causes the display module 210 to become inactive (eg, in a power-off state or in a standby state) based on information indicating that an input for a key for switching an external input mode is received. can be controlled
  • the main processor 260, the first auxiliary processor 270 based on the information indicating that an input for a key for switching the external input mode is received, the state of the main processor 260 is inactive It can carry information indicating that it will be switched to or to be switched to (eg, standby state or power-off state).
  • the first auxiliary processor 270 is, from the main processor 260, an information or display module indicating that the state of the main processor 260 is to be switched to an inactive state (eg, a standby state or a power-off state).
  • an inactive state eg, a standby state or a power-off state
  • information indicating that the state of 210 is changed to an inactive state eg, a power-off state or a standby state
  • it may be converted to a standby state (eg, may enter).
  • the main processor 260 after or before the transition to an inactive state (eg, a standby state or a power-off state), the first auxiliary processor 270, the state of the main processor 260 is It may carry information indicating that it will be switched to or to be transitioned to an inactive state (eg, a standby state or a power-off state).
  • the second auxiliary processor 280 when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the second auxiliary processor 280 is the main processor 260 may be controlled to maintain an active state. For example, when the electronic device 101 is not connected to the external electronic device, the second auxiliary processor 280 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode. .
  • the second auxiliary processor 280 is configured to receive, from the external electronic device, information indicating that the electronic device 101 is permitted to operate as an input device for the external electronic device, based on the information indicating that the main processor ( 260) may be controlled to be in an inactive state.
  • the main processor 260 may store information related to the function being performed before the transition to the inactive state in the memory 130 .
  • the main processor 260 may store information related to a function being performed before switching to the inactive state in the memory 130.
  • the main processor 260 may be converted to the inactive state When the memory 130 maintains the supply of power from the power circuit 230 , information related to the function being performed by the main processor 260 may be maintained in the memory 130 .
  • the second auxiliary processor 280 may operate in an external input mode.
  • the second auxiliary processor 280 when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
  • the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
  • input data eg, data related to a user input
  • the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
  • an external input device eg, a wired or wirelessly connected keyboard
  • FIG. 8 is a flowchart 800 illustrating a method of operating in an external input mode based on a folded state of the electronic device 101 according to various embodiments of the present disclosure.
  • FIG. 9 is an exemplary diagram 900 illustrating various folding states of the electronic device 101 according to various embodiments of the present disclosure.
  • FIG. 10 is an exemplary diagram 1000 illustrating a method of operating in an external input mode based on a folded state of the electronic device 101 according to various embodiments of the present disclosure.
  • the main processor 260 folds the electronic device 101 through the sensor module 220 (eg, a first sensor). (eg folding motion) can be detected.
  • the sensor module 220 eg, a first sensor
  • the first sensor may include at least one of an acceleration sensor and a gyro sensor.
  • the sensor included in the first sensor is not limited to the above-described example, and, for example, may further include a hall sensor to detect folding of the electronic device 101 .
  • the electronic device 101 may be a foldable electronic device (eg, a foldable laptop) (eg, a foldable electronic device).
  • the electronic device 101 may be in various folding states.
  • a display module 911 eg, a display module 210
  • a second housing 914 is disposed.
  • an input module 912 eg, input module 240
  • the first housing 913 and the second housing 914 are configured to be rotatable through a hinge part 915 .
  • first sensors eg, acceleration sensors
  • the direction in which the keyboard 912 disposed on the second housing 914 is exposed is opposite to the direction of gravity, and the first housing 913 and the second housing 914 may be in a folded state (hereinafter, referred to as a 'first folded state') forming an angle of about 90 degrees.
  • the display module 911 disposed in the first housing 913 is exposed in the direction of gravity
  • the second housing 914 is exposed in the direction of gravity.
  • a folded state hereinafter, referred to as a 'second folding state'
  • the keyboard 912 disposed on the second housing 914 is exposed in the direction of gravity, and the first housing 913 .
  • the keyboard 912 disposed on the second housing 914 is exposed in the direction of gravity
  • the first housing 913 . may be in a folded state (hereinafter, referred to as a 'third folded state') in which the display module 911 disposed in the direction of gravity is exposed in a direction opposite to the direction of gravity.
  • a 'third folded state' in which the display module 911 disposed in the direction of gravity is exposed in a direction opposite to the direction of gravity.
  • the direction in which the keyboard 912 disposed on the second housing 914 is exposed is opposite to the direction of gravity, and the second The keyboard 912 of the housing 914 may be in a folded state (hereinafter, referred to as a 'fourth folded state') in which the display module 911 of the first housing 913 faces.
  • a 'fourth folded state' a folded state in which the display module 911 of the first housing 913 faces.
  • the main processor 260 may determine whether the electronic device 101 is in a specified folded state. For example, the main processor 260 may check whether the folding state of the electronic device 101 is changed to a specified folding state.
  • the designated folding state may include a second folding state or a third folding state.
  • the main processor 260 may check whether the folded state of the electronic device 101 is switched from the first folded state to the second folded state or the third folded state through the first sensor.
  • the second folding state may be a state in which input data can be input from the user through the input module 240 as shown by reference numeral 920 of FIG. 9 .
  • the third folding state may be a state in which input data can be input from a user through the display module 210 as shown by reference numeral 930 of FIG. 9 .
  • input data by a user's finger or electronic pen
  • the second auxiliary processor 280 may perform an operation for connection with an external electronic device.
  • Examples of operation 805 are at least partially the same as or similar to those of operation 603 of FIG. 6 , and thus a detailed description thereof will be omitted.
  • the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state).
  • an inactive state eg, a standby state or a power-off state.
  • the main processor 260 when the electronic device 101 is in a specified folding state and is connected to an external electronic device, the main processor 260 disables at least a portion of the display module 210 (eg, in a power-off state or standby state) can be controlled. In an embodiment, when the electronic device 101 is in the third folded state and connected to the external electronic device, the main processor 260 may control a portion of the display module 210 to be activated. For example, when the electronic device 101 is in the third folding state and connected to the external electronic device, the main processor 260 may be configured to receive an input by a touch panel and/or an electronic pen for a touch input.
  • the main processor 260 may control the input module 240 to be deactivated when the electronic device 101 is in the third folded state and connected to the external electronic device.
  • the main processor 260 may control the display module 210 to be deactivated when the electronic device 101 is in the second folded state and connected to the external electronic device.
  • the main processor 260 when the electronic device 101 is in a designated folding state and connected to an external electronic device, the main processor 260 is the first auxiliary processor 270, and the state of the main processor 260 is It can carry information indicating that it has transitioned (or will be transitioned to) an inactive state (eg, a standby state or a power-off state). In an embodiment, the main processor 260 may transmit information indicating that the state of the display module 210 is switched to an inactive state (eg, a power-off state or a standby state) to the first auxiliary processor 270 . .
  • the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered). In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of the 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
  • information or a display module When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
  • the main processor 260 when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the main processor 260 is configured to ) can remain active. For example, when the electronic device 101 is not connected to the external electronic device, the main processor 260 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode.
  • the second co-processor 280 may operate in an external input mode.
  • the second auxiliary processor 280 when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
  • the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
  • input data eg, data related to a user input
  • the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
  • an external input device eg, a wired or wirelessly connected keyboard
  • the second folding state and the third folding state are exemplified, but the present invention is not limited thereto.
  • the electronic device 101 may operate in the external input mode. have.
  • the electronic device 101 is in a fourth folded state in which the keyboard 912 of the second housing 914 faces the display module 911 of the first housing 913 .
  • the electronic device 101 (eg, the second auxiliary processor 280 ) includes an external input device 950 (eg, a wired mouse and / or a wired keyboard) may be transmitted to the external electronic device 103 through the communication module 250 .
  • the external electronic device 103 may move the cursor 960 based on input data (eg, data related to a mouse movement) received from the electronic device 101 .
  • FIG. 10 illustrates that the electronic device 101 and the external input device 950 are connected through a cable 951 , the electronic device 101 and the external input device may be connected wirelessly.
  • 11 is a flowchart 1100 illustrating a method of operating in an external input mode based on detachment of an electronic pen, according to various embodiments of the present disclosure.
  • FIG. 12 is an exemplary diagram 1200 illustrating a method of operating in an external input mode based on detachment of the electronic pen, according to various embodiments of the present disclosure.
  • the processor eg, the main processor 260
  • the sensor module 220 eg, the second sensor
  • the electronic device 101 It can be detected that the electronic pen is detached (eg, detached) from the .
  • the second sensor when the electronic pen is accommodated in or detached from the electronic device 101 , the second sensor is connected to a coil (eg, a coil for charging) included in the electronic pen. It may include a sensor (eg, a magnetic field sensor or a coil sensor) capable of detecting a magnetic field change induced by the .
  • the second sensor is not limited to the above-described example, and may include any sensor capable of detecting that the electronic pen is accommodated in the electronic device 101 or is detached from the electronic device 101 .
  • the electronic pen is received or detached from the electronic device 101 is exemplified, but the present invention is not limited thereto.
  • the electronic device 101 when the electronic device 101 is a detachable 2-IN-1 tablet, the electronic device 101 includes a first part including a display module and a first part including an input module (eg, a keyboard). Partial separation can be detected. Even when the electronic device 101 is separated into the first part and the second part, the following operations may be performed in the same or similar manner as when the electronic pen is separated from the electronic device 101 .
  • the second auxiliary processor 280 may perform an operation for connection with an external electronic device.
  • Examples of operation 1103 are at least partially the same as or similar to the examples of operation 603 of FIG. 6 , so a detailed description thereof will be omitted.
  • the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state).
  • an inactive state eg, a standby state or a power-off state.
  • the main processor 260 disables the display module 210 (eg: It can be controlled to be in the power-off state or standby state).
  • the main processor 260 when the electronic pen is detached from the electronic device 101 and the electronic device 101 is in a communication-connected state with an external electronic device, the main processor 260 is Information indicating that the state of the processor 260 is changed to (or will be switched to) an inactive state (eg, a standby state or a power-off state) may be transmitted. In an embodiment, the main processor 260 may transmit information indicating that the state of the display module 210 is switched to an inactive state (eg, a power-off state or a standby state) to the first auxiliary processor 270 . .
  • the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered). In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of the 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
  • information or a display module When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
  • the main processor 260 when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the main processor 260 is configured to ) can remain active. For example, when the electronic device 101 is not connected to the external electronic device, the main processor 260 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode.
  • the second co-processor 280 may operate in an external input mode.
  • the second auxiliary processor 280 when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
  • the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and may be transmitted to an external electronic device that is communicated with each other.
  • input data eg, data related to a user input
  • the second auxiliary processor 280 transmits input data input through an external input device (eg, a keyboard connected by wire or wirelessly) connected to the electronic device 101 in communication with the communication module ( ) in the external input mode. 250) to an external electronic device communicatively connected to the electronic device 101 .
  • an external input device eg, a keyboard connected by wire or wirelessly
  • the second auxiliary processor 280 transmits, in the external input mode, input data input by the electronic pen to an external electronic device communicatively connected to the electronic device 101 through the communication module 250 .
  • the input module 240 disposed in the second housing 1214 is exposed in the gravitational direction, and the display disposed in the first housing 1213 .
  • the module 911 may be in a third folded state exposed in a direction opposite to the direction of gravity.
  • the electronic device 101 eg, the second processor
  • the external electronic device 103 transmits the writing data 1221 corresponding to the input data to the interaction interface based on input data (eg, the writing data 1211 ) input by the electronic pen received from the electronic device 101 . (1220) can be indicated.
  • At least one auxiliary processor of the electronic device 101 through the input module 240 of the electronic device 101 receives a first input
  • the at least one coprocessor 270 , 280 , and/or 290
  • the at least one coprocessor is configured such that the first input is an input for switching an external input mode
  • the at least one auxiliary processor 270 , 280 , and/or 290 is inputted through the input module 240 in the external input mode. and transmitting the input data to an external electronic device communicatively connected to the electronic device 101 through the communication module 250 of the electronic device 101 .
  • the at least one coprocessor 270 , 280 , and/or 290 may include a first coprocessor 270 , and a second coprocessor operating at lower power as compared to the first coprocessor 270 . (280).
  • the receiving of the first input includes receiving, by the first coprocessor 270 , an input for changing a power state through the input module 240 , and the control The operation is based on the first sub-processor 270 confirming that the input for switching the power state is the input for the external input mode: controlling the main processor 260 to be in a power-off state operation, and controlling the second auxiliary processor 280 to operate in the external input mode.
  • the method includes an operation in which the first auxiliary processor 270 cuts off the power supplied to the main processor 260 through the power circuit 230 of the electronic device 101 ;
  • the operation of the first auxiliary processor 270 entering a standby state may be further included.
  • the receiving of the first input may include the second auxiliary processor 280 switching the mode of the electronic device 101 to the external input mode through the input module 240 . and receiving an input for a key designated for the purpose, and the controlling operation is based on the second auxiliary processor 280 confirming that the input for the designated key is an input for switching the external input mode. , a method of controlling the main processor 260 and the first auxiliary processor 270 to be in a standby state.
  • the method includes, based on the second auxiliary processor 280 confirming that the key input is an input for switching the external input mode, through the communication module 250, the electronic device ( 101) and the operation of communicatively connecting the external electronic device.
  • the method comprises. receiving, by the second auxiliary processor 280, a request for changing the mode of the electronic device 101 to the external input mode, from the external electronic device through the communication module 250; and
  • the main processor 260 displays, through the display module 210 of the electronic device 101 , guide information related to a designated key to change the mode of the electronic device 101 to the external input mode. may include more.
  • the method includes an operation of the main processor 260 detecting a folding state of the electronic device 101 through the sensor module 220 of the electronic device 101 , and the main processor The method may further include, by 260 , controlling the at least one auxiliary processor 270 , 280 , and/or 290 to operate in the external input mode based on the detected folding state.
  • the method includes: detecting, by the main processor 260 , that the electronic pen is detached from the electronic device 101 through the sensor module 220 of the electronic device 101 ; An operation of controlling the at least one auxiliary processor 270 , 280 , and/or 290 to operate in the external input mode based on the main processor 260 detecting that the electronic pen is detached from the electronic device 101 .
  • An operation of controlling the at least one auxiliary processor 270 , 280 , and/or 290 to operate in the external input mode based on the main processor 260 detecting that the electronic pen is detached from the electronic device 101 . may include
  • the method includes, in the external input mode, receiving input data from an external input device communicatively connected to the electronic device 101 through the communication module 250 , and transmitting the received input data. , transmitting to the external electronic device through the communication module 250 .
  • the structure of the data used in the above-described embodiment of the present invention may be recorded in a computer-readable recording medium through various means.
  • the computer-readable recording medium is a magnetic storage medium (eg, ROM, floppy disk, hard disk), an optically readable medium (eg, CD-ROM, DVD), or an electrical storage medium (eg, and storage media such as flash memory and solid state disk (SSD).

Abstract

An electronic device according to various embodiments of the present invention comprises: an input module; a communication module; a main processor; and at least one auxiliary processor, wherein the at least one auxiliary processor may be configured to receive a first input through the input module, confirm whether or not the first input is an input for switching to an external input mode, control the main processor to be in an inactive state on the basis of confirming that the first input is the input for switching to the external input mode, and transmit, in the external input mode, input data input through the input module to an external electronic device connected to the electronic device for communication through the communication module.

Description

입력 데이터를 제공하는 방법 및 이를 지원하는 전자 장치Methods for providing input data and electronic devices supporting the same
본 발명의 다양한 실시예들은, 입력 데이터를 제공하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to a method of providing input data and an electronic device supporting the same.
최근 디지털 기술의 발달과 함께, 랩탑(laptop), 태블릿 PC(tablet personal computer), 이동 통신 단말기, 웨어러블 디바이스(wearable device) 와 같은 다양한 유형의 전자 장치가 널리 사용되고 있다.With the recent development of digital technology, various types of electronic devices such as a laptop, a tablet personal computer, a mobile communication terminal, and a wearable device are widely used.
전자 장치는, 입력 장치를 통하여 입력된 입력 데이터를 전자 장치의 표시 장치를 통하여 표시할 뿐만 아니라, 전자 장치와 연결된 외부 전자 장치에 대하여 입력 장치로서 동작할 수 있다. 예를 들어, 전자 장치는, 입력 장치를 통하여 입력된 입력 데이터를, 외부 전자 장치가 표시하도록, 입력된 데이터를 외부 전자 장치로 전송할 수 있다.The electronic device may not only display input data input through the input device through the display device of the electronic device, but may also operate as an input device for an external electronic device connected to the electronic device. For example, the electronic device may transmit the input data to the external electronic device so that the external electronic device displays the input data input through the input device.
전자 장치는 시스템(예: 어플리케이션 프로세서)이 활성화된 상태에서 외부 전자 장치에 대한 입력 장치로서 동작할 수 있으나, 시스템이 비활성화된 상태에서는 외부 전자 장치에 대한 입력 장치로서 동작할 수 없다. The electronic device may operate as an input device for an external electronic device while the system (eg, an application processor) is activated, but may not operate as an input device for the external electronic device when the system is deactivated.
본 발명의 다양한 실시예들은, 시스템이 비활성화 상태에 있는 동안(또는 저전력으로), 입력 장치를 통하여 입력된 입력 데이터를 외부 전자 장치로 제공할 수 있는, 입력 데이터를 제공하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present invention provide a method for providing input data, which can provide input data input through an input device to an external electronic device while a system is in an inactive state (or with low power), and an electronic device supporting the same It's about the device.
본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved by the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. There will be.
본 발명의 다양한 실시예들에 따른 전자 장치는, 입력 모듈, 통신 모듈, 메인 프로세서, 및 상기 입력 모듈, 상기 통신 모듈, 및 상기 메인 프로세서와 작동적으로(operably) 연결된 적어도 하나의 보조 프로세서를 포함하고, 상기 적어도 하나의 보조 프로세서는, 상기 입력 모듈을 통하여 제 1 입력을 수신하고, 상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하고, 상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 메인 프로세서가 비활성화 상태가 되도록 제어하고, 및 상기 외부 입력 모드에서, 상기 입력 모듈을 통하여 입력되는 입력 데이터를 상기 통신 모듈을 통하여 상기 전자 장치와 통신 연결된 외부 전자 장치로 전송하도록 구성될 수 있다.An electronic device according to various embodiments of the present disclosure includes an input module, a communication module, a main processor, and at least one auxiliary processor operably connected to the input module, the communication module, and the main processor and the at least one auxiliary processor receives a first input through the input module, checks whether the first input is an input for switching an external input mode, and determines whether the first input is an input for switching the external input mode Controls the main processor to be in an inactive state based on confirming that it is an input for may be configured to transmit to an electronic device.
본 발명의 다양한 실시예들에 따른 전자 장치에서 입력 데이터를 제공하는 방법은, 상기 전자 장치의 입력 모듈을 통하여, 상기 전자 장치의 적어도 하나의 보조 프로세서가, 제 1 입력을 수신하는 동작, 상기 적어도 하나의 보조 프로세서가, 상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하는 동작, 상기 적어도 하나의 보조 프로세서가, 상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 전자 장치의 메인 프로세서가 비활성화 상태가 되도록 제어하는 동작, 및 상기 적어도 하나의 보조 프로세서가, 상기 외부 입력 모드에서, 상기 입력 모듈을 통하여 입력되는 입력 데이터를 상기 전자 장치의 통신 모듈을 통하여 상기 전자 장치와 통신 연결된 외부 전자 장치로 전송하는 동작을 포함할 수 있다.A method of providing input data in an electronic device according to various embodiments of the present disclosure includes the steps of: receiving, by at least one coprocessor of the electronic device, a first input through an input module of the electronic device; checking, by one sub-processor, whether the first input is an input for switching the external input mode, and confirming, by the at least one sub-processor, that the first input is an input for switching the external input mode an operation of controlling the main processor of the electronic device to be in an inactive state based on the It may include an operation of transmitting to an external electronic device connected to the electronic device through communication.
본 발명의 다양한 실시예에 따른 입력 데이터를 제공하는 방법 및 이를 지원하기 위한 전자 장치는, 시스템이 비활성화 상태에 있는 동안(또는 저전력으로), 입력 장치를 통하여 입력된 입력 데이터를 외부 전자 장치로 제공할 수 있다.A method for providing input data and an electronic device supporting the same according to various embodiments of the present disclosure provide input data input through an input device to an external electronic device while a system is in an inactive state (or at low power) can do.
도 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 an electronic device according to various embodiments of the present disclosure;
도 3은, 다양한 실시예들에 따른, 제 1 보조 프로세서 및 제 2 보조 프로세서가 통합된 보조 프로세서를 포함하는 전자 장치를 나타낸 블록도이다.3 is a block diagram illustrating an electronic device including a coprocessor in which a first coprocessor and a second coprocessor are integrated, according to various embodiments of the present disclosure;
도 4는, 다양한 실시예들에 따른, 입력 데이터를 제공하는 방법을 설명하는 전체적인 흐름도이다.4 is an overall flowchart illustrating a method of providing input data, according to various embodiments.
도 5는, 다양한 실시예들에 따른, 전력 상태 전환을 위한 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 흐름도이다.5 is a flowchart illustrating a method of operating in an external input mode based on an input for changing a power state, according to various embodiments of the present disclosure;
도 6은, 다양한 실시예들에 따른, 외부 입력 모드 전환을 위한 키 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 흐름도이다.6 is a flowchart illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure;
도 7은, 다양한 실시예들에 따른, 외부 입력 모드 전환을 위한 키 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 예시도이다.7 is an exemplary diagram illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure;
도 8은, 다양한 실시예들에 따른, 전자 장치의 폴딩 상태에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 흐름도이다.8 is a flowchart illustrating a method of operating in an external input mode based on a folded state of an electronic device, according to various embodiments of the present disclosure;
도 9는, 다양한 실시예들에 따른, 전자 장치의 다양한 폴딩 상태를 설명하는 예시도이다.9 is an exemplary diagram illustrating various folding states of an electronic device according to various embodiments of the present disclosure;
도 10은, 다양한 실시예들에 따른, 전자 장치의 폴딩 상태에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 예시도이다.10 is an exemplary diagram illustrating a method of operating in an external input mode based on a folded state of an electronic device, according to various embodiments of the present disclosure;
도 11은, 다양한 실시예들에 따른, 전자 펜의 탈착에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 흐름도이다.11 is a flowchart illustrating a method of operating in an external input mode based on detachment of an electronic pen, according to various embodiments of the present disclosure;
도 12는, 다양한 실시예들에 따른, 전자 펜의 탈착에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 예시도이다.12 is an exemplary diagram illustrating a method of operating in an external input mode based on detachment of an electronic pen, according to various embodiments of the present disclosure;
도 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), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(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 , an electronic device 101 communicates with an 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 module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a 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 stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can 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))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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 module 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. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). 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 module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 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. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(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 module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
센서 모듈(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 one 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 designated 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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: 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 performance 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 communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a 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 the 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 or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(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 an 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 (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 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, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, underside) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 ( eg 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)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. 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 or 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 external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is 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. 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, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to 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 , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When 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)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, 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, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands 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 called at least one command. 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 include a signal (eg, electromagnetic wave), and this term is used in cases 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))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be included and provided in a 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 TM ) or on two user devices ( It can be distributed online (eg download or upload), directly 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 generated 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, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. 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는, 다양한 실시예들에 따른, 전자 장치(101)를 나타내는 블록도이다.2 is a block diagram illustrating an electronic device 101 according to various embodiments of the present disclosure.
이하에서, 입력 모듈(240)(또는 전자 장치(101)와 통신 연결된 외부 입력 장치)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 전자 장치(101)와 네트워크 연결된 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 전자 장치(104))로 전송하는 전자 장치(101)의 모드를, '외부 입력 모드(external input mode)'로 지칭하기로 한다. 예를 들어, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터가 외부 전자 장치로 전송되는 경우, 외부 전자 장치는 입력 데이터에 기반하여 동작을 수행할 수 있다. Hereinafter, input data (eg, data related to user input) input through the input module 240 (or an external input device communicatively connected to the electronic device 101 ) is transferred to the electronic device 101 and an external electronic device connected to the network ( Example: A mode of the electronic device 101 that transmits to the electronic device 102 or 104 of FIG. 1 will be referred to as an 'external input mode'. For example, in the external input mode, when input data input through the input module 240 is transmitted to the external electronic device, the external electronic device may perform an operation based on the input data.
이하에서, 입력 모듈(240)(또는 전자 장치(101)와 통신 연결된 외부 입력 장치)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)에 기반하여, 전자 장치(101)가 동작을 수행하는 모드를, '내부 입력 모드(internal input mode)'로 지칭하기로 한다. 내부 입력 모드는 '일반 입력 모드(normal input mode)'로 지칭될 수도 있다. Hereinafter, the electronic device 101 performs an operation based on input data (eg, data related to a user input) input through the input module 240 (or an external input device communicatively connected to the electronic device 101 ). This mode will be referred to as an 'internal input mode'. The internal input mode may be referred to as a 'normal input mode'.
외부 입력 모드 및 내부 입력 모드에서의 동작들의 예시들에 대하여, 이하에서 상세히 설명하도록 한다.Examples of operations in the external input mode and the internal input mode will be described in detail below.
도 2를 참조하면, 일 실시예에서, 전자 장치(101)는, 디스플레이 모듈(210), 센서 모듈(220), 전력 회로(230), 입력 모듈(240), 통신 모듈(250), 메인 프로세서(260), 제 1 보조 프로세서(270), 및 제 2 보조 프로세서(280)를 포함할 수 있다.Referring to FIG. 2 , in an embodiment, the electronic device 101 includes a display module 210 , a sensor module 220 , a power circuit 230 , an input module 240 , a communication module 250 , and a main processor. 260 , a first co-processor 270 , and a second co-processor 280 may be included.
일 실시예에서, 디스플레이 모듈(210)은 도 1의 디스플레이 모듈(160)일 수 있다. In one embodiment, the display module 210 may be the display module 160 of FIG. 1 .
일 실시예에서, 디스플레이 모듈(210)은 입력 장치로서 동작할 수 있다. 예를 들어, 디스플레이 모듈(210)은 사용자(예: 사용자의 손가락)에 의한 입력을 수신할 수 있는 센서(예: 터치 센서)를 포함할 수 있다. 디스플레이 모듈(210)은 수신된 입력을 메인 프로세서(260)(또는 제 2 보조 프로세서(280))로 전달할 수 있다. 도 2에서 디스플레이 모듈(210)이 메인 프로세서(260)와 연결된 것으로 도시하고 있지만, 일 실시예에서, 디스플레이 모듈(210)은 제 2 보조 프로세서(280)와 연결될 수 있다. In an embodiment, the display module 210 may operate as an input device. For example, the display module 210 may include a sensor (eg, a touch sensor) capable of receiving an input by a user (eg, a user's finger). The display module 210 may transmit the received input to the main processor 260 (or the second auxiliary processor 280 ). Although the display module 210 is illustrated as being connected to the main processor 260 in FIG. 2 , in an embodiment, the display module 210 may be connected to the second auxiliary processor 280 .
일 실시예에서, 센서 모듈(220)은, 다양한 센서들을 포함할 수 있다. In an embodiment, the sensor module 220 may include various sensors.
일 실시예에서, 센서 모듈(220)은 전자 장치(101)의 자세(posture), 움직임(motion), 및/또는 폴딩(folding)(및 언폴딩(unfolding))을 검출할 수 있는 센서(이하, '제 1 센서'로 지칭함)를 포함할 수 있다. 제 1 센서는, 가속도 센서 또는 자이로 센서 중 적어도 하나를 포함할 수 있다. 다만, 제 1 센서가 포함하는 센서는 전술한 예시에 제한되지 않으며, 예를 들어, 전자 장치(101)의 폴딩을 검출하기 위하여 홀(hall) 센서를 더 포함할 수 있다. In an embodiment, the sensor module 220 is a sensor capable of detecting a posture, motion, and/or folding (and unfolding) of the electronic device 101 (hereinafter referred to as "unfolding"). , referred to as a 'first sensor'). The first sensor may include at least one of an acceleration sensor and a gyro sensor. However, the sensor included in the first sensor is not limited to the above-described example, and, for example, may further include a hall sensor to detect folding of the electronic device 101 .
일 실시예에서, 센서 모듈(220)은, 전자 펜이 전자 장치(101)에 수납(예: 부착)되거나 전자 장치(101)로부터 분리(예: 탈착)됨을 검출하기 위한 센서(이하, '제 2 센서'로 지칭함)를 포함할 수 있다. 제 2 센서는, 전자 펜이 전자 장치(101)에 수납되거나 전자 장치(101)로부터 분리되는 경우, 전자 펜 내부에 포함된 코일(coil)(예: 충전을 위한 코일)에 의해 유도되는 자기장 변화를 검출할 수 있는 센서(예: 자기장 센서 또는 코일 센서)를 포함할 수 있다. In an embodiment, the sensor module 220 includes a sensor (hereinafter, 'first 2 sensors'). The second sensor is a magnetic field change induced by a coil (eg, a coil for charging) included in the electronic pen when the electronic pen is accommodated in the electronic device 101 or separated from the electronic device 101 . It may include a sensor (eg, a magnetic field sensor or a coil sensor) capable of detecting
다만, 제 2 센서는, 전술한 예시에 제한되지 않으며, 전자 펜이 전자 장치(101)에 수납되거나 전자 장치(101)로부터 분리됨을 검출할 수 있는 센서를 모두 포함할 수 있다.However, the second sensor is not limited to the above example, and may include any sensor capable of detecting that the electronic pen is accommodated in the electronic device 101 or is separated from the electronic device 101 .
일 실시예에서, 센서 모듈(220)은, 생체 센서 또는 이미지 센서(예: 카메라 모듈) 중 적어도 하나를 더 포함할 수 있다.In an embodiment, the sensor module 220 may further include at least one of a biosensor and an image sensor (eg, a camera module).
도 2에서 센서 모듈(220)이 메인 프로세서(260)와 연결된 것으로 도시하고 있지만 이에 제한되지 않는다. 예를 들어, 센서 모듈(220)은, 제 1 보조 프로세서(270) 및/또는 제 2 보조 프로세서(280) 중 적어도 하나의 보조 프로세서와 연결될 수 있다.Although the sensor module 220 is illustrated as being connected to the main processor 260 in FIG. 2 , the present invention is not limited thereto. For example, the sensor module 220 may be connected to at least one of the first auxiliary processor 270 and/or the second auxiliary processor 280 .
일 실시예에서, 전력 회로(230)는, 전자 장치(101)에 포함된 각 구성으로 전력을 전달(예: 공급)할 수 있다. 예를 들어 전력 회로(230)는, 도 1의 전력 관리 모듈(188) 및 배터리(189)를 포함할 수 있다.In an embodiment, the power circuit 230 may transmit (eg, supply) power to each component included in the electronic device 101 . For example, the power circuit 230 may include the power management module 188 and the battery 189 of FIG. 1 .
일 실시예에서, 전력 회로(230)는, 제 1 보조 프로세서(270)로부터 수신된 제어 신호에 기반하여, 전자 장치(101)에 포함된 각 구성으로 전력을 전달할 수 있다. 예를 들어, 전력 회로(230)는, 제 1 보조 프로세서(270)로부터, 메인 프로세서(260)가 비활성화(inactive 또는 power off) 상태에 있음(또는 비활성화 상태로 전환됨)을 나타내는 신호를 수신한 경우, 메인 프로세서(260)로 전력을 전달하지 않을 수 있다(예: 메인 프로세서(260)로의 전력을 차단할 수 있다). 일 실시예에서, 전력 회로(230)는, 제 1 보조 프로세서(270) 및 제 2 보조 프로세서(280)로 상시 전력을 제공할 수 있다.In an embodiment, the power circuit 230 may transmit power to each component included in the electronic device 101 based on the control signal received from the first auxiliary processor 270 . For example, when the power circuit 230 receives, from the first auxiliary processor 270 , a signal indicating that the main processor 260 is in an inactive or power off state (or is switched to an inactive state). , power may not be transmitted to the main processor 260 (eg, power to the main processor 260 may be cut off). In an embodiment, the power circuit 230 may provide constant power to the first co-processor 270 and the second co-processor 280 .
일 실시예에서, 입력 모듈(240)은, 도 1의 입력 모듈(150)일 수 있다. 예를 들어, 입력 모듈(240)은, 전자 장치(101)에 포함된(예: 내장된), 제 1 입력 모듈(예: 물리적인(physical) 키보드), 제 2 입력 모듈(예: 전원 관련 키(key)), 터치 패드(touch pad), 및/또는 전자 펜을 포함할 수 있다. 일 실시예에서, 상기 제 1 입력 모듈은 제 2 보조 프로세서(280)에 연결되고, 상기 제 2 입력 모듈은 제 1 보조 프로세서(270)에 연결될 수 있다. 일 실시예에서, 도 2에 도시하지는 않았지만, 전자 장치(101)는 입력 데이터를 생성할 수 있는 외부 입력 장치와 유선 또는 무선으로 연결될 수 있다. 예를 들어, 전자 장치(101)는 마우스(예: USB 케이블을 통하여 연결되는 마우스 또는 무선 마우스) 또는 키보드(예: USB 케이블을 통하여 연결되는 키보드 또는 무선 키보드)와 연결될 수 있다. 외부 입력 장치는, 전자 장치(101)로부터 전력 회로(230)를 통하여 전력을 공급 받을 수 있다. 예를 들어, 외부 입력 장치는, 전자 장치가 외부 입력 모드로 동작하는 경우, 제 1 보조 프로세서(270)의 제어 하에, 전력 회로(230)로부터 전력을 공급 받을 수 있다.In one embodiment, the input module 240 may be the input module 150 of FIG. 1 . For example, the input module 240 includes (eg, built-in) included in the electronic device 101 , a first input module (eg, a physical keyboard), and a second input module (eg, related to power). a key), a touch pad, and/or an electronic pen. In one embodiment, the first input module may be connected to the second co-processor 280 , and the second input module may be connected to the first co-processor 270 . In an embodiment, although not shown in FIG. 2 , the electronic device 101 may be connected to an external input device capable of generating input data by wire or wirelessly. For example, the electronic device 101 may be connected to a mouse (eg, a mouse or wireless mouse connected through a USB cable) or a keyboard (eg, a keyboard or wireless keyboard connected through a USB cable). The external input device may receive power from the electronic device 101 through the power circuit 230 . For example, when the electronic device operates in the external input mode, the external input device may receive power from the power circuit 230 under the control of the first auxiliary processor 270 .
일 실시예에서, 입력 모듈(240) 및 외부 입력 장치는, HID(human interface device)로 지칭될 수 있다. In an embodiment, the input module 240 and the external input device may be referred to as a human interface device (HID).
도 2에서 입력 모듈(240)이 제 2 보조 프로세서(280)와 연결되는 것으로 도시하고 있지만 이에 제한되지 않는다. 예를 들어, 키보드가 제 2 보조 프로세서(280)와 연결되고, 전원 버튼은 제 1 보조 프로세서(270)와 연결될 수 있다. Although the input module 240 is illustrated as being connected to the second auxiliary processor 280 in FIG. 2 , the present invention is not limited thereto. For example, the keyboard may be connected to the second auxiliary processor 280 , and the power button may be connected to the first auxiliary processor 270 .
일 실시예에서, 통신 모듈(250)은 도 1의 통신 모듈(190)일 수 있다. 예를 들어, 통신 모듈(250)은 무선 통신 모듈(192) 및 유선 통신 모듈(194)을 포함할 수 있다. In one embodiment, the communication module 250 may be the communication module 190 of FIG. 1 . For example, the communication module 250 may include a wireless communication module 192 and a wired communication module 194 .
일 실시예에서, 통신 모듈(250)은 입력 데이터를 수신할 수 있는 외부 전자 장치와의 연결을 위한 근거리 통신(예: 블루투스, WiFi, 또는 IrDA) 모듈을 포함할 수 있다.In an embodiment, the communication module 250 may include a short-range communication (eg, Bluetooth, WiFi, or IrDA) module for connection with an external electronic device capable of receiving input data.
일 실시예에서, 메인 프로세서(260)는 도 1의 메인 프로세서(121)일 수 있다. 예를 들어, 메인 프로세서(260)는 중앙 처리 장치 또는 어플리케이션 프로세서를 포함할 수 있다. 일 실시예에서, 메인 프로세서는, 내장(embedded) GPU(graphic processor unit)를 포함할 수 있다.In one embodiment, the main processor 260 may be the main processor 121 of FIG. 1 . For example, the main processor 260 may include a central processing unit or an application processor. In an embodiment, the main processor may include an embedded graphic processor unit (GPU).
일 실시예에서, 제 1 보조 프로세서(270)는, 도 1의 보조 프로세서(123)에 포함될 수 있다. In one embodiment, the first co-processor 270 may be included in the co-processor 123 of FIG. 1 .
일 실시예에서, 제 1 보조 프로세서(270)는 메인 프로세서(260)에 비하여, 낮은 성능을 가지며, 저전력으로(또는 절전 모드로) 동작할 수 있다.In an embodiment, the first auxiliary processor 270 may have lower performance than the main processor 260 and may operate with low power (or in a power saving mode).
일 실시예에서, 제 1 보조 프로세서(270)는, 복잡한 작업을 보다 신속하게 처리할 수 있도록 많은 명령어가 설정된 저전력 마이크로 콘트롤러를 위한 임베디드 프로세서일 수 있다. 제 1 보조 프로세서(270)는 하드웨어 디바이더(hardware divider) 및 multiply-accumulate(MAC) 명령어를 탑재하고 있으며, 디버그 및 추적 기능을 지원할 수 있다. 제 1 보조 프로세서(270)는, Single   Instruction Multiple Data(SIMD)와 보다 빠른 단일 사이클 MAC 연산과 같은 디지털 신호 처리(Digital Signal Processing) 작업에서 추가 명령어 대상을 제공한다. 또한 IEEE 754 부동 소수점 표준을 지원하는 단정도(Single Precision) 부동 소수점 유닛 (옵션)도 제공할 수 있다.In one embodiment, the first co-processor 270 may be an embedded processor for a low-power microcontroller in which many instructions are set to process complex tasks more quickly. The first coprocessor 270 is equipped with a hardware divider and multiply-accumulate (MAC) instructions, and may support debug and trace functions. The first coprocessor 270 provides additional instruction targets in Digital Signal Processing tasks such as Single   Instruction Multiple Data (SIMD) and faster single cycle MAC operations. It can also provide an optional single-precision floating-point unit that supports the IEEE 754 floating-point standard.
일 실시예에서, 제 1 보조 프로세서(270)는 전자 장치(101)의 전력을 관리할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터 수신된, 메인 프로세서(260)의 동작 상태 정보에 기반하여(예: 메인 프로세서(260)의 상태를 나타내는 플래그(flag)를 확인함으로써), 메인 프로세서(260)의 상태에 대응하는 전력이 메인 프로세서(260)로 전달되도록, 전력 회로(230)를 제어할 수 있다. 일 실시예에서, 제 1 보조 프로세서(270)는, 전력 콘트롤러(power controller)를 포함할 수 있다.In an embodiment, the first auxiliary processor 270 may manage power of the electronic device 101 . For example, the first auxiliary processor 270 may receive from the main processor 260 , based on the operation state information of the main processor 260 (eg, a flag indicating the state of the main processor 260 ). by checking ), the power circuit 230 may be controlled so that power corresponding to the state of the main processor 260 is transmitted to the main processor 260 . In one embodiment, the first auxiliary processor 270 may include a power controller.
일 실시예에서, 제 1 보조 프로세서(270)는 제 2 보조 프로세서(280)를 제어할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 메인 프로세서(260)의 상태에 대한 정보에 기반하여, 제 2 보조 프로세서(280)가 내부 입력 모드 또는 외부 입력 모드에 대응하는 동작을 수행하도록, 제 2 보조 프로세서(280)를 제어할 수 있다.In an embodiment, the first co-processor 270 may control the second co-processor 280 . For example, the first auxiliary processor 270 may cause the second auxiliary processor 280 to perform an operation corresponding to the internal input mode or the external input mode based on the information on the state of the main processor 260; The second auxiliary processor 280 may be controlled.
일 실시예에서, 제 1 보조 프로세서(270)는, 전력 관리 모듈(188)(예: PMIC)의 적어도 일부를 포함할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전력 관리 모듈(188)의 적어도 일부 기능을 수행할 수 있다. 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)(예: 중앙 처리 장치)의 동작 상태 정보에 기반하여, 팬 장치에 대한 팬 구동 속도를 제어할 수 있다. In an embodiment, the first co-processor 270 may include at least a portion of the power management module 188 (eg, PMIC). For example, the first auxiliary processor 270 may perform at least some functions of the power management module 188 . In an embodiment, the first auxiliary processor 270 may control a fan driving speed of the fan device based on operation state information of the main processor 260 (eg, a central processing unit).
일 실시예에서, 제 2 보조 프로세서(280)는, 도 1의 보조 프로세서(123)에 포함될 수 있다. In an embodiment, the second co-processor 280 may be included in the co-processor 123 of FIG. 1 .
일 실시예에서, 제 2 보조 프로세서(280)는 제 1 보조 프로세서(270)에 비하여, 낮은 성능을 가지며, 저전력으로 동작할 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)와 동일한 성능을 가지며, 동일한 전력으로 동작할 수도 있다. 다른 예를 들어, 제 1 보조 프로세서(270)는 제 2 보조 프로세서(280)에 비하여, 낮은 성능을 가지며, 저전력으로 동작할 수도 있다. 예를 들어, 제 1 보조 프로세서(270)는 저전력(low power) 상태로 동작하고, 제 2 보조 프로세서(280)는 활성화(active) 상태로 동작할 수 있다.In an embodiment, the second sub-processor 280 may have lower performance than the first sub-processor 270 and may operate with low power. However, the present invention is not limited thereto. For example, the second auxiliary processor 280 may have the same performance as the first auxiliary processor 270 and may operate with the same power. For another example, the first sub-processor 270 may have lower performance than the second sub-processor 280 and may operate with low power. For example, the first auxiliary processor 270 may operate in a low power state, and the second auxiliary processor 280 may operate in an active state.
일 실시예에서, 제 2 보조 프로세서(280)는 내부 입력 모드 또는 외부 입력 모드에 대응하는 동작을 수행할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 내부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터를, 제 1 보조 프로세서(270)를 통하여, 메인 프로세서(260)로 전달할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터를, 통신 모듈(250)을 통하여 외부 전자 장치로 전송할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 내부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터를, 제 1 보조 프로세서(270)를 통하지 않고, 메인 프로세서(260)로 전달할 수도 있다.In an embodiment, the second auxiliary processor 280 may perform an operation corresponding to the internal input mode or the external input mode. For example, the second auxiliary processor 280 may transmit input data input through the input module 240 to the main processor 260 through the first auxiliary processor 270 in the internal input mode. . As another example, in the external input mode, the second auxiliary processor 280 may transmit input data input through the input module 240 to the external electronic device through the communication module 250 . For another example, in the internal input mode, the second auxiliary processor 280 transmits input data input through the input module 240 to the main processor 260 without going through the first auxiliary processor 270 . may be
일 실시예에서, 제 2 보조 프로세서(280)는, 입출력 콘트롤러(input/output controller)를 포함할 수 있다. 일 실시예에서, 제 2 보조 프로세서(280)는, 입력 모듈(240) 및 통신 모듈(250)과 통신하기 위한 인터페이스들을 포함할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 입력 모듈(240)로부터 입력 데이터를 수신하기 위한 통신 인터페이스(예: I2C(inter integrated circuit) 통신 인터페이스)를 포함할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 무선 통신 장치로 입력 데이터를 전달하기 위한 통신 인터페이스(예: UART(universal asynchronous receiver/transmitter) 통신 인터페이스)를 포함할 수 있다. 다만, 제 2 보조 프로세서(280)가 포함하는 통신 인터페이스들은 전술한 예시들에 제한되지 않는다. 일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 통신 인터페이스(예: I2C 통신 인터페이스)를 이용하여 입력 모듈(240)로부터 수신된 입력 데이터를 통신 모듈(250)로 전달하기 위하여, 상기 입력 데이터를 제 2 통신 인터페이스(예: UART 통신 인터페이스)의 규격에 맞도록 변환할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 상기 제 1 통신 인터페이스를 이용하여 입력 모듈(240)로부터 수신된 입력 데이터를 통신 모듈(250)로 전달하기 위하여, 상기 입력 데이터를 상기 제 2 통신 인터페이스의 규격에 맞도록 변환할 수 있는 버스 인터페이스(BUS interface)를 포함할 수 있다.In an embodiment, the second auxiliary processor 280 may include an input/output controller. In one embodiment, the second coprocessor 280 may include interfaces for communicating with the input module 240 and the communication module 250 . For example, the second auxiliary processor 280 may include a communication interface (eg, an inter integrated circuit (I2C) communication interface) for receiving input data from the input module 240 . As another example, the second auxiliary processor 280 may include a communication interface (eg, a universal asynchronous receiver/transmitter (UART) communication interface) for transmitting input data to the wireless communication device. However, the communication interfaces included in the second auxiliary processor 280 are not limited to the above-described examples. In one embodiment, the second co-processor 280 transmits the input data received from the input module 240 to the communication module 250 using a first communication interface (eg, an I2C communication interface). The input data may be converted to conform to the standard of the second communication interface (eg, UART communication interface). For example, the second auxiliary processor 280 transmits the input data received from the input module 240 to the communication module 250 using the first communication interface to transmit the input data to the second communication interface. It may include a bus interface (BUS interface) that can be converted to meet the standard of the interface.
일 실시예에서, 제 1 보조 프로세서(270) 및 제 2 보조 프로세서(280)는, 각각, 제 1 MCU(micro controller unit) 및 제 2 MCU로 지칭될 수도 있다.In an embodiment, the first auxiliary processor 270 and the second auxiliary processor 280 may be referred to as a first micro controller unit (MCU) and a second MCU, respectively.
내부 입력 모드 및 외부 입력 모드에서, 메인 프로세서(260), 제 1 보조 프로세서(270), 및 제 2 보조 프로세서(280)가 수행하는 동작들에 대한 실시예들에 대하여, 도 4 내지 도 12를 통하여 상세히 후술하도록 한다.4 to 12 for embodiments of operations performed by the main processor 260 , the first auxiliary processor 270 , and the second auxiliary processor 280 in the internal input mode and the external input mode It will be described later in detail through.
도 3은, 다양한 실시예들에 따른, 제 1 보조 프로세서(270) 및 제 2 보조 프로세서(280)가 통합된 보조 프로세서를 포함하는 전자 장치(101)를 나타낸 블록도이다.3 is a block diagram illustrating an electronic device 101 including a coprocessor in which the first coprocessor 270 and the second coprocessor 280 are integrated, according to various embodiments of the present disclosure.
도 3을 참조하면, 전자 장치(101)는, 디스플레이 모듈(210), 센서 모듈(220), 전력 회로(230), 입력 모듈(240), 통신 모듈(250), 메인 프로세서(260) 및 보조 프로세서(290)를 포함할 수 있다.Referring to FIG. 3 , the electronic device 101 includes a display module 210 , a sensor module 220 , a power circuit 230 , an input module 240 , a communication module 250 , a main processor 260 , and an auxiliary device. A processor 290 may be included.
디스플레이 모듈(210), 센서 모듈(220), 전력 회로(230), 입력 모듈(240), 통신 모듈(250), 및 메인 프로세서(260)는, 각각, 도 2의 디스플레이 모듈(210), 센서 모듈(220), 전력 회로(230), 입력 모듈(240), 통신 모듈(250), 및 메인 프로세서(260)와 적어도 일부가 동일 또는 유사하므로, 상세한 설명은 생략하기로 한다.The display module 210 , the sensor module 220 , the power circuit 230 , the input module 240 , the communication module 250 , and the main processor 260 are, respectively, the display module 210 of FIG. 2 , the sensor Since at least some of the module 220 , the power circuit 230 , the input module 240 , the communication module 250 , and the main processor 260 are the same or similar, a detailed description thereof will be omitted.
일 실시예에서, 보조 프로세서(290)는, 도 1의 보조 프로세서(123)에 포함될 수 있다. 일 실시예에서, 보조 프로세서(290)는 메인 프로세서(260)에 비하여, 낮은 성능을 가지며, 저전력으로 동작할 수 있다.In one embodiment, the co-processor 290 may be included in the co-processor 123 of FIG. 1 . In an embodiment, the auxiliary processor 290 has lower performance than the main processor 260 and may operate with a lower power.
일 실시예에서, 보조 프로세서(290)는, 도 2의 제 1 보조 프로세서(270) 및 제 2 보조 프로세서(280)의 동작들을 수행할 수 있다. 예를 들어, 보조 프로세서(290)는, 전력 콘트롤러(291)를 포함할 수 있다. 전력 콘트롤러(291)는, 전자 장치(101)의 전력을 관리할 수 있다. 다른 예를 들어, 보조 프로세서(290)는 입력 콘트롤러(292)를 포함할 수 있다. 입력 콘트롤러(292)는 제 2 보조 프로세서(280)의 기능의 적어도 일부로서, 내부 입력 모드 또는 외부 입력 모드에 대응하는 동작을 수행할 수 있다.In one embodiment, the co-processor 290 may perform the operations of the first co-processor 270 and the second co-processor 280 of FIG. 2 . For example, the coprocessor 290 may include a power controller 291 . The power controller 291 may manage power of the electronic device 101 . As another example, the coprocessor 290 may include an input controller 292 . As at least part of the function of the second auxiliary processor 280 , the input controller 292 may perform an operation corresponding to an internal input mode or an external input mode.
본 발명의 다양한 실시예들에 따른 전자 장치(101)는, 입력 모듈(240), 통신 모듈(250), 메인 프로세서(260), 및 상기 입력 모듈(240), 상기 통신 모듈(250), 및 상기 메인 프로세서(260)와 작동적으로(operably) 연결된 적어도 하나의 보조 프로세서(270, 280, 290)를 포함하고, 상기 적어도 하나의 보조 프로세서(270, 280, 290)는, 상기 입력 모듈(240)을 통하여 제 1 입력을 수신하고, 상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하고, 상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 메인 프로세서(260)가 비활성화 상태가 되도록 제어하고, 및 상기 외부 입력 모드에서, 상기 입력 모듈(240)을 통하여 입력되는 입력 데이터를 상기 통신 모듈(250)을 통하여 상기 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송하도록 구성될 수 있다.The electronic device 101 according to various embodiments of the present disclosure includes an input module 240 , a communication module 250 , a main processor 260 , and the input module 240 , the communication module 250 , and at least one sub-processor (270, 280, 290) operably coupled to the main processor (260), wherein the at least one co-processor (270, 280, 290) comprises: the input module (240) ) through receiving the first input, confirming whether the first input is an input for switching the external input mode, and confirming that the first input is an input for switching the external input mode, based on the main The processor 260 is controlled to be in an inactive state, and in the external input mode, input data input through the input module 240 is communicated with the electronic device 101 through the communication module 250. may be configured to transmit to an electronic device.
다양한 실시예에서, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)는, 제 1 보조 프로세서(270), 및 상기 제 1 보조 프로세서(270)에 비하여 저전력으로 동작하는 제 2 보조 프로세서(280)를 포함할 수 있다.In various embodiments, the at least one coprocessor 270 , 280 , and/or 290 may include a first coprocessor 270 , and a second coprocessor operating at lower power as compared to the first coprocessor 270 . (280).
다양한 실시예에서, 상기 제 1 보조 프로세서(270)는, 상기 입력 모듈(240)을 통하여, 전력 상태 전환을 위한 입력(예: 파워 버튼 누름)을 수신하고, 및 상기 전원 오프를 위한 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여: 상기 메인 프로세서(260)가 전원 오프 상태가 되도록 제어하고, 및 상기 제 2 보조 프로세서(280)가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성될 수 있다.In various embodiments, the first auxiliary processor 270 receives, through the input module 240 , an input for switching a power state (eg, pressing a power button), and the input for turning off the power is the Based on confirming that it is an input for switching the external input mode: to control the main processor 260 to be in a power-off state, and to control the second auxiliary processor 280 to operate in the external input mode can
다양한 실시예에서, 상기 전자 장치(101)는 전력 회로(230)를 더 포함하고, 상기 제 1 보조 프로세서(270)는, 상기 전력 회로(230)를 통하여, 상기 메인 프로세서(260)로 공급되는 전력을 차단하고, 및 대기(standby) 상태로 진입하도록 구성될 수 있다.In various embodiments, the electronic device 101 further includes a power circuit 230 , and the first auxiliary processor 270 is supplied to the main processor 260 through the power circuit 230 . It may be configured to shut off power and enter a standby state.
다양한 실시예에서, 상기 제 2 보조 프로세서(280)는, 상기 입력 모듈(240)을 통하여, 상기 전자 장치(101)를 상기 외부 입력 모드로 전환하기 위한 지정된 키(KEY) 입력을 수신하고, 및 상기 지정된 키(KEY) 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 메인 프로세서(260) 및 상기 제 1 보조 프로세서(270)가 대기 상태가 되도록 제어하도록 구성될 수 있다.In various embodiments, the second auxiliary processor 280 receives, through the input module 240 , a designated key input for switching the electronic device 101 to the external input mode, and The main processor 260 and the first auxiliary processor 270 may be controlled to be in a standby state based on confirming that the designated key input is an input for switching the external input mode.
다양한 실시예에서, 상기 제 2 보조 프로세서(280)는, 상기 지정된 키 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 통신 모듈(250)을 통하여, 상기 전자 장치(101) 및 상기 외부 전자 장치를 통신 연결하도록 구성될 수 있다.In various embodiments, the second auxiliary processor 280, based on confirming that the designated key input is an input for switching the external input mode, via the communication module 250, the electronic device 101 and It may be configured to communicate with the external electronic device.
다양한 실시예에서, 상기 전자 장치(101)는 디스플레이 모듈(210)을 더 포함하고, 상기 제 2 보조 프로세서(280)는, 상기 통신 모듈(250)을 통하여, 상기 외부 전자 장치로부터, 상기 전자 장치(101)의 모드를 상기 외부 입력 모드로 전환하기 위한 요청을 수신하고, 상기 메인 프로세서(260)는, 상기 디스플레이 모듈(210)을 통하여, 상기 전자 장치(101)의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 입력과 관련된 가이드(guide) 정보를 표시하도록 구성될 수 있다.In various embodiments, the electronic device 101 further includes a display module 210 , and the second sub-processor 280 is configured to be configured to be configured to be configured to be connected to the electronic device from the external electronic device via the communication module 250 . Upon receiving a request for changing the mode of 101 to the external input mode, the main processor 260 changes the mode of the electronic device 101 to the external input mode through the display module 210 It may be configured to display guide information associated with a designated input for conversion.
다양한 실시예에서, 상기 전자 장치(101)는 센서 모듈(220)을 더 포함하고, 상기 메인 프로세서(260)는, 상기 센서 모듈(220)을 통하여, 상기 전자 장치(101)의 폴딩 상태를 검출하고, 및 상기 검출된 폴딩 상태에 기반하여, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성될 수 있다.In various embodiments, the electronic device 101 further includes a sensor module 220 , and the main processor 260 detects a folding state of the electronic device 101 through the sensor module 220 . and, based on the detected folding state, control the at least one coprocessor 270 , 280 , and/or 290 to operate in the external input mode.
다양한 실시예에서, 상기 전자 장치(101)는 센서 모듈(220)을 더 포함하고, 상기 메인 프로세서(260)는 상기 전자 장치(101)로부터 전자 펜이 분리됨을 검출하고, 상기 전자 장치(101)로부터 전자 펜이 분리됨을 검출함에 기반하여, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성될 수 있다.In various embodiments, the electronic device 101 further includes a sensor module 220 , the main processor 260 detects that the electronic pen is separated from the electronic device 101 , and the electronic device 101 Based on detecting that the electronic pen is detached from the , the at least one auxiliary processor 270 , 280 , and/or 290 may be configured to control operation in the external input mode.
다양한 실시예에서, 상기 적어도 하나의 보조 프로세서(270, 280, 290)는, 상기 외부 입력 모드에서, 상기 통신 모듈(250)을 통하여 상기 전자 장치(101)와 통신 연결된 외부 입력 장치로부터 입력 데이터를 수신하고, 및 상기 수신된 입력 데이터를, 상기 통신 모듈(250)을 통하여, 상기 외부 전자 장치로 전송하도록 구성될 수 있다.In various embodiments, the at least one auxiliary processor 270 , 280 , 290 receives input data from an external input device communicatively connected to the electronic device 101 through the communication module 250 in the external input mode. and transmit the received input data to the external electronic device through the communication module 250 .
도 4는, 다양한 실시예들에 따른, 입력 데이터를 제공하는 방법을 설명하는 전체적인 흐름도(400)이다.4 is an overall flowchart 400 illustrating a method of providing input data in accordance with various embodiments.
도 4를 참조하면, 동작 401에서, 일 실시예에서, 보조 프로세서(예: 제 1 보조 프로세서(270) 또는 제 2 보조 프로세서(280))는, 입력 모듈(240)을 통하여, 제 1 입력을 수신할 수 있다.Referring to FIG. 4 , in operation 401 , in an embodiment, the coprocessor (eg, the first coprocessor 270 or the second coprocessor 280 ) receives a first input through the input module 240 . can receive
일 실시예에서, 보조 프로세서(예: 제 1 보조 프로세서(270) 또는 제 2 보조 프로세서(280))는, 내부 입력 모드에서, 전원 버튼, 키보드, 마우스, 터치 패드, 또는 전자 펜을 통하여, 제 1 입력(예: 사용자 입력)을 수신할 수 있다.In one embodiment, the coprocessor (eg, the first coprocessor 270 or the second coprocessor 280 ), in the internal input mode, via the power button, keyboard, mouse, touchpad, or electronic pen, 1 Can receive input (eg user input).
일 실시예에서, 내부 입력 모드는, 입력 모듈(240)(또는 전자 장치(101)와 연결된 외부 입력 장치)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)에 기반하여, 전자 장치(101)가 동작을 수행하도록 설정된 모드일 수 있다. 예를 들어, 제 2 보조 프로세서(280)는 내부 입력 모드에서 입력 모듈(240)(예: 키보드)로부터 입력 데이터가 입력되는 경우, 제 1 보조 프로세서(270)를 통하여 메인 프로세서(260)로 전달할 수 있다. 메인 프로세서(260)는, 입력 데이터를 디스플레이 모듈(210)을 통하여 표시할 수 있다. 일 실시예에서, 내부 입력 모드에서, 메인 프로세서(260), 제 1 보조 프로세서(270), 및 제 2 보조 프로세서(280)는, 활성화 상태(예: active 상태 또는 wake-up 상태)에 있을 수 있다. In an embodiment, the internal input mode is based on input data (eg, data related to a user input) input through the input module 240 (or an external input device connected to the electronic device 101), the electronic device ( 101) may be a mode set to perform the operation. For example, when input data is input from the input module 240 (eg, a keyboard) in the internal input mode, the second auxiliary processor 280 transmits the data to the main processor 260 through the first auxiliary processor 270 . can The main processor 260 may display input data through the display module 210 . In one embodiment, in the internal input mode, the main processor 260 , the first coprocessor 270 , and the second coprocessor 280 may be in an active state (eg, an active state or a wake-up state). have.
일 실시예에서, 제 1 보조 프로세서(270)는, 입력 모듈(240)(예: 전원 버튼)을 통하여, 전자 장치(101)를 전력 상태 전환을 제 1 입력을 수신할 수 있다.In an embodiment, the first auxiliary processor 270 may receive a first input for changing the power state of the electronic device 101 through the input module 240 (eg, a power button).
일 실시예에서, 제 2 보조 프로세서(280)는, 입력 모듈(240)(예: 키보드)을 통하여, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로 전환하기 위하여 지정된 키(이하, '외부 입력 모드 전환을 위한 키'로 지칭함)에 대한 제 1 입력을 수신할 수 있다. In an embodiment, the second auxiliary processor 280, through the input module 240 (eg, a keyboard), a designated key (hereinafter referred to as a key) to switch the mode of the electronic device 101 from the internal input mode to the external input mode. , referred to as a 'key for switching an external input mode') may receive a first input.
도 4에 도시하시는 않았지만, 일 실시예에서, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)와 통신 연결된 외부 전자 장치로부터, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로 전환하기 위한 요청(이하, '외부 입력 모드 전환을 위한 요청'으로 지칭함)을 수신할 수 있다.Although not shown in FIG. 4 , in an embodiment, the second auxiliary processor 280 selects the mode of the electronic device 101 from an external electronic device communicatively connected to the electronic device 101 through the communication module 250 . A request for switching from the internal input mode to the external input mode (hereinafter, referred to as a 'request for switching the external input mode') may be received.
동작 403에서, 일 실시예에서, 보조 프로세서(예: 제 1 보조 프로세서(270) 또는 제 2 보조 프로세서(280))는, 제 1 입력이 외부 입력 모드 전환을 위한 입력(예: 외부 입력 모드로의 전환을 위한 입력)인지 여부를 확인할 수 있다.In operation 403 , in one embodiment, the coprocessor (eg, the first coprocessor 270 or the second coprocessor 280 ) is configured such that the first input is an input for switching the external input mode (eg, to an external input mode). input for conversion of ) can be checked.
일 실시예에서, 외부 입력 모드는, 입력 모듈(240)(또는 전자 장치(101)와 연결된 외부 입력 장치)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송하도록 설정된 모드일 수 있다. In an embodiment, in the external input mode, input data (eg, data related to a user input) input through the input module 240 (or an external input device connected to the electronic device 101 ) is combined with the electronic device 101 . It may be a mode set to transmit to an external electronic device through which communication is connected.
일 실시예에서, 제 1 보조 프로세서(270)는, 입력 모듈(240)(예: 전원 버튼)을 통하여, 전자 장치(101)를 전력 상태 전환을 위한 제 1 입력이 수신된 경우, 수신된 제 1 입력이 외부 입력 모드를 위하여 지정된 입력임을 확인할 수 있다.In an embodiment, when the first auxiliary processor 270 receives a first input for switching the electronic device 101 to a power state through the input module 240 (eg, a power button), the received second It can be confirmed that input 1 is an input designated for external input mode.
일 실시예에서, 전력 상태 전환을 위한 입력은, 파워 버튼을 누르는 입력(예: 파워 버튼을 짧게 누르는 입력 또는 파워 버튼을 길게 누르는 입력(long press))을 포함할 수 있다. 일 실시예에서, 전력 상태 전환을 위한 입력은,, 메뉴를 통하여 선택 가능한, 절전 모드로 전환하기 위한 입력, 시스템을 다시 시작하기 위한 입력, 또는 시스템을 종료하는 입력 중 적어도 하나를 포함할 수 있다. In an embodiment, the input for changing the power state may include an input of pressing the power button (eg, an input of briefly pressing the power button or an input of long pressing the power button). In an embodiment, the input for switching the power state may include at least one of an input for switching to a power saving mode, an input for restarting the system, or an input for shutting down the system, selectable through a menu. .
일 실시예에서, 제 2 보조 프로세서(280)는, 입력 모듈(240)(예: 키보드)을 통하여, 외부 입력 모드 전환을 위한 키에 대한 제 1 입력을 수신된 경우, 수신된 제 1 입력이 외부 입력 모드 전환을 위한 입력임을 확인할 수 있다.In one embodiment, when the second auxiliary processor 280 receives the first input for the key for switching the external input mode through the input module 240 (eg, a keyboard), the received first input is It can be confirmed that the input is for external input mode conversion.
일 실시예에서, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)와 통신 연결된 외부 전자 장치로부터, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로 전환하기 위한 요청이 수신된 경우, 수신된 입력이 외부 입력 모드로 전환을 위한 입력임을 확인할 수 있다.In an embodiment, the second auxiliary processor 280 changes the mode of the electronic device 101 from the internal input mode to the external input mode from the external electronic device communicatively connected to the electronic device 101 through the communication module 250 . When a request for switching to , it can be confirmed that the received input is an input for switching to the external input mode.
동작 405에서, 일 실시예에서, 보조 프로세서(예: 제 1 보조 프로세서(270) 또는 제 2 보조 프로세서(280))는, 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다. 예를 들어, 보조 프로세서는, 동작 403에서 수신된 제 1 입력이 외부 입력 모드를 위한 입력임을 확인한 경우, 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다.In operation 405 , in an embodiment, the auxiliary processor (eg, the first auxiliary processor 270 or the second auxiliary processor 280 ) may control the main processor 260 to be in an inactive state. For example, when it is confirmed that the first input received in operation 403 is an input for an external input mode, the auxiliary processor may control the main processor 260 to be in an inactive state.
일 실시예에서, 제 1 보조 프로세서(270)는, 전자 장치(101)에 대한 전력 상태 전환 입력에 기반하여(예: 수신된 제 1 입력이 전자 장치(101)를 전원 오프하기 위한 입력인 것을 확인함에 기반하여), 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전자 장치(101)에 대한 전력 상태 전환 입력에 기반하여, 메인 프로세서(260)로, 상기 전력 상태 전환 입력에 대한 수신 정보를 전달할 수 있다. 메인 프로세서(260) 및 제1 보조 프로세서(270)는, 상기 수신 정보에 기반하여, 비활성화 상태(예: 전원 오프(power off) 상태)로 전환될 수 있다(또는 진입할 수 있다). In an embodiment, the first co-processor 270 is configured to determine that the received first input is an input for powering off the electronic device 101 based on the power state transition input to the electronic device 101 . based on confirmation), the main processor 260 may be controlled to be in an inactive state. For example, the first auxiliary processor 270 may transmit, to the main processor 260 , reception information on the power state change input based on the power state change input to the electronic device 101 . The main processor 260 and the first auxiliary processor 270 may be switched (or entered) into an inactive state (eg, a power off state) based on the received information.
일 실시예에서, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 전력 회로(230)를 통하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단하기 위한 제어 신호를 전력 회로(230)로 전달할 수 있다.In an embodiment, the first auxiliary processor 270 switches the electronic device 101 to an inactive state (eg, a power-off state) through the power circuit 230 based on an input for switching the power state. Power transmitted to the main processor 260 may be cut off. For example, the first auxiliary processor 270 transmits power to the main processor 260 that is switched to an inactive state (eg, a power-off state) based on an input for switching the electronic device 101 to a power state. A control signal for blocking the voltage may be transmitted to the power circuit 230 .
일 실시예에서, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여 메인 프로세서(260)가 비활성화 상태(예: 전원 오프 상태)가 되도록 제어하고, 메인 프로세서(260)로부터 메인 프로세서(260)의 상태가 비활성화 상태(예: 전원 오프 상태)로 전환됨을 나타내는 정보(예: ACPI(advanced configuration and power interface) 규격의 S5 상태를 나타내는 정보)를 수신한 경우(또는 제 1 보조 프로세서(270)가 메인 프로세서(260)의 상태가 비활성화 상태에 있음을 나타내는 플래그 정보를 확인한 경우), 전력 회로(230)를 통하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단할 수 있다.In an embodiment, the first auxiliary processor 270 controls the main processor 260 to be in an inactive state (eg, a power-off state) based on an input for changing the power state of the electronic device 101, and When information indicating that the state of the main processor 260 is switched to an inactive state (eg, a power-off state) from the processor 260 (eg, information indicating an S5 state of an advanced configuration and power interface (ACPI) standard) is received (or when the first auxiliary processor 270 confirms flag information indicating that the state of the main processor 260 is in the inactive state) Power transmitted to the main processor 260 may be cut off.
일 실시예에서, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 제어할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 제 2 보조 프로세서(280)로 전달할 수 있다. 다른 예를 들어, 제 1 보조 프로세서(270)는, 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 활성화 상태(예: active 상태 또는 wake-up 상태)가 전환되어 외부 입력 모드로 동작하도록 제어할 수 있다. In an embodiment, the first auxiliary processor 270 may control the second auxiliary processor 280 to operate in an external input mode based on an input for switching the power state of the electronic device 101 . For example, the first auxiliary processor 270 may generate a second control signal for causing the second auxiliary processor 280 to operate in an external input mode based on an input for switching the electronic device 101 to a power state. may be transmitted to the coprocessor 280 . As another example, the first auxiliary processor 270 may activate the second auxiliary processor 280 in an active state (eg, an active state or a wake-up state) based on an input for switching the electronic device 101 to a power state. ) is switched and can be controlled to operate in the external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키 입력(예: 외부 입력 모드로 전환하도록 지정된 키)에 기반하여(예: 수신된 제 1 입력이 모드 전환을 위한 키 입력인 것을 확인함에 기반하여), 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보를 직접적으로 메인 프로세서(260)로 전달할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키 입력이 수신됨을 나타내는 정보를 제 1 보조 프로세서(270)를 통하여 메인 프로세서(260)로 전달할 수 있다. 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 비활성화 상태(예: 대기(standby) 상태 또는 전원 오프 상태)로 전환될 수 있다(또는 진입할 수 있다). In one embodiment, the second coprocessor 280 is configured to, based on a key input for switching the external input mode (eg, a key designated to switch to the external input mode) (eg, the received first input for switching the mode) Based on confirming that it is a key input), the main processor 260 may be controlled to be in an inactive state. For example, the second auxiliary processor 280 may directly transmit information indicating that an input for a key for switching an external input mode is received to the main processor 260 . As another example, the second auxiliary processor 280 may transmit information indicating that a key input for switching the external input mode is received to the main processor 260 through the first auxiliary processor 270 . The main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state) based on information indicating that an input for a key for switching an external input mode is received (or to be entered). can).
일 실시예에서, 대기 상태는, 활성화 상태(예: active 상태 또는 wake-up 상태)에 비하여, 저전력으로 동작하는 상태일 수 있다. 예를 들어, 대기 상태는, 활성화 상태에 비하여 낮은 전력을 공급 받는 상태일 수 있다. 일 실시예에서, 대기 상태는, 지정된 입력이 수신되는 경우, 활성화 상태로 전환되는 상태일 수 있다. 일 실시예에서, 대기 상태는, 지정된 주기에 따라, 활성화 상태로 전환되는 상태일 수 있다. 일 실시예에서, 대기 상태는, ACPI 규격의 S3 상태 또는 S4 상태일 수 있다. 일 실시예에서, 대기 상태는, 슬립(sleep) 상태로 지칭될 수도 있다. 일 실시예에서, 대기 상태에서 프로세서(예: 메인 프로세서(260))는 전원 오프 상태일 수 있다. 예를 들어, 대기 상태에서 프로세서(예: 메인 프로세서(260))는 전원 오프 상태이고, 메모리(150)에 전력이 공급되는 상태를 포함할 수 있다.일 실시예에서, 메인 프로세서(260)는, 외부 모드 전환을 위한 키 입력이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)이 비활성화(예: 전원 오프 상태 또는 대기 상태)가 되도록 제어할 수 있다.In an embodiment, the standby state may be a state operated with low power compared to an active state (eg, an active state or a wake-up state). For example, the standby state may be a state in which power is supplied lower than that of the active state. In an embodiment, the standby state may be a state that is converted to an active state when a specified input is received. In an embodiment, the standby state may be a state that is converted to an active state according to a specified period. In an embodiment, the standby state may be an S3 state or an S4 state of the ACPI standard. In an embodiment, the standby state may be referred to as a sleep state. In an embodiment, in the standby state, the processor (eg, the main processor 260 ) may be in a power-off state. For example, in the standby state, the processor (eg, the main processor 260 ) is in a power-off state, and may include a state in which power is supplied to the memory 150 . In one embodiment, the main processor 260 is , it is possible to control the display module 210 to be inactive (eg, in a power-off state or in a standby state) based on information indicating that a key input for switching an external mode is received.
일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보를 전달할 수 있다(예: 메인 프로세서(260)가 비활성화 상태에 있음을 나타내도록 플래그를 설정할 수 있다). 일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키 입력이 수신됨을 나타내는 정보에 기반하여, 제 1 보조 프로세서(270)로, 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보(예: ACPI 규격의 S3 상태 또는 S4 상태에 있음을 나타내는 정보)를 전달할 수 있다.In one embodiment, the main processor 260, the first auxiliary processor 270, based on the information indicating that an input for a key for switching the external input mode is received, the state of the main processor 260 is inactive Information indicating transition to (eg, a standby state or a power-off state) may be transmitted (eg, a flag may be set to indicate that the main processor 260 is in an inactive state). In an embodiment, the main processor 260, to the first auxiliary processor 270 , based on information indicating that a key input for switching the external input mode is received, sets the display module 210 to an inactive state (eg, : It can transmit information indicating transition to the power-off state or standby state (eg, information indicating that it is in the S3 state or S4 state of the ACPI standard).
일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 대기 상태로 전환될 수 있다(예: 진입할 수 있다). In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered).
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 전자 장치로부터 수신된 외부 입력 모드 전환을 위한 요청에 기반하여(예: 모드 전환을 위한 요청이 수신된 것을 확인함에 기반하여), 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보를 직접적으로 메인 프로세서(260)로 전달할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보를 제 1 보조 프로세서(270)를 통하여 메인 프로세서(260)로 전달할 수 있다. 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키 입력이 수신됨을 나타내는 정보에 기반하여, 비활성화 상태(예: 대기(standby) 상태 또는 전원 오프 상태)로 전환될 수 있다.In an embodiment, the second auxiliary processor 280, based on the request for switching the external input mode received from the external electronic device (eg, based on confirming that the request for mode switching is received), the main processor 260 may be controlled to be in an inactive state. For example, the second auxiliary processor 280 may directly transmit information indicating that a request for switching the external input mode is received to the main processor 260 . As another example, the second sub-processor 280 may transmit information indicating that a request for switching the external input mode is received to the main processor 260 through the first sub-processor 270 . The main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state) based on information indicating that a key input for switching an external input mode is received.
일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)을 통하여, 외부 입력 모드로 전환하기 위한 입력을 가이드(guide)하는 정보를 표시할 수 있다. 예를 들어, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)을 통하여, 외부 입력 모드 전환을 위한 키를 설명하는 텍스트를 표시할 수 있다. 다른 예를 들어, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)을 통하여, 전자 장치(101)의 모드를 외부 입력 모드로 전환하기 위해서는, 외부 입력 모드 전환을 위한 키 입력이 입력되어야 함을 나타내는 정보를 표시할 수 있다. 메인 프로세서(260)가 가이드 정보를 표시하는 방법의 예시들에 대하여 도 7을 참조하여 상세히 후술하도록 한다.In an embodiment, the main processor 260 guides an input for switching to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. information can be displayed. For example, the main processor 260 may display text describing a key for switching the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. have. As another example, the main processor 260 converts the mode of the electronic device 101 to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. For this purpose, information indicating that a key input for switching the external input mode must be input may be displayed. Examples of a method for the main processor 260 to display guide information will be described later in detail with reference to FIG. 7 .
일 실시예에서, 메인 프로세서(260)는, 디스플레이 모듈(210)을 통하여 외부 입력 모드로 전환하기 위한 입력을 가이드하는 정보를 표시한 후, 입력 모듈(240)을 통하여 외부 입력 모드 전환을 위한 키 입력이 수신된 경우, 디스플레이 모듈(210)이 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)가 되도록 제어할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 디스플레이 모듈(210)을 통하여 외부 입력 모드로 전환하기 위한 입력을 가이드하는 정보를 표시한 후, 입력 모듈(240)을 통하여 외부 입력 모드 전환을 위한 키 입력이 수신된 경우, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환될 수 있다.In an embodiment, the main processor 260 displays information guiding an input for switching to the external input mode through the display module 210 and then displays a key for switching the external input mode via the input module 240 . When an input is received, the display module 210 may be controlled to be in an inactive state (eg, a power-off state or a standby state). In an embodiment, the main processor 260 displays information guiding an input for switching to the external input mode through the display module 210 and then displays a key for switching the external input mode via the input module 240 . When an input is received, it can be switched to an inactive state (eg, a standby state or a power-off state).
일 실시예에서, 메인 프로세서(260)는, 모드 전환을 위한 요청이 수신된 것에 응답하여, 전자 장치(101)가 선택 시 외부 입력 모드로 동작하도록 할 수 있는 설정 메뉴(예: 퀵 아이콘)을 표시하도록 디스플레이 모듈(210)을 제어할 수 있다.In an embodiment, the main processor 260, in response to receiving a request for mode change, selects a setting menu (eg, a quick icon) that enables the electronic device 101 to operate in the external input mode when selected. The display module 210 may be controlled to display.
일 실시예에서, 메인 프로세서(260)는, 모드 전환을 위한 요청이 수신된 것에 응답하여, 전자 장치(101)가 외부 입력 모드로 동작하도록 제어할 수 있다.In an embodiment, the main processor 260 may control the electronic device 101 to operate in the external input mode in response to a request for mode change being received.
일 실시예에서, 메인 프로세서(260)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환된 후 또는 전환되기 전, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨 또는 전환될 것을 나타내는 정보를 전달할 수 있다. In one embodiment, the main processor 260, after or before the transition to an inactive state (eg, a standby state or a power-off state), the first auxiliary processor 270, the state of the main processor 260 is It may carry information indicating that it will be switched to or to be transitioned to an inactive state (eg, a standby state or a power-off state).
도 4에 도시하지는 않았지만, 일 실시예에서, 제 2 보조 프로세서(280)는, 메인 프로세서(260)가 비활성화 상태로 전환된 후 또는 메인 프로세서(260)가 비활성화 상태로 전환되기 전, 통신 모듈(250)을 통하여, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행할 수 있다. 예를 들어, 전자 장치(101)를 전원 오프하기 위한 입력이 수신된 경우 메인 프로세서(260)는 전술한 동작들에 의해 비활성화 상태로 전환될 수 있다. 제 2 보조 프로세서(280)는, 메인 프로세서(260)가 비활성화 상태로 전환된 후 또는 메인 프로세서(260)가 비활성화 상태로 전환되기 전, 통신 모듈(250)을 통하여, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행할 수 있다. 다른 예를 들어, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신된 경우, 메인 프로세서(260)가 비활성화 상태로 전환되기 전, 제 2 보조 프로세서(280)는, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행할 수 있다. 제 2 보조 프로세서(280)는, 전자 장치(101) 및 외부 전자 장치가 통신 연결된 경우, 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다. 제 2 보조 프로세서(280)는, 전자 장치(101) 및 외부 전자 장치가 통신 연결되지 않은 경우(예: 외부 전자 장치가 검색(search)되지 않은 경우), 메인 프로세서(260)가 현재 상태(예: 활성화 상태)를 유지하도록 제어할 수 있다. Although not shown in Figure 4, in one embodiment, the second auxiliary processor 280, after the main processor 260 is converted to the inactive state or before the main processor 260 is converted to the inactive state, the communication module ( Through 250 , an operation for communicatively connecting the electronic device 101 with an external electronic device may be performed. For example, when an input for powering off the electronic device 101 is received, the main processor 260 may be switched to an inactive state by the above-described operations. After the main processor 260 is converted to the inactive state or before the main processor 260 is converted to the inactive state, the second auxiliary processor 280 communicates with the electronic device 101 to an external device through the communication module 250 . An operation for communication connection with the electronic device may be performed. As another example, when an input for a key for switching an external input mode is received, before the main processor 260 is switched to an inactive state, the second auxiliary processor 280 may set the electronic device 101 to an external electronic device. An operation for communication connection with the device may be performed. When the electronic device 101 and the external electronic device are communicatively connected, the second auxiliary processor 280 may control the main processor 260 to be in an inactive state. When the electronic device 101 and the external electronic device are not communicatively connected (eg, when the external electronic device is not searched), the second auxiliary processor 280 sets the main processor 260 to a current state (eg, : can be controlled to maintain the active state).
일 실시예에서, 전자 장치(101) 및 외부 전자 장치가 통신 연결된 상태에 있는 경우, 제 2 보조 프로세서(280)는, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행하지 않을 수 있다. 다만, 이에 제한되지 않으며, 전자 장치(101) 및 외부 전자 장치가 통신 연결된 상태에 있는 경우에도, 제 2 보조 프로세서(280)는, 전자 장치(101)와 이전에 연결된 외부 전자 장치에 추가적으로 또는 대체적으로 새로운 외부 전자 장치와의 통신 연결을 위한 동작을 수행할 수도 있다.In an embodiment, when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 does not perform an operation for communication-connecting the electronic device 101 with the external electronic device. can However, the present invention is not limited thereto, and even when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 may be additionally or alternatively to the external electronic device previously connected to the electronic device 101 . to perform an operation for communication connection with a new external electronic device.
동작 407에서, 일 실시예에서, 보조 프로세서(예: 제 1 보조 프로세서(270) 또는 제 2 보조 프로세서(280))는 외부 입력 모드로 동작할 수 있다.In operation 407, in an embodiment, the co-processor (eg, the first co-processor 270 or the second co-processor 280) may operate in an external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 활성화 상태로 전환(또는 유지)될 수 있다. 예를 들어, 제 1 보조 프로세서(270)가 전자 장치(101)를 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)로, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 전달한 경우, 제 2 보조 프로세서(280)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로부터 활성화 상태(예: active 상태)로 전환되거나 활성화 상태를 유지할 수 있다.In an embodiment, when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may be switched (or maintained) to an active state. For example, the first auxiliary processor 270 operates the electronic device 101 as the second auxiliary processor 280 and the second auxiliary processor 280 in the external input mode based on the input for switching the power state. When a control signal is transmitted to do this, the second auxiliary processor 280 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state (eg, an active state) or may maintain an active state.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 통신 모듈(250)이 활성화 상태가 되도록 제어할 수 있다.In an embodiment, the second sub-processor 280 may control the communication module 250 to be in an activated state when receiving a control signal for operating in the external input mode from the first sub-processor 270 . have.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. 외부 전자 장치는, 전자 장치(101)로부터 입력 데이터를 수신하는 경우, 입력 데이터에 기반하여 동작을 수행할 수 있다. 예를 들어, 외부 전자 장치는, 전자 장치(101)로부터 수신된 입력 데이터에 기반하여, 메시지를 입력(예: 작성)하거나, 외부 전자 장치의 어플리케이션의 기능을 실행할 수 있다. 일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 메인 프로세서(260) 또는 제 1 보조 프로세서(270)로, 입력 모듈(240)을 통하여 입력된 입력 데이터를 전달함 없이 처리할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 비활성화 상태로 전환 전, 수행하고 있었던 기능과 관련된 정보를 메모리(130)에 저장할 수 있다. 다른 예를 들어, 메인 프로세서(260)는, 비활성화 상태로 전환 전, 수행하고 있었던 기능과 관련된 정보를 메모리(130)에 저장할 수 있다. 예를 들어, 메인 프로세서(260)가 비활성 상태로 전환되면, 메모리(130)는 전력 회로(230)로부터 전력의 공급이 유지됨으로써 메인 프로세서(260)가 수행하고 있었던 기능과 관련된 정보가 메모리(130)에 유지될 수 있다. 일 실시예에서, 제 2 프로세서(280)는, 외부 입력 모드에서, 외부 전자 장치로 전송하는 데이터와 관련된 정보(예: 데이터를 전송한 이력)를 메모리(130)에 저장할 수 있다. 일 실시예에서, 메인 프로세서(260)이 비활성화 상태로부터 활성화 상태로 전환되는 경우, 메인 프로세서(260)는, 외부 입력 모드에서, 통신 모듈(250)을 통하여, 외부 전자 장치로 전송된 데이터와 관련된 정보(예: 데이터를 전송한 이력)을 확인할 수 있다.In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device. When receiving input data from the electronic device 101 , the external electronic device may perform an operation based on the input data. For example, the external electronic device may input (eg, write) a message or execute a function of an application of the external electronic device based on input data received from the electronic device 101 . In one embodiment, the second co-processor 280, in the external input mode, processes the input data input through the input module 240 to the main processor 260 or the first co-processor 270 without passing it. can do. In an embodiment, the main processor 260 may store information related to the function being performed before the transition to the inactive state in the memory 130 . As another example, the main processor 260 may store in the memory 130 information related to a function that was being performed before switching to the inactive state. For example, when the main processor 260 is switched to an inactive state, the memory 130 maintains the supply of power from the power circuit 230 , so that information related to the function being performed by the main processor 260 is stored in the memory 130 . ) can be maintained. In an embodiment, the second processor 280 may store, in the external input mode, information related to data transmitted to the external electronic device (eg, a data transmission history) in the memory 130 . In an embodiment, when the main processor 260 is switched from the inactive state to the active state, the main processor 260, in the external input mode, relates to data transmitted to the external electronic device through the communication module 250 . Information (eg, data transmission history) can be checked.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 장치(101)와 통신 연결된 외부 입력 장치(예: 유선 또는 무선으로 연결된 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. 일 실시예에서, 전자 장치(101) 및 외부 입력 장치의 통신 방식은, 전자 장치(101) 및 외부 전자 장치의 통신 방식과 동일하거나 다를 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 제 1 통신 방식(예: 블루투스 통신)을 통하여 전자 장치(101) 및 외부 입력 장치(예: 블루투스 키보드)를 통신 연결하고, 상기 제 1 통신 방식을 통하여 전자 장치(101) 및 외부 전자 장치(예: 휴대폰)를 통신 연결하도록 통신 모듈(250)을 제어할 수 있다. 다른 예를 들어, 제 2 보조 프로세서(280)는, 제 1 통신 방식(예: 블루투스 통신)을 통하여 전자 장치(101) 및 외부 입력 장치(예: 블루투스 키보드)를 통신 연결하고, 상기 제 1 통신 방식과 다른 제 2 통신 방식(예: Wi-Fi)을 통하여 전자 장치(101) 및 외부 전자 장치(예: Mirroring 기능을 지원하는 TV/모니터)를 통신 연결하도록 통신 모듈(250)을 제어할 수 있다.In an embodiment, the second auxiliary processor 280 transmits input data input through an external input device (eg, a keyboard connected by wire or wirelessly) connected to the electronic device 101 in communication with the communication module ( ) in the external input mode. 250 ) to an external electronic device connected to the electronic device 101 . In an embodiment, the communication method between the electronic device 101 and the external input device may be the same as or different from the communication method between the electronic device 101 and the external electronic device. For example, the second auxiliary processor 280 communicatively connects the electronic device 101 and an external input device (eg, a Bluetooth keyboard) through a first communication method (eg, Bluetooth communication), and the first communication method The communication module 250 may be controlled to connect the electronic device 101 and an external electronic device (eg, a mobile phone) through communication. As another example, the second auxiliary processor 280 communicatively connects the electronic device 101 and an external input device (eg, a Bluetooth keyboard) through a first communication method (eg, Bluetooth communication), and performs the first communication The communication module 250 may be controlled to communicate and connect the electronic device 101 and an external electronic device (eg, a TV/monitor supporting a mirroring function) through a second communication method (eg, Wi-Fi) different from the method. have.
도 4에 도시하지는 않았지만, 일 실시예에서, 프로세서(예: 메인 프로세서(260), 제 1 보조 프로세서(270), 및 제 2 보조 프로세서(280))는, 지정된 입력에 기반하여, 외부 입력 모드를 내부 입력 모드로 전환(예: 외부 입력 모드로부터 내부 입력 모드로의 복귀)시킬 수 있다. Although not shown in FIG. 4 , in one embodiment, the processor (eg, the main processor 260 , the first auxiliary processor 270 , and the second auxiliary processor 280 ) is configured to, based on the specified input, perform an external input mode. can be switched to internal input mode (eg, return from external input mode to internal input mode).
예를 들어, 제 2 보조 프로세서(280)는, 입력 모듈(240)로부터, 외부 입력 모드를 내부 입력 모드로 전환시키기 위한 입력(예: 외부 입력 모드 전환을 위한 키에 대한 입력)에 기반하여, 내부 입력 모드로(예: 외부 입력 모드로부터 내부 입력 모드로 전환되어) 동작할 수 있다. 제 2 보조 프로세서(280)는, 입력 모듈(240)로부터, 외부 입력 모드를 내부 입력 모드로 전환시키기 위한 입력을 수신할 수 있다. 제 2 보조 프로세서(280)는, 메인 프로세서(260)가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로부터 활성화 상태로 전환되도록, 메인 프로세서(260)를 제어할 수 있다. 메인 프로세서(260)가 비활성화 상태로부터 활성화 상태로 전환되는 경우, 메인 프로세서(260)는 제 1 보조 프로세서(270)가 비활성화 상태(예: 대기 상태)로부터 활성화 상태로 전환되도록, 제 1 보조 프로세서(270)를 제어할 수 있다. 예를 들어, 메인 프로세서(260)는, 제 1 보조 프로세서(270)가 비활성화 상태(예: 대기 상태)로부터 활성화 상태로 전환되도록, 제 1 보조 프로세서(270)로, 메인 프로세서(260)가 활성화 상태로 전환됨을 나타내는 정보(예: ACPI S0 상태에 있음을 나타내는 정보)를 전달할 수 있다(예: 메인 프로세서(260)의 상태가 활성화 상태에 있음을 나타내도록 플래그 설정). 제 1 보조 프로세서(270)는, 제 2 보조 프로세서(280)로, 제 2 보조 프로세서(280)가 내부 입력 모드로 동작하도록 하기 위한 제어 신호를 전달할 수 있다. 제 2 보조 프로세서(280)는, 상기 제 1 보조 프로세서(270)로부터 수신된 제어 신호에 기반하여, 내부 입력 모드로 동작할 수 있다.For example, the second auxiliary processor 280, based on an input from the input module 240 for switching the external input mode to the internal input mode (eg, an input for a key for switching the external input mode), It can operate in an internal input mode (eg, by switching from an external input mode to an internal input mode). The second auxiliary processor 280 may receive an input for converting the external input mode to the internal input mode from the input module 240 . The second auxiliary processor 280 may control the main processor 260 such that the main processor 260 is switched from an inactive state (eg, a standby state or a power-off state) to an active state. When the main processor 260 is switched from the inactive state to the active state, the main processor 260 is configured such that the first auxiliary processor 270 is switched from the inactive state (eg, standby state) to the active state, the first auxiliary processor ( 270) can be controlled. For example, the main processor 260 may be configured such that the first auxiliary processor 270 is switched from an inactive state (eg, a standby state) to an active state. Information indicating transition to a state (eg, information indicating that it is in an ACPI S0 state) may be conveyed (eg, setting a flag to indicate that the state of the main processor 260 is in an active state). The first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode. The second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
다른 예를 들어, 제 1 보조 프로세서(270)는, 입력 모듈(240)(예: 전원 버튼)로부터, 외부 입력 모드를 내부 입력 모드로 전환시키기 위한 입력(예: 전자 장치(101)를 전원 온(power on)하기 위한 입력)에 기반하여, 내부 입력 모드로 동작할 수 있다. 제 1 보조 프로세서(270)는, 비활성화 상태(예: 대기 상태)에서, 전자 장치(101)를 전원 온하기 위한 전원 버튼에 대한 입력을 수신할 수 있다. 제 1 보조 프로세서(270)는, 메인 프로세서(260)가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로부터 활성화 상태로 전환되도록, 메인 프로세서(260)를 제어할 수 있다. 메인 프로세서(260)가 비활성화 상태로부터 활성화 상태로 전환되는 경우, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로, 메인 프로세서(260)가 활성화 상태로 전환됨을 나타내는 정보(예: ACPI S0 상태에 있음을 나타내는 정보)를 전달할 수 있다. 제 1 보조 프로세서(270)는, 제 2 보조 프로세서(280)로, 제 2 보조 프로세서(280)가 내부 입력 모드로 동작하도록 하기 위한 제어 신호를 전달할 수 있다. 제 2 보조 프로세서(280)는, 상기 제 1 보조 프로세서(270)로부터 수신된 제어 신호에 기반하여, 내부 입력 모드로 동작할 수 있다.As another example, the first auxiliary processor 270 turns on an input (eg, the electronic device 101 ) for converting the external input mode to the internal input mode from the input module 240 (eg, a power button) Based on (input to power on), it can operate in an internal input mode. In an inactive state (eg, a standby state), the first auxiliary processor 270 may receive an input for a power button for turning on the electronic device 101 . The first auxiliary processor 270 may control the main processor 260 so that the main processor 260 is switched from an inactive state (eg, a standby state or a power-off state) to an active state. When the main processor 260 is switched from the inactive state to the active state, the main processor 260 is the first auxiliary processor 270, information indicating that the main processor 260 is switched to the active state (eg, ACPI S0) information indicating that it is in a state). The first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode. The second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
또 다른 예를 들어, 메인 프로세서(260)는, 센서 모듈(220)로부터 수신된 정보(예: 전자 장치(101)의 폴딩 상태 정보 또는 전자 펜의 전자 장치(101)로의 수납을 나타내는 입력)에 기반하여, 전자 장치(101)가 내부 입력 모드로 동작하도록 할 수 있다. 메인 프로세서(260)는, 센서 모듈(220)로부터 수신된 정보에 기반하여 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로부터 활성화 상태로 전환될 수 있다. 메인 프로세서(260)가 비활성화 상태로부터 활성화 상태로 전환되는 경우, 메인 프로세서(260)는 제 1 보조 프로세서(270)가 비활성화 상태(예: 대기 상태)로부터 활성화 상태로 전환되도록, 제 1 보조 프로세서(270)를 제어할 수 있다. 제 1 보조 프로세서(270)는, 제 2 보조 프로세서(280)로, 제 2 보조 프로세서(280)가 내부 입력 모드로 동작하도록 하기 위한 제어 신호를 전달할 수 있다. 제 2 보조 프로세서(280)는, 상기 제 1 보조 프로세서(270)로부터 수신된 제어 신호에 기반하여, 내부 입력 모드로 동작할 수 있다.As another example, the main processor 260 may respond to information received from the sensor module 220 (eg, folding state information of the electronic device 101 or an input indicating storage of the electronic pen into the electronic device 101 ). Based on this, the electronic device 101 may operate in the internal input mode. The main processor 260 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state based on information received from the sensor module 220 . When the main processor 260 is switched from the inactive state to the active state, the main processor 260 is configured such that the first auxiliary processor 270 is switched from the inactive state (eg, standby state) to the active state, the first auxiliary processor ( 270) can be controlled. The first auxiliary processor 270 may transmit, to the second auxiliary processor 280 , a control signal for allowing the second auxiliary processor 280 to operate in the internal input mode. The second auxiliary processor 280 may operate in an internal input mode based on the control signal received from the first auxiliary processor 270 .
도 4에 도시하지는 않았지만, 일 실시예에서, 메인 프로세서(260)는, 센서 모듈(220)(예: 제 1 센서 또는 제 2 센서)로부터 수신된 정보에 기반하여, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로(또는 외부 입력 모드로부터 내부 입력 모드로) 전환시키기 위한 동작을 수행할 수 있다. 이러한 메인 프로세서(260)의 동작의 예시들과 관련하여, 도 8 내지 도 12를 참조하여, 상세히 후술하도록 한다.Although not shown in FIG. 4 , in an embodiment, the main processor 260 controls the mode of the electronic device 101 based on information received from the sensor module 220 (eg, a first sensor or a second sensor). may perform an operation for switching from the internal input mode to the external input mode (or from the external input mode to the internal input mode). In relation to examples of the operation of the main processor 260 , it will be described later in detail with reference to FIGS. 8 to 12 .
도 5는, 다양한 실시예들에 따른, 전력 상태 전환을 위한 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 흐름도(500)이다.5 is a flowchart 500 illustrating a method of operating in an external input mode based on an input for switching a power state, according to various embodiments of the present disclosure.
도 5를 참조하면, 동작 501에서, 일 실시예에서, 제 1 보조 프로세서(270))는, 입력 모듈(240)(예: 전원 버튼)을 통하여, 전력 상태 전환을 위한 입력을 수신할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 내부 입력 모드로 동작하는 동안, 전자 장치(101)의 전력 상태를 전환하기 위한 전원 버튼에 대한 입력을 수신할 수 있다.Referring to FIG. 5 , in operation 501 , in an embodiment, the first auxiliary processor 270 may receive an input for switching the power state through the input module 240 (eg, a power button). . For example, the first auxiliary processor 270 may receive an input for a power button for switching the power state of the electronic device 101 while operating in the internal input mode.
동작 503에서, 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)가 되도록 제어할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력이 수신된 것을 확인함에 기반하여, 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다.In operation 503 , in an embodiment, the first auxiliary processor 270 may control the main processor 260 to be in an inactive state (eg, a power-off state or a standby state). For example, the first auxiliary processor 270 may control the main processor 260 to be in an inactive state based on confirming that an input for changing the power state is received.
일 실시예에서, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 메인 프로세서(260)로, 전자 장치(101)를 전력 상태 전환을 위한 입력이 수신됨을 나타내는 정보를 전달할 수 있다. 메인 프로세서(260)는, 전력 상태 전환을 위한 입력이 수신됨을 나타내는 정보에 기반하여, 비활성화 상태(예: 전원 오프 상태)로 전환될 수 있다(또는 진입할 수 있다). In an embodiment, the first auxiliary processor 270 transmits, to the main processor 260 , information indicating that the input for switching the power state is received, to the main processor 260 , based on the input for switching the power state. can The main processor 260 may be switched to (or entered) an inactive state (eg, a power-off state) based on information indicating that an input for switching the power state is received.
일 실시예에서, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 전력 회로(230)를 통하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단하기 위한 제어 신호를 전력 회로(230)로 전달할 수 있다. 전력 회로(230)는, 제 1 보조 프로세서(270)로부터 수신된 제어 신호에 기반하여, 메인 프로세서(260)로 전력을 공급하지 않을 수 있다.In one embodiment, the first auxiliary processor 270, based on the input for switching the power state, through the power circuit 230, to the main processor 260 that is switched to an inactive state (eg, a power off state) The transmitted power can be interrupted. For example, the first auxiliary processor 270 is a control signal for cutting off power transmitted to the main processor 260 converted to an inactive state (eg, a power-off state) based on the input for switching the power state. may be transmitted to the power circuit 230 . The power circuit 230 may not supply power to the main processor 260 based on the control signal received from the first auxiliary processor 270 .
일 실시예에서, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여 메인 프로세서(260)가 비활성화 상태(예: 전원 오프 상태)가 되도록 제어하고, 메인 프로세서(260)로부터 메인 프로세서(260)의 상태가 비활성화 상태(예: 전원 오프 상태)로 전환될 것을 나타내는 정보(예: ACPI 규격의 S5 상태를 나타내는 정보)를 수신한 경우(또는 제 1 보조 프로세서(270)가 메인 프로세서(260)의 상태가 비활성화 상태에 있음을 나타내는 플래그를 확인한 경우), 전력 회로(230)를 통하여, 비활성화 상태(예: 전원 오프 상태)로 전환된 메인 프로세서(260)로 전달되는 전력을 차단할 수 있다.In an embodiment, the first auxiliary processor 270 controls the main processor 260 to be in an inactive state (eg, a power-off state) based on an input for power state transition, and controls the main processor 260 to When information indicating that the state of the processor 260 will be switched to an inactive state (eg, a power-off state) (eg, information indicating an S5 state of the ACPI standard) is received (or the first auxiliary processor 270 is the main processor When a flag indicating that the state of 260 is in an inactive state is checked), the power transmitted to the main processor 260 converted to an inactive state (eg, a power-off state) through the power circuit 230 may be blocked. have.
일 실시예에서, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 제어할 수 있다. 예를 들어, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 제 2 보조 프로세서(280)로 전달할 수 있다. 다른 예를 들어, 제 1 보조 프로세서(270)는, 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)가 활성화 상태(예: active 상태 또는 wake-up 상태)가 전환되어 외부 입력 모드로 동작하도록 제어할 수 있다. In an embodiment, the first auxiliary processor 270 may control the second auxiliary processor 280 to operate in an external input mode based on an input for power state transition. For example, the first co-processor 270 sends a control signal to the second co-processor 280 to cause the second co-processor 280 to operate in an external input mode based on the input for switching the power state. can transmit As another example, based on the input for power state transition, the first auxiliary processor 270 switches the activation state (eg, active state or wake-up state) of the second auxiliary processor 280 to an external input mode can be controlled.
일 실시예에서, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로부터 전력 상태 전환을 위한 입력이 수신됨을 나타내는 정보가 수신된 경우, 사용자 입력에 기반하여, 전자 장치(101)가 외부 입력 모드로 동작하도록 하거나 또는 전자 장치(101)가 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프(off)되도록 할 수 있다. 예를 들어, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로부터 전자 장치(101)를 전원 오프하기 위한 입력이 수신됨을 나타내는 정보가 수신된 경우, 디스플레이 모듈(210)을 통하여, 전자 장치(101)가 외부 입력 모드로 동작하도록 하기 위한 오브젝트(object)(예: 버튼, 아이콘) 및 전자 장치(101)가 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프되도록 하기 위한 오브젝트를 표시할 수 있다. 다른 예를 들어, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로부터 전력 상태 전환을 위한 입력이 수신됨을 나타내는 정보가 수신된 경우, 디스플레이 모듈(210)을 통하여, 지정된 시간 내에 모드 전환을 위한 키를 입력하면 전자 장치(101)가 외부 입력 모드로 동작하도록 할 수 있다는 정보 및 지정된 시간 내에 모드 전환을 위한 키가 입력되지 않으면 전자 장치(101)가 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프되도록 할 수 있다는 정보를 표시할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 입력 모듈(240)을 통하여 전자 장치(101)가 외부 입력 모드로 동작하도록 하기 위한 오브젝트에 대한 입력을 수신한 경우(또는 지정된 시간 내에 모드 전환을 위한 키에 대한 입력이 수신된 경우), 전술한, 전자 장치(101)가 외부 입력 모드로 동작하도록 하기 위한 동작을 수행할 수 있다. 메인 프로세서(260)는, 전자 장치(101)가 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프되도록 하기 위한 오브젝트에 대한 입력을 수신한 경우(또는 지정된 시간 내에 모드 전환을 위한 키에 대한 입력이 수신되지 않은 경우), 전자 장치(101)가 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프되도록 할 수 있다. 예를 들어, 메인 프로세서(260)는, 외부 입력 모드로 동작함 없이 전자 장치(101)의 전원이 오프되도록 하기 위한 오브젝트에 대한 입력이 수신됨을 나타내는 정보를 제 1 보조 프로세서(270)로 전달할 수 있다. 메인 프로세서(260)는, 상기 정보를 제 1 보조 프로세서(270)로 전달한 후, 비활성화 상태(예: 전원 오프 상태)로 전환될 수 있다. 제 1 보조 프로세서(270)는, 상기 정보를 수신한 것에 기반하여, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작함 없이 대기 상태로 전환되도록 제어할 수 있다. 제 1 보조 프로세서(270)는, 상기 정보를 수신한 것에 기반하여, 비활성화 상태(예: 대기 상태)로 전환될 수 있다.In an embodiment, when information indicating that an input for changing a power state is received is received from the first auxiliary processor 270 , the main processor 260 performs an external input by the electronic device 101 based on the user input mode or the power of the electronic device 101 may be turned off without the electronic device 101 operating in the external input mode. For example, when information indicating that an input for powering off the electronic device 101 is received is received from the first auxiliary processor 270 , the main processor 260 may, through the display module 210 , the electronic device An object (eg, a button, an icon) for allowing the 101 to operate in the external input mode and an object for turning off the power of the electronic device 101 without the electronic device 101 operating in the external input mode can be displayed. As another example, when information indicating that an input for power state transition is received from the first auxiliary processor 270 is received, the main processor 260 performs mode conversion within a specified time through the display module 210 . Information indicating that the electronic device 101 can operate in the external input mode when a key for 101) can be displayed to indicate that the power can be turned off. In an embodiment, when receiving an input for an object for allowing the electronic device 101 to operate in an external input mode through the input module 240 , the main processor 260 receives an input for mode conversion within a specified time. When an input for a key is received), the above-described operation for allowing the electronic device 101 to operate in the external input mode may be performed. When the main processor 260 receives an input for an object for causing the electronic device 101 to turn off without operating in the external input mode (or a key for mode switching within a specified time) when an input for . For example, the main processor 260 may transmit information indicating that an input to an object for causing the electronic device 101 to be turned off without operating in the external input mode is received to the first auxiliary processor 270 . have. After transferring the information to the first auxiliary processor 270 , the main processor 260 may be switched to an inactive state (eg, a power-off state). Based on the reception of the information, the first auxiliary processor 270 may control the second auxiliary processor 280 to enter the standby state without operating in the external input mode. The first auxiliary processor 270 may be switched to an inactive state (eg, a standby state) based on receiving the information.
동작 505에서, 일 실시예에서, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)를 외부 전자 장치와 연결시키기 위한 동작을 수행할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 블루투스 저전력(BLE) 통신을 이용하여, 전자 장치(101)를 외부 전자 장치와 연결시키기 위한 동작을 수행할 수 있다. 다만, 전자 장치(101) 및 외부 전자 장치를 연결하기 위한 통신은 블루투스 저전력 통신에 제한되지 않는다.In operation 505 , in an embodiment, the second auxiliary processor 280 may perform an operation for connecting the electronic device 101 with an external electronic device through the communication module 250 . For example, the second auxiliary processor 280 may perform an operation for connecting the electronic device 101 with an external electronic device using Bluetooth low energy (BLE) communication. However, communication for connecting the electronic device 101 and an external electronic device is not limited to Bluetooth low energy communication.
일 실시예에서, 제 2 보조 프로세서(280)는, 전자 장치(101)에 이전에 연결된 적이 있는(예: 가장 최근에 전자 장치(101)와 연결되었던) 외부 전자 장치와의 연결을 위한 동작을 수행할 수 있다. In an embodiment, the second auxiliary processor 280 performs an operation for connection with an external electronic device that has been previously connected to the electronic device 101 (eg, was most recently connected to the electronic device 101 ). can be done
일 실시예에서, 외부 전자 장치와의 연결을 위한 동작을 수행하기 전, 전자 장치(101) 및 외부 전자 장치가 이미 연결된 상태에 있는 경우, 제 2 보조 프로세서(280)는, 전자 장치(101)를 외부 전자 장치와 연결시키기 위한 동작을 수행하지 않을 수 있다. 다만, 이에 제한되지 않으며, 전자 장치(101) 및 외부 전자 장치가 연결된 상태에 있는 경우에도, 제 2 보조 프로세서(280)는, 전자 장치(101)와 이전에 연결된 외부 전자 장치에 추가적으로 또는 대체적으로 새로운 외부 전자 장치와의 연결을 위한 동작을 수행할 수도 있다.In an embodiment, if the electronic device 101 and the external electronic device are already in a connected state before performing an operation for connection with the external electronic device, the second auxiliary processor 280, the electronic device 101 may not perform an operation for connecting the device to an external electronic device. However, the present invention is not limited thereto, and even when the electronic device 101 and the external electronic device are in a connected state, the second auxiliary processor 280 may additionally or alternatively to the external electronic device previously connected to the electronic device 101 . An operation for connection with a new external electronic device may be performed.
도 5에서는 동작 503의 메인 프로세서(260)가 비활성화 상태가 되도록 제어하는 동작을 수행한 후, 동작 505의 외부 전자 장치와의 연결을 위한 동작을 수행하는 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 제 2 보조 프로세서(280)가 외부 전자 장치와의 연결을 위한 동작을 수행한 후, 제 1 보조 프로세서(270)가 메인 프로세서(260)가 비활성화 상태가 되도록 제어하는 동작을 수행할 수 있다. In FIG. 5 , after performing an operation for controlling the main processor 260 to be in an inactive state in operation 503 , an operation for connection with an external electronic device is performed in operation 505 , but is not limited thereto. For example, after the second auxiliary processor 280 performs an operation for connection with an external electronic device, the first auxiliary processor 270 controls the main processor 260 to be in an inactive state. can
일 실시예에서, 제 2 보조 프로세서(280)가 외부 전자 장치와의 연결을 위한 동작을 수행한 후, 제 1 보조 프로세서(270)가 메인 프로세서(260)가 비활성화 상태가 되도록 제어하는 경우, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)와 연결될 적어도 하나의 외부 전자 장치를 검색(예: 탐색)할 수 있다. 메인 프로세서(260)는, 검색된 적어도 하나의 외부 전자 장치에 대한 리스트(list)를 디스플레이 모듈(210)을 통하여 표시할 수 있다. 메인 프로세서(260)는 상기 리스트 내에서 전자 장치(101)와 연결될 외부 전자 장치를 선택하는 사용자 입력을 수신할 수 있다. 메인 프로세서(260)는, 상기 사용자 입력에 기반하여, 제 2 보조 프로세서(280)가 상기 선택된 외부 전자 장치와의 연결을 위한 동작을 수행하도록 제어할 수 있다. 메인 프로세서(260)는, 제 2 보조 프로세서(280)가 상기 선택된 외부 전자 장치와의 연결을 위한 동작을 수행하도록 제어한 후, 비활성화 상태(예: 전원 오프 상태)로 전환될 수 있다.In an embodiment, when the first auxiliary processor 270 controls the main processor 260 to be in an inactive state after the second auxiliary processor 280 performs an operation for connection with an external electronic device, the 2 The auxiliary processor 280 may search (eg, search for) at least one external electronic device to be connected to the electronic device 101 through the communication module 250 . The main processor 260 may display a list of at least one searched external electronic device through the display module 210 . The main processor 260 may receive a user input for selecting an external electronic device to be connected to the electronic device 101 in the list. The main processor 260 may control the second auxiliary processor 280 to perform an operation for connection with the selected external electronic device based on the user input. After controlling the second auxiliary processor 280 to perform an operation for connection with the selected external electronic device, the main processor 260 may be switched to an inactive state (eg, a power-off state).
동작 507에서, 일 실시예에서, 제 2 보조 프로세서(280)는 외부 입력 모드로 동작할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는 전자 장치(101)가 외부 전자 장치와 연결된 경우, 외부 입력 모드로 동작할 수 있다.In operation 507 , in an embodiment, the second co-processor 280 may operate in an external input mode. For example, when the electronic device 101 is connected to an external electronic device, the second auxiliary processor 280 may operate in an external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 활성화 상태로 전환(또는 유지)될 수 있다. 예를 들어, 제 1 보조 프로세서(270)가 전력 상태 전환을 위한 입력에 기반하여, 제 2 보조 프로세서(280)로, 제 2 보조 프로세서(280)가 입력 모드로 동작하도록 하기 위한 제어 신호를 전달한 경우, 제 2 보조 프로세서(280)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로부터 활성화 상태(예: active 상태)로 전환되거나 활성화 상태를 유지할 수 있다.In an embodiment, when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may be switched (or maintained) to an active state. For example, the first auxiliary processor 270 transmits a control signal for operating in the input mode to the second auxiliary processor 280 based on the input for switching the power state. In this case, the second auxiliary processor 280 may be switched from an inactive state (eg, a standby state or a power-off state) to an active state (eg, an active state) or may maintain an active state.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 통신 모듈(250)이 활성화 상태가 되도록 제어할 수 있다.In an embodiment, the second sub-processor 280 may control the communication module 250 to be in an activated state when receiving a control signal for operating in the external input mode from the first sub-processor 270 . have.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. 외부 전자 장치는, 전자 장치(101)로부터 입력 데이터를 수신하는 경우, 입력 데이터에 기반하여 동작을 수행할 수 있다. 예를 들어, 외부 전자 장치는, 전자 장치(101)로부터 수신된 입력 데이터에 기반하여, 메시지를 입력(예: 작성)하거나, 외부 전자 장치의 어플리케이션의 기능을 실행할 수 있다. 일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 메인 프로세서(260) 또는 제 1 보조 프로세서(270)로, 입력 모듈(240)을 통하여 입력된 입력 데이터를, 전달하지 않을 수 있다. In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device. When receiving input data from the electronic device 101 , the external electronic device may perform an operation based on the input data. For example, the external electronic device may input (eg, write) a message or execute a function of an application of the external electronic device based on input data received from the electronic device 101 . In one embodiment, the second co-processor 280 does not transmit the input data input through the input module 240 to the main processor 260 or the first co-processor 270 in the external input mode. can
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 장치(101)와 연결된 외부 입력 장치(예: 유선 또는 무선으로 연결된 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다.In an embodiment, the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
일 실시예에서, 제 2 보조 프로세서(280)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우(예: 전자 장치(101)와 연결될 외부 전자 장치가 검색되지 않은 경우), 대기 상태로 전환될 수 있다. 예를 들어, 제 2 보조 프로세서는, 전자 장치(101)가 외부 전자 장치가 연결되지 않은 경우, 외부 입력 모드로 동작함 없이, 대기 상태로 전환될 수 있다. 제 2 보조 프로세서(280)는, 대기 상태에서, 주기적으로 활성화 상태(예: 웨이크 업 상태)로 전환된 후, 전자 장치(101)와 연결될 외부 전자 장치를 검색할 수 있다. 제 2 보조 프로세서(280)는, 대기 상태에서 전자 장치(101)와 연결 가능한 외부 전자 장치가 검색된 경우, 검색된 외부 전자 장치에 대한 정보(예: 블루투스 어드레스 정보)를 메모리(130)에 저장할 수 있다. In an embodiment, the second auxiliary processor 280 is in a standby state when the electronic device 101 is not connected to the external electronic device (eg, an external electronic device to be connected to the electronic device 101 is not found). can be converted to For example, when the electronic device 101 is not connected to an external electronic device, the second auxiliary processor may be switched to a standby state without operating in the external input mode. The second auxiliary processor 280 may search for an external electronic device to be connected to the electronic device 101 after it is periodically switched from a standby state to an active state (eg, a wake-up state). When an external electronic device connectable to the electronic device 101 is found in the standby state, the second auxiliary processor 280 may store information about the found external electronic device (eg, Bluetooth address information) in the memory 130 . .
도 5에서는, 전력 상태 전환을 위한 입력에 기반하여, 외부 입력 모드로 전환하는 동작에 대한 예시들을 설명하였지만, 이에 제한되지 않는다. 일 실시예에서, 전력 상태 전환을 위한 입력이 수신된 경우, 메인 프로세서(260)는, 전자 장치(101) 및 전자 장치(101)와 통신 연결된 외부 전자 장치가 동일한 화면(예: 동일한 입력 데이터를 표시하는 화면)을 표시하도록 하는 미러링(mirroring) 기능을 수행할 수 있다. 예를 들어, 전력 상태 전환을 위한 입력이 수신된 경우, 메인 프로세서(260)는, 외부 입력 모드로 전환할지 또는 미러링 기능을 수행할지를 선택하는 사용자 입력을 수신할 수 있다. 미러링 기능을 수행할 것을 선택하는 사용자 입력을 수신한 경우, 전자 장치(101) 및 외부 전자 장치는, Wi-Fi 통신을 이용하여 통신 연결될 수 있다. 이러한 경우, 메인 프로세서(260)는, 활성화 상태를 유지하고, 보조 프로세서(280)는, 입력 모듈(240)을 통하여 입력되는 입력 데이터를 포함하여 디스플레이 모듈(210) 통하여 표시되는 화면에 대한 데이터를 통신 모듈(250)을 통하여 외부 전자 장치로 전송할 수 있다. 또한, 보조 프로세서(280)는, 외부 전자 장치로부터 수신된 입력 데이터에 기반하여, 전자 장치(101)의 동작을 수행하도록 제어할 수 있다.In FIG. 5 , examples of an operation of switching to an external input mode based on an input for switching a power state have been described, but the present invention is not limited thereto. In an embodiment, when an input for power state transition is received, the main processor 260 may display the electronic device 101 and the electronic device 101 and an external electronic device communicatively connected to the same screen (eg, the same input data). A mirroring function to display the screen to be displayed) can be performed. For example, when an input for changing a power state is received, the main processor 260 may receive a user input for selecting whether to switch to an external input mode or perform a mirroring function. When a user input for selecting to perform the mirroring function is received, the electronic device 101 and the external electronic device may be communicatively connected using Wi-Fi communication. In this case, the main processor 260 maintains an activated state, and the auxiliary processor 280 receives data for a screen displayed through the display module 210 including input data input through the input module 240 . It can be transmitted to an external electronic device through the communication module 250 . Also, the auxiliary processor 280 may control to perform an operation of the electronic device 101 based on input data received from the external electronic device.
도 6은, 다양한 실시예들에 따른, 외부 입력 모드 전환을 위한 키 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 흐름도(600)이다.6 is a flowchart 600 illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure.
도 7은, 다양한 실시예들에 따른, 외부 입력 모드 전환을 위한 키 입력에 기반하여 외부 입력 모드로 동작하는 방법을 설명하는 예시도(700)이다.7 is an exemplary diagram 700 illustrating a method of operating in an external input mode based on a key input for switching an external input mode, according to various embodiments of the present disclosure.
도 6 및 도 7을 참조하면, 동작 601, 일 실시예에서, 제 2 보조 프로세서(280)는, 입력 모듈(240)(예: 키보드)을 통하여, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로의 전환을 위한 키(이하, '외부 입력 모드 전환을 위한 키'로 지칭함) 입력을 수신할 수 있다.6 and 7 , in operation 601 , in an embodiment, the second auxiliary processor 280 sets the mode of the electronic device 101 to the internal input mode through the input module 240 (eg, a keyboard). A key input for switching to the external input mode (hereinafter, referred to as a 'key for switching the external input mode') may be received from the .
예를 들어, 도 7에서, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키 입력으로서, 키보드(720) 내에서 'Fn(function)' 키(723-1) 및 'S' 키(723-2)에 대한 입력을 수신할 수 있다. 다만, 외부 입력 모드 전환을 위한 키 입력은 전술한 예시에 제한되지 않는다.For example, in FIG. 7 , the second auxiliary processor 280 is a key input for switching an external input mode, and an 'Fn (function)' key 723-1 and an 'S' key in the keyboard 720 . An input to (723-2) may be received. However, the key input for switching the external input mode is not limited to the above-described example.
일 실시예에서, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)와 통신 연결된 외부 전자 장치로부터, 전자 장치(101)의 모드를 내부 입력 모드로부터 외부 입력 모드로 전환하기 위한 요청(이하, '외부 입력 모드 전환을 위한 요청'으로 지칭함)을 수신할 수 있다. 예를 들어, 도 7에서, 외부 전자 장치(103)(예: 도 1의 전자 장치(102, 104))는, 키보드(730) 내에서 전자 장치(101)의 외부 입력 모드 전환을 요청하기 위하여 지정된 키(731)에 대한 입력을 수신할 수 있다. 외부 전자 장치(103)는, 지정된 키(731)에 대한 입력을 수신함에 기반하여, 전자 장치(101)로, 외부 입력 모드 전환을 위한 요청을 전송할 수 있다.In an embodiment, the second auxiliary processor 280 changes the mode of the electronic device 101 from the internal input mode to the external input mode from the external electronic device communicatively connected to the electronic device 101 through the communication module 250 . may receive a request for switching to (hereinafter, referred to as a 'request for switching an external input mode'). For example, in FIG. 7 , the external electronic device 103 (eg, the electronic devices 102 and 104 of FIG. 1 ) requests the electronic device 101 to change the external input mode within the keyboard 730 . An input for the designated key 731 may be received. The external electronic device 103 may transmit a request for switching the external input mode to the electronic device 101 based on receiving an input for the specified key 731 .
일 실시예에서, 제 2 보조 프로세서(280)는, 상기 수신된 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보를 메인 프로세서(260)로 전달할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)을 통하여, 외부 입력 모드로 전환하기 위한 입력을 가이드(guide)하는 정보를 표시할 수 있다. 예를 들어, 도 7에 도시된 바와 같이, 메인 프로세서(260)는, 디스플레이 모듈(210)을 통하여, 화면(710) 상에, 외부 입력 모드 전환을 위한 키를 설명하는 텍스트(711)을 표시할 수 있다. 다만, 가이드 정보는 전술한 예시에 제한되지 않으며, 예를 들어, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 요청이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)을 통하여, 전자 장치(101)의 모드를 외부 입력 모드로 전환하기 위해서는, 외부 입력 모드 전환을 위한 키 입력이 입력되어야 함을 나타내는 정보를 표시할 수 있다.In an embodiment, the second auxiliary processor 280 may transmit information indicating that the received request for switching the external input mode is received to the main processor 260 . In an embodiment, the main processor 260 guides an input for switching to the external input mode through the display module 210 based on information indicating that a request for switching the external input mode is received. information can be displayed. For example, as shown in FIG. 7 , the main processor 260 displays a text 711 describing a key for switching the external input mode on the screen 710 through the display module 210 . can do. However, the guide information is not limited to the above-described example, and for example, the main processor 260, based on information indicating that a request for external input mode switching is received, through the display module 210, the electronic device In order to change the mode of 101 to the external input mode, information indicating that a key input for switching the external input mode should be displayed may be displayed.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드로 전환하기 위한 입력을 가이드하는 정보가 표시된 후, 입력 모듈(240)(예: 키보드)을 통하여, 외부 입력 모드 전환을 위한 키 입력을 수신할 수 있다.In one embodiment, the second auxiliary processor 280, after information guiding input for switching to the external input mode is displayed, through the input module 240 (eg, keyboard), a key for switching the external input mode input can be received.
동작 603에서, 일 실시예에서, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 블루투스 저전력(BLE) 통신을 이용하여, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 수행할 수 있다. 다만, 전자 장치(101) 및 외부 전자 장치를 연결하기 위한 통신은 블루투스 저전력 통신에 제한되지 않는다.In operation 603 , in an embodiment, the second auxiliary processor 280 may perform an operation for communication-connecting the electronic device 101 with an external electronic device through the communication module 250 . For example, the second auxiliary processor 280 may perform an operation for communicatively connecting the electronic device 101 with an external electronic device using Bluetooth low energy (BLE) communication. However, communication for connecting the electronic device 101 and an external electronic device is not limited to Bluetooth low energy communication.
일 실시예에서, 제 2 보조 프로세서(280)는, 전자 장치(101)에 이전에 연결된 적이 있는(예: 가장 최근에 전자 장치(101)와 연결되었던) 외부 전자 장치와의 통신 연결을 위한 동작을 수행할 수 있다. In an embodiment, the second auxiliary processor 280 operates for a communication connection with an external electronic device that has been previously connected to the electronic device 101 (eg, was most recently connected to the electronic device 101 ). can be performed.
일 실시예에서, 제 2 보조 프로세서(280)는, 전자 장치(101)가 사용자 선택 입력에 기반하여 선택된 외부 전자 장치와 통신 연결되도록 할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)와 연결될 적어도 하나의 외부 전자 장치를 검색(예: 탐색)할 수 있다. 메인 프로세서(260)는, 검색된 적어도 하나의 외부 전자 장치에 대한 리스트(list)를 디스플레이 모듈(210)을 통하여 표시할 수 있다. 메인 프로세서(260)는 상기 리스트 내에서 전자 장치(101)와 연결될 외부 전자 장치를 선택하는 사용자 입력을 수신할 수 있다. 메인 프로세서(260)는, 상기 사용자 선택 입력에 기반하여, 제 2 보조 프로세서(280)가 상기 선택된 외부 전자 장치와의 통신 연결을 위한 동작을 수행하도록 제어할 수 있다. 제 2 보조 프로세서(280)는, 통신 모듈(250)을 통하여, 전자 장치(101)가 상기 선택된 외부 전자 장치와 통신 연결되도록 할 수 있다.In an embodiment, the second auxiliary processor 280 may enable the electronic device 101 to communicate with an external electronic device selected based on a user selection input. For example, the second auxiliary processor 280 may search (eg, search for) at least one external electronic device to be connected to the electronic device 101 through the communication module 250 . The main processor 260 may display a list of at least one searched external electronic device through the display module 210 . The main processor 260 may receive a user input for selecting an external electronic device to be connected to the electronic device 101 in the list. The main processor 260 may control the second auxiliary processor 280 to perform an operation for communication connection with the selected external electronic device based on the user selection input. The second auxiliary processor 280 may enable the electronic device 101 to communicate with the selected external electronic device through the communication module 250 .
일 실시예에서, 전자 장치(101) 및 외부 전자 장치가 이미 통신 연결된 상태에 있는 경우, 제 2 보조 프로세서(280)는, 전자 장치(101)를 외부 전자 장치와 통신 연결시키기 위한 동작을 다시 수행하지 않을 수 있다. 다만, 이에 제한되지 않으며, 전자 장치(101) 및 외부 전자 장치가 통신 연결된 상태에 있는 경우에도, 제 2 보조 프로세서(280)는, 전자 장치(101)와 이전에 연결된 외부 전자 장치에 추가적으로 또는 대체적으로 새로운 외부 전자 장치와의 통신 연결을 위한 동작을 수행할 수도 있다.In an embodiment, when the electronic device 101 and the external electronic device are already in a communication-connected state, the second auxiliary processor 280 performs an operation for communication-connecting the electronic device 101 with the external electronic device again. may not However, the present invention is not limited thereto, and even when the electronic device 101 and the external electronic device are in a communication-connected state, the second auxiliary processor 280 may be additionally or alternatively to the external electronic device previously connected to the electronic device 101 . to perform an operation for communication connection with a new external electronic device.
일 실시예에서, 전자 장치(101)가 외부 전자 장치와 통신 연결된 경우, 제 2 보조 프로세서(280)(또는 메인 프로세서(260))는, 통신 모듈(250)을 통하여, 외부 전자 장치로, 전자 장치(101)가 외부 전자 장치를 위한 입력 장치로서 동작하는 것을 외부 전자 장치가 허용할지 여부를 확인하기 위한 정보를 전송할 수 있다. 예를 들어, 도 7에 도시된 바와 같이, 외부 전자 장치(103)는, 전자 장치(101)로부터, 전자 장치(101)가 외부 전자 장치(103)를 위한 입력 장치로서 동작하는 것을 외부 전자 장치(103)가 허용할지 여부를 확인하기 위한 정보를 수신한 경우, 화면(740) 상에 상기 수신된 정보와 관련된 정보(741)를 표시할 수 있다. 외부 전자 장치(103)는, 전자 장치(101)가 외부 전자 장치(103)를 위한 입력 장치로서 동작하는 것을 허용하기 위한 사용자 입력을 수신한 경우, 전자 장치(101)로, 전자 장치(101)가 외부 전자 장치(103)를 위한 입력 장치로서 동작하는 것을 허용함을 나타내는 정보를 전송할 수 있다. In an embodiment, when the electronic device 101 is communicatively connected to an external electronic device, the second auxiliary processor 280 (or the main processor 260 ) is, through the communication module 250 , to the external electronic device, the electronic device Information for confirming whether the external electronic device permits the device 101 to operate as an input device for the external electronic device may be transmitted. For example, as shown in FIG. 7 , the external electronic device 103 determines, from the electronic device 101 , that the electronic device 101 operates as an input device for the external electronic device 103 . When information for checking whether to allow 103 is received, information 741 related to the received information may be displayed on the screen 740 . When receiving a user input for allowing the electronic device 101 to operate as an input device for the external electronic device 103 , the external electronic device 103 is the electronic device 101 , the electronic device 101 . may transmit information indicating that it is allowed to operate as an input device for the external electronic device 103 .
동작 605에서, 일 실시예에서, 제 2 보조 프로세서(280)는, 메인 프로세서(260)가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)가 되도록 제어할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 전자 장치(101)가 외부 전자 장치와 통신 연결된 경우, 메인 프로세서(260)가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)가 되도록 제어할 수 있다.In operation 605 , in an embodiment, the second auxiliary processor 280 may control the main processor 260 to be in an inactive state (eg, a standby state or a power off state). For example, when the electronic device 101 is communicatively connected to an external electronic device, the second auxiliary processor 280 may control the main processor 260 to be in an inactive state (eg, a standby state or a power-off state). have.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보를 직접적으로 메인 프로세서(260)로 전달할 수 있다. 일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보를 제 1 보조 프로세서(270)를 통하여 메인 프로세서(260)로 전달할 수 있다. 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 비활성화 상태(예: 대기상태 또는 전원 오프 상태)로 전환될 수 있다(또는 진입할 수 있다). In an embodiment, the second auxiliary processor 280 may directly transmit information indicating that an input for a key for switching an external input mode is received to the main processor 260 . In an embodiment, the second auxiliary processor 280 may transmit information indicating that an input for a key for switching the external input mode is received to the main processor 260 through the first auxiliary processor 270 . The main processor 260 may be switched to (or entered) an inactive state (eg, a standby state or a power-off state) based on information indicating that an input for a key for switching an external input mode is received. .
일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 디스플레이 모듈(210)이 비활성화(예: 전원 오프 상태 또는 대기 상태)가 되도록 제어할 수 있다.In an embodiment, the main processor 260 causes the display module 210 to become inactive (eg, in a power-off state or in a standby state) based on information indicating that an input for a key for switching an external input mode is received. can be controlled
일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨 또는 전환될 것을 나타내는 정보를 전달할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 외부 입력 모드 전환을 위한 키에 대한 입력이 수신됨을 나타내는 정보에 기반하여, 제 1 보조 프로세서(270)로, 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보(예: ACPI 규격의 S3 상태 또는 S4 상태에 있음을 나타내는 정보)를 전달할 수 있다.In one embodiment, the main processor 260, the first auxiliary processor 270, based on the information indicating that an input for a key for switching the external input mode is received, the state of the main processor 260 is inactive It can carry information indicating that it will be switched to or to be switched to (eg, standby state or power-off state). In one embodiment, the main processor 260, the first auxiliary processor 270, based on the information indicating that an input for a key for switching the external input mode is received, the display module 210 is in an inactive state (eg, power-off state or standby state) may transmit information (eg, information indicating that it is in the S3 state or S4 state of the ACPI standard).
일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환될 것을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 대기 상태로 전환될 수 있다(예: 진입할 수 있다). In one embodiment, the first auxiliary processor 270 is, from the main processor 260, an information or display module indicating that the state of the main processor 260 is to be switched to an inactive state (eg, a standby state or a power-off state). When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, it may be converted to a standby state (eg, may enter).
일 실시예에서, 메인 프로세서(260)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환된 후 또는 전환되기 전, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨 또는 전환될 것을 나타내는 정보를 전달할 수 있다. In one embodiment, the main processor 260, after or before the transition to an inactive state (eg, a standby state or a power-off state), the first auxiliary processor 270, the state of the main processor 260 is It may carry information indicating that it will be switched to or to be transitioned to an inactive state (eg, a standby state or a power-off state).
일 실시예에서, 제 2 보조 프로세서(280)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우(예: 전자 장치(101)와 연결될 외부 전자 장치가 검색되지 않은 경우), 메인 프로세서(260)가 활성화 상태를 유지하도록 제어할 수 있다. 예를 들어, 제 2 보조 프로세서(280)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우, 전자 장치(101)가 외부 입력 모드로 전환됨 없이 내부 입력 모드를 유지하도록 제어할 수 있다. In an embodiment, when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the second auxiliary processor 280 is the main processor 260 may be controlled to maintain an active state. For example, when the electronic device 101 is not connected to the external electronic device, the second auxiliary processor 280 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode. .
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 전자 장치로부터, 전자 장치(101)가 외부 전자 장치를 위한 입력 장치로서 동작하는 것을 허용함을 나타내는 정보를 수신함에 기반하여, 메인 프로세서(260)가 비활성화 상태가 되도록 제어할 수 있다.In an embodiment, the second auxiliary processor 280 is configured to receive, from the external electronic device, information indicating that the electronic device 101 is permitted to operate as an input device for the external electronic device, based on the information indicating that the main processor ( 260) may be controlled to be in an inactive state.
일 실시예에서, 메인 프로세서(260)는, 비활성화 상태로 전환 전, 수행하고 있었던 기능과 관련된 정보를 메모리(130)에 저장할 수 있다. 다른 예를 들어, 메인 프로세서(260)는, 비활성화 상태로 전환 전, 수행하고 있었던 기능과 관련된 정보를 메모리(130)에 저장할 수 있다.. 예를 들어, 메인 프로세서(260)가 비활성 상태로 전환되면, 메모리(130)는 전력 회로(230)로부터 전력의 공급이 유지됨으로써 메인 프로세서(260)가 수행하고 있었던 기능과 관련된 정보가 메모리(130)에 유지될 수 있다.In an embodiment, the main processor 260 may store information related to the function being performed before the transition to the inactive state in the memory 130 . As another example, the main processor 260 may store information related to a function being performed before switching to the inactive state in the memory 130. For example, the main processor 260 may be converted to the inactive state When the memory 130 maintains the supply of power from the power circuit 230 , information related to the function being performed by the main processor 260 may be maintained in the memory 130 .
동작 607에서, 일 실시예에서, 제 2 보조 프로세서(280)는 외부 입력 모드로 동작할 수 있다. In operation 607 , in an embodiment, the second auxiliary processor 280 may operate in an external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 활성화 상태를 유지할 수 있다. In an embodiment, when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 장치(101)와 연결된 외부 입력 장치(예: 유선 또는 무선으로 연결된 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다.In an embodiment, the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
도 8은, 다양한 실시예들에 따른, 전자 장치(101)의 폴딩 상태에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 흐름도(800)이다.8 is a flowchart 800 illustrating a method of operating in an external input mode based on a folded state of the electronic device 101 according to various embodiments of the present disclosure.
도 9는, 다양한 실시예들에 따른, 전자 장치(101)의 다양한 폴딩 상태를 설명하는 예시도(900)이다.9 is an exemplary diagram 900 illustrating various folding states of the electronic device 101 according to various embodiments of the present disclosure.
도 10은, 다양한 실시예들에 따른, 전자 장치(101)의 폴딩 상태에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 예시도(1000)이다.10 is an exemplary diagram 1000 illustrating a method of operating in an external input mode based on a folded state of the electronic device 101 according to various embodiments of the present disclosure.
도 8 내지 도 10을 참조하면, 동작 801에서, 일 실시예에서, 메인 프로세서(260)는, 센서 모듈(220)(예: 제 1 센서)을 통하여, 전자 장치(101)의 폴딩(folding)(예: 폴딩 동작)을 검출할 수 있다. 8 to 10 , in operation 801 , in an embodiment, the main processor 260 folds the electronic device 101 through the sensor module 220 (eg, a first sensor). (eg folding motion) can be detected.
일 실시예에서, 제 1 센서는, 가속도 센서 또는 자이로 센서 중 적어도 하나를 포함할 수 있다. 다만, 제 1 센서가 포함하는 센서는 전술한 예시에 제한되지 않으며, 예를 들어, 전자 장치(101)의 폴딩을 검출하기 위하여 홀(hall) 센서를 더 포함할 수 있다. In an embodiment, the first sensor may include at least one of an acceleration sensor and a gyro sensor. However, the sensor included in the first sensor is not limited to the above-described example, and, for example, may further include a hall sensor to detect folding of the electronic device 101 .
일 실시예에서, 전자 장치(101)는 폴더블한 전자 장치(예: 폴더블 랩탑)(예: 폴딩 가능한 전자 장치)일 수 있다. 전자 장치(101)는 다양한 폴딩 상태에 있을 수 있다. 예를 들어, 전자 장치(101)는, 도 9의 도면 번호 910과 같이, 제 1 하우징(913)에 디스플레이 모듈(911)(예: 디스플레이 모듈(210))이 배치되고, 제 2 하우징(914)에 입력 모듈(912)(예: 입력 모듈(240))(예: 키보드)이 배치되고, 제 1 하우징(913) 및 제 2 하우징(914)은 힌지부(915)를 통하여 회전 가능하도록 구성될 수 있다. 일 실시예에서, 제 1 하우징(913) 및 제 2 하우징(914) 각각에 제 1 센서들(예: 가속도 센서들)이 배치될 수 있다.In an embodiment, the electronic device 101 may be a foldable electronic device (eg, a foldable laptop) (eg, a foldable electronic device). The electronic device 101 may be in various folding states. For example, in the electronic device 101 , as shown in reference numeral 910 of FIG. 9 , a display module 911 (eg, a display module 210 ) is disposed in a first housing 913 , and a second housing 914 is disposed. ), an input module 912 (eg, input module 240) (eg, keyboard) is disposed, and the first housing 913 and the second housing 914 are configured to be rotatable through a hinge part 915 . can be In an embodiment, first sensors (eg, acceleration sensors) may be disposed in each of the first housing 913 and the second housing 914 .
전자 장치(101)는, 도면 번호 910에 도시된 바와 같이, 제 2 하우징(914)에 배치된 키보드(912)가 노출된 방향이 중력 방향과 반대이고, 제 1 하우징(913) 및 제 2 하우징(914)이 약 90도의 각도를 형성한 폴딩 상태(이하, '제 1 폴딩 상태'로 지칭함)에 있을 수 있다. 다른 예를 들어, 전자 장치(101)는, 도 9의 도면 번호 920에 도시된 바와 같이, 제 1 하우징(913)에 배치된 디스플레이 모듈(911)이 중력 방향으로 노출되고, 제 2 하우징(914)에 배치된 키보드(912)가 중력 방향과 반대 방향으로 노출된 폴딩 상태(이하, '제 2 폴딩 상태'로 지칭함)에 있을 수 있다. 또 다른 예를 들어, 전자 장치(101)는, 도 9의 도면 번호 930에 도시된 바와 같이, 제 2 하우징(914)에 배치된 키보드(912)가 중력 방향으로 노출되고, 제 1 하우징(913)에 배치된 디스플레이 모듈(911)이 중력 방향과 반대 방향으로 노출된 폴딩 상태(이하, '제 3 폴딩 상태'로 지칭함)에 있을 수 있다. 다른 예를 들어, 전자 장치(101)는, 도 9의 도면 번호 940에 도시된 바와 같이, 제 2 하우징(914)에 배치된 키보드(912)가 노출된 방향이 중력 방향과 반대이고, 제 2 하우징(914)의 키보드(912)가 제 1 하우징(913)의 디스플레이 모듈(911)이 대면하는 폴딩 상태(이하, '제 4 폴딩 상태'로 지칭함)에 있을 수 있다. In the electronic device 101, as shown in reference numeral 910, the direction in which the keyboard 912 disposed on the second housing 914 is exposed is opposite to the direction of gravity, and the first housing 913 and the second housing 914 may be in a folded state (hereinafter, referred to as a 'first folded state') forming an angle of about 90 degrees. For another example, in the electronic device 101 , as shown in reference numeral 920 of FIG. 9 , the display module 911 disposed in the first housing 913 is exposed in the direction of gravity, and the second housing 914 is exposed in the direction of gravity. ) may be in a folded state (hereinafter, referred to as a 'second folding state') in which the keyboard 912 is exposed in a direction opposite to the direction of gravity. As another example, in the electronic device 101 , as shown in reference numeral 930 of FIG. 9 , the keyboard 912 disposed on the second housing 914 is exposed in the direction of gravity, and the first housing 913 . ) may be in a folded state (hereinafter, referred to as a 'third folded state') in which the display module 911 disposed in the direction of gravity is exposed in a direction opposite to the direction of gravity. As another example, in the electronic device 101 , as shown in reference numeral 940 of FIG. 9 , the direction in which the keyboard 912 disposed on the second housing 914 is exposed is opposite to the direction of gravity, and the second The keyboard 912 of the housing 914 may be in a folded state (hereinafter, referred to as a 'fourth folded state') in which the display module 911 of the first housing 913 faces.
동작 803에서, 일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 지정된 폴딩 상태에 있는지 여부를 확인할 수 있다. 예를 들어, 메인 프로세서(260)는, 전자 장치(101)의 폴딩 상태가 지정된 폴딩 상태로 변경되는지 여부를 확인할 수 있다.In operation 803 , in an embodiment, the main processor 260 may determine whether the electronic device 101 is in a specified folded state. For example, the main processor 260 may check whether the folding state of the electronic device 101 is changed to a specified folding state.
일 실시예에서, 지정된 폴딩 상태는 제 2 폴딩 상태 또는 제 3 폴딩 상태를 포함할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 제 1 센서를 통하여, 전자 장치(101)의 폴딩 상태가 제 1 폴딩 상태로부터 제 2 폴딩 상태 또는 제 3 폴딩 상태로 전환되는지 여부를 확인할 수 있다. 일 실시예에서, 제 2 폴딩 상태는, 도 9의 도면 부호 920에 도시된 바와 같이, 사용자로부터, 입력 모듈(240)을 통하여, 입력 데이터가 입력될 수 있는 상태일 수 있다. 일 실시예에서, 제 3 폴딩 상태는, 도 9의 도면 부호 930에 도시된 바와 같이, 사용자로부터, 디스플레이 모듈(210)을 통하여, 입력 데이터가 입력될 수 있는 상태일 수 있다. 예를 들어, 제 3 폴딩 상태에서, 사용자의 손가락(또는 전자 펜)에 의한 입력 데이터가 디스플레이 모듈(210)을 통하여 입력될 수 있다.In an embodiment, the designated folding state may include a second folding state or a third folding state. In an embodiment, the main processor 260 may check whether the folded state of the electronic device 101 is switched from the first folded state to the second folded state or the third folded state through the first sensor. In an embodiment, the second folding state may be a state in which input data can be input from the user through the input module 240 as shown by reference numeral 920 of FIG. 9 . In an embodiment, the third folding state may be a state in which input data can be input from a user through the display module 210 as shown by reference numeral 930 of FIG. 9 . For example, in the third folded state, input data by a user's finger (or electronic pen) may be input through the display module 210 .
동작 805에서, 일 실시예에서, 제 2 보조 프로세서(280)는, 외부 전자 장치와의 연결을 위한 동작을 수행할 수 있다. In operation 805, according to an embodiment, the second auxiliary processor 280 may perform an operation for connection with an external electronic device.
동작 805에 대한 예시들은 도 6의 동작 603에 대한 예시들과 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하기로 한다.Examples of operation 805 are at least partially the same as or similar to those of operation 603 of FIG. 6 , and thus a detailed description thereof will be omitted.
동작 807에서, 일 실시예에서, 메인 프로세서(260)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환될 수 있다.In operation 807 , in an embodiment, the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state).
일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 지정된 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 디스플레이 모듈(210)의 적어도 일부가 비활성화(예: 전원 오프 상태 또는 대기 상태) 되도록 제어할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 제 3 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 디스플레이 모듈(210)의 일부가 활성화 되도록 제어할 수 있다. 예를 들어, 메인 프로세서(260)는, 전자 장치(101)가 제 3 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 터치 입력을 위한 터치 패널 및/또는 전자 펜에 의한 입력을 수신하기 위한 EMR 방식을 이용한 터치 패널을 활성화할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 제 3 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 입력 모듈(240)이 비활성화 되도록 제어할 수 있다.일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 제 2 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 디스플레이 모듈(210)이 비활성화 되도록 제어할 수 있다. In an embodiment, when the electronic device 101 is in a specified folding state and is connected to an external electronic device, the main processor 260 disables at least a portion of the display module 210 (eg, in a power-off state or standby state) can be controlled. In an embodiment, when the electronic device 101 is in the third folded state and connected to the external electronic device, the main processor 260 may control a portion of the display module 210 to be activated. For example, when the electronic device 101 is in the third folding state and connected to the external electronic device, the main processor 260 may be configured to receive an input by a touch panel and/or an electronic pen for a touch input. It is possible to activate the touch panel using the EMR method for In an embodiment, the main processor 260 may control the input module 240 to be deactivated when the electronic device 101 is in the third folded state and connected to the external electronic device. , the main processor 260 may control the display module 210 to be deactivated when the electronic device 101 is in the second folded state and connected to the external electronic device.
일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 지정된 폴딩 상태에 있고 외부 전자 장치와 연결된 상태에 있는 경우, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨(또는 전환될 것)을 나타내는 정보를 전달할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로, 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 전달할 수 있다. 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 대기 상태로 전환될 수 있다(예: 진입할 수 있다). 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 제어할 수 있다. In an embodiment, when the electronic device 101 is in a designated folding state and connected to an external electronic device, the main processor 260 is the first auxiliary processor 270, and the state of the main processor 260 is It can carry information indicating that it has transitioned (or will be transitioned to) an inactive state (eg, a standby state or a power-off state). In an embodiment, the main processor 260 may transmit information indicating that the state of the display module 210 is switched to an inactive state (eg, a power-off state or a standby state) to the first auxiliary processor 270 . . In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered). In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of the 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우(예: 전자 장치(101)와 연결될 외부 전자 장치가 검색되지 않은 경우), 메인 프로세서(260)가 활성화 상태를 유지할 수 있다. 예를 들어, 메인 프로세서(260)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우, 전자 장치(101)가 외부 입력 모드로 전환됨 없이 내부 입력 모드를 유지하도록 제어할 수 있다. In an embodiment, when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the main processor 260 is configured to ) can remain active. For example, when the electronic device 101 is not connected to the external electronic device, the main processor 260 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode.
동작 809에서, 일 실시예에서, 제 2 보조 프로세서(280)는 외부 입력 모드로 동작할 수 있다. In operation 809 , in an embodiment, the second co-processor 280 may operate in an external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 활성화 상태를 유지할 수 있다. In an embodiment, when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and connected to an external electronic device.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 장치(101)와 연결된 외부 입력 장치(예: 유선 또는 무선으로 연결된 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 전자 장치(101)와 연결된 외부 전자 장치로 전송할 수 있다. In an embodiment, the second auxiliary processor 280 transmits input data input through an external input device (eg, a wired or wirelessly connected keyboard) connected to the electronic device 101 to the communication module 250 in the external input mode. ) through an external electronic device connected to the electronic device 101 .
도 8에서 지정된 폴딩 상태로서, 제 2 폴딩 상태 및 제 3 폴딩 상태를 예시하고 있지만, 이에 제한되지 않는다. 일 실시예에서, 전자 장치(101)가 제 4 폴딩 상태에 있는 경우(예: 제 1 폴딩 상태로부터 제 4 폴딩 상태로 전환되는 경우)에도, 전자 장치(101)는 외부 입력 모드로 동작할 수 있다. 예를 들어, 도 10에 도시된 바와 같이, 전자 장치(101)는 제 2 하우징(914)의 키보드(912)가 제 1 하우징(913)의 디스플레이 모듈(911)이 대면하는 제 4 폴딩 상태에 있을 수 있다. 전자 장치(101)(예: 제 2 보조 프로세서(280))는, 제 4 폴딩 상태에서, 전자 장치(101)와 USB 케이블(951)을 통하여 연결된 외부 입력 장치(950)(예: 유선 마우스 및/또는 유선 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 외부 전자 장치(103)로 전송할 수 있다. 외부 전자 장치(103)는 전자 장치(101)로부터 수신된 입력 데이터(예: 마우스의 움직임과 관련된 데이터)에 기반하여, 커서(960)를 이동시킬 수 있다. 도 10에서, 전자 장치(101) 및 외부 입력 장치(950)가 케이블(951)을 통하여 연결된 것을 예시하고 있지만, 전자 장치(101) 및 외부 입력 장치는 무선으로 연결될 수도 있다.As the designated folding state in FIG. 8 , the second folding state and the third folding state are exemplified, but the present invention is not limited thereto. In an embodiment, even when the electronic device 101 is in the fourth folded state (eg, when the electronic device 101 is switched from the first folded state to the fourth folded state), the electronic device 101 may operate in the external input mode. have. For example, as shown in FIG. 10 , the electronic device 101 is in a fourth folded state in which the keyboard 912 of the second housing 914 faces the display module 911 of the first housing 913 . there may be In the fourth folding state, the electronic device 101 (eg, the second auxiliary processor 280 ) includes an external input device 950 (eg, a wired mouse and / or a wired keyboard) may be transmitted to the external electronic device 103 through the communication module 250 . The external electronic device 103 may move the cursor 960 based on input data (eg, data related to a mouse movement) received from the electronic device 101 . Although FIG. 10 illustrates that the electronic device 101 and the external input device 950 are connected through a cable 951 , the electronic device 101 and the external input device may be connected wirelessly.
도 11은, 다양한 실시예들에 따른, 전자 펜의 탈착에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 흐름도(1100)이다.11 is a flowchart 1100 illustrating a method of operating in an external input mode based on detachment of an electronic pen, according to various embodiments of the present disclosure.
도 12는, 다양한 실시예들에 따른, 전자 펜의 탈착에 기반하여, 외부 입력 모드로 동작하는 방법을 설명하는 예시도(1200)이다.12 is an exemplary diagram 1200 illustrating a method of operating in an external input mode based on detachment of the electronic pen, according to various embodiments of the present disclosure.
도 11 및 도 12를 참조하면, 동작 1101에서, 일 실시예에서, 프로세서(예: 메인 프로세서(260))는, 센서 모듈(220)(예: 제 2 센서)을 통하여, 전자 장치(101)로부터 전자 펜이 탈착(예: 분리)됨을 검출할 수 있다. 11 and 12 , in operation 1101, in an embodiment, the processor (eg, the main processor 260), through the sensor module 220 (eg, the second sensor), the electronic device 101 It can be detected that the electronic pen is detached (eg, detached) from the .
일 실시예에서, 제 2 센서는, 전자 펜이 전자 장치(101)에 수납되거나 전자 장치(101)로부터 탈착되는 경우, 전자 펜 내부에 포함된 코일(coil)(예: 충전을 위한 코일)에 의해 유도되는 자기장 변화를 검출할 수 있는 센서(예: 자기장 센서 또는 코일 센서)를 포함할 수 있다. 다만, 제 2 센서는, 전술한 예시에 제한되지 않으며, 전자 펜이 전자 장치(101)에 수납되거나 전자 장치(101)로부터 탈착됨을 검출할 수 있는 센서를 모두 포함할 수 있다.In an embodiment, when the electronic pen is accommodated in or detached from the electronic device 101 , the second sensor is connected to a coil (eg, a coil for charging) included in the electronic pen. It may include a sensor (eg, a magnetic field sensor or a coil sensor) capable of detecting a magnetic field change induced by the . However, the second sensor is not limited to the above-described example, and may include any sensor capable of detecting that the electronic pen is accommodated in the electronic device 101 or is detached from the electronic device 101 .
동작 1101에서는, 전자 장치(101)로부터 전자 펜이 수납 또는 탈착됨을 검출하는 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 전자 장치(101)는, 전자 장치(101)가 분리 가능한 2-IN-1 태블릿인 경우, 디스플레이 모듈을 포함하는 제 1 부분과, 입력 모듈(예: 키보드)을 포함하는 제 1 부분이 분리됨을 검출할 수 있다. 전자 장치(101)가 제 1 부분 및 제 2 부분으로 분리되는 경우에도, 전자 장치(101)로부터 전자 펜이 분리되는 경우와 동일 또는 유사하게, 이하의 동작이 수행될 수 있다.In operation 1101 , it is exemplified that the electronic pen is received or detached from the electronic device 101 is exemplified, but the present invention is not limited thereto. For example, when the electronic device 101 is a detachable 2-IN-1 tablet, the electronic device 101 includes a first part including a display module and a first part including an input module (eg, a keyboard). Partial separation can be detected. Even when the electronic device 101 is separated into the first part and the second part, the following operations may be performed in the same or similar manner as when the electronic pen is separated from the electronic device 101 .
동작 1103에서, 일 실시예에서, 제 2 보조 프로세서(280)는, 외부 전자 장치와의 연결을 위한 동작을 수행할 수 있다. In operation 1103 , in an embodiment, the second auxiliary processor 280 may perform an operation for connection with an external electronic device.
동작 1103에 대한 예시들은 도 6의 동작 603에 대한 예시들과 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하기로 한다.Examples of operation 1103 are at least partially the same as or similar to the examples of operation 603 of FIG. 6 , so a detailed description thereof will be omitted.
동작 1105에서, 일 실시예에서, 메인 프로세서(260)는, 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환될 수 있다.In operation 1105 , in an embodiment, the main processor 260 may be switched to an inactive state (eg, a standby state or a power-off state).
일 실시예에서, 메인 프로세서(260)는, 전자 펜이 전자 장치(101)로부터 탈착되고 전자 장치(101)가 외부 전자 장치와 통신 연결된 상태에 있는 경우, 디스플레이 모듈(210)이 비활성화(예: 전원 오프 상태 또는 대기 상태)가 되도록 제어할 수 있다.In an embodiment, when the electronic pen is detached from the electronic device 101 and the electronic device 101 is in a communication-connected state with the external electronic device, the main processor 260 disables the display module 210 (eg: It can be controlled to be in the power-off state or standby state).
일 실시예에서, 메인 프로세서(260)는, 전자 펜이 전자 장치(101)로부터 탈착되고 전자 장치(101)가 외부 전자 장치와 통신 연결된 상태에 있는 경우, 제 1 보조 프로세서(270)로, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨(또는 전환될 것)을 나타내는 정보를 전달할 수 있다. 일 실시예에서, 메인 프로세서(260)는, 제 1 보조 프로세서(270)로, 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 전달할 수 있다. 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 대기 상태로 전환될 수 있다(예: 진입할 수 있다). 일 실시예에서, 제 1 보조 프로세서(270)는, 메인 프로세서(260)로부터, 메인 프로세서(260)의 상태가 비활성화 상태(예: 대기 상태 또는 전원 오프 상태)로 전환됨을 나타내는 정보 또는 디스플레이 모듈(210)의 상태가 비활성화 상태(예: 전원 오프 상태 또는 대기 상태)로 전환됨을 나타내는 정보를 수신한 경우, 제 2 보조 프로세서(280)가 외부 입력 모드로 동작하도록 제어할 수 있다. In an embodiment, when the electronic pen is detached from the electronic device 101 and the electronic device 101 is in a communication-connected state with an external electronic device, the main processor 260 is Information indicating that the state of the processor 260 is changed to (or will be switched to) an inactive state (eg, a standby state or a power-off state) may be transmitted. In an embodiment, the main processor 260 may transmit information indicating that the state of the display module 210 is switched to an inactive state (eg, a power-off state or a standby state) to the first auxiliary processor 270 . . In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the state may be converted to a standby state (eg, may be entered). In an embodiment, the first auxiliary processor 270 includes, from the main processor 260 , information or a display module ( When information indicating that the state of the 210 is changed to an inactive state (eg, a power-off state or a standby state) is received, the second auxiliary processor 280 may be controlled to operate in an external input mode.
일 실시예에서, 메인 프로세서(260)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우(예: 전자 장치(101)와 연결될 외부 전자 장치가 검색되지 않은 경우), 메인 프로세서(260)가 활성화 상태를 유지할 수 있다. 예를 들어, 메인 프로세서(260)는, 전자 장치(101)가 외부 전자 장치와 연결되지 않은 경우, 전자 장치(101)가 외부 입력 모드로 전환됨 없이 내부 입력 모드를 유지하도록 제어할 수 있다. In an embodiment, when the electronic device 101 is not connected to the external electronic device (eg, when an external electronic device to be connected to the electronic device 101 is not found), the main processor 260 is configured to ) can remain active. For example, when the electronic device 101 is not connected to the external electronic device, the main processor 260 may control the electronic device 101 to maintain the internal input mode without switching to the external input mode.
동작 1107에서, 일 실시예에서, 제 2 보조 프로세서(280)는 외부 입력 모드로 동작할 수 있다. In operation 1107 , in an embodiment, the second co-processor 280 may operate in an external input mode.
일 실시예에서, 제 2 보조 프로세서(280)는, 제 1 보조 프로세서(270)로부터 외부 입력 모드로 동작하도록 하기 위한 제어 신호를 수신한 경우, 활성화 상태를 유지할 수 있다. In an embodiment, when receiving a control signal for operating in the external input mode from the first auxiliary processor 270 , the second auxiliary processor 280 may maintain an active state.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 입력 모듈(240)을 통하여 입력된 입력 데이터(예: 사용자 입력과 관련된 데이터)를 통신 모듈(250)을 통하여 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송할 수 있다. In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data (eg, data related to a user input) input through the input module 240 to the electronic device ( 101) and may be transmitted to an external electronic device that is communicated with each other.
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 장치(101)와 통신 연결된 외부 입력 장치(예: 유선 또는 무선으로 연결된 키보드)를 통하여 입력된 입력 데이터를 통신 모듈(250)을 통하여 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송할 수 있다. In an embodiment, the second auxiliary processor 280 transmits input data input through an external input device (eg, a keyboard connected by wire or wirelessly) connected to the electronic device 101 in communication with the communication module ( ) in the external input mode. 250) to an external electronic device communicatively connected to the electronic device 101 .
일 실시예에서, 제 2 보조 프로세서(280)는, 외부 입력 모드에서, 전자 펜에 의해 입력된 입력 데이터를, 통신 모듈(250)을 통하여, 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 전자 장치(101)는, 제 2 하우징(1214)에 배치된 입력 모듈(240)이 중력 방향으로 노출되고, 제 1 하우징(1213)에 배치된 디스플레이 모듈(911)이 중력 방향과 반대 방향으로 노출된 제 3 폴딩 상태에 있을 수 있다. 전자 장치(101)(예: 제 2 프로세서)는, 전자 펜(1230)에 의해 입력되는 입력 데이터를, 통신 모듈(250)을 통하여, 전자 장치(101)와 연결된 외부 전자 장치(103)로 전송할 수 있다. 외부 전자 장치(103)는, 전자 장치(101)로부터 수신된 전자 펜에 의해 입력된 입력 데이터(예: 필기 데이터(1211))에 기반하여, 입력 데이터에 대응하는 필기 데이터(1221)를 인터랙션 인터페이스(1220)에 표시할 수 있다. In an embodiment, the second auxiliary processor 280 transmits, in the external input mode, input data input by the electronic pen to an external electronic device communicatively connected to the electronic device 101 through the communication module 250 . can For example, as shown in FIG. 12 , in the electronic device 101 , the input module 240 disposed in the second housing 1214 is exposed in the gravitational direction, and the display disposed in the first housing 1213 . The module 911 may be in a third folded state exposed in a direction opposite to the direction of gravity. The electronic device 101 (eg, the second processor) transmits input data input by the electronic pen 1230 to the external electronic device 103 connected to the electronic device 101 through the communication module 250 . can The external electronic device 103 transmits the writing data 1221 corresponding to the input data to the interaction interface based on input data (eg, the writing data 1211 ) input by the electronic pen received from the electronic device 101 . (1220) can be indicated.
본 발명의 다양한 실시예들에 따른 전자 장치(101)에서 입력 데이터를 제공하는 방법은, 상기 전자 장치(101)의 입력 모듈(240)을 통하여, 상기 전자 장치(101)의 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가, 제 1 입력을 수신하는 동작, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가, 상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하는 동작, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가, 상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 전자 장치(101)의 메인 프로세서(260)가 비활성화 상태가 되도록 제어하는 동작, 및 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가, 상기 외부 입력 모드에서, 상기 입력 모듈(240)을 통하여 입력되는 입력 데이터를 상기 전자 장치(101)의 통신 모듈(250)을 통하여 상기 전자 장치(101)와 통신 연결된 외부 전자 장치로 전송하는 동작을 포함할 수 있다.In the method of providing input data from the electronic device 101 according to various embodiments of the present disclosure, at least one auxiliary processor of the electronic device 101 through the input module 240 of the electronic device 101 (270 , 280 , and/or 290 ) receiving a first input, wherein the at least one coprocessor ( 270 , 280 , and/or 290 ) is configured such that the first input is an input for switching an external input mode In the operation of confirming whether the electronic device 101 ) of the main processor 260 to be in an inactive state, and the at least one auxiliary processor 270 , 280 , and/or 290 is inputted through the input module 240 in the external input mode. and transmitting the input data to an external electronic device communicatively connected to the electronic device 101 through the communication module 250 of the electronic device 101 .
다양한 실시예에서, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)는, 제 1 보조 프로세서(270), 및 상기 제 1 보조 프로세서(270)에 비하여 저전력으로 동작하는 제 2 보조 프로세서(280)를 포함할 수 있다. In various embodiments, the at least one coprocessor 270 , 280 , and/or 290 may include a first coprocessor 270 , and a second coprocessor operating at lower power as compared to the first coprocessor 270 . (280).
다양한 실시예에서, 상기 제 1 입력을 수신하는 동작은, 상기 제 1 보조 프로세서(270)가, 상기 입력 모듈(240)을 통하여, 전력 상태 전환을 위한 입력을 수신하는 동작을 포함하고, 상기 제어하는 동작은, 상기 제 1 보조 프로세서(270)가, 상기 전력 상태 전환을 위한 입력이 상기 외부 입력 모드를 위한 입력인 것을 확인함에 기반하여: 상기 메인 프로세서(260)가 전원 오프 상태가 되도록 제어하는 동작, 및 상기 제 2 보조 프로세서(280)가 상기 외부 입력 모드에서 동작하도록 제어하는 동작을 포함할 수 있다.In various embodiments, the receiving of the first input includes receiving, by the first coprocessor 270 , an input for changing a power state through the input module 240 , and the control The operation is based on the first sub-processor 270 confirming that the input for switching the power state is the input for the external input mode: controlling the main processor 260 to be in a power-off state operation, and controlling the second auxiliary processor 280 to operate in the external input mode.
다양한 실시예에서, 상기 방법은, 상기 제 1 보조 프로세서(270)가, 상기 전자 장치(101)의 전력 회로(230)를 통하여, 상기 메인 프로세서(260)로 공급되는 전력을 차단하는 동작, 및 상기 제 1 보조 프로세서(270)가 대기 상태로 진입하는 동작을 더 포함할 수 있다. In various embodiments, the method includes an operation in which the first auxiliary processor 270 cuts off the power supplied to the main processor 260 through the power circuit 230 of the electronic device 101 ; The operation of the first auxiliary processor 270 entering a standby state may be further included.
다양한 실시예에서, 상기 제 1 입력을 수신하는 동작은, 상기 제 2 보조 프로세서(280)가, 상기 입력 모듈(240)을 통하여, 상기 전자 장치(101)의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 키에 대한 입력을 수신하는 동작을 포함하고, 상기 제어하는 동작은, 상기 제 2 보조 프로세서(280)가, 상기 지정된 키에 대한 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 메인 프로세서(260) 및 상기 제 1 보조 프로세서(270)가 대기 상태가 되도록 제어하는 방법을 포함할 수 있다.In various embodiments, the receiving of the first input may include the second auxiliary processor 280 switching the mode of the electronic device 101 to the external input mode through the input module 240 . and receiving an input for a key designated for the purpose, and the controlling operation is based on the second auxiliary processor 280 confirming that the input for the designated key is an input for switching the external input mode. , a method of controlling the main processor 260 and the first auxiliary processor 270 to be in a standby state.
다양한 실시예에서, 상기 방법은, 상기 제 2 보조 프로세서(280)가, 상기 키 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 통신 모듈(250)을 통하여, 상기 전자 장치(101) 및 상기 외부 전자 장치를 통신 연결하는 동작을 더 포함할 수 있다.In various embodiments, the method includes, based on the second auxiliary processor 280 confirming that the key input is an input for switching the external input mode, through the communication module 250, the electronic device ( 101) and the operation of communicatively connecting the external electronic device.
다양한 실시예에서, 상기 방법은. 상기 제 2 보조 프로세서(280)가, 상기 통신 모듈(250)을 통하여, 상기 외부 전자 장치로부터, 상기 전자 장치(101)의 모드를 상기 외부 입력 모드로 전환하기 위한 요청을 수신하는 동작, 및 상기 메인 프로세서(260)가, 상기 전자 장치(101)의 디스플레이 모듈(210)을 통하여, 상기 전자 장치(101)의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 키와 관련된 가이드 정보를 표시하는 동작을 더 포함할 수 있다.In various embodiments, the method comprises. receiving, by the second auxiliary processor 280, a request for changing the mode of the electronic device 101 to the external input mode, from the external electronic device through the communication module 250; and The main processor 260 displays, through the display module 210 of the electronic device 101 , guide information related to a designated key to change the mode of the electronic device 101 to the external input mode. may include more.
다양한 실시예에서, 상기 방법은, 상기 메인 프로세서(260)가, 상기 전자 장치(101)의 센서 모듈(220)를 통하여, 상기 전자 장치(101)의 폴딩 상태를 검출하는 동작, 및 상기 메인 프로세서(260)가, 상기 검출된 폴딩 상태에 기반하여, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가 상기 외부 입력 모드에서 동작하도록 제어하는 동작을 더 포함할 수 있다.In various embodiments, the method includes an operation of the main processor 260 detecting a folding state of the electronic device 101 through the sensor module 220 of the electronic device 101 , and the main processor The method may further include, by 260 , controlling the at least one auxiliary processor 270 , 280 , and/or 290 to operate in the external input mode based on the detected folding state.
다양한 실시예에서, 상기 방법은, 상기 메인 프로세서(260)가, 상기 전자 장치(101)의 센서 모듈(220)를 통하여, 상기 전자 장치(101)로부터 전자 펜이 분리됨을 검출하는 동작, 및 상기 메인 프로세서(260)가 상기 전자 장치(101)로부터 전자 펜이 분리됨을 검출함에 기반하여, 상기 적어도 하나의 보조 프로세서(270, 280, 및/또는 290)가 상기 외부 입력 모드에서 동작하도록 제어하는 동작을 포함할 수 있다.In various embodiments, the method includes: detecting, by the main processor 260 , that the electronic pen is detached from the electronic device 101 through the sensor module 220 of the electronic device 101 ; An operation of controlling the at least one auxiliary processor 270 , 280 , and/or 290 to operate in the external input mode based on the main processor 260 detecting that the electronic pen is detached from the electronic device 101 . may include
다양한 실시예에서, 상기 방법은, 상기 외부 입력 모드에서, 상기 통신 모듈(250)을 통하여 상기 전자 장치(101)와 통신 연결된 외부 입력 장치로부터 입력 데이터를 수신하는 동작, 및 상기 수신된 입력 데이터를, 상기 통신 모듈(250)을 통하여, 상기 외부 전자 장치로 전송하는 동작을 더 포함할 수 있다.In various embodiments, the method includes, in the external input mode, receiving input data from an external input device communicatively connected to the electronic device 101 through the communication module 250 , and transmitting the received input data. , transmitting to the external electronic device through the communication module 250 .
또한, 상술한 본 발명의 실시예에서 사용된 데이터의 구조는 컴퓨터로 읽을 수 있는 기록매체에 여러 수단을 통하여 기록될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드 디스크), 광학적 판독 매체(예를 들면, CD-ROM, DVD), 또는 전기적 저장 매체(예를 들면, 플래시 메모리(flash memory), SSD(solid state disk))와 같은 저장매체를 포함한다.In addition, the structure of the data used in the above-described embodiment of the present invention may be recorded in a computer-readable recording medium through various means. The computer-readable recording medium is a magnetic storage medium (eg, ROM, floppy disk, hard disk), an optically readable medium (eg, CD-ROM, DVD), or an electrical storage medium (eg, and storage media such as flash memory and solid state disk (SSD).
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been looked at with respect to preferred embodiments thereof. Those of ordinary skill in the art to which the present invention pertains will understand that the present invention can be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments are to be considered in an illustrative rather than a restrictive sense. The scope of the present invention is indicated in the claims rather than the foregoing description, and all differences within the scope equivalent thereto should be construed as being included in the present invention.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    입력 모듈;input module;
    통신 모듈;communication module;
    메인 프로세서; 및main processor; and
    상기 입력 모듈, 상기 통신 모듈, 및 상기 메인 프로세서와 작동적으로(operably) 연결된 적어도 하나의 보조 프로세서를 포함하고, at least one coprocessor operably coupled with the input module, the communication module, and the main processor;
    상기 적어도 하나의 보조 프로세서는,the at least one coprocessor,
    상기 입력 모듈을 통하여 제 1 입력을 수신하고,receiving a first input through the input module;
    상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하고,Checking whether the first input is an input for switching an external input mode,
    상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 메인 프로세서가 비활성화 상태가 되도록 제어하고, 및Based on confirming that the first input is an input for switching the external input mode, controlling the main processor to be in an inactive state, and
    상기 외부 입력 모드에서, 상기 입력 모듈을 통하여 입력되는 입력 데이터를 상기 통신 모듈을 통하여 상기 전자 장치와 통신 연결된 외부 전자 장치로 전송하도록 구성된 전자 장치.an electronic device configured to transmit input data input through the input module to an external electronic device communicatively connected to the electronic device through the communication module in the external input mode.
  2. 제 1 항에 있어서, The method of claim 1,
    상기 적어도 하나의 보조 프로세서는,the at least one coprocessor,
    제 1 보조 프로세서; 및a first coprocessor; and
    상기 제 1 보조 프로세서에 비하여 저전력으로 동작하는 제 2 보조 프로세서를 포함하는 전자 장치.and a second sub-processor operating at a lower power than the first sub-processor.
  3. 제 2 항에 있어서,3. The method of claim 2,
    상기 제 1 보조 프로세서는,The first coprocessor is
    상기 입력 모듈을 통하여, 전력 상태 전환을 위한 입력을 수신하고, 및receiving an input for switching a power state through the input module; and
    상기 전력 상태 전환을 위한 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여: Based on confirming that the input for switching the power state is the input for switching the external input mode:
    상기 메인 프로세서가 전원 오프 상태가 되도록 제어하고, 및controlling the main processor to be in a power-off state, and
    상기 제 2 보조 프로세서가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성된 전자 장치.an electronic device configured to control the second coprocessor to operate in the external input mode.
  4. 제 3 항에 있어서,4. The method of claim 3,
    전력 회로를 더 포함하고,further comprising a power circuit;
    상기 제 1 보조 프로세서는, The first coprocessor is
    상기 전력 회로를 통하여, 상기 메인 프로세서로 공급되는 전력을 차단하고, 및cut off the power supplied to the main processor through the power circuit, and
    대기(standby) 상태로 진입하도록 구성된 전자 장치.An electronic device configured to enter a standby state.
  5. 제 2 항에 있어서,3. The method of claim 2,
    상기 제 2 보조 프로세서는, the second co-processor,
    상기 입력 모듈을 통하여, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 키 입력을 수신하고, 및receiving, through the input module, a key input designated for changing the mode of the electronic device to the external input mode; and
    상기 지정된 키 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 메인 프로세서 및 상기 제 1 보조 프로세서가 대기 상태가 되도록 제어하도록 구성된 전자 장치.The electronic device is configured to control the main processor and the first auxiliary processor to enter a standby state based on confirming that the designated key input is an input for switching the external input mode.
  6. 제 5 항에 있어서,6. The method of claim 5,
    디스플레이 모듈을 더 포함하고,Further comprising a display module,
    상기 제 2 보조 프로세서는, the second co-processor,
    상기 통신 모듈을 통하여, 상기 외부 전자 장치로부터, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위한 요청을 수신하고,receiving a request for changing the mode of the electronic device to the external input mode from the external electronic device through the communication module;
    상기 메인 프로세서는, The main processor is
    상기 디스플레이 모듈을 통하여, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 입력과 관련된 가이드(guide) 정보를 표시하도록 구성된 전자 장치.and display, through the display module, guide information related to a specified input to change the mode of the electronic device to the external input mode.
  7. 제 1 항에 있어서,The method of claim 1,
    센서 모듈을 더 포함하고,Further comprising a sensor module,
    상기 메인 프로세서는,The main processor is
    상기 센서 모듈을 통하여, 상기 전자 장치의 폴딩 상태를 검출하고, 및detecting a folding state of the electronic device through the sensor module; and
    상기 검출된 폴딩 상태에 기반하여, 상기 적어도 하나의 보조 프로세서가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성된 전자 장치.an electronic device configured to control the at least one coprocessor to operate in the external input mode based on the detected folding state.
  8. 제 1 항에 있어서,The method of claim 1,
    센서 모듈을 더 포함하고,Further comprising a sensor module,
    상기 메인 프로세서는,The main processor is
    상기 센서 모듈을 통하여, 상기 전자 장치로부터 전자 펜이 분리됨을 검출하고, detecting that the electronic pen is separated from the electronic device through the sensor module;
    상기 전자 장치로부터 전자 펜이 분리됨을 검출함에 기반하여, 상기 적어도 하나의 보조 프로세서가 상기 외부 입력 모드에서 동작하도록 제어하도록 구성된 전자 장치.an electronic device configured to control the at least one auxiliary processor to operate in the external input mode based on detecting that the electronic pen is detached from the electronic device.
  9. 전자 장치에서 입력 데이터를 제공하는 방법에 있어서,A method of providing input data in an electronic device, the method comprising:
    상기 전자 장치의 입력 모듈을 통하여, 상기 전자 장치의 적어도 하나의 보조 프로세서가, 제 1 입력을 수신하는 동작;receiving, by the at least one auxiliary processor of the electronic device, a first input through the input module of the electronic device;
    상기 적어도 하나의 보조 프로세서가, 상기 제 1 입력이 외부 입력 모드 전환을 위한 입력인지 여부를 확인하는 동작;checking, by the at least one auxiliary processor, whether the first input is an input for switching an external input mode;
    상기 적어도 하나의 보조 프로세서가, 상기 제 1 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여, 상기 전자 장치의 메인 프로세서가 비활성화 상태가 되도록 제어하는 동작; 및controlling, by the at least one auxiliary processor, the main processor of the electronic device to be in an inactive state based on determining that the first input is an input for switching the external input mode; and
    상기 적어도 하나의 보조 프로세서가, 상기 외부 입력 모드에서, 상기 입력 모듈을 통하여 입력되는 입력 데이터를 상기 전자 장치의 통신 모듈을 통하여 상기 전자 장치와 통신 연결된 외부 전자 장치로 전송하는 동작을 포함하는 방법.and transmitting, by the at least one auxiliary processor, input data input through the input module to an external electronic device communicatively connected to the electronic device through a communication module of the electronic device in the external input mode.
  10. 제 9 항에 있어서, 10. The method of claim 9,
    상기 적어도 하나의 보조 프로세서는,the at least one coprocessor,
    제 1 보조 프로세서; 및a first coprocessor; and
    상기 제 1 보조 프로세서에 비하여 저전력으로 동작하는 제 2 보조 프로세서를 포함하는 방법.and a second co-processor operating at lower power compared to the first co-processor.
  11. 제 10 항에 있어서,11. The method of claim 10,
    상기 제 1 입력을 수신하는 동작은, 상기 제 1 보조 프로세서가, 상기 입력 모듈을 통하여, 전원 상태 전환을 위한 입력을 수신하는 동작을 포함하고,The operation of receiving the first input includes, by the first auxiliary processor, receiving an input for changing a power state through the input module,
    상기 제어하는 동작은, The controlling operation is
    상기 제 1 보조 프로세서가, 상기 전력 상태 전환을 위한 입력이 상기 외부 입력 모드 전환을 위한 입력인 것을 확인함에 기반하여: Based on the first coprocessor confirming that the input for switching the power state is the input for switching the external input mode:
    상기 메인 프로세서가 전원 오프 상태가 되도록 제어하는 동작; 및 controlling the main processor to be in a power-off state; and
    상기 제 2 보조 프로세서가 상기 외부 입력 모드에서 동작하도록 제어하는 동작을 포함하는 방법.and controlling the second coprocessor to operate in the external input mode.
  12. 제 11 항에 있어서,12. The method of claim 11,
    상기 제 1 보조 프로세서가, 상기 전자 장치의 전력 회로를 통하여, 상기 메인 프로세서로 공급되는 전력을 차단하는 동작; 및 blocking, by the first auxiliary processor, power supplied to the main processor through a power circuit of the electronic device; and
    상기 제 1 보조 프로세서가 대기 상태로 진입하는 동작을 더 포함하는 방법.The method further comprising the first coprocessor entering a standby state.
  13. 제 10 항에 있어서,11. The method of claim 10,
    상기 제 1 입력을 수신하는 동작은, The operation of receiving the first input comprises:
    상기 제 2 보조 프로세서가, 상기 입력 모듈을 통하여, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 키에 대한 입력을 수신하는 동작을 포함하고, and receiving, by the second auxiliary processor, an input for a designated key to change the mode of the electronic device to the external input mode through the input module;
    상기 제어하는 동작은,The controlling operation is
    상기 제 2 보조 프로세서가, 상기 지정된 키에 대한 입력이 상기 외부 입력 모드 전환을 위한 입력임을 확인함에 기반하여, 상기 메인 프로세서 및 상기 제 1 보조 프로세서가 대기 상태가 되도록 제어하는 동작을 포함하는 방법.and controlling, by the second auxiliary processor, the main processor and the first auxiliary processor to enter a standby state based on confirming that the input for the designated key is an input for switching the external input mode.
  14. 제 13 항에 있어서,14. The method of claim 13,
    상기 제 2 보조 프로세서가, 상기 통신 모듈을 통하여, 상기 외부 전자 장치로부터, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위한 요청을 수신하는 동작; 및receiving, by the second auxiliary processor, a request for changing the mode of the electronic device to the external input mode from the external electronic device through the communication module; and
    상기 메인 프로세서가, 상기 전자 장치의 디스플레이 모듈을 통하여, 상기 전자 장치의 모드를 상기 외부 입력 모드로 전환하기 위하여 지정된 키와 관련된 가이드 정보를 표시하는 동작을 더 포함하는 방법.and displaying, by the main processor, guide information related to a designated key to change the mode of the electronic device to the external input mode through a display module of the electronic device.
  15. 제 9 항에 있어서,10. The method of claim 9,
    상기 메인 프로세서가, 상기 전자 장치의 센서 모듈을 통하여, 상기 전자 장치의 폴딩 상태를 검출하는 동작; 및detecting, by the main processor, a folding state of the electronic device through a sensor module of the electronic device; and
    상기 메인 프로세서가, 상기 검출된 폴딩 상태에 기반하여, 상기 적어도 하나의 보조 프로세서가 상기 외부 입력 모드에서 동작하도록 제어하는 동작을 더 포함하는 방법.The method further comprising the operation of the main processor controlling the at least one auxiliary processor to operate in the external input mode based on the detected folding state.
PCT/KR2021/009509 2020-07-27 2021-07-22 Method for providing input data and electronic device supporting same WO2022025526A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0093378 2020-07-27
KR1020200093378A KR20220013853A (en) 2020-07-27 2020-07-27 Method for providing input data and electronic device for supporting the same

Publications (1)

Publication Number Publication Date
WO2022025526A1 true WO2022025526A1 (en) 2022-02-03

Family

ID=80035751

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/009509 WO2022025526A1 (en) 2020-07-27 2021-07-22 Method for providing input data and electronic device supporting same

Country Status (2)

Country Link
KR (1) KR20220013853A (en)
WO (1) WO2022025526A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023204490A1 (en) * 2022-04-19 2023-10-26 삼성전자 주식회사 Method and electronic device for recognizing opening/closing on basis of single hall sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016699A (en) * 2012-07-31 2014-02-10 삼성전자주식회사 Method for controlling user input and an electronic device thereof
KR20140040346A (en) * 2012-09-25 2014-04-03 주식회사 팬택 Mobile terminal capable of input processing using input classification and method thereof
KR20150033505A (en) * 2013-09-23 2015-04-01 삼성전자주식회사 Method for performing a power save mode on an electronic device and the electronic device therefor
US9258402B2 (en) * 2009-04-14 2016-02-09 Qualcomm Incorporated System and method for controlling mobile devices
KR20180129478A (en) * 2017-05-26 2018-12-05 삼성전자주식회사 Electronic device for selecting external device and controlling the same and operating method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9258402B2 (en) * 2009-04-14 2016-02-09 Qualcomm Incorporated System and method for controlling mobile devices
KR20140016699A (en) * 2012-07-31 2014-02-10 삼성전자주식회사 Method for controlling user input and an electronic device thereof
KR20140040346A (en) * 2012-09-25 2014-04-03 주식회사 팬택 Mobile terminal capable of input processing using input classification and method thereof
KR20150033505A (en) * 2013-09-23 2015-04-01 삼성전자주식회사 Method for performing a power save mode on an electronic device and the electronic device therefor
KR20180129478A (en) * 2017-05-26 2018-12-05 삼성전자주식회사 Electronic device for selecting external device and controlling the same and operating method thereof

Also Published As

Publication number Publication date
KR20220013853A (en) 2022-02-04

Similar Documents

Publication Publication Date Title
WO2020213991A1 (en) Foldable electronic device
WO2022030990A1 (en) Electronic device for providing various user interfaces through plurality of displays, and method therefor
WO2022131521A1 (en) Input device comprising touchscreen, and operation method of same
WO2023282563A1 (en) Electronic device comprising plurality of touchscreen displays, and screen splitting method
WO2020235843A1 (en) Apparatus for detecting feedback on voltage supplied from electronic device to external device
WO2020080857A1 (en) Electronic device including antenna apparatus using photo-conductive material and antenna control method
WO2022025526A1 (en) Method for providing input data and electronic device supporting same
WO2020027562A1 (en) Electronic apparatus for controlling display of virtual input interface in environment of a plurality of output screens and operating method thereof
WO2022080990A1 (en) Electronic device and method for controlling function on basis of shape of same electronic device
WO2022154423A1 (en) Electronic apparatus and method for processing input from stylus pen in electronic apparatus
WO2022025400A1 (en) Screen division provision method linked with electronic pen, and foldable electronic device using same
WO2022092652A1 (en) Electronic device providing user interface
WO2022108379A1 (en) Electronic device including expandable display and content provision method
WO2022086068A1 (en) Electronic device, and electronic device operation method
WO2022080698A1 (en) Method for providing screen by using flexible display, and electronic device supporting same
WO2024034838A1 (en) Electronic device and method for displaying screen through plurality of displays
WO2023153595A1 (en) Electronic device and screen display method of electronic device
WO2022119055A1 (en) Electronic device having foldable display and method for controlling same
WO2024025082A1 (en) Electronic device and method for displaying screen via flexible display
WO2023018230A1 (en) Electronic device and operation method of electronic device
WO2022092718A1 (en) Electronic device and method for operating electronic device
WO2022119058A1 (en) Application execution processor and electronic device comprising same
WO2024005412A1 (en) Electronic device comprising antenna
WO2023191357A1 (en) Electronic device for controlling electronic device by using uwb signal, and operating method of electronic device
WO2023286979A1 (en) Electronic device for displaying widget, and control method therefor

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: 21848997

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: 21848997

Country of ref document: EP

Kind code of ref document: A1