KR20230163903A - Electronic device and operation method of electronic device determining display mode of electronic device - Google Patents

Electronic device and operation method of electronic device determining display mode of electronic device Download PDF

Info

Publication number
KR20230163903A
KR20230163903A KR1020220086518A KR20220086518A KR20230163903A KR 20230163903 A KR20230163903 A KR 20230163903A KR 1020220086518 A KR1020220086518 A KR 1020220086518A KR 20220086518 A KR20220086518 A KR 20220086518A KR 20230163903 A KR20230163903 A KR 20230163903A
Authority
KR
South Korea
Prior art keywords
electronic device
user
posture
external electronic
processor
Prior art date
Application number
KR1020220086518A
Other languages
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 삼성전자주식회사
Priority to PCT/KR2023/004306 priority Critical patent/WO2023229199A1/en
Publication of KR20230163903A publication Critical patent/KR20230163903A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

다양한 실시예에 따른 전자 장치에서, 전자 장치는 디스플레이, 자이로 센서, 가속도 센서, 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는 화면 자동 회전 기능 활성화 여부를 확인하고, 상기 통신 모듈을 통하여 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하고, 상기 자이로 센서 및 상기 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하고, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하고, 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정할 수 있다.
다양한 실시예에 따른 전자 장치의 동작 방법에서, 전자 장치의 동작 방법은 화면 자동 회전 기능 활성화 여부를 확인하는 동작, 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하는 동작, 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하는 동작, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하는 동작, 및 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정하는 동작을 포함할 수 있다.
이 밖에 다양한 실시예들이 가능하다.
In an electronic device according to various embodiments, the electronic device includes a display, a gyro sensor, an acceleration sensor, a communication module, and a processor, wherein the processor determines whether the screen auto-rotation function is activated and an external electronic device through the communication module. Request and obtain orientation data of the external electronic device related to the degree of rotation of the external electronic device about the specified axis, and rotate the electronic device about the specified axis based on values measured by the gyro sensor and the acceleration sensor. Check the orientation of the electronic device in relation to the degree, determine the user's posture based on the orientation data of the electronic device and the orientation data of the external electronic device, and display the user's posture on the display of the electronic device based on the user's posture. You can decide which screen orientation mode to use.
In a method of operating an electronic device according to various embodiments, the method of operating an electronic device includes checking whether an automatic screen rotation function is activated, the external electronic device relating to a degree of rotation of the external electronic device about a specified axis. An operation of requesting and obtaining direction data, an operation of confirming the direction of the electronic device related to the degree of rotation of the electronic device about a specified axis based on values measured by a gyro sensor and an acceleration sensor, direction data of the electronic device and determining a user's posture based on orientation data of the external electronic device, and determining a screen orientation mode to be displayed on the display of the electronic device based on the user's posture.
In addition, various embodiments are possible.

Description

전자 장치의 화면 표시 모드를 결정하는 동작 방법 및 전자 장치{ELECTRONIC DEVICE AND OPERATION METHOD OF ELECTRONIC DEVICE DETERMINING DISPLAY MODE OF ELECTRONIC DEVICE}An operating method and electronic device for determining a screen display mode of an electronic device {ELECTRONIC DEVICE AND OPERATION METHOD OF ELECTRONIC DEVICE DETERMINING DISPLAY MODE OF ELECTRONIC DEVICE}

본 문서에 개시된 다양한 실시예들은, 전자 장치의 화면 표시 모드를 결정하는 전자 장치 및 전자 장치의 동작 방법에 관한 것이다. 구체적으로, 본 문서에 개시된 다양한 실시예들은, 사용자의 자세에 기반하여 전자 장치의 화면 표시 모드를 결정하는 것에 관한 것이다.Various embodiments disclosed in this document relate to an electronic device that determines a screen display mode of the electronic device and a method of operating the electronic device. Specifically, various embodiments disclosed in this document relate to determining a screen display mode of an electronic device based on a user's posture.

휴대용 전자 장치의 표시 영역은 가로 길이와 세로 길이가 상이한 직사각형의 형태로 구성된다. 이에 따라, 휴대용 단말기는 멀티미디어 서비스의 효율을 높이기 위해 화면 회전(rotation) 기능을 제공한다.The display area of a portable electronic device is configured in a rectangular shape with different horizontal and vertical lengths. Accordingly, portable terminals provide a screen rotation function to increase the efficiency of multimedia services.

전자 장치에는 전자 장치의 방향에 따라 화면을 회전하는 자동 화면 회전 기능이 탑재될 수 있다. 자동 화면 회전 기능은 전자 장치에 포함된 관성 센서의 센싱 정보를 이용하여 전자 장치의 방향을 판단하고, 전자 장치의 방향에 따라 화면을 가로 모드 또는 세로 모드로 표시하는 기능이다.Electronic devices may be equipped with an automatic screen rotation function that rotates the screen according to the orientation of the electronic device. The automatic screen rotation function is a function that determines the direction of the electronic device using sensing information from an inertial sensor included in the electronic device and displays the screen in landscape or portrait mode depending on the orientation of the electronic device.

구체적으로, 전자 장치는, 자동 화면 회전 기능이 활성화되어 있는 경우, 중력 방향으로 이루는 각에 따른 가로/세로 회전 임계점을 설정하고, 해당 각도 이상으로 변화가 생길 시 화면 전환을 시킬 수 있다. Specifically, when the automatic screen rotation function is activated, the electronic device can set a horizontal/vertical rotation threshold according to the angle formed by the direction of gravity and switch the screen when a change occurs beyond the corresponding angle.

예를 들어, 휴대용 단말기가 시계 방향으로 약 90°회전한 경우, 휴대용 단말기는 표시 영역의 표시 방향을 반시계 방향으로 약 90°회전시킬 수 있다.For example, when the portable terminal is rotated about 90° clockwise, the portable terminal may rotate the display direction of the display area about 90° counterclockwise.

자동 화면 회전 기능에서, 전자 장치의 방향만을 고려하는 경우, 정량적인 물리 변화량만을 기반으로 획일적인 방식으로 화면 회전을 시키기 때문에 실 사용에서 부합하지 않는 경우가 발생할 수 있다. 또한, 자동 화면 회전 기능에서, 전자 장치는 실제 사용자의 시선각 정보를 화면 회전에 반영하지 못할 수 있다. In the automatic screen rotation function, when only the direction of the electronic device is considered, the screen is rotated in a uniform manner based only on quantitative physical changes, which may not match actual use. Additionally, in the automatic screen rotation function, the electronic device may not reflect the actual user's viewing angle information in screen rotation.

본 개시의 다양한 실시예에 따르면, 전자 장치의 방향 및 외부 전자 장치(예: 착용할 수 있는 웨어러블 장치, 무선 이어폰, 무선 헤드폰, 글라스)의 방향에 기반하여, 사용자의 자세를 결정하고, 사용자의 자세에 기반하여 실제 사용자가 전자장치의 화면을 어떻게 응시하는지를 판단하여 사용자 시선에 맞춰 화면 회전을 제공함으로 사용자의 경험을 증대 시킬 수 있다.According to various embodiments of the present disclosure, the user's posture is determined based on the direction of the electronic device and the direction of the external electronic device (e.g., wearable device, wireless earphone, wireless headphone, glasses), and the user's posture is determined. Based on posture, the user's experience can be increased by determining how the actual user gazes at the screen of the electronic device and rotating the screen to match the user's gaze.

본 문서에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problem to be achieved in this document is not limited to the technical problem mentioned above, and other technical problems not mentioned can be clearly understood by those skilled in the art from the description below. There will be.

본 문서에 개시된 다양한 실시예에 따른 전자 장치는, 디스플레이, 자이로 센서, 가속도 센서, 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는 화면 자동 회전 기능 활성화 여부를 확인하고, 상기 통신 모듈을 통하여 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하고, 상기 자이로 센서 및 상기 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하고, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하고, 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정할 수 있다.Electronic devices according to various embodiments disclosed in this document include a display, a gyro sensor, an acceleration sensor, a communication module, and a processor, where the processor checks whether the screen auto-rotation function is activated and external electronic devices through the communication module. Request and obtain orientation data of the external electronic device related to the degree of rotation of the external electronic device about the specified axis from the device, and obtain information about the specified axis of the electronic device based on values measured by the gyro sensor and the acceleration sensor. Check the direction of the electronic device related to the degree of rotation, determine the user's posture based on the direction data of the electronic device and the direction data of the external electronic device, and display the user's posture on the display of the electronic device based on the user's posture. You can decide which screen orientation mode to display.

본 문서에 개시된 다양한 실시예에 따른 전자 장치의 동작 방법은, 화면 자동 회전 기능 활성화 여부를 확인하는 동작, 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하는 동작, 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하는 동작, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하는 동작, 및 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments disclosed in this document includes the operation of checking whether the screen automatic rotation function is activated, and the direction of the external electronic device related to the degree of rotation of the external electronic device about the specified axis. An operation of requesting and obtaining data, an operation of checking the direction of the electronic device related to the degree of rotation of the electronic device about a specified axis based on values measured by a gyro sensor and an acceleration sensor, orientation data of the electronic device, and the It may include determining a user's posture based on orientation data of an external electronic device, and determining a screen orientation mode to be displayed on the display of the electronic device based on the user's posture.

다양한 실시예에 따르면, 사용자의 자세에 기반하여 전자 장치의 표시 방향 모드를 결정할 수 있다.According to various embodiments, the display direction mode of the electronic device may be determined based on the user's posture.

다양한 실시예에 따르면, 사용자가 전자 장치의 화면을 어떻게 응시하는지를 판단하여 상황에 맞는 화면 회전을 제공할 수 있다. According to various embodiments, screen rotation appropriate to the situation can be provided by determining how the user gazes at the screen of the electronic device.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.

도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는, 다양한 실시예에 따른 전자 장치 및 외부 전자 장치를 도시한 도면이다.
도 2b는, 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3은, 다양한 실시예에 따른 외부 전자 장치의 블록도이다.
도 4는, 다양한 실시예에 따른 전자 장치가 사용자의 자세에 기반하여 전자장치의 표시 방향 모드를 결정하는 방법을 도시한 흐름도이다.
도 5는, 다양한 실시예에 따른 전자 장치가 사용자의 자세에 기반하여 전자장치의 표시 방향 모드를 결정하는 방법을 도시한 흐름도이다.
도 6은, 다양한 실시예에 따른 전자 장치가 전자 장치의 방향 및 외부 전자 장치의 방향에 기반하여 사용자의 자세를 결정하는 방법을 설명하기 위한 예시 도면이다.
도 7은, 다양한 실시예에 따른 전자 장치가 사용자의 자세에 기반하여 전자장치의 표시 방향을 결정하는 실시예를 도시한 도면이다.
도 8은, 다양한 실시예에 따른 외부 전자 장치의 구성도를 도시한 도면이다.
도 9는, 다양한 실시예들에 따른 외부 전자 장치의 구성도를 도시한 도면이다.
In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components .
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
FIG. 2A is a diagram illustrating an electronic device and an external electronic device according to various embodiments.
FIG. 2B is a block diagram of an electronic device according to various embodiments.
3 is a block diagram of an external electronic device according to various embodiments.
FIG. 4 is a flowchart illustrating a method by which an electronic device determines a display direction mode based on a user's posture, according to various embodiments.
FIG. 5 is a flowchart illustrating a method by which an electronic device determines a display direction mode of the electronic device based on a user's posture, according to various embodiments.
FIG. 6 is an example diagram illustrating a method by which an electronic device determines a user's posture based on the direction of the electronic device and the direction of an external electronic device, according to various embodiments.
FIG. 7 is a diagram illustrating an example in which an electronic device determines a display direction of the electronic device based on a user's posture, according to various embodiments.
FIG. 8 is a diagram illustrating the configuration of an external electronic device according to various embodiments.
FIG. 9 is a diagram illustrating the configuration of an external electronic device according to various embodiments.

도 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 the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio 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 may include an antenna module 197. 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 (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It 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 (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.

보조 프로세서(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 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or 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 application 146.

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light 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 can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(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 one 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 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one 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 can capture still images and moving images. According to one 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 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, 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, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, 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)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., 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 can be confirmed 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 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides 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)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one 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 to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as 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, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in 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 (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands 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 of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can 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 one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

도 2a는, 다양한 실시예에 따른 전자 장치(200) 및 외부 전자 장치(300)를 도시한 도면이다.FIG. 2A is a diagram illustrating an electronic device 200 and an external electronic device 300 according to various embodiments.

다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 도 2b에 도시된 구성을 포함하는 전자 장치(200)일 수 있다.According to various embodiments, the electronic device 200 (eg, the electronic device 101 of FIG. 1) may be the electronic device 200 including the configuration shown in FIG. 2B.

다양한 실시예에 따르면, 외부 전자 장치(300)(예: 도 1의 전자 장치(102) 및/또는 전자 장치(104))는 제 1 외부 전자 장치(300) 유닛(301) 및/또는 제 2 외부 전자 장치(300) 유닛(302)을 포함하고, 각 유닛은 도 3에 도시된 구성을 포함할 수 있다.According to various embodiments, the external electronic device 300 (e.g., the electronic device 102 and/or the electronic device 104 of FIG. 1) includes a first external electronic device 300 unit 301 and/or a second external electronic device 300 unit 301. The external electronic device 300 includes units 302, and each unit may include the configuration shown in FIG. 3 .

일 실시예에 따르면, 제 1 외부 전자 장치(300) 유닛(301) 및 제 2 외부 전자 장치(300) 유닛(302)은 각 통신 모듈을 통해 상호 페어링(pairing)되어 데이터를 송수신할 수 있다.According to one embodiment, the first external electronic device 300 unit 301 and the second external electronic device 300 unit 302 may be paired with each other through each communication module to transmit and receive data.

일 실시예에 따르면, 제 1 외부 전자 장치(300) 유닛(301) 및 제 2 외부 전자 장치(300) 유닛(302) 중 하나는 프라이머리(primary) 유닛이고, 나머지 하나는 세컨더리(secondary) 유닛일 수 있다. 프라이머리(primary) 유닛은 전자 장치(200)와 데이터를 송수신할 수 있고, 하나는 세컨더리(secondary) 유닛은 프라이머리(primary) 유닛으로부터 데이터를 획득할 수 있다.According to one embodiment, one of the first external electronic device 300 unit 301 and the second external electronic device 300 unit 302 is a primary unit, and the other is a secondary unit. It can be. The primary unit can transmit and receive data to and from the electronic device 200, and a secondary unit can acquire data from the primary unit.

일 실시예에 따르면, 제 1 외부 전자 장치(300) 유닛(301) 및 제 2 외부 전자 장치(300) 유닛(302)은 각각 전자 장치(300)에 연결되어 데이터를 송수신할 수 있다.According to one embodiment, the first external electronic device 300 unit 301 and the second external electronic device 300 unit 302 are each connected to the electronic device 300 to transmit and receive data.

다양한 실시예에 따르면, 전자 장치(200)와 외부 전자 장치(300)는 통신 모듈(예: 도 2b의 통신 모듈(290) 및 도 3의 통신 모듈(390))을 통하여 상호 데이터를 송수신할 수 있다. According to various embodiments, the electronic device 200 and the external electronic device 300 may transmit and receive data to each other through a communication module (e.g., the communication module 290 in FIG. 2B and the communication module 390 in FIG. 3). there is.

일 실시예에 따르면, 전자 장치(200)는, 통신 모듈(290)을 통하여 외부 전자 장치(300)의 프라이머리(primary) 유닛에 외부 전자 장치(300)의 방향 데이터를 요청하는 메시지를 송신할 수 있다. 일 실시예에 따르면, 외부 전자 장치(300)의 프라이머리(primary) 유닛은 통신 모듈(390)을 통해 전자 장치(200)에 외부 전자 장치(300)의 방향 데이터를 송신할 수 있다.According to one embodiment, the electronic device 200 transmits a message requesting direction data of the external electronic device 300 to the primary unit of the external electronic device 300 through the communication module 290. You can. According to one embodiment, the primary unit of the external electronic device 300 may transmit direction data of the external electronic device 300 to the electronic device 200 through the communication module 390.

본 문서에서 외부 전자 장치(300)의 동작으로 설명하는 내용은, 제 1 외부 전자 장치(300) 유닛(301) 및 제 2 외부 전자 장치(300) 유닛(302) 중 프라이머리(primary) 유닛에 의하여만 동작할 수 있다.In this document, the contents described as the operation of the external electronic device 300 are applied to the primary unit of the first external electronic device 300 unit 301 and the second external electronic device 300 unit 302. It can only operate by

도 2b는, 다양한 실시예에 따른 전자 장치의 블록도이다.FIG. 2B is a block diagram of an electronic device according to various embodiments.

도 2b를 참조하면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 프로세서(220)(예: 도 1의 프로세서(120)), 디스플레이(260)(예: 도 1의 디스플레이 모듈(160)), 자이로 센서(271), 가속도 센서(272)(예: 도 1의 센서 모듈(176)) 및/또는 통신 모듈(290)(예: 도 1의 통신 모듈(190))을 포함할 수 있다. 도 2b에 포함된 구성 요소는 전자 장치(200)에 포함된 구성들의 일부에 대한 것이며 전자 장치(200)는 이 밖에도 도 1에 도시된 것과 같이 다양한 구성요소를 포함할 수 있다.Referring to FIG. 2B, the electronic device 200 (e.g., the electronic device 101 of FIG. 1) includes a processor 220 (e.g., the processor 120 of FIG. 1) and a display 260 (e.g., the electronic device 101 of FIG. 1). Display module 160), gyro sensor 271, acceleration sensor 272 (e.g., sensor module 176 in FIG. 1), and/or communication module 290 (e.g., communication module 190 in FIG. 1) may include. The components included in FIG. 2B are some of the components included in the electronic device 200, and the electronic device 200 may also include various other components as shown in FIG. 1.

다양한 실시예에 따른 자이로 센서(271)는, 전자 장치(200)의 지정된 축에 대한 각속도를 측정할 수 있다. 예를 들어, 자이로 센서(271)는 전자 장치(200)가 회전 운동할 때 발생하는 코리올리 힘을 전기적 신호로 변환하여 각속도를 계산할 수 있다. 예를 들어, 자이로 센서(271)는 전자 장치(200)의 x축, y축, z축 각축에 대한 각속도를 측정할 수 있다.The gyro sensor 271 according to various embodiments may measure the angular velocity about a designated axis of the electronic device 200. For example, the gyro sensor 271 may calculate the angular velocity by converting the Coriolis force generated when the electronic device 200 rotates into an electrical signal. For example, the gyro sensor 271 may measure angular velocities about the x-axis, y-axis, and z-axis of the electronic device 200.

다양한 실시예에 따른 가속도 센서(272)는, 전자 장치(200)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 가속도를 측정할 수 있다.The acceleration sensor 272 according to various embodiments may measure acceleration that occurs whenever the magnitude and direction of gravitational acceleration and/or speed with respect to the electronic device 200 change.

다양한 실시예예 따른 프로세서(220)는, 자이로 센서(271) 및 가속도 센서(272)가 측정한 데이터에 기반하여, 지정된 축을 기준으로 회전된 각도인 전자 장치(200)의 방향을 계산할 수 있다. 일 실시예에 따른, 전자 장치(200)의 프로세서(220)는 복수 개의 프로세서 모듈들(processor module)(예: 제1 프로세서 모듈, 제2 프로세서 모듈)로 구성될 수 있고, 복수 개의 프로세서 모듈들, 각각은 임의의 데이터 연산 또는 데이터 처리를 부분적으로 나누어 수행할 수 있다.The processor 220 according to various embodiments may calculate the direction of the electronic device 200, which is an angle rotated about a specified axis, based on data measured by the gyro sensor 271 and the acceleration sensor 272. According to one embodiment, the processor 220 of the electronic device 200 may be comprised of a plurality of processor modules (e.g., a first processor module, a second processor module), and may include a plurality of processor modules. , each can perform arbitrary data operations or data processing by dividing them into parts.

다양한 실시예에 따른 통신 모듈(290)은, 네트워크(예: 도 1의 제 1 네트워크(198) 및/또는 제 2 네트워크(199))를 통하여 외부 전자 장치(300)와 통신하여 다양한 정보를 수신 및/또는 송신할 수 있다. 프로세서(220)는 통신 모듈(290)과 전기적, 및/또는 작동적으로 연결되어 통신 모듈(290)이 외부 전자 장치(300)로부터 수신한 다양한 정보를 처리할 수 있다. 또한, 프로세서(220)는 통신 모듈(290)이 다양한 정보를 외부 전자 장치(300)로 송신하도록 제어할 수 있다. 예를 들어, 통신 모듈은 프로세서(220)에 의하여 외부 전자 장치(300)에 외부 전자 장치(300)의 방향 정보를 요청하거나 및/또는 외부 전자 장치(300)로부터 외부 전자 장치(300)의 방향 데이터를 수신할 수 있다.The communication module 290 according to various embodiments receives various information by communicating with the external electronic device 300 through a network (e.g., the first network 198 and/or the second network 199 in FIG. 1). and/or transmit. The processor 220 is electrically and/or operationally connected to the communication module 290 so that the communication module 290 can process various information received from the external electronic device 300. Additionally, the processor 220 may control the communication module 290 to transmit various information to the external electronic device 300. For example, the communication module requests direction information of the external electronic device 300 from the external electronic device 300 by the processor 220 and/or determines the direction of the external electronic device 300 from the external electronic device 300. Data can be received.

다양한 실시예에 따른 디스플레이(260)는, 프로세서(220)에 의하여 다양한 정보를 시각적으로 표시할 수 있다. 예를 들어, 디스플레이(260)는, 프로세서(220)가 결정한 모드에 기반하여 화면을 세로 모드 또는 가로 모드로 표시할 수 있다.The display 260 according to various embodiments can visually display various information by the processor 220. For example, the display 260 may display the screen in portrait mode or landscape mode based on the mode determined by the processor 220.

도 3은, 다양한 실시예에 따른 외부 전자 장치의 블록도이다.3 is a block diagram of an external electronic device according to various embodiments.

도 3을 참조하면, 외부 전자 장치(300)(예: 도 1의 전자 장치(102) 및/또는 전자 장치(104))는 프로세서(320), 자이로 센서(371), 가속도 센서(372) 및/또는 통신 모듈(390)을 포함할 수 있다. 도 3에 포함된 구성 요소는 외부 전자 장치(300)에 포함된 구성들의 일부에 대한 것이며 외부 전자 장치(300)는 이 밖에도 도 1에 도시된 것과 같이 다양한 구성요소를 포함할 수 있다.Referring to FIG. 3, the external electronic device 300 (e.g., the electronic device 102 and/or the electronic device 104 of FIG. 1) includes a processor 320, a gyro sensor 371, an acceleration sensor 372, and /Or may include a communication module 390. The components included in FIG. 3 are some of the components included in the external electronic device 300, and the external electronic device 300 may also include various other components as shown in FIG. 1 .

다양한 실시예에 따르면 도 3에 도시된 구조는 도 2a의 제 1 외부 전자 장치(300) 유닛(301) 및/또는 제 2 외부 전자 장치(300) 유닛(302)에 포함되는 구조일 수 있다.According to various embodiments, the structure shown in FIG. 3 may be a structure included in the first external electronic device 300 unit 301 and/or the second external electronic device 300 unit 302 of FIG. 2A.

다양한 실시예에 따른 자이로 센서(371)는, 외부 전자 장치(300)의 지정된 축에 대한 각속도를 측정할 수 있다. 예를 들어, 자이로 센서(371)는 외부 전자 장치(300)가 회전 운동할 때 발생하는 코리올리 힘을 전기적 신호로 변환하여 각속도를 계산할 수 있다. 예를 들어, 자이로 센서(371)는 외부 전자 장치(300)의 x축, y축, z축 각축에 대한 각속도를 측정할 수 있다.The gyro sensor 371 according to various embodiments may measure the angular velocity about a designated axis of the external electronic device 300. For example, the gyro sensor 371 may calculate the angular velocity by converting the Coriolis force generated when the external electronic device 300 rotates into an electrical signal. For example, the gyro sensor 371 may measure the angular velocity of the x-axis, y-axis, and z-axis of the external electronic device 300.

다양한 실시예에 따른 가속도 센서(372)는, 외부 전자 장치(300)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 가속도를 측정할 수 있다.The acceleration sensor 372 according to various embodiments may measure acceleration that occurs whenever the magnitude and direction of the gravitational acceleration and/or speed with respect to the external electronic device 300 change.

다양한 실시예예 따른 프로세서(320)는, 자이로 센서(371) 및 가속도 센서(372)가 측정한 데이터에 기반하여, 지정된 축을 기준으로 회전된 각도인 외부 전자 장치(300)의 방향을 계산할 수 있다. 일 실시예에 따른, 외부 전자 장치(300)의 프로세서(220)는 복수 개의 프로세서 모듈들(processor module)(예: 제3 프로세서 모듈, 제4 프로세서 모듈)로 구성될 수 있고, 복수 개의 프로세서 모듈들, 각각은 임의의 데이터 연산 또는 데이터 처리를 부분적으로 나누어 수행할 수 있다.The processor 320 according to various embodiments may calculate the direction of the external electronic device 300, which is an angle rotated about a specified axis, based on data measured by the gyro sensor 371 and the acceleration sensor 372. According to one embodiment, the processor 220 of the external electronic device 300 may be composed of a plurality of processor modules (e.g., a third processor module, a fourth processor module), and may include a plurality of processor modules. , each of which may perform arbitrary data operations or data processing by dividing them into parts.

다양한 실시예에 따른 통신 모듈(390)은, 네트워크(예: 도 1의 제 1 네트워크(198) 및/또는 제 2 네트워크(199))를 통하여 전자 장치(200)와 통신하여 다양한 정보를 수신 및/또는 송신할 수 있다. 프로세서(320)는 통신 모듈(390)이 다양한 정보를 전자 장치(200)로 송신하도록 제어할 수 있다. 예를 들어, 통신 모듈(390)은 전자 장치로부터 외부 전자 장치(300)의 방향 데이터 요청을 수신하거나, 프로세서(320)에 의하여 전자 장치(200)에 외부 전자 장치(300)의 방향 정보를 송신할 수 있다.The communication module 390 according to various embodiments communicates with the electronic device 200 through a network (e.g., the first network 198 and/or the second network 199 in FIG. 1) to receive and receive various information. /or can be transmitted. The processor 320 may control the communication module 390 to transmit various information to the electronic device 200. For example, the communication module 390 receives a request for direction data of the external electronic device 300 from the electronic device, or transmits direction information of the external electronic device 300 to the electronic device 200 by the processor 320. can do.

도 4는, 다양한 실시예에 따른 전자 장치가 사용자의 자세에 기반하여 전자장치의 표시 방향 모드를 결정하는 방법을 도시한 흐름도이다.FIG. 4 is a flowchart illustrating a method by which an electronic device determines a display direction mode based on a user's posture, according to various embodiments.

도 4에 도시된 실시 예는 일 실시 예일 뿐이며, 본 문서에서 개시되는 다양한 실시 예에 따른 동작 순서는 도 4에 도시된 바와 다를 수 있고, 도 4에 도시된 일부 동작들이 생략되거나 동작들 간의 순서가 변경되거나 동작들이 병합될 수도 있다.The embodiment shown in FIG. 4 is only one embodiment, and the operation sequence according to various embodiments disclosed in this document may be different from that shown in FIG. 4, and some operations shown in FIG. 4 are omitted or the order between operations is changed. may change or operations may be merged.

다양한 실시예에 따른 프로세서(220)(예: 도 1의 프로세서(120) 및/또는 도 2b의 프로세서(220))는, 동작 410에서, 화면 자동 회전 기능 활성화 여부를 확인할 수 있다.The processor 220 (e.g., the processor 120 of FIG. 1 and/or the processor 220 of FIG. 2B) according to various embodiments may check whether the screen auto-rotation function is activated in operation 410.

일 실시예에 따르면, 화면 자동 회전 기능은 전자 장치(200)(예: 도 1의 전자장치(101) 및/또는 도 2a 내지 2b의 전자 장치(200))의 방향 및/또는 사용자의 자세에 따라 화면을 세로 모드 및/또는 가로 모드로 표시하는 기능일 수 있다.According to one embodiment, the screen auto-rotation function is based on the orientation of the electronic device 200 (e.g., the electronic device 101 in FIG. 1 and/or the electronic device 200 in FIGS. 2A and 2B) and/or the user's posture. Depending on the function, it may be a function to display the screen in portrait mode and/or landscape mode.

프로세서(220)는, 화면 자동 회전 기능이 활성화되어 있음에 대응하여 동작 420내지 동작 450을 수행할 수 있다.The processor 220 may perform operations 420 to 450 in response to the fact that the screen auto-rotation function is activated.

다양한 실시예에 따른 프로세서(220)는, 동작 420에서, 외부 전자 장치(300) (예: 도 1의 전자 장치(102), 전자 장치(104), 도 2a의 외부 전자 장치(300), 및/또는 도 3의 외부 전자 장치(300))에 방향 데이터를 요청 및 획득할 수 있다.The processor 220 according to various embodiments, in operation 420, processes an external electronic device 300 (e.g., the electronic device 102, the electronic device 104 of FIG. 1, the external electronic device 300 of FIG. 2A, and /Or direction data may be requested and obtained from the external electronic device 300 of FIG. 3).

일 실시예에 따른 프로세서(220)는, 외부 전자 장치(300)의 연결 여부를 확인할 수 있다. 예를 들어, 프로세서(220)는, 통신 모듈(290)(예: 도 1의 통신 모듈(190) 및/또는 도 2b의 통신 모듈(290))을 통하여 외부 전자 장치(300)와 연결되어 있는지 여부를 확인할 수 있다. 예를 들어, 프로세서(220)는 전자 장치(200)의 통신 모듈(290)과 외부 전자 장치(300)의 통신 모듈(390)(예: 도 3의 통신 모듈(390))이 데이터를 주고받을 수 있도록 연결된 상태인지 여부를 확인할 수 있다.The processor 220 according to one embodiment may check whether the external electronic device 300 is connected. For example, the processor 220 is connected to the external electronic device 300 through the communication module 290 (e.g., the communication module 190 in FIG. 1 and/or the communication module 290 in FIG. 2B). You can check whether or not. For example, the processor 220 allows the communication module 290 of the electronic device 200 and the communication module 390 of the external electronic device 300 (e.g., the communication module 390 of FIG. 3) to exchange data. You can check whether it is connected or not.

일 실시예에 따르면, 프로세서(220)는 외부 전자 장치(300)와 연결됨을 확인함에 대응하여, 외부 전자 장치(300)에 방향 데이터를 요청할 수 있다. 예를 들어 프로세서(220)는, 통신 모듈(290)을 통하여 외부 전자 장치(300)에 방향 데이터를 요청하는 메시지를 송신할 수 있다. 일 실시예에 따르면, 프로세서(220)는 외부 전자 장치(300)의 방향 데이터를 지정된 시점에 송신하도록 외부 전자 장치(300)에 요청할 수 있다. 예를 들어, 프로세서(220)는 화면 자동 회전 기능이 활성화 된 때부터 비활성화될 때까지 지정된 시점에 외부 전자 장치(300)의 방향 데이터를 송신하도록 외부 전자 장치(300)에 요청할 수 있다.According to one embodiment, the processor 220 may request direction data from the external electronic device 300 in response to confirming that it is connected to the external electronic device 300. For example, the processor 220 may transmit a message requesting direction data to the external electronic device 300 through the communication module 290. According to one embodiment, the processor 220 may request the external electronic device 300 to transmit direction data of the external electronic device 300 at a designated time. For example, the processor 220 may request the external electronic device 300 to transmit orientation data of the external electronic device 300 at a specified time from when the screen auto-rotation function is activated until it is deactivated.

일 실시예에 따르면, 프로세서(220)는, 통신 모듈(290)을 통해 외부 전자 장치(300)로부터 외부 전자 장치(300)의 방향 데이터를 획득할 수 있다. 일 실시예에 따르면, 프로세서(220)는 지정된 시점마다 외부 전자 장치(300)로부터 외부 전자 장치(300)의 방향 데이터를 획득할 수 있다.According to one embodiment, the processor 220 may obtain direction data of the external electronic device 300 from the external electronic device 300 through the communication module 290. According to one embodiment, the processor 220 may obtain direction data of the external electronic device 300 from the external electronic device 300 at each designated time point.

다양한 실시예에 따른 프로세서(220)는, 동작 430에서, 전자 장치(200)의 방향을 계산할 수 있다.The processor 220 according to various embodiments may calculate the direction of the electronic device 200 in operation 430.

일 실시예에 따르면, 프로세서(220)는 자이로 센서(271)(예: 도 2b의 자이로 센서(271)) 및 가속도 센서(272)(예: 도 2b의 가속도 센서(272))가 측정한 데이터에 기반하여, 지정된 축을 기준으로 회전된 각도인 전자 장치(200)의 방향을 계산할 수 있다.According to one embodiment, the processor 220 stores data measured by the gyro sensor 271 (e.g., the gyro sensor 271 in FIG. 2B) and the acceleration sensor 272 (e.g., the acceleration sensor 272 in FIG. 2B). Based on , the direction of the electronic device 200, which is the angle rotated with respect to the specified axis, can be calculated.

가속도 센서(272)는 전자 장치(200)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 가속도를 측정할 수 있다. 자이로 센서(271)는 전자 장치(200)의 지정된 축에 대한 각속도를 측정할 수 있다.The acceleration sensor 272 may measure acceleration that occurs whenever the magnitude and direction of gravitational acceleration and/or speed with respect to the electronic device 200 change. The gyro sensor 271 can measure the angular velocity about a designated axis of the electronic device 200.

다양한 실시예에 따른 프로세서(220)는, 동작 440에서, 전자 장치(200)의 방향 데이터 및 외부 전자 장치(300)의 방향 데이터에 기반하여 사용자의 자세를 결정할 수 있다.The processor 220 according to various embodiments may determine the user's posture based on the direction data of the electronic device 200 and the direction data of the external electronic device 300 in operation 440.

일 실시예에 따르면, 프로세서(220)는, 외부 전자 장치(300)로부터 획득한 외부 전자 장치(300)의 방향이 직각 좌표계에서 각 축 주위로 회전한 각도인 오일러 각도 형식임에 대응하여, 벡터 형식의 쿼터니안 형식로 변환 후, 지구 좌표계 상의 외부 전자 장치의 방향을 이용하여, 외부 전자 장치(300) 좌표계 상의 사용자의 머리 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환할 수 있다.According to one embodiment, the processor 220, in response to the fact that the direction of the external electronic device 300 obtained from the external electronic device 300 is in Euler angle format, which is an angle rotated around each axis in a rectangular coordinate system, After conversion to a quaternian format, the direction of the user's head on the coordinate system of the external electronic device 300 can be converted to the direction of the user's head on the Earth coordinate system using the direction of the external electronic device on the Earth coordinate system.

일 실시예에 따르면, 프로세서(220)는 외부 전자 장치(300)로부터 획득한 외부 전자 장치(300)의 방향이 쿼터니안 형식임에 대응하여, 지구 좌표계 상의 외부 전자 장치의 방향을 이용하여, 외부 전자 장치(300) 좌표계에 대응하는 사용자의 머리 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환할 수 있다. 예를 들어, 사용자의 머리 방향은 외부 전자 장치의 좌표계 상의 y축 방향을 지시할 수 있다. 일 실시예에 따르면, 지구 좌표계 상의 사용자의 머리 방향을 이용하여, 사용자의 머리 방향의 y축에 대응되는 시선 벡터를 지구 좌표계 상의 시선 벡터로 변환할 수 있다.According to one embodiment, the processor 220 uses the direction of the external electronic device on the Earth coordinate system in response to the fact that the direction of the external electronic device 300 obtained from the external electronic device 300 is in a quaternian format, The direction of the user's head corresponding to the coordinate system of the electronic device 300 may be converted to the direction of the user's head in the Earth's coordinate system. For example, the direction of the user's head may indicate the y-axis direction on the coordinate system of the external electronic device. According to one embodiment, the gaze vector corresponding to the y-axis of the user's head direction can be converted into a gaze vector in the Earth coordinate system using the direction of the user's head in the Earth coordinate system.

일 실시예에 따르면, 프로세서(220)는 전자 장치(200)의 방향 및 사용자의 시선 벡터에 기반하여 사용자의 자세를 결정할 수 있다.According to one embodiment, the processor 220 may determine the user's posture based on the direction of the electronic device 200 and the user's gaze vector.

예를 들어, 프로세서(220)는 쿼터니안 형식의 지구 좌표계 상의 시선 벡터를 오일러 형식으로 변환할 수 있다.For example, the processor 220 may convert a line-of-sight vector on the Earth's coordinate system in quaternian format to Euler format.

예를 들어, 프로세서(220)는 전자 장치(200)의 방향의 각 축의 오일러 각도에 기반하여 전자 장치(200)의 FOV(field of view)를 결정하고, 시선 벡터의 각 축의 오일러 각도에 기반하여 사용자 시선의 FOV를 결정할 수 있다. 프로세서(220)는 전자 장치(200)의 FOV와 사용자 시선의 FOV가 일치하는 영역이 제 1 범위임에 대응하여, 사용자의 자세를 제 1 자세로 결정할 수 있다. 제 1 자세는 사용자가 전자 장치(200)를 세로 방향으로 응시하는 자세일 수 있다.For example, the processor 220 determines the field of view (FOV) of the electronic device 200 based on the Euler angle of each axis of the direction of the electronic device 200 and based on the Euler angle of each axis of the gaze vector. The FOV of the user's gaze can be determined. The processor 220 may determine the user's posture as the first posture in response to the fact that the area where the FOV of the electronic device 200 matches the FOV of the user's gaze is the first range. The first posture may be a posture in which the user gazes at the electronic device 200 in the vertical direction.

예를 들어, 프로세서(220)는 전자 장치(200)의 FOV와 사용자 시선의 FOV가 일치하는 영역이, 제 1 범위와 상이한 제 2 범위임에 대응하여, 사용자의 자세를 제 2 자세로 결정할 수 있다. 제 2 자세는 사용자가 전자 장치(200)를 가로 방향으로 응시하는 자세일 수 있다.For example, the processor 220 may determine the user's posture as the second posture in response to the fact that the area where the FOV of the electronic device 200 matches the FOV of the user's gaze is a second range that is different from the first range. there is. The second posture may be a posture in which the user gazes at the electronic device 200 in the horizontal direction.

다양한 실시예에 따른 프로세서(220)는, 동작 450에서, 사용자 자세에 기반하여 전자 장치(200)의 화면 표시 방향을 결정할 수 있다.The processor 220 according to various embodiments may determine the screen display direction of the electronic device 200 based on the user's posture in operation 450.

일 실시예에 따르면, 프로세서(220)는 동작 440에서 결정된 사용자의 자세에 기반하여 전자 장치(200)의 화면 표시 방향을 결정할 수 있다.According to one embodiment, the processor 220 may determine the screen display direction of the electronic device 200 based on the user's posture determined in operation 440.

예를 들어, 사용자의 자세가 제 1 자세임에 대응하여, 전자 장치(200)의 화면을 세로 모드로 디스플레이(260)(예: 도 1의 디스플레이 모듈(160) 및/또는 도 2b의 디스플레이(260))에 표시할 수 있다. 예를 들어, 전자 장치(200)는, 사용자의 자세가 제 2 자세임에 대응하여, 전자 장치(200)의 화면을 가로 모드로 디스플레이(260)에 표시할 수 있다.For example, in response to the user's posture being the first posture, the screen of the electronic device 200 is displayed 260 in portrait mode (e.g., the display module 160 of FIG. 1 and/or the display of FIG. 2B ( 260)). For example, the electronic device 200 may display the screen of the electronic device 200 on the display 260 in landscape mode in response to the user's posture being the second posture.

일 실시예에 따르면, 프로세서(220)는 동작 440에서 결정된 사용자의 자세에 기반하여 전자 장치(200)의 화면 표시 방향 결정한 이후, 전자 장치(200)의 방향 및/또는 시선 벡터 변화에 기반하여 전자 장치(200)의 화면 표시 방향의 변경 여부를 결정할 수 있다.According to one embodiment, the processor 220 determines the screen display direction of the electronic device 200 based on the user's posture determined in operation 440 and then displays the electronic device 200 based on the direction and/or gaze vector change of the electronic device 200. It is possible to determine whether to change the screen display direction of the device 200.

예를 들어, 프로세서(220)는 전자 장치(200)의 방향은 변경되지 않고, 시선 벡터가변경됨에 대응하여, 전자 장치(200)의 화면 표시 방향을 변경하지 않을 수 있다.For example, the processor 220 may not change the screen display direction of the electronic device 200 in response to a change in the gaze vector without changing the direction of the electronic device 200.

예를 들어, 프로세서(220)는 전자 장치(200)의 방향이 변경되고, 시선 벡터가변경되지 않음에 대응하여, 전자 장치(200)의 화면 표시 방향을 사용자 자세에 기반하여 변경할 수 있다.For example, the processor 220 may change the screen display direction of the electronic device 200 based on the user's posture in response to the fact that the direction of the electronic device 200 changes and the gaze vector does not change.

예를 들어, 프로세서(220)는 전자 장치(200)의 방향이 변경되고, 시선 벡터가변경됨에 대응하여, 전자 장치(200)의 화면 표시 방향을 사용자 자세에 기반하여 변경할 수 있다.For example, the processor 220 may change the screen display direction of the electronic device 200 based on the user's posture in response to a change in the direction of the electronic device 200 and a change in the gaze vector.

도 5는, 다양한 실시예에 따른 전자 장치와 사용자의 자세에 기반하여 전자장치의 표시 방향 모드를 결정하는 방법을 도시한 흐름도이다.FIG. 5 is a flowchart illustrating a method of determining a display direction mode of an electronic device based on the posture of the electronic device and the user according to various embodiments.

도 5에 도시된 실시 예는 일 실시 예일 뿐이며, 본 문서에서 개시되는 다양한 실시 예에 따른 동작 순서는 도 5에 도시된 바와 다를 수 있고, 도 4에 도시된 일부 동작들이 생략되거나 동작들 간의 순서가 변경되거나 동작들이 병합될 수도 있다.The embodiment shown in FIG. 5 is only one embodiment, and the operation sequence according to various embodiments disclosed in this document may be different from that shown in FIG. 5, and some operations shown in FIG. 4 are omitted or the order between operations is changed. may change or operations may be merged.

일 실시 예에 따르면, 동작 510 내지 580은 각각의 전자 장치(예: 전자 장치(200) 또는 외부 전자 장치(300))의 프로세서(예: 도 2b의 프로세서(220) 또는 도 3의 프로세서(320))에서 수행되는 것으로 이해될 수 있다.According to one embodiment, operations 510 to 580 are performed by a processor (e.g., the processor 220 of FIG. 2B or the processor 320 of FIG. 3) of each electronic device (e.g., the electronic device 200 or the external electronic device 300). ))).

다양한 실시예에 따른 전자 장치(200)(예: 1의 전자장치(101) 및/또는 도 2a 내지 2b의 전자 장치(200))는, 동작 510에서, 화면 자동 회전 기능 활성화 여부를 확인할 수 있다.The electronic device 200 according to various embodiments (e.g., the electronic device 101 in 1 and/or the electronic device 200 in FIGS. 2A and 2B) may check whether the screen auto-rotation function is activated in operation 510. .

일 실시예에 따르면, 화면 자동 회전 기능은 전자 장치(200)의 방향 및/또는 사용자의 자세에 따라 화면을 세로 모드 및/또는 가로 모드로 표시하는 기능일 수 있다.According to one embodiment, the screen auto-rotation function may be a function that displays the screen in portrait mode and/or landscape mode depending on the orientation of the electronic device 200 and/or the user's posture.

전자 장치(200)는, 화면 자동 회전 기능이 활성화되어 있음에 대응하여 동작 520내지 동작 580을 수행할 수 있다.The electronic device 200 may perform operations 520 to 580 in response to the fact that the screen automatic rotation function is activated.

다양한 실시예에 따른 전자 장치(200)는, 동작 520에서, 외부 전자 장치(300)(예: 도 1의 전자 장치(102), 전자 장치(104), 도 2a의 외부 전자 장치(300), 및/또는 도 3의 외부 전자 장치(300))의 연결 여부를 확인할 수 있다.The electronic device 200 according to various embodiments may, in operation 520, use an external electronic device 300 (e.g., the electronic device 102, the electronic device 104 of FIG. 1, the external electronic device 300 of FIG. 2A, and/or whether the external electronic device 300 of FIG. 3 is connected can be checked.

일 실시예에 따르면, 전자 장치(200)는, 통신 모듈(290)(예: 도 1의 통신 모듈(190) 및/또는 도 2b의 통신 모듈(290))을 통하여 외부 전자 장치(300)와 연결되어 있는지 여부를 확인할 수 있다. 예를 들어, 전자 장치(200)는, 전자 장치(200)의 통신 모듈(290)과 외부 전자 장치(300)의 통신 모듈(390)(예: 도 3의 통신 모듈(390))이 데이터를 주고받을 수 있도록 연결된 상태인지 여부를 확인할 수 있다.According to one embodiment, the electronic device 200 communicates with the external electronic device 300 through a communication module 290 (e.g., the communication module 190 in FIG. 1 and/or the communication module 290 in FIG. 2B). You can check whether it is connected or not. For example, in the electronic device 200, the communication module 290 of the electronic device 200 and the communication module 390 of the external electronic device 300 (e.g., the communication module 390 of FIG. 3) transmit data. You can check whether it is connected to send and receive.

전자 장치(200)는, 외부 전자 장치(300)와 연결을 확인함에 대응하여 동작 530을 수행할 수 있다.The electronic device 200 may perform operation 530 in response to confirming the connection with the external electronic device 300.

다양한 실시예에 따른 전자 장치(200)는, 동작 530에서, 외부 전자 장치(300)에 방향 데이터를 요청할 수 있다.The electronic device 200 according to various embodiments may request direction data from the external electronic device 300 in operation 530.

일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(300)와 연결됨을 확인함에 대응하여, 외부 전자 장치(300)에 방향 데이터를 요청할 수 있다. 예를 들어 전자 장치(200)는, 통신 모듈(290)을 통하여 외부 전자 장치(300)에 방향 데이터를 요청하는 메시지를 송신할 수 있다. According to one embodiment, the electronic device 200 may request direction data from the external electronic device 300 in response to confirming that it is connected to the external electronic device 300. For example, the electronic device 200 may transmit a message requesting direction data to the external electronic device 300 through the communication module 290.

일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(300)의 방향 데이터를 지정된 시점에 송신하도록 외부 전자 장치(300)에 요청할 수 있다. 예를 들어, 전자 장치(200)는 화면 자동 회전 기능이 활성화 된 때부터 비활성화될 때까지 지정된 시점에 외부 전자 장치(300)의 방향 데이터를 송신하도록 외부 전자 장치(300)에 요청할 수 있다.According to one embodiment, the electronic device 200 may request the external electronic device 300 to transmit direction data of the external electronic device 300 at a designated time. For example, the electronic device 200 may request the external electronic device 300 to transmit orientation data of the external electronic device 300 at a specified time from when the screen auto-rotation function is activated until it is deactivated.

다양한 실시예에 따른 외부 전자 장치(300)는, 동작 540에서, 외부 전자 장치(300)의 방향을 계산할 수 있다.The external electronic device 300 according to various embodiments may calculate the direction of the external electronic device 300 in operation 540.

일 실시예에 따르면, 외부 전자 장치(300)는 자이로 센서(371)(예: 도 3의 자이로 센서(371)) 및 가속도 센서(372)(예: 도 3의 가속도 센서(372))가 측정한 데이터에 기반하여, 외부 전자 장치(300)의 방향을 계산할 수 있다.According to one embodiment, the external electronic device 300 uses a gyro sensor 371 (e.g., the gyro sensor 371 in FIG. 3) and an acceleration sensor 372 (e.g., the acceleration sensor 372 in FIG. 3) to measure Based on one data, the direction of the external electronic device 300 can be calculated.

외부 전자 장치(300)의 가속도 센서(372)는 외부 전자 장치(300)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 가속도를 측정할 수 있다. 외부 전자 장치(300)의 자이로 센서(371)는 외부 전자 장치(300)의 지정된 축에 대한 각속도를 측정할 수 있다.The acceleration sensor 372 of the external electronic device 300 may measure acceleration that occurs whenever the magnitude and direction of the gravitational acceleration and/or speed with respect to the external electronic device 300 change. The gyro sensor 371 of the external electronic device 300 may measure the angular velocity about a designated axis of the external electronic device 300.

외부 전자 장치(300)의 프로세서(320)는, 자이로 센서(371) 및 가속도 센서(372)가 측정한 데이터에 기반하여, 지정된 축을 기준으로 회전된 각도인 외부 전자 장치(300)의 방향을 계산할 수 있다.The processor 320 of the external electronic device 300 calculates the direction of the external electronic device 300, which is an angle rotated about a specified axis, based on data measured by the gyro sensor 371 and the acceleration sensor 372. You can.

다양한 실시예에 따른 외부 전자 장치(300)는, 동작 550에서, 전자 장치(200)에 방향 데이터를 송신할 수 있다.The external electronic device 300 according to various embodiments may transmit direction data to the electronic device 200 in operation 550.

일 실시예에 따르면, 외부 전자 장치(300)는 동작 540에서 확인한 외부 전자 장치(300)의 방향 데이터를 전자 장치(200)에 송신할 수 있다. 예를 들어, 외부 전자 장치(300)는 통신 모듈(390)을 통해 전자 장치(200)에 외부 전자 장치(300)의 방향 데이터를 송신할 수 있다. According to one embodiment, the external electronic device 300 may transmit direction data of the external electronic device 300 confirmed in operation 540 to the electronic device 200. For example, the external electronic device 300 may transmit direction data of the external electronic device 300 to the electronic device 200 through the communication module 390.

일 실시예에 따르면, 외부 전자 장치(300)는 외부 전자 장치(300)의 방향을 오일러 각도 형식 및/또는 쿼터니안 형식으로 전자 장치(200)에 송신할 수 있다.According to one embodiment, the external electronic device 300 may transmit the direction of the external electronic device 300 to the electronic device 200 in Euler angle format and/or quaternian format.

일 실시예에 따르면, 외부 전자 장치(300)는 전자 장치(200)가 지정된 시점에 방향 데이터를 송신하도록 요청함에 대응하여, 전자 장치(200)가 데이터 송신을 요청한 때로부터 송신 중단을 요청할 때까지 지정된 시점에 전자 장치(200)에 방향 데이터를 송신할 수 있다.According to one embodiment, the external electronic device 300 responds to a request from the electronic device 200 to transmit direction data at a specified time, from the time the electronic device 200 requests data transmission until the request to stop transmission. Direction data can be transmitted to the electronic device 200 at a designated time.

일 실시예에 따르면, 전자 장치(200)는, 통신 모듈(290)을 통해 외부 전자 장치(300)로부터 외부 전자 장치(300)의 방향 데이터를 획득할 수 있다. According to one embodiment, the electronic device 200 may obtain direction data of the external electronic device 300 from the external electronic device 300 through the communication module 290.

일 실시예에 따르면, 전자 장치(200)는 지정된 시점마다 외부 전자 장치(300)로부터 외부 전자 장치(300)의 방향 데이터를 획득할 수 있다.According to one embodiment, the electronic device 200 may obtain direction data of the external electronic device 300 from the external electronic device 300 at each designated time point.

다양한 실시예에 따른 전자 장치(200)는, 동작 560에서, 전자 장치(200)의 방향을 계산할 수 있다.The electronic device 200 according to various embodiments may calculate the direction of the electronic device 200 in operation 560.

일 실시예에 따르면, 전자 장치(200)는, 자이로 센서(271)(예: 도 2b의 자이로 센서(271)) 및 가속도 센서(272)(예: 도 2b의 가속도 센서(272))가 측정한 데이터에 기반하여 전자 장치(200)의 방향을 계산할 수 있다.According to one embodiment, the electronic device 200 uses a gyro sensor 271 (e.g., the gyro sensor 271 in FIG. 2B) and an acceleration sensor 272 (e.g., the acceleration sensor 272 in FIG. 2b) to measure The direction of the electronic device 200 can be calculated based on one data.

전자 장치(200)의 가속도 센서(272)는 전자 장치(200)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 가속도를 측정할 수 있다. 전자 장치(200)의 자이로 센서(271)는 전자 장치(200)의 지정된 축에 대한 각속도를 측정할 수 있다.The acceleration sensor 272 of the electronic device 200 may measure acceleration that occurs whenever the magnitude and direction of gravitational acceleration and/or speed with respect to the electronic device 200 change. The gyro sensor 271 of the electronic device 200 can measure the angular velocity about a designated axis of the electronic device 200.

전자 장치(200)의 프로세서(220)는, 자이로 센서(271) 및 가속도 센서(272)가 측정한 데이터에 기반하여, 지정된 축을 기준으로 회전된 각도인 전자 장치(200)의 방향을 계산할 수 있다.The processor 220 of the electronic device 200 may calculate the direction of the electronic device 200, which is an angle rotated about a specified axis, based on data measured by the gyro sensor 271 and the acceleration sensor 272. .

다양한 실시예에 따른 전자 장치(200)는, 동작 570에서, 사용자 자세를 결정할 수 있다.The electronic device 200 according to various embodiments may determine the user's posture in operation 570.

일 실시예에 따르면, 전자 장치(200)는, 외부 전자 장치(300)로부터 획득한 외부 전자 장치(300)의 방향이 직각 좌표계에서 각 축 주위로 회전한 각도인 오일러 각도 형식임에 대응하여, 벡터 형식의 쿼터니안 형식으로 변환 후, 지구 좌표계 상의 외부 전자 장치의 방향을 이용하여, 외부 전자 장치(300) 좌표계 상의 사용자의 머리 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환할 수 있다.According to one embodiment, the electronic device 200 corresponds to the fact that the direction of the external electronic device 300 obtained from the external electronic device 300 is in Euler angle format, which is an angle rotated around each axis in a rectangular coordinate system, After converting the vector format into a quaternian format, the direction of the user's head on the coordinate system of the external electronic device 300 can be converted to the direction of the user's head on the Earth coordinate system using the direction of the external electronic device on the Earth coordinate system.

일 실시예에 따르면, 전자 장치(200)는, 외부 전자 장치(300)로부터 획득한 외부 전자 장치(300)의 방향이 쿼터니안 형식임에 대응하여, 지구 좌표계 상의 외부 전자 장치의 방향을 이용하여, 외부 전자 장치(300) 좌표에 대응하는 사용자의 머리 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환할 수 있다.According to one embodiment, the electronic device 200 uses the direction of the external electronic device on the Earth coordinate system in response to the fact that the direction of the external electronic device 300 obtained from the external electronic device 300 is in a quaternian format. , the direction of the user's head corresponding to the coordinates of the external electronic device 300 may be converted to the direction of the user's head in the Earth coordinate system.

일 실시예에 따르면, 지구 좌표계 상의 사용자의 머리 방향을 이용하여, 사용자의 머리 방향의 시선 벡터(예 : y축)를 지구 좌표계 상의 시선 벡터로 변환할 수 있다.According to one embodiment, the gaze vector (eg, y-axis) in the direction of the user's head can be converted into a gaze vector in the Earth coordinate system by using the direction of the user's head in the Earth coordinate system.

일 실시예에 따르면, 전자 장치(200)는, 전자 장치(200)의 방향 및 사용자의 시선 벡터에 기반하여 사용자의 자세를 결정할 수 있다.According to one embodiment, the electronic device 200 may determine the user's posture based on the direction of the electronic device 200 and the user's gaze vector.

예를 들어, 전자 장치(200)는 쿼터니안 형식의 지구 좌표계 상의 시선 벡터를 오일러 형식으로 변환할 수 있다.For example, the electronic device 200 may convert a line-of-sight vector on the Earth's coordinate system in a quaternian format into an Euler format.

예를 들어, 전자 장치(200)는, 전자 장치(200)의 방향의 각 축의 오일러 각도에 기반하여 전자 장치(200)의 FOV(field of view)를 결정하고, 시선 벡터의 각 축의 오일러 각도에 기반하여 사용자 시선의 FOV를 결정할 수 있다. 프로세서(220)는 전자 장치(200)의 FOV와사용자 시선의 FOV가 일치하는 영역이 제 1 범위임에 대응하여, 사용자의 자세를 제 1 자세로 결정할 수 있다. 제 1 자세는 사용자가 전자 장치(200)를 세로 방향으로 응시하는 자세일 수 있다.For example, the electronic device 200 determines the field of view (FOV) of the electronic device 200 based on the Euler angle of each axis of the direction of the electronic device 200, and determines the field of view (FOV) of the electronic device 200 based on the Euler angle of each axis of the gaze vector. Based on this, the FOV of the user's gaze can be determined. The processor 220 may determine the user's posture as the first posture in response to the fact that the area where the FOV of the electronic device 200 matches the FOV of the user's gaze is the first range. The first posture may be a posture in which the user gazes at the electronic device 200 in the vertical direction.

예를 들어, 전자 장치(200)는, 전자 장치(200)의 FOV와 사용자 시선의 FOV가일치하는 영역이, 제 1 범위와 상이한 제 2 범위임에 대응하여, 사용자의 자세를 제 2 자세로 결정할 수 있다. 제 2 자세는 사용자가 전자 장치(200)를 가로 방향으로 응시하는 자세일 수 있다.For example, the electronic device 200 sets the user's posture to the second posture in response to the fact that the area where the FOV of the electronic device 200 matches the FOV of the user's gaze is a second range that is different from the first range. You can decide. The second posture may be a posture in which the user gazes at the electronic device 200 in the horizontal direction.

다양한 실시예에 따른 전자 장치(200)는, 동작 580에서, 사용자 자세에 기반하여 전자 장치(200)의 화면 표시 방향을 결정할 수 있다.The electronic device 200 according to various embodiments may determine the screen display direction of the electronic device 200 based on the user's posture in operation 580.

일 실시예에 따르면, 전자 장치(200)는, 동작 570에서 결정된 사용자의 자세에 기반하여 전자 장치(200)의 화면 표시 방향을 결정할 수 있다.According to one embodiment, the electronic device 200 may determine the screen display direction of the electronic device 200 based on the user's posture determined in operation 570.

예를 들어, 사용자의 자세가 제 1 자세임에 대응하여, 전자 장치(200)의 화면을 세로 모드로 디스플레이(260)(예: 도 1의 디스플레이 모듈(160) 및/또는 도 2b의 디스플레이(260))에 표시할 수 있다. 예를 들어, 전자 장치(200)는, 사용자의 자세가 제 2 자세임에 대응하여, 전자 장치(200)의 화면을 가로 모드로 디스플레이(260)에 표시할 수 있다.For example, in response to the user's posture being the first posture, the screen of the electronic device 200 is displayed 260 in portrait mode (e.g., the display module 160 of FIG. 1 and/or the display of FIG. 2B ( 260)). For example, the electronic device 200 may display the screen of the electronic device 200 on the display 260 in landscape mode in response to the user's posture being the second posture.

일 실시예에 따르면, 전자 장치(200)는 동작 570에서 결정된 사용자의 자세에 기반하여 전자 장치(200)의 화면 표시 방향 결정한 이후, 전자 장치(200)의 방향 및/또는 시선 벡터 변화에 기반하여 전자 장치(200)의 화면 표시 방향의 변경 여부를 결정할 수 있다.According to one embodiment, the electronic device 200 determines the screen display direction of the electronic device 200 based on the user's posture determined in operation 570 and then determines the screen display direction of the electronic device 200 based on a change in the direction and/or gaze vector of the electronic device 200. It is possible to determine whether to change the screen display direction of the electronic device 200.

예를 들어, 전자 장치(200)는, 전자 장치(200)의 방향은 변경되지 않고, 시선 벡터가 변경됨에 대응하여, 전자 장치(200)의 화면 표시 방향을 변경하지 않을 수 있다.For example, the direction of the electronic device 200 may not change and the screen display direction of the electronic device 200 may not change in response to a change in the gaze vector.

예를 들어, 전자 장치(200)는, 전자 장치(200)의 방향이 변경되고, 시선 벡터가 변경되지 않음에 대응하여, 전자 장치(200)의 화면 표시 방향을 사용자 자세에 기반하여 변경할 수 있다.For example, the electronic device 200 may change the screen display direction of the electronic device 200 based on the user's posture in response to the fact that the direction of the electronic device 200 changes and the gaze vector does not change. .

예를 들어, 전자 장치(200)는, 전자 장치(200)의 방향이 변경되고, 시선 벡터가 변경됨에 대응하여, 전자 장치(200)의 화면 표시 방향을 사용자 자세에 기반하여 변경할 수 있다.For example, the electronic device 200 may change the screen display direction of the electronic device 200 based on the user's posture in response to a change in the direction of the electronic device 200 and a change in the gaze vector.

도 6은, 다양한 실시예에 따른 전자 장치(예: 도 2b의 전자 장치(200))가 전자 장치의 방향 및 외부 전자 장치(예: 도 3의 외부 전자 장치(300))의 방향에 기반하여 사용자의 자세를 결정하는 방법을 설명하기 위한 예시 도면이다.FIG. 6 illustrates that an electronic device (e.g., the electronic device 200 of FIG. 2B) according to various embodiments is configured to display an image based on the direction of the electronic device and the direction of an external electronic device (e.g., the external electronic device 300 of FIG. 3). This is an example diagram to explain how to determine the user's posture.

다양한 실시예에 따르면, 전자 장치(200)는 가속도 센서(272)(예: 도 2b의 가속도 센서(272))가 측정한 데이터(가속도( , , )) 및 자이로 센서(271)(예: 도 2b의 자이로 센서(271))가 측정한 데이터(각속도(p, q, r))에 기반하여 전자 장치의 방향(오일러 각(, , ))를 결정할 수 있다.According to various embodiments, the electronic device 200 receives data ( acceleration ( , , )) and the orientation of the electronic device (Euler angle ( , , )) can be determined.

일 실시예에 따르면, 가속도 센서(272)는 전자 장치(200)에 대한 중력 가속도 및/또는 속도의 크기와 방향이 변경될 때마다 발생하는 다양한 가속도( , , )를 측정할 수 있다.According to one embodiment, the acceleration sensor 272 detects various accelerations ( , , ) can be measured.

수학식 1은, 가속도 센서(272)가 측정하는 가속도( , , )의 특성을 나타낸 수식이다.Equation 1 is the acceleration measured by the acceleration sensor 272 ( , , ) is a formula that represents the characteristics of

위 수학식 1은 단지 이해를 돕기 위한 예시일 뿐, 이에 제한되지 않으며, 다양한 방식으로 변형, 응용 또는 확장될 수 있다.Equation 1 above is only an example to aid understanding, but is not limited thereto, and can be modified, applied, or expanded in various ways.

수학식 1에서, (, , )는 이동 속도, (, , )는 회전 각속도, g는 중력 가속도, φ는 x축 주위로 회전한 각도인 피치(pitch), θ는 y축 주위로 회전한 각도인 롤(roll)을 지시할 수 있다.In equation 1, ( , , ) is the movement speed, ( , , ) can indicate the rotational angular velocity, g is the gravitational acceleration, ϕ can indicate the pitch, which is the angle rotated around the x-axis, and θ can indicate the roll, which is the angle rotated around the y-axis.

전자 장치(200)가 정지 상태이거나 등속으로 운동을 하는 경우, 수학식 1은 수학식 2와 같이 간소화될 수 있다. When the electronic device 200 is at rest or moving at a constant speed, Equation 1 can be simplified as Equation 2.

수학식 2를 정리하면, 수학식 3과 같이 가속도( , , )에 기반하여 롤(θ), 피치(φ) 각을 계산할 수 있다. If we summarize Equation 2, the acceleration ( , , ), the roll (θ) and pitch (ϕ) angles can be calculated based on.

일 실시예에 따르면, 자이로 센서(271)는 전자 장치에 대한 각축(x, y, z)의 각속도(p, q, r)를 측정할 수 있다. According to one embodiment, the gyro sensor 271 can measure the angular velocities ( p, q, r ) of each axis (x, y, z) with respect to the electronic device.

수학식 4는, 가속도에 기반한 롤(θ), 피치(φ)각과 각속도(p, q, r)에 기반하여, 전자 장치(200)의 방향(예: 오일러 각, x축에 대한 회전인 피치(φ), y축에 대한 회전인 롤(θ), z축에 대한 회전인 요(ψ))를 계산하는 수식이다.Equation 4 determines the direction of the electronic device 200 (e.g., Euler angle , pitch , which is rotation about the (ψ), roll (θ), which is rotation about the y-axis, and yaw (ψ), which is rotation about the z-axis.

다양한 실시예에 따르면, 외부 전자 장치(300)는 상기와 동일한 방법으로 가속도 센서(372)가 측정한 데이터(가속도( , , )) 및 자이로 센서(371)가 측정한 데이터(각속도(p, q, r))에 기반하여 외부 전자 장치(300)의 방향(, , )를 결정할 수 있다.According to various embodiments, the external electronic device 300 may transmit data (acceleration ( , , )) and the direction of the external electronic device 300 based on the data (angular velocity ( p, q, r )) measured by the gyro sensor 371 ( , , ) can be determined.

다양한 실시예에 따르면, 외부 전자 장치(300)는 오일러 각 형식의 외부 전자 장치(300)의 방향(, , )를 쿼터니언 형식(,,,)로 변환하여, 전자 장치(200)에 송신할 수 있다.According to various embodiments, the external electronic device 300 is configured to control the direction of the external electronic device 300 in Euler angle format ( , , ) in quaternion format ( , , , ) and can be transmitted to the electronic device 200.

수학식 5는 오일러 각(φ, θ, ψ)과 쿼터니언(q0, q1, q2, q3)과의 관계를 나타낸 식이다.Equation 5 is an equation that shows the relationship between Euler angles (ϕ, θ, ψ) and quaternions (q0, q1, q2, q3).

다양한 실시예에 따르면, 전자 장치(200)는 지구 좌표계 상의 외부 전자 장치의 방향을 이용하여, 외부 전자 장치 좌표계 상의 사용자의 머리 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환할 수 있다.According to various embodiments, the electronic device 200 may convert the direction of the user's head on the external electronic device coordinate system to the direction of the user's head on the Earth coordinate system by using the direction of the external electronic device on the Earth coordinate system.

수학식 6는 쿼터니언(quaternion)을 이용한 좌표계 변환으로 외부 전자 장치(300) 좌표계에 대응되는 사용자의 머리(Head) 방향을 지구 좌표계 상의 사용자의 머리 방향으로 변환하는 수식이다.Equation 6 is an equation that converts the direction of the user's head corresponding to the coordinate system of the external electronic device 300 to the direction of the user's head on the Earth coordinate system through coordinate system conversion using a quaternion.

는 지구 좌표계(navigation frame) 기준 외부 전자 장치(300)(earbuds)의 방향, 은 지구 좌표계 상의 사용자의 머리(head) 방향을, 은 외부 전자 장치(300)의 좌표계에 대응되는 사용자의 머리(head) 방향을 지시할 수 있다. Is the direction of the external electronic device 300 (earbuds) based on the Earth coordinate system (navigation frame), is the direction of the user's head in the Earth coordinate system, may indicate the direction of the user's head corresponding to the coordinate system of the external electronic device 300.

수학식 7은 지구 좌표계 상의 사용자의 머리(head) 방향을 이용하여, 사용자머리 방향의 y축인 시선 벡터를 지구 좌표계 상의 시선 벡터로 변환하는 수식일 수 있다.Equation 7 may be an equation that converts the gaze vector, which is the y-axis in the direction of the user's head, into a gaze vector on the Earth coordinate system, using the direction of the user's head on the Earth coordinate system.

는 사용자 머리 방향(외부 전자 장치의 좌표계 기준)의 시선 방향 벡터, 는 지구 좌표계 상의 시선 방향 벡터를 지시할 수 있다. is the gaze direction vector of the user's head direction (based on the coordinate system of the external electronic device), may indicate the line-of-sight direction vector on the Earth coordinate system.

다양한 실시예에 따르면, 전자 장치(200)는 지구 좌표계 상의 시선 벡터에 기반하여 사용자의 자세를 결정할 수 있다. 다양한 실시예에 따르면, 전자 장치(200)는 쿼터니언 형식(,,,)의 지구 좌표계 상의 시선 벡터를 오일러 각 형식(, , )로 변환할 수 있다.According to various embodiments, the electronic device 200 may determine the user's posture based on the gaze vector in the Earth coordinate system. According to various embodiments, the electronic device 200 uses a quaternion format ( , , , ) line-of-sight vector in the Earth coordinate system in Euler angle form ( , , ) can be converted to .

다양한 실시예에 따르면, 전자 장치(200)는 지구 좌표계 상의 시선 벡터 방향(, , )과 전자 장치(200)의 방향(, , )에 기반하여 사용자의 자세를 결정할 수 있다.According to various embodiments, the electronic device 200 is configured to control the line-of-sight vector direction ( , , ) and the direction of the electronic device 200 ( , , ), the user's posture can be determined.

예를 들어, 전자 장치(200)는 지구 좌표계 상의 시선 벡터 방향(, , )과 전자 장치(200)의 방향(, , )의 각 (, , ) 값의 일치도에 따라 사용자의 자세를 결정할 수 있다.For example, the electronic device 200 may display a line-of-sight vector direction ( , , ) and the direction of the electronic device 200 ( , , ) angle ( , , ) The user's posture can be determined according to the consistency of the values.

도 7은, 다양한 실시예에 따른 전자 장치가 사용자의 자세에 기반하여 전자장치의 표시 방향을 결정하는 실시예를 도시한 도면이다.FIG. 7 is a diagram illustrating an example in which an electronic device determines a display direction of the electronic device based on a user's posture, according to various embodiments.

그림 (a)는 전자 장치(200)(예: 1의 전자장치(101) 및/또는 도 2a 내지 2b의 전자 장치(200))가 세로 모드일 때 디스플레이(260)(예: 도 1의 디스플레이 모듈(160) 및/또는 도 2b의 디스플레이(260))에 표시하는 화면의 예시 일 수 있다. 사용자가 세로 방향으로 전자 장치(200)를 파지하는 경우, 전자 장치(200)는 그림 (a)와 같이 세로 모드로 디스플레이(260)에 화면을 표시할 수 있다.Figure (a) shows the display 260 (e.g., the display in Figure 1) when the electronic device 200 (e.g., the electronic device 101 in 1 and/or the electronic device 200 in Figures 2A-2B) is in portrait mode. This may be an example of a screen displayed on the module 160 and/or the display 260 of FIG. 2B. When the user holds the electronic device 200 in the vertical direction, the electronic device 200 may display the screen on the display 260 in portrait mode as shown in Figure (a).

그림 (b)는 화면 자동 전환 모드가 활성화 된 경우에, 사용자 자세에 따라 전자 장치(200)가 화면을 표시하는 예시 그림이다.Figure (b) is an example of how the electronic device 200 displays a screen according to the user's posture when the automatic screen switching mode is activated.

그림 (b)를 참조하면, 사용자가 외부 전자 장치(300)(예: 도 1의 전자 장치(102), 전자 장치(104), 도 2a의 외부 전자 장치(300), 및/또는 도 3의 외부 전자 장치(300))를 착용하고 가로로 누워 있는 자세에서, 전자 장치(200)를 세로 방향으로 파지하는 경우, 사용자는 전자 장치(200)를 세로 방향으로 응시할 수 있다. 전자 장치(200)는, 화면 자동 전환 모드가 활성화된 경우, 외부 전자 장치(300)의 방향 및 전자 장치(200)의 방향에 기반하여, 사용자의 자세를 결정할 수 있다. 그림 (b)의 경우, 전자 장치(200)는 외부 전자 장치(300)의 방향 및 전자 장치(200)의 방향이 일치함에 대응하여, 사용자의 자세를 제 1 자세로 결정하고, 세로 모드로 화면을 디스플레이(260)에 표시할 수 있다.Referring to Figure (b), a user uses an external electronic device 300 (e.g., the electronic device 102, the electronic device 104 of FIG. 1, the external electronic device 300 of FIG. 2A, and/or the external electronic device 300 of FIG. 3). When wearing the external electronic device 300 and lying horizontally and holding the electronic device 200 in the vertical direction, the user can gaze at the electronic device 200 in the vertical direction. When the automatic screen switching mode is activated, the electronic device 200 may determine the user's posture based on the direction of the external electronic device 300 and the direction of the electronic device 200. In the case of Figure (b), the electronic device 200 determines the user's posture as the first posture in response to the direction of the external electronic device 300 and the direction of the electronic device 200 matching, and displays the screen in portrait mode. can be displayed on the display 260.

다양한 실시예에 따르면, 사용자의 자세에 기반하여 전자 장치의 표시 방향 모드를 결정할 수 있다.According to various embodiments, the display direction mode of the electronic device may be determined based on the user's posture.

도 8은, 다양한 실시예에 따른 외부 전자 장치(800)(예: 도 3의 외부 전자 장치(300))의 구성도를 도시한 도면이다. FIG. 8 is a diagram illustrating the configuration of an external electronic device 800 (eg, the external electronic device 300 of FIG. 3) according to various embodiments.

다양한 실시예에서, 외부 전자 장치(800)는 사용자의 머리 부분에 착용되는 형식으로 제작된 외부 전자 장치(800)일 수 있다. 예를 들어, 외부 전자 장치(800)는 안경(glass), 고글(goggles), 헬멧 또는 모자 중 적어도 하나의 형식으로 구성될 수 있으나, 이에 한정되지 않는다. 일 실시예에 따르면, 외부 전자 장치(800)는 사용자의 양안(예: 좌안 및/또는 우안), 각각에 대응하는 복수 개의 투명 부재(예: 제 1 투명 부재(820) 및/또는 제 2 투명 부재(830))를 포함할 수 있다. In various embodiments, the external electronic device 800 may be manufactured to be worn on the user's head. For example, the external electronic device 800 may be configured as at least one of glasses, goggles, a helmet, or a hat, but is not limited thereto. According to one embodiment, the external electronic device 800 includes both eyes of the user (e.g., left eye and/or right eye), and a plurality of transparent members corresponding to each (e.g., first transparent member 820 and/or second transparent member 820). Member 830) may be included.

외부 전자 장치(800)는 사용자에게 증강 현실(augumented reality; AR) 서비스와 관련된 영상을 제공할 수 있다. 일 실시예에 따르면, 외부 전자 장치(800)는 제1 투명 부재(820) 및/또는 제2 투명 부재(830)에 가상 객체를 투영하거나, 표시함으로써, 사용자가 전자 장치의 제1 투명 부재(820) 및/또는 제2 투명 부재(830)를 통해 인지하는 현실에 적어도 하나의 가상 객체가 겹쳐 보이도록 할 수 있다. The external electronic device 800 may provide images related to an augmented reality (AR) service to the user. According to one embodiment, the external electronic device 800 projects or displays a virtual object on the first transparent member 820 and/or the second transparent member 830, so that the user can use the first transparent member ( 820) and/or the second transparent member 830 may allow at least one virtual object to appear overlapping with reality perceived.

도 8를 참조하면, 일 실시예에 따른 외부 전자 장치(800)는 본체부(823), 지지부(예: 제 1 지지부(821), 제 2 지지부(822)), 및 힌지부(예: 제1 힌지부(840-1), 제2 힌지부(840-2))를 포함할 수 있다. Referring to FIG. 8, the external electronic device 800 according to one embodiment includes a main body portion 823, a support portion (e.g., a first support portion 821, a second support portion 822), and a hinge portion (e.g., a second support portion 822). It may include a first hinge portion (840-1) and a second hinge portion (840-2).

다양한 실시예에 따르면, 본체부(823)와 지지부(821, 822)는 힌지부(840-1, 840-2)를 통해 작동적으로 연결될 수 있다. 본체부(823)는 사용자의 코에 적어도 부분적으로 거치될 수 있도록 형성된 부분을 포함할 수 있다. According to various embodiments, the main body portion 823 and the support portions 821 and 822 may be operatively connected through hinge portions 840-1 and 840-2. The main body 823 may include a portion formed to be at least partially placed on the user's nose.

다양한 실시예에 따르면, 지지부(821, 822)는 사용자의 귀에 적어도 부분적으로 걸쳐질 수 있는 형태의 지지 부재를 포함할 수 있다. 지지부(821, 822)는 왼쪽 귀에 거치되는 제 1 지지부(821) 및/또는 오른쪽 귀에 거치되는 제 2 지지부(822)를 포함할 수 있다. According to various embodiments, the supports 821 and 822 may include a support member that can at least partially cover the user's ears. The support units 821 and 822 may include a first support unit 821 mounted on the left ear and/or a second support unit 822 mounted on the right ear.

다양한 실시예에 따르면, 제1 힌지부(840-1)는 제1 지지부(821)가 본체부(823)에 대해 회전 가능하도록 제1 지지부(821)와 본체부(823)를 연결할 수 있다. 제2 힌지부(840-2)는 제2 지지부(822)가 본체부(823)에 대해 회전 가능하도록 제2 지지부(822)와 본체부(823)를 연결할 수 있다. 다른 실시예에 따르면, 외부 전자 장치(800)의 힌지부(840-1, 840-2)는 생략될 수 있다. 예를 들어, 본체부(823)와 지지부(821, 822)는 바로 연결될 수 있다.According to various embodiments, the first hinge part 840-1 may connect the first support part 821 and the main body part 823 so that the first support part 821 can rotate with respect to the main body part 823. The second hinge part 840-2 may connect the second support part 822 and the main body part 823 so that the second support part 822 can rotate with respect to the main body part 823. According to another embodiment, the hinge units 840-1 and 840-2 of the external electronic device 800 may be omitted. For example, the main body portion 823 and the support portions 821 and 822 may be directly connected.

다양한 실시예에 따르면, 본체부(823)는 적어도 하나의 투명 부재(예: 제1 투명 부재(820), 제2 투명 부재(830)), 적어도 하나의 디스플레이 모듈(예: 제1 디스플레이 모듈(814-1), 제2 디스플레이 모듈(814-2)), 적어도 하나의 카메라 모듈(예: 전방 촬영 카메라 모듈(813), 시선 추적 카메라 모듈(예: 제1 시선 추적 카메라 모듈(812-1), 제2 시선 추적 카메라 모듈(812-2)), 인식용 카메라 모듈(예: 제1 인식용 카메라 모듈(811-1), 제2 인식용 카메라 모듈(811-2)) 및 적어도 하나의 마이크(예: 제1 마이크(841-1), 제2 마이크(841-2))를 포함할 수 있다.According to various embodiments, the main body portion 823 includes at least one transparent member (e.g., a first transparent member 820, a second transparent member 830), and at least one display module (e.g., a first display module (e.g., 814-1), a second display module 814-2), at least one camera module (e.g., a front camera module 813), a gaze tracking camera module (e.g., a first gaze tracking camera module 812-1) , a second eye tracking camera module 812-2), a recognition camera module (e.g., a first recognition camera module 811-1, a second recognition camera module 811-2), and at least one microphone. (For example, it may include a first microphone 841-1 and a second microphone 841-2).

도 8에서 설명되는 외부 전자 장치(800)의 경우, 디스플레이 모듈(814-1, 814-2)에서 생성된 광이 투명 부재(820, 830)에 투영되어 정보를 표시할 수 있다. 예를 들어, 제1 디스플레이 모듈(814-1)에서 생성된 광은 제1 투명 부재(820)에 투영될 수 있고, 제2 디스플레이 모듈(814-2)에서 생성된 광은 제2 투명 부재(830)에 투영될 수 있다. 적어도 일부가 투명한 소재로 형성된 투명 부재(820, 830)에 가상 객체를 표시할 수 있는 광이 투영됨으로써, 사용자는 가상 객체가 중첩된 현실을 인지할 수 있다. 이 경우, 도 1에서 설명한 디스플레이 모듈(160)은 도 8에 도시된 외부 전자 장치(800)에서 디스플레이 모듈(814-1, 814-2) 및 투명 부재(820, 830)를 포함하는 것으로 이해될 수 있다. 다만, 본 발명에서 설명되는 외부 전자 장치(800)가 앞서 설명한 방식을 통해 정보를 표시하는 것으로 한정되는 것은 아니다. 외부 전자 장치(800)에 포함될 수 있는 디스플레이 모듈은 다양한 방식의 정보 표시 방법을 포함하는 디스플레이 모듈로 변경될 수 있다. 예를 들어, 투명 부재(820, 830) 자체에 투명 소재의 발광 소자를 포함하는 디스플레이 패널이 내장된 경우에는 별도의 디스플레이 모듈(예: 제1 디스플레이 모듈(814-1), 제2 디스플레이 모듈(814-2))없이 정보를 표시할 수 있다. 이 경우, 도 1에서 설명한 디스플레이 모듈(160)은 투명 부재(820, 830)와 투명 부재(820, 830)에 포함되는 디스플레이 패널을 의미할 수 있다. In the case of the external electronic device 800 described in FIG. 8, light generated by the display modules 814-1 and 814-2 may be projected onto the transparent members 820 and 830 to display information. For example, light generated in the first display module 814-1 may be projected on the first transparent member 820, and light generated in the second display module 814-2 may be projected on the second transparent member ( 830). Light capable of displaying a virtual object is projected onto the transparent members 820 and 830, at least partially formed of a transparent material, so that the user can perceive the reality in which the virtual objects overlap. In this case, the display module 160 described in FIG. 1 will be understood to include display modules 814-1 and 814-2 and transparent members 820 and 830 in the external electronic device 800 shown in FIG. 8. You can. However, the external electronic device 800 described in the present invention is not limited to displaying information through the method described above. A display module that can be included in the external electronic device 800 can be changed to a display module that includes various information display methods. For example, if the transparent members 820 and 830 themselves are equipped with a display panel including a light-emitting element made of a transparent material, a separate display module (e.g., a first display module 814-1, a second display module (814-1), Information can be displayed without 814-2)). In this case, the display module 160 described in FIG. 1 may mean transparent members 820 and 830 and a display panel included in the transparent members 820 and 830.

다양한 실시예에 따르면, 디스플레이 모듈(814-1, 814-2)을 통해 출력되는 가상 객체는 외부 전자 장치(800)에서 실행되는 어플리케이션 프로그램과 관련된 정보 및/또는 사용자가 투명 부재(820, 830)를 통해 인지하는 실제 공간에 위치한 외부 객체와 관련된 정보를 포함할 수 있다. 외부 객체는 실제 공간에 존재하는 사물을 포함할 수 있다. 사용자가 투명 부재(820, 830)를 통해 인지하는 실제 공간을 이하에서는 사용자의 시야각(field of view; FoV) 영역으로 호칭하기로 한다. 예를 들어, 외부 전자 장치(800)는 외부 전자 장치(800)의 카메라 모듈(예: 촬영용 카메라 모듈(813))을 통해 획득한 실제 공간과 관련된 영상 정보에서 사용자의 시야각(FoV)으로 판단되는 영역의 적어도 일부에 포함된 외부 객체를 확인할 수 있다. 외부 전자 장치(800)는 확인한 외부 객체와 관련된 가상 객체를 디스플레이 모듈(814-1, 814-2)을 통해 출력할 수 있다. According to various embodiments, the virtual object output through the display modules 814-1 and 814-2 may contain information related to an application program running on the external electronic device 800 and/or display information related to the user's transparent members 820 and 830. It may contain information related to external objects located in the actual space perceived through . External objects may include objects that exist in real space. The actual space perceived by the user through the transparent members 820 and 830 will hereinafter be referred to as the user's field of view (FoV) area. For example, the external electronic device 800 determines the user's field of view (FoV) from image information related to the real space obtained through a camera module (e.g., a shooting camera module 813) of the external electronic device 800. External objects included in at least part of the area can be confirmed. The external electronic device 800 may output a virtual object related to the identified external object through the display modules 814-1 and 814-2.

다양한 실시예에 따르면, 외부 전자 장치(800)는 외부 전자 장치(800)의 촬영용 카메라 모듈(813)을 통해 획득한 실제 공간과 관련된 영상 정보에 기반하여 증강 현실 서비스와 관련된 가상 객체를 함께 표시할 수 있다. 일 실시예에 따르면, 외부 전자 장치(800)는 사용자의 양안에 대응하여 배치된 디스플레이 모듈(예: 좌안에 대응되는 제1 디스플레이 모듈(814-1), 및/또는 우안에 대응되는 제2 디스플레이 모듈(814-2))을 기반으로 가상 객체를 표시할 수 있다. 일 실시예에 따르면, 외부 전자 장치(800)는 미리 설정된 설정 정보(예: 해상도(resolution), 프레임 레이트(frame rate), 밝기, 및/또는 표시 영역)를 기반으로 가상 객체를 표시할 수 있다.According to various embodiments, the external electronic device 800 may display virtual objects related to the augmented reality service based on image information related to the real space acquired through the photography camera module 813 of the external electronic device 800. You can. According to one embodiment, the external electronic device 800 includes a display module disposed corresponding to both eyes of the user (e.g., a first display module 814-1 corresponding to the left eye, and/or a second display corresponding to the right eye). A virtual object can be displayed based on the module 814-2). According to one embodiment, the external electronic device 800 may display a virtual object based on preset setting information (e.g., resolution, frame rate, brightness, and/or display area). .

다양한 실시예에 따르면, 투명 부재(820, 830)는 집광 렌즈(미도시) 및/또는 도파관(예: 제1 도파관(820-1) 및/또는 제2 도파관(830-1))을 포함할 수 있다. 예를 들어, 제1 도파관(820-1)은 제1 투명 부재(820)에 부분적으로 위치할 수 있고, 제2 도파관(830-1)은 제2 투명 부재(830)에 부분적으로 위치할 수 있다. 디스플레이 모듈(814-1, 814-2)에서 방출된 광은 투명 부재(820, 830)의 일면으로 입사될 수 있다. 투명 부재(820, 830)의 일면으로 입사된 광은 투명 부재(820, 830) 내에 위치한 도파관(820-1, 830-1)을 통해 사용자에게 전달될 수 있다. 도파관(820-1, 830-1)은 글래스, 플라스틱, 또는 폴리머로 제작될 수 있고, 내부 또는 외부의 일표면에 형성된 나노 패턴을 포함할 수 있다. 예를 들어, 나노 패턴은 다각형 또는 곡면 형상의 격자 구조(grating structure)를 포함할 수 있다. 일 실시예에 따르면, 투명 부재(820, 830)의 일면으로 입사된 광은 나노 패턴에 의해 도파관(820-1, 830-1) 내부에서 전파 또는 반사되어 사용자에게 전달될 수 있다. 일 실시예에 따르면, 도파관(820-1, 830-1)은 적어도 하나의 회절 요소(예: DOE(diffractive optical element), HOE(holographic optical element)) 또는 반사 요소(예: 반사 거울) 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 도파관(820-1, 830-1)은 적어도 하나의 회절 요소 또는 반사 요소를 이용하여 디스플레이 모듈(814-1, 814-2)로부터 방출된 광을 사용자의 눈으로 유도할 수 있다.According to various embodiments, the transparent members 820, 830 may include a condenser lens (not shown) and/or a waveguide (e.g., a first waveguide 820-1 and/or a second waveguide 830-1). You can. For example, the first waveguide 820-1 may be partially located in the first transparent member 820, and the second waveguide 830-1 may be partially located in the second transparent member 830. there is. Light emitted from the display modules 814-1 and 814-2 may be incident on one surface of the transparent members 820 and 830. Light incident on one side of the transparent members 820 and 830 may be transmitted to the user through waveguides 820-1 and 830-1 located within the transparent members 820 and 830. The waveguides 820-1 and 830-1 may be made of glass, plastic, or polymer, and may include a nanopattern formed on one of the inner or outer surfaces. For example, the nanopattern may include a polygonal or curved lattice structure. According to one embodiment, light incident on one surface of the transparent members 820 and 830 may propagate or be reflected inside the waveguides 820-1 and 830-1 by nano-patterns and be transmitted to the user. According to one embodiment, the waveguides 820-1 and 830-1 include at least one diffractive element (e.g., a diffractive optical element (DOE), a holographic optical element (HOE)) or a reflective element (e.g., a reflective mirror). It can contain one. According to one embodiment, the waveguides 820-1 and 830-1 guide the light emitted from the display modules 814-1 and 814-2 to the user's eyes using at least one diffractive element or reflective element. You can.

다양한 실시예에 따르면, 외부 전자 장치(800)는 사용자의 시야각(FoV, field of view)에 대응되는 영상을 촬영하거나 및/또는 객체와의 거리를 측정하기 위한 촬영용 카메라 모듈(813)(예: RGB 카메라 모듈), 사용자가 바라보는 시선의 방향을 확인하기 위한 시선 추적 카메라 모듈(eye tracking camera module)(812-1, 812-2), 및/또는 일정 공간을 인식하기 위한 인식용 카메라 모듈(gesture camera module)(811-1, 811-2)을 포함할 수 있다. 예를 들어, 촬영용 카메라 모듈(813)은 외부 전자 장치(800)의 전면 방향을 촬영할 수 있고, 시선 추적 카메라 모듈(812-1, 812-2)은 상기 촬영용 카메라 모듈(813)의 촬영 방향과 반대되는 방향을 촬영할 수 있다. 예를 들어, 제1 시선 추적 카메라 모듈(812-1)은 사용자의 좌안을 부분적으로 촬영하고, 제2 시선 추적 카메라 모듈(812-2)은 사용자의 우안을 부분적으로 촬영할 수 있다. 일 실시예에 따르면, 촬영용 카메라 모듈(813)은 HR(high resolution) 카메라 모듈 및/또는 PV(photo video) 카메라 모듈과 같은 고해상도의 카메라 모듈을 포함할 수 있다. 일 실시예에 따르면, 시선 추적 카메라 모듈(812-1, 812-2)은 사용자의 눈동자를 검출하여, 시선 방향을 추적할 수 있다. 추적된 시선 방향은 가상 객체를 포함하는 가상 영상의 중심이 상기 시선 방향에 대응하여 이동되는데 활용될 수 있다. 일 실시예에 따르면, 인식용 카메라 모듈(811-1, 811-2)은 미리 설정된 거리 이내(예: 일정 공간)에서의 사용자 제스처 및/또는 일정 공간을 감지할 수 있다. 인식용 카메라 모듈(811-1, 811-2)은 GS(global shutter)를 포함하는 카메라 모듈을 포함할 수 있다. 예를 들어, 인식용 카메라 모듈(811-1, 811-2)은 빠른 손동작 및/또는 손가락과 같은 미세한 움직임을 검출 및 추적하기 위해, RS(rolling shutter) 현상이 감소될 수 있는 GS를 포함하는 카메라 모듈일 수 있다.According to various embodiments, the external electronic device 800 may include a camera module 813 for capturing an image corresponding to the user's field of view (FoV) and/or measuring the distance to an object (e.g. RGB camera module), an eye tracking camera module (812-1, 812-2) to check the direction of the user's gaze, and/or a recognition camera module (812-1, 812-2) to recognize a certain space ( gesture camera module) (811-1, 811-2). For example, the photographing camera module 813 may photograph the front direction of the external electronic device 800, and the eye-tracking camera modules 812-1 and 812-2 may photograph the photographing direction of the photographing camera module 813. You can shoot in the opposite direction. For example, the first eye tracking camera module 812-1 may partially photograph the user's left eye, and the second eye tracking camera module 812-2 may partially photograph the user's right eye. According to one embodiment, the photographing camera module 813 may include a high resolution camera module such as a high resolution (HR) camera module and/or a photo video (PV) camera module. According to one embodiment, the gaze tracking camera modules 812-1 and 812-2 may detect the user's pupils and track the gaze direction. The tracked gaze direction can be used to move the center of a virtual image including a virtual object in response to the gaze direction. According to one embodiment, the recognition camera modules 811-1 and 811-2 may detect a user gesture and/or a certain space within a preset distance (eg, a certain space). The recognition camera modules 811-1 and 811-2 may include a camera module including a global shutter (GS). For example, the recognition camera modules 811-1 and 811-2 include GS in which the rolling shutter (RS) phenomenon can be reduced in order to detect and track fast hand movements and/or fine movements such as fingers. It could be a camera module.

다양한 실시예에 따르면, 외부 전자 장치(800)는 적어도 하나의 카메라 모듈(811-1, 811-2, 812-1, 812-2, 813)을 사용하여, 좌안 및/또는 우안 중에서 주시안 및/또는 보조시안에 대응되는 눈을 감지할 수 있다. 예를 들어, 외부 전자 장치(800)는 외부 객체 또는 가상 객체에 대한 사용자의 시선 방향에 기반하여, 주시안 및/또는 보조시안에 대응되는 눈을 감지할 수 있다.According to various embodiments, the external electronic device 800 uses at least one camera module (811-1, 811-2, 812-1, 812-2, 813) to focus on the left eye and/or the right eye. /Or the eye corresponding to the secondary eye can be detected. For example, the external electronic device 800 may detect the eye corresponding to the primary eye and/or the secondary eye based on the user's gaze direction with respect to the external object or virtual object.

도 8에 도시된 외부 전자 장치(800)에 포함되는 적어도 하나의 카메라 모듈(예: 촬영용 카메라 모듈(813), 시선 추적 카메라 모듈(812-1, 812-2) 및/또는 인식용 카메라 모듈(811-1, 811-2))의 개수 및 위치는 한정되지 않을 수 있다. 예를 들어, 외부 전자 장치(800)의 형태(예: 모양 또는 크기)에 기반하여 적어도 하나의 카메라 모듈(예: 촬영용 카메라 모듈(813), 시선 추적 카메라 모듈(812-1, 812-2) 및/또는 인식용 카메라 모듈(811-1, 811-2))의 개수 및 위치는 다양하게 변경될 수 있다.At least one camera module included in the external electronic device 800 shown in FIG. 8 (e.g., a shooting camera module 813, an eye-tracking camera module 812-1, 812-2), and/or a recognition camera module ( The number and location of 811-1, 811-2)) may not be limited. For example, based on the form (e.g., shape or size) of the external electronic device 800, at least one camera module (e.g., a shooting camera module 813, an eye tracking camera module 812-1, 812-2) and/or the number and location of the recognition camera modules 811-1 and 811-2) may be changed in various ways.

다양한 실시예에 따르면, 외부 전자 장치(800)는 적어도 하나의 카메라 모듈(예: 촬영용 카메라 모듈(813), 시선 추적 카메라 모듈(812-1, 812-2), 및/또는 인식용 카메라 모듈(811-1, 811-2))의 정확도를 높이기 위한 적어도 하나의 발광 장치(illumination LED)(예: 제1 발광 장치(842-1), 제2 발광 장치(842-2))를 포함할 수 있다. 예를 들어, 제1 발광 장치(842-1)는 사용자의 좌안에 대응하는 부분에 배치될 수 있고, 제2 발광 장치(842-2)는 사용자의 우안에 대응하는 부분에 배치될 수 있다. 일 실시예에서, 발광 장치(842-1, 842-2)는 시선 추적 카메라 모듈(812-1, 812-2)로 사용자의 눈동자를 촬영할 때 정확도를 높이기 위한 보조 수단으로 사용될 수 있고, 적외선 파장의 광을 발생시키는 IR LED를 포함할 수 있다. 또한, 발광 장치(842-1, 842-2)는 인식용 카메라 모듈(811-1, 811-2)로 사용자의 제스처를 촬영할 때 어두운 환경이나 여러 광원의 혼입 및 반사 빛 때문에 촬영하고자 하는 피사체 검출이 용이하지 않을 때 보조 수단으로 사용될 수 있다.According to various embodiments, the external electronic device 800 includes at least one camera module (e.g., a photographing camera module 813, an eye-tracking camera module 812-1, 812-2, and/or a recognition camera module ( 811-1, 811-2)) may include at least one light emitting device (illumination LED) (e.g., a first light emitting device 842-1, a second light emitting device 842-2) to increase the accuracy of the device. there is. For example, the first light-emitting device 842-1 may be placed in a portion corresponding to the user's left eye, and the second light-emitting device 842-2 may be disposed in a portion corresponding to the user's right eye. In one embodiment, the light emitting devices 842-1 and 842-2 may be used as an auxiliary means to increase accuracy when photographing the user's eyes with the eye tracking camera modules 812-1 and 812-2, and may be used as an auxiliary means to increase accuracy when photographing the user's eyes with the eye tracking camera modules 812-1 and 812-2. It may include an IR LED that generates light. In addition, the light emitting devices 842-1 and 842-2 detect the subject to be photographed due to a dark environment or mixing and reflected light of various light sources when photographing the user's gesture with the recognition camera modules 811-1 and 811-2. It can be used as an auxiliary method when this is not easy.

다양한 실시예에 따르면, 외부 전자 장치(800)는 사용자의 음성 및 주변 소리를 수신하기 위한 마이크(예: 제1 마이크(841-1), 제2 마이크(841-2))를 포함할 수 있다. 예를 들어, 마이크(841-1, 841-2)는 도 1의 오디오 모듈(170)에 포함된 구성 요소일 수 있다.According to various embodiments, the external electronic device 800 may include a microphone (e.g., a first microphone 841-1, a second microphone 841-2) for receiving the user's voice and surrounding sounds. . For example, the microphones 841-1 and 841-2 may be components included in the audio module 170 of FIG. 1.

다양한 실시예에 따르면, 제 1 지지부(821) 및/또는 제 2 지지부(822)는 인쇄 회로 기판(PCB, printed circuit board)(예: 제1 인쇄 회로 기판(831-1), 제2 인쇄 회로 기판(831-2)), 스피커(speaker)(예: 제1 스피커(832-1), 제2 스피커(832-2)), 및/또는 배터리(예: 제1 배터리(833-1), 제2 배터리(833-2))를 포함할 수 있다. According to various embodiments, the first support portion 821 and/or the second support portion 822 is a printed circuit board (PCB) (e.g., a first printed circuit board 831-1, a second printed circuit board). Board 831-2), speakers (e.g., first speaker 832-1, second speaker 832-2), and/or batteries (e.g., first battery 833-1, It may include a second battery (833-2).

다양한 실시예에 따르면, 스피커(832-1, 832-2)는 사용자의 좌측 귀에 오디오 신호를 전달하기 위한 제 1 스피커(832-1) 및 사용자의 우측 귀에 오디오 신호를 전달하기 위한 제 2 스피커(832-2)를 포함할 수 있다. 스피커(832-1, 832-2)는 도 1의 오디오 모듈(170)에 포함된 구성 요소일 수 있다. According to various embodiments, the speakers 832-1 and 832-2 include a first speaker 832-1 for transmitting an audio signal to the user's left ear and a second speaker for transmitting an audio signal to the user's right ear ( 832-2) may be included. Speakers 832-1 and 832-2 may be components included in the audio module 170 of FIG. 1.

다양한 실시예에 따르면, 외부 전자 장치(800)는 복수 개의 배터리(833-1, 833-2)가 구비될 수 있고, 전력 관리 모듈(예: 도 1의 전력 관리 모듈(188))을 통해, 인쇄 회로 기판(831-1, 831-2)에 전력을 공급할 수 있다. 예를 들어, 복수 개의 배터리(833-1, 833-2)는 전력 관리 모듈(예: 도 1의 전력 관리 모듈(188))과 전기적으로 연결될 수 있다.According to various embodiments, the external electronic device 800 may be equipped with a plurality of batteries 833-1 and 833-2, and may be managed through a power management module (e.g., the power management module 188 of FIG. 1). Power can be supplied to the printed circuit boards 831-1 and 831-2. For example, the plurality of batteries 833-1 and 833-2 may be electrically connected to a power management module (eg, the power management module 188 of FIG. 1).

앞에서는, 외부 전자 장치(800)가 증강 현실을 표시하는 장치인 것으로 설명하였으나, 외부 전자 장치(800)는 가상 현실(virtual reality; VR)을 표시하는 장치일 수 있다. 이 경우, 사용자가 투명 부재(820, 830)를 통해 실제 공간을 인식할 수 없도록 투명 부재(820, 830)는 불투명한 소재로 형성될 수 있다. 또한, 투명 부재(820, 830)는 디스플레이 모듈(160)로써 기능할 수 있다. 예를 들어, 투명 부재(820, 830)는 정보를 표시하는 디스플레이 패널을 포함할 수 있다. Previously, the external electronic device 800 was described as a device that displays augmented reality, but the external electronic device 800 may be a device that displays virtual reality (VR). In this case, the transparent members 820 and 830 may be made of an opaque material so that the user cannot perceive the actual space through the transparent members 820 and 830. Additionally, the transparent members 820 and 830 may function as the display module 160. For example, the transparent members 820 and 830 may include a display panel that displays information.

다양한 실시예들에 따르면, 외부 전자 장치(800)는 적어도 하나의 센서(예: 착용 감지 센서, 모션 센서, 터치 센서, 미도시) 및 통신 모듈(미도시)을 포함할 수 있다. 일 실시예예 따르면, 적어도 하나의 센서는 외부 전자 장치(800)가 사용자의 신체에 착용여부 및 착용된 방향을 센싱할 수 있다. 예를 들어, 적어도 하나의 센서는 근접 센서 및 그립 센서 중 적어도 하나를 포함할 수 있다. 일 실시예예 따르면, 적어도 하나의 센서는 사용자의 움직임으로 인해 발생하는 방향 변화량을 감지할 수 있다. 예를 들어, 적어도 하나의 센서는 가속도 센서(예: 도 3의 가속도 센서(372)) 및 자이로 센서(예: 도 3의 자이로 센서(371))를 포함할 수 있다. 가속도 센서가 3축에 대한 가속도를 센싱하고, 자이로 센서가 3축을 기준으로 하는 각속도를 센싱할 수 있다. According to various embodiments, the external electronic device 800 may include at least one sensor (e.g., a wearing sensor, a motion sensor, a touch sensor, not shown) and a communication module (not shown). According to one embodiment, at least one sensor may sense whether the external electronic device 800 is worn on the user's body and the direction in which it is worn. For example, the at least one sensor may include at least one of a proximity sensor and a grip sensor. According to one embodiment, at least one sensor may detect the amount of direction change that occurs due to the user's movement. For example, the at least one sensor may include an acceleration sensor (eg, acceleration sensor 372 in FIG. 3) and a gyro sensor (eg, gyro sensor 371 in FIG. 3). The acceleration sensor can sense acceleration in three axes, and the gyro sensor can sense angular velocity based on three axes.

일 실시예예 따르면, 통신 모듈(미도시)(예: 도 3의 통신 모듈(390))은 무선으로 외부와 통신하는 모듈일 수 있다. 예를 들어, 통신 모듈은 UWB(ultra wide band) 모듈, BT(bluetooth) 네트워크, BLE(Bluetooth low energy) 네트워크, Wi-Fi(Wireless Fidelity) 네트워크, ANT+ 네트워크, LTE(long-term evolution) 네트워크, 5G(5th generation) 네트워크, 및 NB-IoT(narrowband internet of things) 네트워크 중 적어도 하나 또는 둘 이상의 조합을 통해 다른 기기 및/또는 AP(access point)와 통신을 수립할 수 있다. According to one embodiment, a communication module (not shown) (eg, communication module 390 in FIG. 3) may be a module that communicates wirelessly with the outside. For example, the communication module may include a UWB (ultra wide band) module, BT (bluetooth) network, BLE (Bluetooth low energy) network, Wi-Fi (Wireless Fidelity) network, ANT+ network, LTE (long-term evolution) network, Communication can be established with other devices and/or an access point (AP) through at least one or a combination of two or more of a 5th generation (5G) network and a narrowband internet of things (NB-IoT) network.

도 9는, 다양한 실시예들에 따른 외부 전자 장치(900)(예: 도 3의 외부 전자 장치(300))의 구성도를 도시한 도면이다.FIG. 9 is a diagram illustrating the configuration of an external electronic device 900 (eg, the external electronic device 300 of FIG. 3) according to various embodiments.

일 실시예에 따르면, 외부 전자 장치(900)(예를 들어, 헤드셋)은 마이크 또는 스피커를 포함할 수 있다. 예를 들어, 외부 전자 장치(900)는 스피커를 통하여 소리를 출력할 수 있다. According to one embodiment, the external electronic device 900 (eg, headset) may include a microphone or speaker. For example, the external electronic device 900 may output sound through a speaker.

일 실시예에 따르면, 외부 전자 장치(900)는 사용자 신체의 적어도 일부(예: 사용자의 왼쪽 귀 또는 사용자의 오른쪽 귀 근처)에 착용될 수 있다. 예를 들어, 외부 전자 장치(900)는 사용자의 신체에 적어도 일부에 착용되어 스피커를 통하여 사용자의 귀 인근에서 소리를 출력할 수 있다. According to one embodiment, the external electronic device 900 may be worn on at least a part of the user's body (eg, near the user's left ear or the user's right ear). For example, the external electronic device 900 may be worn on at least part of the user's body and output sound near the user's ears through a speaker.

일 실시예에 따르면, 외부 전자 장치(900)는 디지털 신호(예를 들어, 디지털 데이터)를 아날로그 신호(예를 들어, 소리)로 변환하여 출력할 수 있다. According to one embodiment, the external electronic device 900 may convert a digital signal (eg, digital data) into an analog signal (eg, sound) and output it.

일 실시예에 따르면, 외부 전자 장치(900)는 마이크를 통하여 전자 장치 외부의 소리를 수신하고, 수신한 소리에 대한 데이터를 생성 또는 저장할 수 있다. 예를 들어, 외부 전자 장치(900)는 수신한 소리를 전기적인 데이터로 생성 또는 변환할 수 있다. 예를 들어, 외부 전자 장치(900)는 아날로그 신호를 디지털 신호로 변환할 수 있다. 예를 들어, 외부 전자 장치(900)는 소리에 대한 데이터를 적어도 임시로 저장할 수 있다. According to one embodiment, the external electronic device 900 may receive sound from outside the electronic device through a microphone and generate or store data about the received sound. For example, the external electronic device 900 may generate or convert received sound into electrical data. For example, the external electronic device 900 may convert an analog signal into a digital signal. For example, the external electronic device 900 may at least temporarily store data about sound.

다양한 실시예들에 따르면, 외부 전자 장치(900)는 사용자의 사용 목적에 따라 다양한 형태를 가질 수 있으며, 다양한 기능을 제공할 수 있다. 외부 전자 장치(900), 예를 들어, 헤드셋(headset), 헤드폰(headphone), 이어피스(earpiece), 보청기(hearing aids) 또는 소리 증폭기들(personal sound amplification products)를 포함할 수 있다.According to various embodiments, the external electronic device 900 may have various forms and provide various functions depending on the user's purpose of use. External electronic devices 900 may include, for example, a headset, headphones, earpieces, hearing aids, or personal sound amplification products.

일 실시예에 따르면, 외부 전자 장치(900)는 제 1 유닛(901) 및 제 2 유닛(902)을 포함할 수 있다. 예를 들어, 제 1 유닛(901)은 사용자의 우측 귀 인근에 착용될 수 있고, 제 2 유닛(902)은 사용자의 좌측 귀 인근에 착용될 수 있다.According to one embodiment, the external electronic device 900 may include a first unit 901 and a second unit 902. For example, the first unit 901 may be worn near the user's right ear, and the second unit 902 may be worn near the user's left ear.

다양한 실시예들에 따르면, 외부 전자 장치(900)는 적어도 하나의 센서(예: 착용 감지 센서, 모션 센서, 터치 센서, 미도시) 및 통신 모듈(미도시)을 포함할 수 있다. 일 실시예에 따르면, 적어도 하나의 센서는 외부 전자 장치(900)가 사용자의 신체에 착용여부 및 착용된 방향을 센싱할 수 있다. 예를 들어, 적어도 하나의 센서는 근접 센서 및 그립 센서 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 적어도 하나의 센서는 사용자의 움직임으로 인해 발생하는 방향 변화량을 감지할 수 있다. 예를 들어, 적어도 하나의 센서는 가속도 센서(예: 도 3의 가속도 센서(372)) 및 자이로 센서(예: 도 3의 자이로 센서(371))를 포함할 수 있다. 가속도 센서가 3축에 대한 가속도를 센싱하고, 자이로 센서가 3축을 기준으로 하는 각속도를 센싱할 수 있다. According to various embodiments, the external electronic device 900 may include at least one sensor (e.g., a wearing sensor, a motion sensor, a touch sensor, not shown) and a communication module (not shown). According to one embodiment, at least one sensor may sense whether the external electronic device 900 is worn on the user's body and the direction in which it is worn. For example, the at least one sensor may include at least one of a proximity sensor and a grip sensor. According to one embodiment, at least one sensor may detect the amount of direction change that occurs due to the user's movement. For example, the at least one sensor may include an acceleration sensor (eg, acceleration sensor 372 in FIG. 3) and a gyro sensor (eg, gyro sensor 371 in FIG. 3). The acceleration sensor can sense acceleration in three axes, and the gyro sensor can sense angular velocity based on three axes.

일 실시예에 따르면, 통신 모듈(미도시)(예: 도 3의 통신 모듈(390))은 무선으로 외부와 통신하는 모듈일 수 있다. 예를 들어, 통신 모듈은 UWB(ultra wide band) 모듈, BT(bluetooth) 네트워크, BLE(Bluetooth low energy) 네트워크, Wi-Fi(Wireless Fidelity) 네트워크, ANT+ 네트워크, LTE(long-term evolution) 네트워크, 5G(5th generation) 네트워크, 및 NB-IoT(narrowband internet of things) 네트워크 중 적어도 하나 또는 둘 이상의 조합을 통해 다른 기기 및/또는 AP(access point)와 통신을 수립할 수 있다. UWB 모듈은 외부 전자 장치(900)의 제1 유닛(901) 및 제2 유닛(902)에 각각 위치할 수 있다.According to one embodiment, a communication module (not shown) (eg, communication module 390 in FIG. 3) may be a module that communicates wirelessly with the outside. For example, the communication module may include a UWB (ultra wide band) module, BT (bluetooth) network, BLE (Bluetooth low energy) network, Wi-Fi (Wireless Fidelity) network, ANT+ network, LTE (long-term evolution) network, Communication can be established with other devices and/or an access point (AP) through at least one or a combination of two or more of a 5th generation (5G) network and a narrowband internet of things (NB-IoT) network. The UWB module may be located in the first unit 901 and the second unit 902 of the external electronic device 900, respectively.

다양한 실시예에 따른 전자 장치는, 디스플레이, 자이로 센서, 가속도 센서, 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는 화면 자동 회전 기능 활성화 여부를 확인하고, 상기 통신 모듈을 통하여 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하고, 상기 자이로 센서 및 상기 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하고, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하고, 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정할 수 있다.An electronic device according to various embodiments includes a display, a gyro sensor, an acceleration sensor, a communication module, and a processor, where the processor determines whether a screen auto-rotation function is activated and sends the external electronic device to the external electronic device through the communication module. Request and obtain orientation data of the external electronic device related to the degree of rotation of the electronic device about the designated axis, and related to the degree of rotation of the electronic device about the designated axis based on values measured by the gyro sensor and the acceleration sensor. Check the direction of the electronic device, determine the user's posture based on the direction data of the electronic device and the direction data of the external electronic device, and determine the screen direction to be displayed on the display of the electronic device based on the user's posture. You can decide the mode.

다양한 실시예에 따른 전자 장치에서, 상기 외부 전자 장치의 방향 데이터는 상기 외부 전자 장치에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 반하여 상기 외부 전자 장치의 프로세서가 결정한 데이터일 수 있다.In electronic devices according to various embodiments, direction data of the external electronic device may be data determined by a processor of the external electronic device based on values measured by a gyro sensor and an acceleration sensor included in the external electronic device.

다양한 실시예에 따른 전자 장치에서, 상기 외부 전자 장치는 제 1 유닛 및 제 2 유닛으로 구성되고, 상기 외부 전자 장치의 방향 데이터는 상기 제 1 유닛에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 제 1 유닛의 장치의 프로세서가 결정한 데이터이고, 상기 프로세서는 상기 제 1 유닛에 포함된 통신 모듈을 통하여 상기 외부 전자 장치의 방향 데이터를 획득할 수 있다.In an electronic device according to various embodiments, the external electronic device is comprised of a first unit and a second unit, and direction data of the external electronic device is based on values measured by a gyro sensor and an acceleration sensor included in the first unit. Based on this, the data is determined by the processor of the device of the first unit, and the processor can obtain direction data of the external electronic device through the communication module included in the first unit.

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 전자 장치에 상기 화면 자동 회전 기능이 활성화된 때부터 상기 화면 자동 회전 기능이 비활성화될 때까지 지정된 시점에 상기 외부 전자 장치의 방향 데이터를 송신할 것을 상기 외부 전자 장치에 요청할 수 있다.In an electronic device according to various embodiments, the processor instructs the electronic device to transmit orientation data of the external electronic device at a specified time from when the screen auto-rotation function is activated until the screen auto-rotation function is deactivated. A request can be made to the external electronic device.

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 지구 좌표계 기준으로 하는 상기 외부 전자 장치의 방향 데이터에 기반하여, 사용자의 시선 벡터를 결정할 수 있다.In an electronic device according to various embodiments, the processor may determine the user's gaze vector based on direction data of the external electronic device based on the Earth coordinate system.

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 사용자의 시선 벡터에 기반한 시선 벡터의 FOV(field of view)와 상기 전자 장치의 방향 데이터에 기반한 전자 장치의 FOV가 일치하는 영역의 범위에 기반하여, 상기 사용자의 자세를 결정할 수 있다.In an electronic device according to various embodiments, the processor may determine a field of view (FOV) of the gaze vector based on the user's gaze vector and the FOV of the electronic device based on direction data of the electronic device based on the range of the area where the field of view (FOV) of the gaze vector based on the user's gaze vector matches. , the posture of the user can be determined.

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역이 제 1 범위임에 대응하여, 상기 사용자의 자세를 제 1 자세로 결정하고, 상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역이 제 2 범위임에 대응하여, 상기 사용자의 자세를 제 2 자세로 결정할 수 있다.In an electronic device according to various embodiments, the processor determines the posture of the user as a first posture in response to the fact that an area where the FOV of the gaze vector matches the FOV of the electronic device is a first range, and the gaze In response to the fact that the area where the FOV of the vector matches the FOV of the electronic device is the second range, the posture of the user may be determined as the second posture.

다양한 실시예에 따른 전자 장치에서, 상기 시선 벡터및 상기 전자 장치의 방향 데이터는 상기 전자 장치의 좌표계의 축을 기반으로 회전된 정도를 지시하는 오일러 각도 형식일 수 있다.In an electronic device according to various embodiments, the gaze vector and direction data of the electronic device may be in an Euler angle format indicating a degree of rotation based on the axis of the coordinate system of the electronic device.

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 사용자의 자세가 제 1 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 세로 모드로 결정하고, 상기 사용자의 자세가 제 2 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 가로 모드로 결정할 수 있다.In electronic devices according to various embodiments, the processor In response to the user's posture being determined as the first posture, the screen orientation mode may be determined to be portrait mode, and in response to the user's posture being determined as the second posture, the screen orientation mode may be determined to be landscape mode. .

다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 화면 방향 모드를 결정한 이후, 상기 전자 장치의 방향이 변경되지 않고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 변경하지 않고, 상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경되지에 않음에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하고, 상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경할 수 있다.In an electronic device according to various embodiments, after determining the screen orientation mode, the processor does not change the direction of the electronic device and does not change the screen orientation mode in response to a change in the gaze vector, and the electronic device In response to the direction of the device changing and the gaze vector not changing, the screen orientation mode is changed based on the user's posture, and in response to the direction of the electronic device changing and the gaze vector changing. Thus, the screen orientation mode can be changed based on the user's posture.

다양한 실시예에 따른 전자 장치의 동작 방법은, 화면 자동 회전 기능 활성화 여부를 확인하는 동작, 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하는 동작, 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하는 동작, 상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하는 동작, 및 상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments includes the operation of checking whether the screen automatic rotation function is activated, requesting direction data of the external electronic device related to the degree of rotation of the external electronic device about a specified axis, and An operation of obtaining, an operation of confirming the direction of the electronic device related to the degree of rotation of the electronic device about a specified axis based on values measured by the gyro sensor and the acceleration sensor, the direction data of the electronic device and the direction of the external electronic device. It may include determining a user's posture based on orientation data, and determining a screen orientation mode to be displayed on the display of the electronic device based on the user's posture.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 외부 전자 장치의 방향 데이터는 상기 외부 전자 장치에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 외부 전자 장치의 프로세서가 결정한 데이터일 수 있다.In a method of operating an electronic device according to various embodiments, the direction data of the external electronic device may be data determined by a processor of the external electronic device based on values measured by a gyro sensor and an acceleration sensor included in the external electronic device. there is.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 외부 전자 장치는 제 1 유닛 및 제 2 유닛으로 구성되고, 상기 외부 전자 장치의 방향 데이터는 상기 제 1 유닛에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 제 1 유닛의 장치의 프로세서가 결정한 데이터이고, 상기 동작 방법은 상기 제 1 유닛에 포함된 통신 모듈을 통하여 상기 외부 전자 장치의 방향 데이터를 획득하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, the external electronic device is composed of a first unit and a second unit, and direction data of the external electronic device is measured by a gyro sensor and an acceleration sensor included in the first unit. It is data determined by the processor of the device of the first unit based on one value, and the operating method may include acquiring direction data of the external electronic device through a communication module included in the first unit.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 전자 장치에 상기 화면 자동 회전 기능이 활성화된 때부터 상기 화면 자동 회전 기능이 비활성화될 때까지 지정된 시점에 상기 외부 전자 장치의 방향 데이터를 송신할 것을 상기 외부 전자 장치에 요청하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, the electronic device is instructed to transmit orientation data of the external electronic device at a specified time from when the screen auto-rotation function is activated until the screen auto-rotation function is deactivated. It may include an operation of requesting the external electronic device.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 지구 좌표계 기준으로 하는 상기 외부 전자 장치의 방향 데이터에 기반하여 시선 벡터를 결정하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments may include determining a gaze vector based on direction data of the external electronic device based on the Earth coordinate system.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 사용자의 시선 벡터에 기반한 시선 벡터의 FOV와 상기 전자 장치의 방향 데이터에 기반한 전자 장치의 FOV가 일치하는 영역의 범위에 기반하여, 상기 사용자의 자세를 결정하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, the user's posture is based on a range of an area where the FOV of the gaze vector based on the user's gaze vector and the FOV of the electronic device based on direction data of the electronic device match, It may include an operation to determine .

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역의 범위가 제 1 범위임에 대응하여, 상기 사용자의 자세를 제 1 자세로 결정하는 동작, 및 상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역의 범위가 제 2 범위임에 대응하여, 상기 사용자의 자세를 제 2 자세로 결정하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, determining the posture of the user as a first posture in response to the fact that the range of the area where the FOV of the gaze vector matches the FOV of the electronic device is a first range , and determining the posture of the user as a second posture in response to the fact that the range of the area where the FOV of the gaze vector matches the FOV of the electronic device is a second range.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 시선 벡터 및 상기 전자 장치의 방향 데이터는 상기 전자 장치의 좌표계의 축을 기반으로 회전된 정도를 지시하는 오일러 각도 형식일 수 있다.In a method of operating an electronic device according to various embodiments, the gaze vector and direction data of the electronic device may be in an Euler angle format indicating a degree of rotation based on the axis of the coordinate system of the electronic device.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 사용자의 자세가 제 1 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 세로 모드로 결정하는 동작, 및 상기 사용자의 자세가 제 2 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 가로 모드로 결정하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, in response to the user's posture being determined as a first posture, determining the screen orientation mode as a portrait mode, and determining the user's posture as a second posture, Correspondingly, the operation of determining the screen orientation mode as landscape mode may be included.

다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 화면 방향 모드를 결정한 동작 이후, 상기 전자 장치의 방향이 변경되지 않고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 변경하지 않는 동작, 상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경되지 않음에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하는 동작, 및 상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments, an operation of not changing the screen orientation mode in response to a change in the gaze vector and not changing the direction of the electronic device after determining the screen orientation mode; An operation of changing the screen orientation mode based on the user's posture in response to the direction of the electronic device being changed and the gaze vector not changing, and the direction of the electronic device being changed and the gaze vector being unchanged. In response to the change, an operation of changing the screen orientation mode based on the user's posture may be included.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are 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 the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), 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 logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(#01)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(#36) 또는 외장 메모리(#38))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(#40))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(#01))의 프로세서(예: 프로세서(#20))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document are stored in a storage medium (e.g., internal memory (#36) or external memory (#38)) that can be read by a machine (e.g., electronic device (#01)). It may be implemented as software (e.g., program (#40)) containing one or more instructions. For example, a processor (e.g., processor #20) of a device (e.g., electronic device #01) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
디스플레이;
자이로 센서; 가속도 센서;
통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는
화면 자동 회전 기능 활성화 여부를 확인하고,
상기 통신 모듈을 통하여 외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하고,
상기 자이로 센서 및 상기 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하고,
상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하고,
상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정하는
전자 장치.
In electronic devices,
display;
Gyro sensor; acceleration sensor;
communication module; and
Includes a processor,
The processor is
Check whether the screen auto-rotation function is activated,
Requesting and obtaining direction data of the external electronic device related to the degree of rotation of the external electronic device about a specified axis from the external electronic device through the communication module,
Confirm the orientation of the electronic device in relation to the degree of rotation of the electronic device about a specified axis based on values measured by the gyro sensor and the acceleration sensor,
Determine the user's posture based on the direction data of the electronic device and the direction data of the external electronic device,
Determining a screen orientation mode to be displayed on the display of the electronic device based on the user's posture
Electronic devices.
제 1 항에 있어서,
상기 외부 전자 장치의 방향 데이터는
상기 외부 전자 장치에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 외부 전자 장치의 프로세서가 결정한 데이터인
전자 장치.
According to claim 1,
The direction data of the external electronic device is
Data determined by the processor of the external electronic device based on values measured by the gyro sensor and acceleration sensor included in the external electronic device
Electronic devices.
제 2 항에 있어서,
상기 외부 전자 장치는
제 1 유닛 및 제 2 유닛으로 구성되고,
상기 외부 전자 장치의 방향 데이터는
상기 제 1 유닛에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 제 1 유닛의 장치의 프로세서가 결정한 데이터이고,
상기 프로세서는
상기 제 1 유닛에 포함된 통신 모듈을 통하여 상기 외부 전자 장치의 방향 데이터를 획득하는
전자 장치.
According to claim 2,
The external electronic device is
Consisting of a first unit and a second unit,
The direction data of the external electronic device is
Data determined by the processor of the device of the first unit based on values measured by the gyro sensor and acceleration sensor included in the first unit,
The processor is
Obtaining direction data of the external electronic device through a communication module included in the first unit.
Electronic devices.
제 1 항에 있어서,
상기 프로세서는
상기 전자 장치에 상기 화면 자동 회전 기능이 활성화된 때부터 상기 화면 자동 회전 기능이 비활성화될 때까지
지정된 시점에 상기 외부 전자 장치의 방향 데이터를 송신할 것을 상기 외부 전자 장치에 요청하는
전자 장치.
According to claim 1,
The processor is
From the time the screen auto-rotation feature is activated on the electronic device until the screen auto-rotation feature is deactivated
Requesting the external electronic device to transmit direction data of the external electronic device at a specified time
Electronic devices.
제 2 항에 있어서,
상기 프로세서는
지구 좌표계 기준으로 하는 상기 외부 전자 장치의 방향 데이터에 기반하여, 사용자의 시선 벡터를 결정하는
전자 장치.
According to claim 2,
The processor is
Based on the direction data of the external electronic device based on the Earth coordinate system, determining the user's gaze vector
Electronic devices.
제 5 항에 있어서,
상기 프로세서는
상기 사용자의 시선 벡터에 기반한 시선 벡터의 FOV(field of view)와 상기 전자 장치의 방향 데이터에 기반한 전자 장치의 FOV가 일치하는 영역의 범위에 기반하여, 상기 사용자의 자세를 결정하는
전자 장치.
According to claim 5,
The processor is
Determining the posture of the user based on the range of the area where the field of view (FOV) of the gaze vector based on the user's gaze vector and the FOV of the electronic device based on the direction data of the electronic device match.
Electronic devices.
제 6 항에 있어서,
상기 프로세서는
상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역이 제 1 범위임에 대응하여, 상기 사용자의 자세를 제 1 자세로 결정하고,
상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역이 제 2 범위임에 대응하여, 상기 사용자의 자세를 제 2 자세로 결정하는
전자 장치.
According to claim 6,
The processor is
In response to the fact that the area where the FOV of the gaze vector matches the FOV of the electronic device is a first range, determining the posture of the user as a first posture,
In response to the fact that the area where the FOV of the gaze vector matches the FOV of the electronic device is a second range, determining the posture of the user as a second posture
Electronic devices.
제 7 항에 있어서,
상기 시선 벡터및 상기 전자 장치의 방향 데이터는 상기 전자 장치의 좌표계의 축을 기반으로 회전된 정도를 지시하는 오일러 각도 형식인
전자 장치.
According to claim 7,
The gaze vector and the direction data of the electronic device are in Euler angle format indicating the degree of rotation based on the axis of the coordinate system of the electronic device.
Electronic devices.
제 7 항에 있어서,
상기 프로세서는
상기 사용자의 자세가 제 1 자세로 결정됨에 대응하여,
상기 화면 방향 모드를 세로 모드로 결정하고,
상기 사용자의 자세가 제 2 자세로 결정됨에 대응하여,
상기 화면 방향 모드를 가로 모드로 결정하는
전자 장치.
According to claim 7,
The processor is
In response to the user's posture being determined as the first posture,
Determine the screen orientation mode as portrait mode,
In response to the user's posture being determined as the second posture,
Determining the screen orientation mode to landscape mode
Electronic devices.
제 9 항에 있어서,
상기 프로세서는
상기 화면 방향 모드를 결정한 이후,
상기 전자 장치의 방향이 변경되지 않고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 변경하지 않고,
상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경되지 않음에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하고,
상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하는
전자 장치.
According to clause 9,
The processor is
After determining the screen orientation mode,
Without changing the direction of the electronic device and without changing the screen orientation mode in response to the change in the gaze vector,
In response to the direction of the electronic device changing and the gaze vector not changing, changing the screen orientation mode based on the user's posture,
In response to a change in the direction of the electronic device and a change in the gaze vector, changing the screen orientation mode based on the user's posture.
Electronic devices.
전자 장치의 동작 방법에 있어서,
화면 자동 회전 기능 활성화 여부를 확인하는 동작;
외부 전자 장치에 상기 외부 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 외부 전자 장치의 방향 데이터를 요청하여 획득하는 동작;
자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 전자 장치의 지정된 축에 대한 회전 정도와 관련된 상기 전자 장치의 방향을 확인하는 동작;
상기 전자 장치의 방향 데이터 및 상기 외부 전자 장치의 방향 데이터에 기반하여 사용자의 자세를 결정하는 동작; 및
상기 사용자의 자세에 기반하여 상기 전자 장치의 디스플레이에 표시할 화면 방향 모드를 결정하는 동작을 포함하는
전자 장치의 동작 방법.
In a method of operating an electronic device,
Action to check whether the screen auto-rotation function is activated;
An operation of requesting and obtaining, from an external electronic device, direction data of the external electronic device related to a degree of rotation of the external electronic device about a specified axis;
An operation of confirming the direction of the electronic device in relation to the degree of rotation of the electronic device about a specified axis based on values measured by the gyro sensor and the acceleration sensor;
determining a user's posture based on direction data of the electronic device and direction data of the external electronic device; and
An operation of determining a screen orientation mode to be displayed on the display of the electronic device based on the user's posture.
How electronic devices work.
제 11 항에 있어서,
상기 외부 전자 장치의 방향 데이터는
상기 외부 전자 장치에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 외부 전자 장치의 프로세서가 결정한 데이터인
전자 장치의 동작 방법.
According to claim 11,
The direction data of the external electronic device is
Data determined by the processor of the external electronic device based on values measured by the gyro sensor and acceleration sensor included in the external electronic device
How electronic devices work.
제 12 항에 있어서,
상기 외부 전자 장치는
제 1 유닛 및 제 2 유닛으로 구성되고,
상기 외부 전자 장치의 방향 데이터는
상기 제 1 유닛에 포함된 자이로 센서 및 가속도 센서가 측정한 값에 기반하여 상기 제 1 유닛의 장치의 프로세서가 결정한 데이터이고,
상기 동작 방법은
상기 제 1 유닛에 포함된 통신 모듈을 통하여 상기 외부 전자 장치의 방향 데이터를 획득하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 12,
The external electronic device is
Consisting of a first unit and a second unit,
The direction data of the external electronic device is
Data determined by the processor of the device of the first unit based on values measured by the gyro sensor and acceleration sensor included in the first unit,
The operation method is
Comprising an operation of acquiring direction data of the external electronic device through a communication module included in the first unit.
How electronic devices work.
제 11 항에 있어서,
상기 전자 장치에 상기 화면 자동 회전 기능이 활성화된 때부터 상기 화면 자동 회전 기능이 비활성화될 때까지
지정된 시점에 상기 외부 전자 장치의 방향 데이터를 송신할 것을 상기 외부 전자 장치에 요청하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 11,
From the time the screen auto-rotation feature is activated on the electronic device until the screen auto-rotation feature is deactivated
Including an operation of requesting the external electronic device to transmit direction data of the external electronic device at a designated point in time.
How electronic devices work.
제 12 항에 있어서,
지구 좌표계 기준으로 하는 상기 외부 전자 장치의 방향 데이터에 기반하여 시선 벡터를 결정하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 12,
Including an operation of determining a gaze vector based on direction data of the external electronic device based on the Earth coordinate system.
How electronic devices work.
제 15 항에 있어서,
상기 사용자의 시선 벡터에 기반한 시선 벡터의 FOV와 상기 전자 장치의 방향 데이터에 기반한 전자 장치의 FOV가 일치하는 영역의 범위에 기반하여, 상기 사용자의 자세를 결정하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 15,
An operation of determining the user's posture based on a range of areas where the FOV of the gaze vector based on the user's gaze vector and the FOV of the electronic device based on direction data of the electronic device match.
How electronic devices work.
제 16 항에 있어서,
상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역의 범위가 제 1 범위임에 대응하여, 상기 사용자의 자세를 제 1 자세로 결정하는 동작; 및
상기 시선 벡터의 FOV와 상기 전자 장치의 FOV가 일치하는 영역의 범위가 제 2 범위임에 대응하여, 상기 사용자의 자세를 제 2 자세로 결정하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 16,
determining the posture of the user as a first posture in response to the fact that the range of the area where the FOV of the gaze vector matches the FOV of the electronic device is a first range; and
In response to the fact that the range of the area where the FOV of the gaze vector matches the FOV of the electronic device is a second range, an operation of determining the posture of the user as a second posture is included.
How electronic devices work.
제 17 항에 있어서,
상기 시선 벡터 및 상기 전자 장치의 방향 데이터는 상기 전자 장치의 좌표계의 축을 기반으로 회전된 정도를 지시하는 오일러 각도 형식인
전자 장치의 동작 방법.
According to claim 17,
The gaze vector and the direction data of the electronic device are in Euler angle format indicating the degree of rotation based on the axis of the coordinate system of the electronic device.
How electronic devices work.
제 17 항에 있어서,
상기 사용자의 자세가 제 1 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 세로 모드로 결정하는 동작; 및
상기 사용자의 자세가 제 2 자세로 결정됨에 대응하여, 상기 화면 방향 모드를 가로 모드로 결정하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 17,
In response to the user's posture being determined as a first posture, determining the screen orientation mode to be a portrait mode; and
In response to the user's posture being determined as the second posture, comprising determining the screen orientation mode to be landscape mode.
How electronic devices work.
제 19 항에 있어서,
상기 화면 방향 모드를 결정한 동작 이후,
상기 전자 장치의 방향이 변경되지 않고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 변경하지 않는 동작;
상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경되지 않음에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하는 동작; 및
상기 전자 장치의 방향이 변경되고, 상기 시선 벡터가 변경됨에 대응하여, 상기 화면 방향 모드를 상기 사용자의 자세에 기반하여 변경하는 동작을 포함하는
전자 장치의 동작 방법.
According to claim 19,
After determining the screen orientation mode,
An operation of not changing the screen orientation mode in response to a change in the gaze vector without changing the direction of the electronic device;
Changing the screen orientation mode based on the user's posture in response to the direction of the electronic device changing and the gaze vector remaining unchanged; and
In response to a change in the direction of the electronic device and a change in the gaze vector, an operation of changing the screen orientation mode based on the user's posture.
How electronic devices work.
KR1020220086518A 2022-05-24 2022-07-13 Electronic device and operation method of electronic device determining display mode of electronic device KR20230163903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2023/004306 WO2023229199A1 (en) 2022-05-24 2023-03-30 Operating method for determining screen display mode of electronic device, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220063657 2022-05-24
KR1020220063657 2022-05-24

Publications (1)

Publication Number Publication Date
KR20230163903A true KR20230163903A (en) 2023-12-01

Family

ID=89124505

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220086518A KR20230163903A (en) 2022-05-24 2022-07-13 Electronic device and operation method of electronic device determining display mode of electronic device

Country Status (1)

Country Link
KR (1) KR20230163903A (en)

Similar Documents

Publication Publication Date Title
US20230204965A1 (en) Wearable electronic device comprising speaker module
KR20220096144A (en) electronic device including heat radiating structure
US11928257B2 (en) Method and electronic device for tracking eye
US20230199328A1 (en) Method of removing interference and electronic device performing the method
US20220210905A1 (en) Electronic device including heat dissipation structure
US11893698B2 (en) Electronic device, AR device and method for controlling data transfer interval thereof
KR20230023304A (en) Method and electronic system for outputting video data and audio data
KR20230163903A (en) Electronic device and operation method of electronic device determining display mode of electronic device
US20240073508A1 (en) Wearable electronic device for controlling camera module and method for operating thereof
US20240096254A1 (en) Wearable device for adjusting size of effective display area according to external illuminance and control method thereof
US11762486B2 (en) Electronic device for performing plurality of functions using stylus pen and method for operating same
US11789526B2 (en) Method and electronic system for outputting video data and audio data
US20240103289A1 (en) Wearable electronic device and method for controlling power path thereof
US20230018784A1 (en) Electronic device and operation method of electronic device for controlling external electronic device
US11822074B2 (en) Wearable electronic device implementing distributed system for processing contents and vision
US20240078069A1 (en) Electronic device and method for controlling display of at least one external object among one or more external objects
US20240160024A1 (en) Wearable device for adjusting light transmittance according to illuminance of external light source, and method for controlling same
US20240054740A1 (en) Augmented reality device and electronic device interacting with augmented reality device
US20230099603A1 (en) Electronic device for providing augmented reality service and operating method thereof
KR20240020960A (en) Electronic device of identifying line of sight direction and method for operating thereof
KR20240071242A (en) Method for controlling audio setting and wearable electronic device for supporting the same
KR20240029489A (en) Method of controlling display module and electronic device performing the method
KR20240029944A (en) An electronic device for calibrating a virtual object using depth information on a real object, and a method for controlling the same
KR20240043631A (en) Electronic device including battery device with separation membrane
KR20240028262A (en) Wearable electronic device for controlling camera module and method for operating thereof