KR20240037788A - Electronic device and method for informing posture correction in the electronic device - Google Patents

Electronic device and method for informing posture correction in the electronic device Download PDF

Info

Publication number
KR20240037788A
KR20240037788A KR1020220125005A KR20220125005A KR20240037788A KR 20240037788 A KR20240037788 A KR 20240037788A KR 1020220125005 A KR1020220125005 A KR 1020220125005A KR 20220125005 A KR20220125005 A KR 20220125005A KR 20240037788 A KR20240037788 A KR 20240037788A
Authority
KR
South Korea
Prior art keywords
angle
electronic device
posture correction
difference
camera
Prior art date
Application number
KR1020220125005A
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 삼성전자주식회사
Publication of KR20240037788A publication Critical patent/KR20240037788A/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1116Determining posture transitions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • 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)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Dentistry (AREA)
  • Business, Economics & Management (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Geometry (AREA)
  • Physiology (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

일 실시 예에 따른 전자 장치는, 센서 모듈, 카메라, 디스플레이, 및 프로세서를 포함할 수 있다.
일 실시 예에 따른 상기 프로세서는, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인할 수 있.
일 실시 예에 따른 상기 프로세서는, 상기 카메라를 통해 획득한 얼굴의 피치 각도를 확인할 수 있다.
일 실시 예에 따른 상기 프로세서는, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다.
An electronic device according to an embodiment may include a sensor module, a camera, a display, and a processor.
The processor according to one embodiment may check the angle of the electronic device obtained through the sensor module.
The processor according to one embodiment may check the pitch angle of the face obtained through the camera.
If the processor according to an embodiment determines that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle and that the difference between the pitch angle of the face and the second reference angle is less than or equal to the second angle, You can control the display to output a message notifying you of posture correction.

Description

전자 장치 및 상기 전자 장치에서 자세 교정을 알리는 방법 {ELECTRONIC DEVICE AND METHOD FOR INFORMING POSTURE CORRECTION IN THE ELECTRONIC DEVICE}Electronic device and method for informing posture correction in the electronic device {ELECTRONIC DEVICE AND METHOD FOR INFORMING POSTURE CORRECTION IN THE ELECTRONIC DEVICE}

본 개시는 전자 장치를 사용하고 있는 사용자의 자세를 검출할 수 있는 전자 장치 및 상기 전자 장치에서 자세 교정을 알리는 방법에 관한 것이다.The present disclosure relates to an electronic device capable of detecting the posture of a user using the electronic device and a method for notifying posture correction in the electronic device.

최근 컴퓨터, 스마트폰, 스마트 TV와 같은 다양한 전자 장치의의 사용이 일상화됨에 따라 거북목 증후군과 같은 신종 질병을 호소하는 사용자가 급속히 증가하는 추세이다.Recently, as the use of various electronic devices such as computers, smartphones, and smart TVs has become routine, the number of users complaining of new diseases such as turtle neck syndrome is rapidly increasing.

상기 거북목 증후군은, 전자 장치를 사용할 때, 사용자가 목을 비정상적으로 앞으로 뺀 자세로 인해 목에 과도한 하중이 실리는 것으로써, 근막통증, 두통, 수면 장애, 호흡 장애뿐만 아니라 목 디스크의 원인이될 수 있다.The turtle neck syndrome is when excessive load is placed on the neck due to the user's abnormally forward neck posture when using an electronic device, causing not only myofascial pain, headaches, sleep disorders, and breathing disorders, but also cervical disc herniation. It can be.

일 실시 예에 따른 전자 장치는, 센서 모듈, 카메라, 디스플레이, 및 프로세서를 포함할 수 있다.An electronic device according to an embodiment may include a sensor module, a camera, a display, and a processor.

일 실시 예에 따른 상기 프로세서는, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인할 수 있다.The processor according to one embodiment may check the angle of the electronic device obtained through the sensor module.

일 실시 예에 따른 상기 프로세서는, 상기 카메라를 통해 획득한 얼굴의 피치 각도를 확인할 수 있다.The processor according to one embodiment may check the pitch angle of the face obtained through the camera.

일 실시 예에 따른 상기 프로세서는, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하고, 상기 카메라를 통해 획득한 얼굴의 피치 각도를 확인하고, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다.The processor according to an embodiment checks the angle of the electronic device obtained through the sensor module, checks the pitch angle of the face obtained through the camera, and determines the difference between the angle of the electronic device and the first reference angle. If the difference is less than the first angle and the difference between the pitch angle of the face and the second reference angle is confirmed to be less than the second angle, the display can be controlled to output a message notifying posture correction.

일 실시 예에 따른 전자 장치에 자세 교정을 알리는 방법은, 상기 전자 장치의 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하는 동작을 포함할 수 있다.A method of notifying posture correction to an electronic device according to an embodiment may include checking the angle of the electronic device obtained through a sensor module of the electronic device.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 카메라를 통해 획득한 얼굴의 피치 각도를 확인하는 동작을 포함할 수 있다.The method according to one embodiment may include checking the pitch angle of the face obtained through the camera of the electronic device.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하고 확인하면, 상기 전자 장치의 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력하는 동작을 포함할 수 있다.The method according to one embodiment includes, if it is confirmed that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle and the difference between the pitch angle of the face and the second reference angle is less than or equal to the second angle, The operation may include controlling the display of the electronic device to output a message notifying posture correction.

도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도 2는 일 실시 예에 따른 전자 장치의 블록도이다.
도 3은 일 실시 예에 따른 전자 장치에서 얼굴의 피치 각도를 설명하기 위한 도면이다.
도 4a 내지 도 4b는 일 실시 예에 따른 전자 장치에서 자세 교정을 설명하기 위한 도면들이다.
도 5는 일 실시 예에 따른 전자 장치에서 자세 교정을 알리는 동작 설명하기 위한 흐름도이다.
도 6은 일 실시 예에 따른 전자 장치에서 자세 교정을 알리는 동작 설명하기 위한 흐름도이다.
1 is a block diagram of an electronic device in a network environment according to an embodiment.
Figure 2 is a block diagram of an electronic device according to an embodiment.
FIG. 3 is a diagram for explaining the pitch angle of a face in an electronic device according to an embodiment.
FIGS. 4A and 4B are diagrams for explaining posture correction in an electronic device according to an embodiment.
FIG. 5 is a flowchart illustrating an operation of notifying posture correction in an electronic device according to an embodiment.
FIG. 6 is a flowchart illustrating an operation of notifying posture correction in an electronic device according to an embodiment.

도 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))로 통합될 수 있다.FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to one embodiment. 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, for example, connected to the plurality of antennas by 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 one embodiment, 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.

도 2는 일 실시 예에 따른 전자 장치의 블록도(200) 이다.Figure 2 is a block diagram 200 of an electronic device according to an embodiment.

상기 도 2를 참조하면, 일 실시 예에 따르면, 전자 장치(201)는, 프로세서(220), 메모리(230), 디스플레이(260), 센서모듈(276) 및 카메라(280)를 포함할 수 있다.Referring to FIG. 2, according to one embodiment, the electronic device 201 may include a processor 220, a memory 230, a display 260, a sensor module 276, and a camera 280. .

상기 도 2에 도시된 전자 장치(301)의 구성요소 중 적어도 일부는 도 1의 전자 장치(101))의 구성요소와 동일 또는 유사할 수 있으며, 이하, 중복되는 설명은 생략한다.At least some of the components of the electronic device 301 shown in FIG. 2 may be the same or similar to the components of the electronic device 101 shown in FIG. 1, and overlapping descriptions will be omitted below.

일 실시 예에 따르면, 프로세서(220)는, 도 1의 프로세서(120)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the processor 220 may be implemented substantially the same as or similar to the processor 120 of FIG. 1.

일 실시 예에 따르면, 프로세서(220)는, 카메라(280)와 센서 모듈(276)을 이용하여 전자 장치를 사용하는 사용자의 자세를 검출하고, 상기 사용자의 자세가 자세 교정이 필요한 자세로 확인하면, 자세 교정을 알리는 메시지를 출력할 수 있다.According to one embodiment, the processor 220 detects the posture of a user using the electronic device using the camera 280 and the sensor module 276, and when it determines that the user's posture requires posture correction, , a message notifying posture correction can be output.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 전자 장치(201)에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 센서 모듈(276)을 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산하고, 상기 계산된 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하인지 확인할 수 있다.According to one embodiment, when the processor 220 confirms that the posture correction notification mode is set in the electronic device 201, the processor 220 determines the electronic device 201 based on sensor data received through the sensor module 276. The angle of can be calculated, and it can be confirmed whether the difference between the calculated angle of the electronic device and the first reference angle is less than or equal to the first angle.

일 실시 예에 따르면, 상기 제1 기준 각도는, 상기 전자 장치의 기울임이 없는 각도로써, 예를 들어"0도"로 설정될 수 있다.According to one embodiment, the first reference angle is an angle at which there is no tilt of the electronic device, and may be set to “0 degrees,” for example.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 센서 모듈(276)에 포함된 가속도 센서를 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산할 수 있다.According to one embodiment, the processor 220 may calculate the angle of the electronic device based on sensor data received through an acceleration sensor included in the sensor module 276.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 전자 장치(201)에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라(280)를 활성화(예: 온 상태) 시킬 수 있다.According to one embodiment, when the processor 220 confirms that the posture correction notification mode is set in the electronic device 201, it may activate (e.g., turn on) the camera 280.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 전자 장치(201)에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라(280) 중 전면 카메라를 활성화(예: 온 상태) 시킬 수 있다.According to one embodiment, when the processor 220 confirms that the posture correction notification mode is set in the electronic device 201, it can activate (e.g., turn on) the front camera among the cameras 280. there is.

일 실시 예에 따르면, 상기 프로세서(220)는, 얼굴 인식 기능을 이용하여 상기 카메라(280)를 통해 수신되는 이미지 프레임에서 얼굴을 검출하면, 얼굴 방향 검출 기능을 이용하여 상기 검출된 얼굴의 피치(pitch) 각도를 계산하고 상기 계산된 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이하 인지 확인할 수 있다. According to one embodiment, when the processor 220 detects a face in an image frame received through the camera 280 using a face recognition function, the processor 220 uses a face direction detection function to determine the pitch of the detected face ( pitch) angle and check whether the difference between the calculated pitch angle of the face and the second reference angle is less than or equal to the second angle.

일 실시 예에 따르면, 상기 제2 기준 각도는, 상기 전자 장치를 바라보는 사용의 얼굴에 기울임이 없는 상태로써 예를 들어 "0도"로 설정될 수 있다.일 실시 예에 따르면, 상기 프로세서(220)는, 상기 센서 모듈(276)을 통해 수신한 센서 데이터를 기반으로 상기 전자 장치의 각도와 제1 기준 각도간의 차이가 상기 제1 각도 이하이고, 상기 카메라(280)을 통해 수신된 이미지 프레임에서 검출한 얼굴 데이터를 기반으로 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이하로 확인하면, 상기 디스플레이(260)를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다. According to one embodiment, the second reference angle may be set to, for example, “0 degrees,” meaning that there is no tilt in the user’s face looking at the electronic device. According to one embodiment, the processor ( 220) indicates that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle based on the sensor data received through the sensor module 276, and the image frame received through the camera 280 If the difference between the pitch angle of the face and the second reference angle is confirmed to be less than the second angle based on the face data detected, the display 260 can be controlled to output a message notifying posture correction.

예를 들어, 상기 프로세서(220)는, 제1 기준 각도가 "0도"로 설정하고, 제1 각도를 "20도"로 설정하고, 제2 기준 각도를 "0"로 설정하고, 제2 각도를 "-30"로 설정한 상태에서, 상기 전자 장치의 각도를 15도로 확인하고, 상기 얼굴의 피치 각도를" -35도"로 확인하면, 상기 전자 장치의 각도(예: 15도)와 상기 제1 기준 각도(예: 0도) 간의 차이가 제1 각도(예:20도) 이하이고, 상기 얼굴 피치의 각도(예: -35도)와 상기 제2 기준 각도(예: 0도)간의 차이가 제2 각도( -20도) 이하임으로, 거북 목 상태임으로 자세를 교정하라는 메시지를 출력할 수 있다, 20도로 설정된 상기 제1 각도와 -30도로 설정된 상기 제2 각도는 예를 들어 설명하기 위한 숫자일 뿐, 본 개시를 한정하는 숫자는 아니며, 전자 장치에 따라 또는 사용자의 선택에 따라 다양하게 변경될 수 있다.For example, the processor 220 sets the first reference angle to “0 degrees,” sets the first angle to “20 degrees,” sets the second reference angle to “0,” and sets the second reference angle to “0 degrees.” When the angle is set to "-30", the angle of the electronic device is confirmed to be 15 degrees, and the pitch angle of the face is confirmed to be "-35 degrees," the angle of the electronic device (e.g., 15 degrees) and The difference between the first reference angle (e.g., 0 degrees) is less than or equal to the first angle (e.g., 20 degrees), and the angle of the facial pitch (e.g., -35 degrees) and the second reference angle (e.g., 0 degrees) Since the difference between the two is less than the second angle (-20 degrees), a message to correct the posture can be output as it is in a turtle neck state. The first angle set to 20 degrees and the second angle set to -30 degrees are explained as an example. These numbers are only for the purpose of doing so, but are not numbers that limit the present disclosure, and may vary depending on the electronic device or the user's selection.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 디스플레이(260)를 제어하여 자세 교정을 알리는 메시지를 출력한 이후 일정 시간 동안 상기 전자 장치의 각도와 제1 기준 각도간의 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도간의 차이가 제2 각도 이하를 유지하는 경우, 자세 교정 알림 모드에서 자세 교정을 위한 제한 기능이 설정되어 있는지 확인하고, 상기 자세 교정을 위한 제한 기능이 설정되어 있으면, 상기 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행할 수 있다.According to one embodiment, the processor 220 controls the display 260 to output a message indicating posture correction so that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle for a certain period of time. And, if the difference between the pitch angle of the face and the second reference angle remains below the second angle, check whether the limit function for posture correction is set in the posture correction notification mode, and the limit function for posture correction is set. If set, an operation corresponding to the suggested function for posture correction set above can be performed.

일 실시 예에 따르면, 상기 자세 교정을 위한 제한 기능은, 전자 장치의 사용 제한, 현재 사용하고 있는 어플리케이션의 사용 제안 및/또는 지정된 전화번호로 전화 걸기 등을 포함할 수 있다.According to one embodiment, the restriction function for posture correction may include restricting the use of an electronic device, suggesting the use of an application currently being used, and/or making a call to a designated phone number.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행하는 동안, 상기 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이상이고, 상기 얼굴의 피치 각도와 제2 기준 각도간의 차이가 제2 각도 이상으로 확인하면, 상기 자세 교정을 위한 제한 기능을 해제할 수 있다.According to one embodiment, while the processor 220 performs an operation corresponding to the set suggestion function for posture correction, the difference between the angle of the electronic device and the first reference angle is greater than or equal to the first angle, and If the difference between the pitch angle of the face and the second reference angle is confirmed to be greater than the second angle, the restriction function for posture correction may be released.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행하고, 일정 시간이 경과하면, 상기 자세 교정을 위한 제한 기능을 해제할 수 있다.According to one embodiment, the processor 220 may perform an operation corresponding to the set suggestion function for posture correction, and after a certain period of time has elapsed, the processor 220 may release the restriction function for posture correction.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이상이고, 상기 얼굴의 피치 각도와 제2 기준 각도간의 차이가 제2 각도 이상으로 확인하면, 상기 디스플레이(260)를 제어하여 자세가 교정되었음을 알리는 메시지를 출력할 수 있다.According to one embodiment, the processor 220 determines that the difference between the angle of the electronic device and the first reference angle is greater than or equal to the first angle, and the difference between the pitch angle of the face and the second reference angle is greater than or equal to the second angle. Once confirmed, the display 260 can be controlled to output a message indicating that the posture has been corrected.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 전자 장치(201)에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 디스플레이(260)의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시할 수 있다.According to one embodiment, when the processor 220 confirms that the posture correction notification mode is set in the electronic device 201, the processor 220 displays an indicator indicating activation of the posture correction notification mode in a certain area of the display 260. can be displayed.

일 실시 예에 따르면, 상기 프로세서(220)는, 상기 디스플레이(260)의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시하는 동안, 상기 인디케이터의 선택을 기반으로, 상기 자세 교정 알림 모드를 해제할 수 있다.According to one embodiment, the processor 220 displays an indicator notifying activation of the posture correction notification mode in a certain area of the display 260, and activates the posture correction notification mode based on selection of the indicator. It can be released.

일 실시 예에 따르면, 메모리(230)는, 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다. According to one embodiment, the memory 230 may be implemented substantially the same as or similar to the memory 130 of FIG. 1 .

일 실시 예에 따르면, 메모리(230)는, 상기 전자 장치의 각도가 자세 교정을 알리는 메시지의 출력을 위한 각도인지 참조하기 위한 제1 기준 각도와, 얼굴의 피치 각도가 자세 교정을 알리는 메시지의 출력을 위한 각도인지 참조하기 위한 제2 기준 각도가 저장될 수 있다.According to one embodiment, the memory 230 outputs a first reference angle for referring to whether the angle of the electronic device is an angle for outputting a message indicating posture correction, and a message indicating that the pitch angle of the face is for outputting a message indicating posture correction. A second reference angle for reference may be stored.

일 실시 예에 따르면, 디스플레이(260)는, 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the display 260 may be implemented substantially the same as or similar to the display module 160 of FIG. 1.

일 실시 예에 따르면, 디스플레이(260)는, 상기 전자 장치의 각도가 제1 기준 각도 이하이고, 피치 각도가 제2기준 각도 이하일 때, 자세 교정을 알리는 메시지가 출력될 수 있다.According to one embodiment, the display 260 may output a message notifying posture correction when the angle of the electronic device is less than or equal to the first reference angle and the pitch angle is less than or equal to the second reference angle.

일 실시 예에 따르면, 디스플레이(260)는, 상기 전자 장치의 각도가 제1 기준 각도 이상이고, 피치 각도가 제2기준 각도 이상일 때, 자세가 교정되었음을 알리는 메시지가 출력될 수 있다.According to one embodiment, when the angle of the electronic device is greater than or equal to the first reference angle and the pitch angle is greater than or equal to the second reference angle, the display 260 may output a message indicating that the posture has been corrected.

일 실시 예에 따르면, 카메라(280)는, 도 1의 카메라 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the camera 280 may be implemented substantially the same as or similar to the camera module 180 of FIG. 1.

일 실시 예에 따르면, 상기 카메라(280)는, 전면 카메라 및 후면 카메라를 포함할 수 있다.According to one embodiment, the camera 280 may include a front camera and a rear camera.

일 실시 예에 따르면, 상기 카메라(280)의 상기 전면 카메라는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있을 때, 상기 전자 장치를 사용하는 사용자의 얼굴을 촬영하기 위해 활성화될 수 있다.According to one embodiment, the front camera of the camera 280 may be activated to capture the face of the user using the electronic device when the posture correction notification mode is set in the electronic device.

일 실시 예에 따르면, 센서모듈(276)은, 도 1의 센서 모듈(176)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to one embodiment, the sensor module 276 may be implemented substantially the same as or similar to the sensor module 176 of FIG. 1.

일 실시 예에 따르면, 상기 제2 센서 모듈(276)은, 가속도 센서, 자이로 센서 및/또는 자지기 센서들을 포함할 수 있다.According to one embodiment, the second sensor module 276 may include an acceleration sensor, a gyro sensor, and/or a magnetometer sensor.

일 실시 예에 따르면, 상기 제2 센서 모듈(276)의 가속도 센서는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있을 때, 상기 전자 장치의 각도를 검출할 수 있는 센서 데이터를 검출할 수 있다.According to one embodiment, the acceleration sensor of the second sensor module 276 may detect sensor data that can detect the angle of the electronic device when a posture correction notification mode is set in the electronic device. .

도 3은 일 실시 예에 따른 전자 장치에서 얼굴의 피치 각도를 설명하기 위한 도면(300)이다.FIG. 3 is a diagram 300 for explaining the pitch angle of a face in an electronic device according to an embodiment.

상기 도 3을 참조하면, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치)는, 얼굴 방향 검출 기능을 이용하여 상기 검출된 얼굴의 피치(pitch) 각도를 계산할 수 있다.Referring to FIG. 3, an electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device of FIG. 2) calculates the pitch angle of the detected face using a face direction detection function. You can.

상기 전자 장치는 3차원 공간에서 얼굴의 3차원 각도를 검출할 수 있는 프로그램을 포함하는 얼굴 방향 검출 기능을 이용하여, 얼굴 방향을 검출을 위한 롤(roll)각도, 요(yaw)각도, 및 피치(pitch) 각도를 순서적으로 검출할 수 있으며, 롤(roll)각도, 요(yaw)각도, 및 피치(pitch) 각도 각각은 -180도 ~ 180도를 포함할 수 있다. 상기 전자 장치는 3차원 공간에 얼굴 방향을 검출하기 위한 피치(pitch) 각도를 자세 교정을 위한 얼굴의 피치(pitch) 각도로 사용할 수 있다.The electronic device uses a face direction detection function that includes a program capable of detecting the 3D angle of the face in 3D space, and detects the roll angle, yaw angle, and pitch to detect the face direction. The pitch angles can be detected sequentially, and each of the roll angle, yaw angle, and pitch angle may include -180 degrees to 180 degrees. The electronic device may use the pitch angle for detecting the direction of the face in three-dimensional space as the pitch angle of the face for posture correction.

도 4a 내지 도 4b는 일 실시 예에 따른 전자 장치에서 자세 교정을 설명하기 위한 도면들(400a 내지 400b)이다.FIGS. 4A and 4B are diagrams 400a and 400b for explaining posture correction in an electronic device according to an embodiment.

상기 도 4a와 같이, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치)는, 상기 전자 장치의 센서 모듈(예: 도 2의 센서 모듈(276))을 통해 획득한 상기 전자 장치의 각도(a1)(예: 50도)와 제1 기준 각도(예: 0도)간의 차이가 제1 각도(예: 20도) 이상이고, 상기 전자 장치의 카메라(예: 도 2의 카메라(280))를 통해 획득한 얼굴의 피치 각도(예: 0도)와 제2기준 각도(예: 0도)간의 차이가 제2 각도(예: -30도) 이상으로 확인하면, 상기 전자 장치를 사용하는 사용자의 자세가 교정이 필요 없는 자세로 있음을 확인 할 수 있다.As shown in FIG. 4A, an electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device of FIG. 2) uses a sensor module (e.g., the sensor module 276 of FIG. 2) of the electronic device. The difference between the acquired angle a1 (e.g., 50 degrees) of the electronic device and the first reference angle (e.g., 0 degrees) is greater than or equal to the first angle (e.g., 20 degrees), and the camera of the electronic device (e.g., If the difference between the pitch angle of the face (e.g., 0 degrees) acquired through the camera 280 of FIG. 2 and the second reference angle (e.g., 0 degrees) is confirmed to be greater than the second angle (e.g., -30 degrees), , it can be confirmed that the posture of the user using the electronic device is in a posture that does not require correction.

상기 도 4b 같이, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치)는, 상기 전자 장치의 센서 모듈(예: 도 2의 센서 모듈(276))을 통해 획득한 상기 전자 장치의 각도(a2)(예: 18도)와 제1 기준 각도(예: 0도) 간의 차이가 제1 기준 각도(예: 20도) 이하이고, 상기 전자 장치의 카메라(예: 도 2의 카메라(280))를 통해 획득한 얼굴의 피치 각도(예: -35도)와 제1 기준 각도(예: 0도) 간의 차이가 제2각도(예: -30)이하로 확인하면, 상기 전자 장치를 사용하는 사용자의 자세가 교정이 필요한 자세로 있음을 확인 할 수 있다.As shown in FIG. 4B, an electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device of FIG. 2) acquires information through a sensor module (e.g., the sensor module 276 of FIG. 2) of the electronic device. The difference between the angle a2 (e.g., 18 degrees) of the electronic device and the first reference angle (e.g., 0 degrees) is less than or equal to the first reference angle (e.g., 20 degrees), and the camera of the electronic device (e.g., If the difference between the pitch angle of the face (e.g., -35 degrees) acquired through the camera 280 of FIG. 2 and the first reference angle (e.g., 0 degrees) is confirmed to be less than the second angle (e.g., -30 degrees), , it can be confirmed that the posture of the user using the electronic device is in a posture that requires correction.

일 실시 예에 따른 전자 장치(도 1의101; 도 2의 201)는, 센서 모듈(도 176; 도 2의 276), 카메라(도 1의 180; 도 2의 280), 디스플레이(도 1의 160; 도 2의 260), 및 프로세서(도 1의 120; 도 2의 220)를 포함할 수 있다.An electronic device (101 in FIG. 1; 201 in FIG. 2) according to an embodiment includes a sensor module (176; 276 in FIG. 2), a camera (180 in FIG. 1; 280 in FIG. 2), and a display (101 in FIG. 1; 201 in FIG. 2). 160; 260 in FIG. 2), and a processor (120 in FIG. 1; 220 in FIG. 2).

일 실시 예에 따르면, 상기 프로세서(도 1의 120; 도 2의 220)는,상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인할 수 있다.According to one embodiment, the processor (120 in FIG. 1; 220 in FIG. 2) may check the angle of the electronic device obtained through the sensor module.

일 실시 예에 따르면, 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 카메라를 통해 획득한 얼굴의 피치 각도를 확인할 수 있다.According to one embodiment, the processor (120 in FIG. 1; 220 in FIG. 2) may check the pitch angle of the face acquired through the camera.

일 실시 예에 따르면, 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다.According to one embodiment, the processor (120 in FIG. 1; 220 in FIG. 2) determines that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, and the pitch angle of the face and the second reference angle If the difference between the two sides is confirmed to be less than the second angle, the display can be controlled to output a message notifying posture correction.

일 실시 예에 따른 상기 카메라( 도 1의 180; 도 2의 280는, 전면 카메라를 포함할 수 있다,The camera (180 in FIG. 1; 280 in FIG. 2) according to one embodiment may include a front camera.

일 실시 예에 따른 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라를 활성화 시키도록 설정될 수 있다.The processor (120 in FIG. 1; 220 in FIG. 2) according to one embodiment may be set to activate the camera when it confirms that the posture correction notification mode is set in the electronic device.

일 실시 예에 따른 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 일정 시간 동안 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간에 차이가 상기 제1 각도 이하이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 제2기준 각도 간에 차이가 상기 제2 각도 이하를 유지하는 경우, 자세 교정 알림 모드에 자세 교정을 위한 제한 기능이 설정되어 있으면, 상기 자세 교정을 위한 제한 기능에 대응되는 동작을 수행하도록 설정될 수 있다.The processor (120 in FIG. 1; 220 in FIG. 2) according to an embodiment controls the display to output a message indicating posture correction, and then displays the angle of the electronic device obtained through the sensor module for a certain period of time and If the difference between the first reference angles is less than or equal to the first angle, and the difference between the pitch angle of the face obtained through the camera and the second reference angle is less than or equal to the second angle, posture correction is activated in the posture correction notification mode. If the limit function for posture correction is set, it can be set to perform an operation corresponding to the limit function for posture correction.

일 실시 예에 따른 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간에 차이가 상기 제1 각도 이상이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와상기 제2기준 각도 간의 차이가 상기 제2 각도 이상이면, 자세가 교정되었음을 알리는 메시지를 출력하도록 설정될 수 있다.The processor (120 in FIG. 1; 220 in FIG. 2) according to an embodiment controls the display to output a message indicating posture correction, and then displays the angle of the electronic device obtained through the sensor module and the first If the difference between the reference angles is greater than or equal to the first angle, and the difference between the pitch angle of the face obtained through the camera and the second reference angle is greater than or equal to the second angle, a message indicating that the posture has been corrected may be set to be output. there is.

일 실시 예에 따른 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시하도록 설정될 수 있다.When the processor (120 in FIG. 1; 220 in FIG. 2) according to one embodiment confirms that the posture correction notification mode is set in the electronic device, it notifies the activation of the posture correction notification mode in a certain area of the display. It can be set to display an indicator.

일 실시 예에 따른 상기 프로세서(도 1의 120; 도 2의 220)는, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 상기 인디케이터를 표시하는 동안, 상기 인디케이터의 선택을 기반으로 상기 자세 교정 알림 모드를 비활성화 시키도록 설정될 수 있다.The processor (120 in FIG. 1; 220 in FIG. 2) according to one embodiment displays the indicator notifying activation of the posture correction notification mode in a certain area of the display, and changes the posture based on selection of the indicator. It can be set to disable the calibration notification mode.

도 5는 일 실시 예에 따른 전자 장치에서 자세 교정을 알리는 동작 설명하기 위한 흐름도(500)이다. 상기 자세 교정을 알리는 동작 들은 501동작 내지 509동작을 포함할 수 있다. 이하 실시 예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행되거나, 다른 동작이 추가될 수도 있다.FIG. 5 is a flowchart 500 for explaining an operation of notifying posture correction in an electronic device according to an embodiment. The operations notifying the posture correction may include operations 501 to 509. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

501동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 각도를 확인할 수 있다.In operation 501, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check the angle of the electronic device.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치의 센서 모듈(예: 도 2의 센서 모듈(276))을 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산할 수 있다.According to one embodiment, the electronic device may calculate the angle of the electronic device based on sensor data received through a sensor module (eg, sensor module 276 in FIG. 2) of the electronic device.

일 실시 예에 따르면, 상기 전자 장치는, 상기 센서 모듈에 포함된 가속도 센서를 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산할 수 있다.According to one embodiment, the electronic device may calculate the angle of the electronic device based on sensor data received through an acceleration sensor included in the sensor module.

503동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 얼굴의 피치 각도를 확인할 수 있다.In operation 503, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check the pitch angle of the face.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치에서 활성화(예: 온 상태)된 카메라(예: 도 2의 카메라(280))를 통해 이미지 프레임을 수신하면, 얼굴 인식 기능을 이용하여 상기 이미지 프레임에서 얼굴을 검출할 수 있다.According to one embodiment, when the electronic device receives an image frame through a camera (e.g., camera 280 in FIG. 2) that is activated (e.g., turned on) in the electronic device, the electronic device uses a face recognition function to detect the image frame. Faces can be detected in image frames.

일 실시 예에 따르면, 상기 전자 장치는, 상기 카메라의 전면 카메라를 통해 이미지 프레임을 수신할 수 있다.According to one embodiment, the electronic device may receive an image frame through the front camera of the camera.

일 실시 예에 따르면, 상기 전자 장치는, 얼굴 방향 검출 기능을 이용하여 상기 검출된 얼굴의 피치(pitch) 각도를 계산할 수 있다.According to one embodiment, the electronic device may calculate the pitch angle of the detected face using a face direction detection function.

505동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이하인지 확인할 수 있다.In operation 505, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may determine whether the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle. there is.

상기 505동작에서, 상기 전자 장치는, 상기 전자 장치의 각도와 상기 제1 기준 각도간의 차이를 상기 제1 각도 이하로 확인하면, 507 동작에서, 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이하인지 확인할 수 있다.In operation 505, if the electronic device determines that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, in operation 507, the difference between the pitch angle of the face and the second reference angle is determined as the first angle. You can check whether the angle is less than 2.

상기 507동작에서, 상기 전자 장치는, 상기 얼굴의 피치 각도와 상기 제2 기준 각도 간의 차이를 상기 제2 각도 이하로 확인하면, 509동작에서, 자세 교정을 알리는 메시지를 출력할 수 있다.In operation 507, if the electronic device determines that the difference between the pitch angle of the face and the second reference angle is less than or equal to the second angle, in operation 509, the electronic device may output a message notifying posture correction.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치의 디스플레이(예: 도 2의 디스플레이(260))를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다. According to one embodiment, the electronic device may control a display of the electronic device (e.g., the display 260 of FIG. 2) to output a message notifying posture correction.

도 6은 일 실시 예에 따른 전자 장치에서 자세 교정을 알리는 동작 설명하기 위한 흐름도(600)이다. 상기 자세 교정을 알리는 동작들은 601동작 내지 617동작을 포함할 수 있다. 이하 실시 예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행되거나, 다른 동작이 추가될 수도 있다.FIG. 6 is a flowchart 600 for explaining an operation of notifying posture correction in an electronic device according to an embodiment. The operations notifying the posture correction may include operations 601 to 617. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, at least two operations may be performed in parallel, or another operation may be added.

601동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 할 수 있다.In operation 601, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may.

603동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 각도를 확인할 수 있다.In operation 603, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check the angle of the electronic device.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 전자 장치의 센서 모듈(예: 도 2의 센서 모듈(276))을 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산할 수 있다.According to one embodiment, when the electronic device confirms that the posture correction notification mode is set in the electronic device, the sensor received through the sensor module (e.g., the sensor module 276 in FIG. 2) of the electronic device The angle of the electronic device can be calculated based on the data.

일 실시 예에 따르면, 상기 전자 장치는, 상기 센서 모듈에 포함된 가속도 센서를 통해 수신된 센서 데이터를 기반으로 상기 전자 장치의 각도를 계산할 수 있다.According to one embodiment, the electronic device may calculate the angle of the electronic device based on sensor data received through an acceleration sensor included in the sensor module.

605동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 얼굴의 피치 각도를 확인할 수 있다.In operation 605, the electronic device (eg, the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may check the pitch angle of the face.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 전자 장치의 카메라(예: 도 2의 카메라(280))를 활성화(예: 온 상태) 시킬 수 있다.According to one embodiment, when the electronic device confirms that the posture correction notification mode is set in the electronic device, the electronic device's camera (e.g., camera 280 in FIG. 2) is activated (e.g., in an on state). ) can be done.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라 중 전면 카메라를 활성화(예: 온 상태) 시킬 수 있다.According to one embodiment, when the electronic device confirms that the posture correction notification mode is set in the electronic device, it may activate (e.g., turn on) the front camera among the cameras.

일 실시 예에 따르면, 상기 전자 장치는, 얼굴 인식 기능을 이용하여 상기 카메라를 통해 수신되는 이미지 프레임에서 얼굴을 검출하면, 얼굴 방향 검출 기능을 이용하여 상기 검출된 얼굴의 피치(pitch) 각도를 계산할 수 있다.According to one embodiment, when the electronic device detects a face in an image frame received through the camera using a face recognition function, it calculates the pitch angle of the detected face using a face direction detection function. You can.

607동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이하인지 확인할 수 있다.In operation 607, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) may determine whether the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle. there is.

상기 607동작에서, 상기 전자 장치는, 상기 전자 장치의 각도와 상기 제1 기준 각도가의 차이를 상기 제1 각도 이하로 확인하면, 609동작에서, 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이하인지 확인할 수 있다.In operation 607, if the electronic device determines that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, in operation 609, the difference between the pitch angle of the face and the second reference angle is determined. You can check whether it is less than or equal to the second angle.

상기 609동작에서, 상기 전자 장치는, 상기 얼굴의 피치 각도와 상기 제2 기준 각도간의 차이를 상기 제2 각도 이하로 확인하면, 611동작에서, 자세 교정을 알리는 메시지를 출력할 수 있다.In operation 609, if the electronic device determines that the difference between the pitch angle of the face and the second reference angle is less than or equal to the second angle, in operation 611, the electronic device may output a message notifying posture correction.

일 실시 예에 따르면, 상기 전자 장치는, 상기 전자 장치의 디스플레이(예: 도 2의 디스플레이(260))를 제어하여 자세 교정을 알리는 메시지를 출력할 수 있다. According to one embodiment, the electronic device may control a display of the electronic device (e.g., the display 260 of FIG. 2) to output a message notifying posture correction.

613동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 전자 장치의 각도와 제1 기준 각도간의 차이가 제1 각도 이하이고, 얼굴의 피치 각도와 제2 기준 각도가의 차이가 제2 각도 이하를 유지하는지 여부를 확인할수 있다,In operation 613, the electronic device (e.g., the electronic device 101 of FIG. 1 and/or the electronic device 201 of FIG. 2) determines that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, and the face It is possible to check whether the difference between the pitch angle and the second reference angle remains below the second angle.

일 실시 예에 따르면, 상기 전자 장치는, 자세 교정을 알리는 메시지를 출력한 이후 일정 시간 동안 상기 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이하를 유지하는지 여부를 확인할 수 있다.According to one embodiment, the electronic device outputs a message notifying posture correction, and for a certain period of time, the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, and the pitch angle of the face and the second reference angle are It can be confirmed whether the difference between the reference angles remains below the second angle.

상기 613동작에서, 상기 전자 장치는, 자세 교정 없이, 일정 시간 동안 상기 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제1 각도 이하의 유지를 확인하면, 615동작에서, 자세 교정 알림 모드에서 자세 교정을 위한 제한 기능이 설정되어 있는지 확인할 수 있다.In operation 613, the electronic device determines that, without posture correction, the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle for a certain period of time, and the difference between the pitch angle of the face and the second reference angle is less than or equal to the first angle. If the maintenance of the angle below 1 is confirmed, in operation 615, it can be confirmed whether the limit function for posture correction is set in the posture correction notification mode.

일 실시 예에 따르면, 상기 자세 교정을 위한 제한 기능은, 전자 장치의 사용 제한, 현재 사용하고 있는 어플리케이션의 사용 제안 및/또는 지정된 전화번호로 전화 걸기 등을 포함할 수 있다.According to one embodiment, the restriction function for posture correction may include restricting the use of an electronic device, suggesting the use of an application currently being used, and/or making a call to a designated phone number.

617작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(201))는, 자세 교정 알림 모드에서 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행할 수 있다.In operation 617, the electronic device (e.g., the electronic device 101 in FIG. 1 and/or the electronic device 201 in FIG. 2) performs an operation corresponding to a suggestion function for posture correction set in the posture correction notification mode. You can.

일 실시 예에 따르면, 상기 전자 장치는, 상기 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행하는 동안, 상기 전자 장치의 각도와 제1 기준 각도 간의 차이가 제1 각도 이상이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 제2 각도 이상으로 확인하면, 상기 자세 교정을 위한 제한 기능을 해제할 수 있다.According to one embodiment, while the electronic device performs an operation corresponding to the set suggestion function for posture correction, the difference between the angle of the electronic device and the first reference angle is greater than or equal to the first angle, and the difference between the angle of the electronic device and the first reference angle is greater than or equal to the first angle, and the If the difference between the pitch angle and the second reference angle is confirmed to be greater than the second angle, the restriction function for posture correction may be released.

일 실시 예에 따르면, 상기 전자 장치는, 상기 설정된 자세 교정을 위한 제안 기능에 대응되는 동작을 수행하고, 일정 시간이 경과하면, 상기 자세 교정을 위한 제한 기능을 해제할 수 있다.According to one embodiment, the electronic device performs an operation corresponding to the set suggestion function for posture correction, and when a certain period of time elapses, the electronic device may release the restriction function for posture correction.

일 실시 예에 따른 전자 장치에서 자세 교정을 알리는 방법은, 상기 전자 장치의 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하는 동작을 포함할 수 있다.A method of notifying posture correction in an electronic device according to an embodiment may include checking the angle of the electronic device obtained through a sensor module of the electronic device.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 카메라를 통해 획득한 얼굴의 피치 각도를 확인하는 동작을 포함할 수 있다.The method according to one embodiment may include checking the pitch angle of the face obtained through the camera of the electronic device.

일 실시 예에 따른 상기 방법은, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 전자 장치의 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력하는 동작을 포함할 수 있다.The method according to one embodiment includes, when it is confirmed that the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle and the difference between the pitch angle of the face and the second reference angle is less than or equal to the second angle, This may include controlling the display of the electronic device to output a message notifying posture correction.

일 실시 예에 따른 상기 방법은, 상기 카메라는 전면 카메라를 포함할 수 있다.In the method according to one embodiment, the camera may include a front camera.

일 실시 예에 따른 상기 방법은, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라를 활성화 시키는 동작을 더 포함할 수 있따.The method according to one embodiment may further include activating the camera when confirming that the posture correction notification mode is set in the electronic device.

일 실시 예에 따른 상기 방법은, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 일정 시간 동안 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도간의 차이가 상기 제1 각도 이하이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 상기 제2 기준 각도 간의 차이가 상기 제2 각도 이하를 유지하는 경우, 자세 교정 알림 모드에 자세 교정을 위한 제한 기능이 설정되어 있으면, 상기 자세 교정을 위한 제한 기능에 대응되는 동작을 수행하는 동작을 더 포함할 수 있다.The method according to one embodiment includes controlling the display to output a message notifying posture correction, and then, for a certain period of time, the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is the first reference angle. angle or less, and if the difference between the pitch angle of the face obtained through the camera and the second reference angle remains less than the second angle, if a restriction function for posture correction is set in the posture correction notification mode, It may further include performing an operation corresponding to the limiting function for posture correction.

일 실시 예에 따른 상기 방법은, 상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간의 차이가 상기 제1 각도 이상이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 상기 제2 각도 이상이면, 자세가 교정되었음을 알리는 메시지를 출력하는 동작을 더 포함할 수 있다.The method according to one embodiment includes controlling the display to output a message notifying posture correction, and then determining that the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is greater than or equal to the first angle. , If the difference between the pitch angle of the face obtained through the camera and the second reference angle is greater than or equal to the second angle, the method may further include outputting a message notifying that the posture has been corrected.

일 실시 예에 따른 상기 방법은, 상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시하는 동작을 더 포함할 수 있다.The method according to one embodiment may further include, upon confirming that the posture correction notification mode is set in the electronic device, displaying an indicator notifying activation of the posture correction notification mode in a certain area of the display. .

일 실시 예에 따른 상기 방법은, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 상기 인디케이터를 표시하는 동안, 상기 인디케이터의 선택을 기반으로 상기 자세 교정 알림 모드를 비활성화 시키는 동작을 더 포함할 수 있다.The method according to one embodiment may further include an operation of deactivating the posture correction notification mode based on selection of the indicator while displaying the indicator notifying activation of the posture correction notification mode in a certain area of the display. You can.

본 문서에 개시된 일 실시 예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.An electronic device according to an embodiment 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.An embodiment 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 substitutes for the embodiment. 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 one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used 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)(예: 전자 장치(101) 또는 전자 장치(301)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(301))의 프로세서(예: 프로세서(520))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.An embodiment of the present document is a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101 or electronic device 301). It may be implemented as software (e.g., program 140) including one or more instructions stored in . For example, a processor (e.g., processor 520) of a device (e.g., electronic device 301) 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, a method according to an embodiment disclosed in this document may be provided and included 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 via an application store (e.g. Play Store TM ) 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 one embodiment, each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components. . According to one embodiment, one or more of the above-described corresponding components or operations 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 identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. . According to one embodiment, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.

본 개시의 실시 예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 상기 전자 장치의 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하는 동작, 상기 전자 장치의 카메라를 통해 획득한 얼굴의 피치 각도를 확인하는 동작, 및 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 전자 장치의 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, in a non-volatile storage medium storing instructions, the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, and the at least one operation is , an operation of checking the angle of the electronic device obtained through a sensor module of the electronic device, an operation of checking the pitch angle of the face obtained through a camera of the electronic device, and an angle of the electronic device and a first reference angle When it is confirmed that the difference between the face is less than a first angle and the difference between the pitch angle of the face and the second reference angle is less than a second angle, controlling the display of the electronic device to output a message notifying posture correction may be included. You can.

Claims (14)

전자 장치에 있어서,
센서 모듈(도 176; 도 2의 276);
카메라(도 1의 180; 도 2의 280):
디스플레이(도 1의 160; 도 2의 260); 및
프로세서(도 1의 120; 도 2의 220)를 포함하고, 상기 프로세서는,
상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하고, 상기 카메라를 통해 획득한 얼굴의 피치 각도를 확인하고, 상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면,상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력하도록 설정된 전자 장치.
In electronic devices,
Sensor module (FIG. 176; 276 in FIG. 2);
Camera (180 in Figure 1; 280 in Figure 2):
Display (160 in Figure 1; 260 in Figure 2); and
It includes a processor (120 in FIG. 1; 220 in FIG. 2), wherein the processor includes:
Check the angle of the electronic device obtained through the sensor module, check the pitch angle of the face obtained through the camera, and the difference between the angle of the electronic device and the first reference angle is less than or equal to the first angle, An electronic device configured to control the display to output a message indicating posture correction when the difference between the pitch angle of the face and the second reference angle is determined to be less than the second angle.
제1 항에 있어서,
상기 카메라는 전면 카메라를 포함하는 전자 장치.
According to claim 1,
The camera is an electronic device including a front camera.
제1 항 또는 제2 항에 있어서, 상기 프로세서(도 1의 120; 도 2의 220)는,
상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라를 활성화 시키도록 설정된 전자 장치.
The method of claim 1 or 2, wherein the processor (120 in FIG. 1; 220 in FIG. 2),
An electronic device configured to activate the camera upon confirming that a posture correction notification mode is set in the electronic device.
제1 항 내지 제3 항 중 어느 하나의 항에 있어서, 상기 프로세서(도 1의 120; 도 2의 220)는,
상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 일정 시간 동안 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간에 차이가 상기 제1 각도 이하이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 제2기준 각도 간에 차이가 상기 제2 각도 이하를 유지하는 경우, 자세 교정 알림 모드에 자세 교정을 위한 제한 기능이 설정되어 있으면, 상기 자세 교정을 위한 제한 기능에 대응되는 동작을 수행하도록 설정된 전자 장치.
The method of any one of claims 1 to 3, wherein the processor (120 in FIG. 1; 220 in FIG. 2),
After controlling the display to output a message notifying posture correction, the difference between the angle of the electronic device obtained through the sensor module and the first reference angle for a certain period of time is less than or equal to the first angle, and the difference is less than or equal to the first angle obtained through the camera. When the difference between the pitch angle of one face and the second reference angle remains below the second angle, if the limit function for posture correction is set in the posture correction notification mode, an operation corresponding to the limit function for posture correction An electronic device set to perform a task.
제1 항 내지 제4 항 중 어느 하나의 항에 있어서, 상기 프로세서(도 1의 120; 도 2의 220)는,
상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간에 차이가 상기 제1 각도 이상이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와상기 제2기준 각도 간의 차이가 상기 제2 각도 이상이면, 자세가 교정되었음을 알리는 메시지를 출력하도록 설정된 전자 장치.
The method of any one of claims 1 to 4, wherein the processor (120 in FIG. 1; 220 in FIG. 2),
After controlling the display to output a message informing posture correction, the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is greater than or equal to the first angle, and the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is greater than or equal to the first angle, and the An electronic device configured to output a message indicating that the posture has been corrected when the difference between the pitch angle and the second reference angle is greater than or equal to the second angle.
제1 항 내지 제5 항 중 어느 하나의 항에 있어서, 상기 프로세서(도 1의 120; 도 2의 220)는,
상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시하도록 설정된 전자 장치.
The method of any one of claims 1 to 5, wherein the processor (120 in FIG. 1; 220 in FIG. 2),
An electronic device configured to display an indicator indicating activation of the posture correction notification mode in a certain area of the display when it is confirmed that the posture correction notification mode is set in the electronic device.
제1 항 내지 제6 항 중 어느 하나의 항에 있어서, 상기 프로세서(도 1의 120; 도 2의 220)는,
상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 상기 인디케이터를 표시하는 동안, 상기 인디케이터의 선택을 기반으로 상기 자세 교정 알림 모드를 비활성화 시키도록 설정된 전자 장치.
The method of any one of claims 1 to 6, wherein the processor (120 in FIG. 1; 220 in FIG. 2),
An electronic device configured to deactivate the posture correction notification mode based on selection of the indicator while displaying the indicator notifying activation of the posture correction notification mode in a certain area of the display.
전자 장치에 자세 교정을 알리는 방법에 있어서,
상기 전자 장치의 센서 모듈을 통해 획득한 상기 전자 장치의 각도를 확인하는 동작;
상기 전자 장치의 카메라를 통해 획득한 얼굴의 피치 각도를 확인하는 동작; 및
상기 전자 장치의 각도와 제1 기준 각도 간에 차이가 제1 각도 이하이고, 상기 얼굴의 피치 각도와 제2 기준 각도 간에 차이가 제2 각도 이하로 확인하면, 상기 전자 장치의 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력하는 동작을 포함하는 방법.
In a method for notifying an electronic device of posture correction,
An operation of checking the angle of the electronic device obtained through a sensor module of the electronic device;
An operation of checking the pitch angle of the face obtained through the camera of the electronic device; and
When it is confirmed that the difference between the angle of the electronic device and the first reference angle is less than the first angle and that the difference between the pitch angle of the face and the second reference angle is less than the second angle, the display of the electronic device is controlled to correct the posture. A method that includes the action of outputting a message notifying that.
제8 항에 있어서,
상기 카메라는 전면 카메라를 포함하는 방법.
According to clause 8,
A method wherein the camera includes a front camera.
제8 항 또는 제9 항에 있어서,
상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 카메라를 활성화 시키는 동작을 더 포함하는 방법.
According to claim 8 or 9,
The method further includes activating the camera upon confirming that the posture correction notification mode is set in the electronic device.
제8 항 내지 제10 항 중 어느 하나의 항에 있어서,
상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 일정 시간 동안 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도간의 차이가 상기 제1 각도 이하이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 상기 제2 기준 각도 간의 차이가 상기 제2 각도 이하를 유지하는 경우, 자세 교정 알림 모드에 자세 교정을 위한 제한 기능이 설정되어 있으면, 상기 자세 교정을 위한 제한 기능에 대응되는 동작을 수행하는 동작을 더 포함하는 방법.
According to any one of claims 8 to 10,
After controlling the display to output a message notifying posture correction, the difference between the angle of the electronic device obtained through the sensor module and the first reference angle for a certain period of time is less than or equal to the first angle, and the difference obtained through the camera is If the difference between the pitch angle of one face and the second reference angle remains below the second angle, if the limit function for posture correction is set in the posture correction notification mode, the limit function corresponding to the limit function for posture correction is set. How to further include an action to perform an action.
제8 항 내지 제11 항 중 어느 하나의 항에 있어서,
상기 디스플레이를 제어하여 자세 교정을 알리는 메시지를 출력이후, 상기 센서 모듈을 통해 획득한 상기 전자 장치의 각도와 상기 제1 기준 각도 간의 차이가 상기 제1 각도 이상이고, 상기 카메라를 통해 획득한 얼굴의 피치 각도와 제2 기준 각도 간의 차이가 상기 제2 각도 이상이면, 자세가 교정되었음을 알리는 메시지를 출력하는 동작을 더 포함하는 방법.
According to any one of claims 8 to 11,
After controlling the display to output a message notifying posture correction, the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is greater than or equal to the first angle, and the difference between the angle of the electronic device obtained through the sensor module and the first reference angle is greater than or equal to the first angle, and the If the difference between the pitch angle and the second reference angle is greater than or equal to the second angle, the method further includes outputting a message indicating that the posture has been corrected.
제8 항 내지 제12 항 중 어느 하나의 항에 있어서,
상기 전자 장치에 자세 교정 알림 모드가 설정되어 있음을 확인하면, 상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 인디케이터를 표시하는 동작을 더 포함하는 방법.
According to any one of claims 8 to 12,
When confirming that the posture correction notification mode is set in the electronic device, the method further includes displaying an indicator notifying activation of the posture correction notification mode in a certain area of the display.
제8 항 내지 제13 항 중 어느 하나의 항에 있어서,
상기 디스플레이의 일정 영역에 자세 교정 알림 모드의 활성화를 알리는 상기 인디케이터를 표시하는 동안, 상기 인디케이터의 선택을 기반으로 상기 자세 교정 알림 모드를 비활성화 시키는 동작을 더 포함하는 방법.
According to any one of claims 8 to 13,
The method further includes deactivating the posture correction notification mode based on selection of the indicator while displaying the indicator notifying activation of the posture correction notification mode in a certain area of the display.
KR1020220125005A 2022-09-15 2022-09-30 Electronic device and method for informing posture correction in the electronic device KR20240037788A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220116003 2022-09-15
KR20220116003 2022-09-15

Publications (1)

Publication Number Publication Date
KR20240037788A true KR20240037788A (en) 2024-03-22

Family

ID=90481069

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220125005A KR20240037788A (en) 2022-09-15 2022-09-30 Electronic device and method for informing posture correction in the electronic device

Country Status (1)

Country Link
KR (1) KR20240037788A (en)

Similar Documents

Publication Publication Date Title
US11334244B2 (en) Electronic device and method of processing pop-up window using multi-window thereof
EP4181516A1 (en) Method and apparatus for controlling connection of wireless audio output device
US11609660B2 (en) Electronic device including flexible display and method using the same
KR20230038972A (en) Wearable electronic device including sensor and method of operating the same
KR20240037788A (en) Electronic device and method for informing posture correction in the electronic device
KR20220118196A (en) Call function control method and electronic device supporting the same
KR20220017284A (en) Electronic device and method for controlling screen thereof
US20240069848A1 (en) Method and apparatus for switching display displaying screen of application between plurality of displays
US20230007707A1 (en) Method for relaying data using different frequency bands and electronic device performing same
KR20240041762A (en) Electronic device and method for controlling screen displayed on flexible display
KR20240030844A (en) Electronic device and method for magnifying continuous image in the electronic device
KR20240050951A (en) Electronic device and method of operation thereof
KR20240021045A (en) Electronic device and method for display screeen through plurality of displays
KR20240037785A (en) Electronic device including touchscreen and method for controlling thereof
KR20240025426A (en) Electronic device and method for updating database based on reserve space
KR20240034076A (en) Electronic device providing security mode and operating method of the electronic deivce thereof
KR20240079117A (en) Electronic device and operation method of electronic device for controlling transmission power
KR20230007812A (en) Electronic Device and Prevention Method for Preventing Deterioration by Operation of Antenna Module
KR20240043623A (en) Method of display and electronic device performing the method
KR20230112303A (en) Electronic device method for controlling picture in picture window in the electronic device
KR20240037786A (en) Electronic device for reducing screen providing time and control method thereof
KR20230154724A (en) Split screenshot creation method and electronic device thereof
KR20240043528A (en) Electronic device for controlling display related to plurality of images based on state of electronic device and method thereof
KR20230174114A (en) Electronic device comprising sensor and method for operating thereof
KR20240017726A (en) Electronic device for providing display setting based on folding status of foldable display and control method thereof