KR20220045489A - Electronic device identifying information related to walking and operation method of the same - Google Patents

Electronic device identifying information related to walking and operation method of the same Download PDF

Info

Publication number
KR20220045489A
KR20220045489A KR1020200128297A KR20200128297A KR20220045489A KR 20220045489 A KR20220045489 A KR 20220045489A KR 1020200128297 A KR1020200128297 A KR 1020200128297A KR 20200128297 A KR20200128297 A KR 20200128297A KR 20220045489 A KR20220045489 A KR 20220045489A
Authority
KR
South Korea
Prior art keywords
model
stride
length correction
gait
acceleration
Prior art date
Application number
KR1020200128297A
Other languages
Korean (ko)
Inventor
김현성
박정민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200128297A priority Critical patent/KR20220045489A/en
Priority to PCT/KR2021/011975 priority patent/WO2022075603A1/en
Publication of KR20220045489A publication Critical patent/KR20220045489A/en

Links

Images

Classifications

    • 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/112Gait analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • 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
    • 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/1112Global tracking of patients, e.g. by using GPS
    • 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
    • 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/1118Determining activity level
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • A61B5/6897Computer input devices, e.g. mice or keyboards
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/7465Arrangements for interactive communication between patient and care services, e.g. by using a telephone network
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/02Details of sensors specially adapted for in-vivo measurements
    • A61B2562/0219Inertial sensors, e.g. accelerometers, gyroscopes, tilt switches

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Physiology (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Nursing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to an electronic device for checking information related to walking, which checks a stride with high accuracy without using GPS data and an operation method thereof. According to various embodiments of the present invention, the electronic device comprises an acceleration sensor, a memory storing a stride model representing a relationship between a walking frequency and a stride, and at least one processor. The at least one processor is configured to acquire first acceleration data through the acceleration sensor; check a stride correction model on the basis of the first acceleration data; acquire second acceleration data through the acceleration sensor; check a first stride on the basis of the walking frequency based on the second acceleration data and the stride model; check a stride correction value on the basis of the second acceleration data and the stride correction model; and check a second stride on the basis of the first stride and the stride correction value.

Description

보행에 관한 정보를 확인하는 전자 장치 및 보행에 관한 정보를 확인하는 전자 장치의 동작 방법{ELECTRONIC DEVICE IDENTIFYING INFORMATION RELATED TO WALKING AND OPERATION METHOD OF THE SAME}An electronic device for checking information about walking and a method of operating an electronic device for checking information about walking

다양한 실시예는 보행에 관한 정보를 확인하는 전자 장치 및 보행에 관한 정보를 확인하는 전자 장치의 동작 방법에 관한 것이다.Various embodiments relate to an electronic device for checking information about walking and a method of operating the electronic device for checking information about walking.

개인 건강에 대한 관심이 커지면서, 보행에 관한 정보를 확인하는 전자 기기가 널리 보급되어 있다. 예를 들어, 사용자가 전자 장치를 들거나 전자 장치를 착용하고 걷는 경우, 전자 장치는 사용자가 걸은 걸음 수를 확인할 수 있다. 나아가, 전자 장치는 사용자가 걷기를 통하여 소비한 열량을 확인하거나, 사용자가 걸은 거리를 확인할 수 있다.As interest in personal health grows, electronic devices for checking information about walking have become widespread. For example, when the user lifts the electronic device or walks while wearing the electronic device, the electronic device may check the number of steps taken by the user. Furthermore, the electronic device may check the amount of calories consumed by the user through walking or check the distance the user has walked.

보행에 관한 정보를 확인하는 전자 장치는 가속도 센서를 통하여 가속도 데이터를 획득하고, 획득한 가속도 데이터에 기초하여 걸음 빈도를 확인하며, 걸음 빈도와 보폭 사이의 관계에 관한 보폭 모델을 저장하고, 확인된 걸음 빈도에 보폭 모델을 적용하여 보폭을 결정할 수 있다. 그러나, 보폭 모델은 전자 장치의 사용자의 보행 패턴과 관계없이 확인되기 때문에, 사용자의 보행 습관에 따라서는 보폭 모델에 기초하여 획득된 보폭의 정확도가 떨어질 수 있다.The electronic device for checking information about walking acquires acceleration data through an acceleration sensor, checks a step frequency based on the obtained acceleration data, stores a step length model related to a relationship between step frequency and stride length, and stores the checked The stride length can be determined by applying the stride length model to the step frequency. However, since the stride model is checked irrespective of the gait pattern of the user of the electronic device, the accuracy of the stride length obtained based on the stride model may decrease depending on the gait habit of the user.

보폭의 정확도를 개선하기 위하여, 전자 장치는 보폭 모델에 기초하여 획득된 보폭을 GPS 데이터를 이용하여 보정할 수 있다. 그러나, 전자 장치가 GPS 데이터를 이용하여 보폭을 보정하는 경우, GPS 이용이 제한되는 환경에서는 여전히 확인되는 보폭의 정확도가 제한될 수 있다. 또한, GPS 통신을 수행하기 위한 회로가 존재하지 않는 전자 장치는 GPS 데이터를 이용하여 보정을 수행할 수 없다.In order to improve the accuracy of the stride, the electronic device may correct the stride obtained based on the stride model using GPS data. However, when the electronic device corrects the stride length using GPS data, the accuracy of the checked stride may still be limited in an environment in which the use of GPS is restricted. Also, an electronic device that does not have a circuit for performing GPS communication cannot perform calibration using GPS data.

일 실시예들에 따른 전자 장치는, 가속도 데이터에 기초하여 도출되는 걸음 빈도에 보폭 모델을 적용하여 보폭 값을 도출하고, 가속도 데이터에 기초한 다른 파라미터들에 기초한 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고, 보폭 보정값 및 보폭 모델을 적용하여 도출된 보폭 값에 기초하여 최종적으로 보폭을 결정할 수 있다.The electronic device according to an embodiment derives a stride length value by applying a stride model to a step frequency derived based on acceleration data, and calculates a stride length correction value based on the stride length correction model based on other parameters based on the acceleration data. After confirming, the stride length can be finally determined based on the stride length value derived by applying the stride length correction value and the stride length model.

일 실시예들에 따른 전자 장치는, 가속도 센서, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 가속도 센서를 통하여 제1 가속도 데이터를 획득하고, 상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하고, 상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하고, 제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고, 상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하도록 구성될 수 있다.An electronic device according to an embodiment includes an acceleration sensor, a memory for storing a step length model representing a relationship between a walking frequency and a stride length, and at least one processor, wherein the at least one processor is configured to operate through the acceleration sensor. Acquire first acceleration data, confirm a step length correction model based on the first acceleration data, obtain second acceleration data through the acceleration sensor, and obtain a gait frequency based on the second acceleration data and the stride length model based on the second acceleration data to check the first stride length, check the step length correction value based on the second acceleration data and the stride length correction model, and determine the second stride length based on the first stride length and the stride length correction value. .

일 실시예들에 따른, 전자 장치에서 수행되는 방법은, 가속도 센서를 통하여 제1 가속도 데이터를 획득하는 동작, 상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작, 상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하는 동작, 제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하는 동작, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하는 동작, 및 상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, a method performed in an electronic device includes obtaining first acceleration data through an acceleration sensor, identifying a step length correction model based on the first acceleration data, and performing a first step through the acceleration sensor. 2 The operation of acquiring acceleration data, the operation of confirming the first stride length based on the walking frequency and the stride length model based on the second acceleration data, the operation of confirming the step length correction value based on the second acceleration data and the stride length correction model and checking the second stride length based on the first stride length and the stride length correction value.

일 실시예들에 따른 전자 장치는, 가속도 센서, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리, 통신 회로, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통하여, 외부 전자 장치로부터 보폭 보정 모델을 수신하고, 상기 외부 전자 장치의 종류를 확인하고, 상기 가속도 센서를 통하여 가속도 데이터를 획득하고, 상기 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고, 상기 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고, 상기 제1 보폭, 상기 보폭 보정값, 및 상기 외부 전자 장치의 종류에 기초한 가중치에 기초하여 제2 보폭을 확인하도록 구성될 수 있다.An electronic device according to an embodiment includes an acceleration sensor, a memory for storing a step length model representing a relationship between a walking frequency and a step length, a communication circuit, and at least one processor, wherein the at least one processor is configured to: Receive a step length correction model from an external electronic device through a circuit, check a type of the external electronic device, obtain acceleration data through the acceleration sensor, and walk frequency based on the acceleration data and based on the step length model A first step length is checked, a step length compensation value is checked based on the acceleration data and the step length compensation model, and a second step length compensation value is confirmed based on the first step length, the step length compensation value, and a weight based on the type of the external electronic device. It may be configured to check the stride length.

일 실시예들에 따라서, 보행에 관한 정보를 확인하는 전자 장치 및 보행에 관한 정보를 확인하는 전자 장치의 동작 방법이 제공된다. 일 실시예들에 따른 전자 장치는 가속도 데이터에 기초한 파라미터들에 기초하여 보폭 보정 모델을 확인하고, 보폭 보정 모델을 이용하여 보폭을 보정할 수 있다. 따라서, 일 실시예들에 따른 전자 장치는 GPS 데이터를 이용하지 않고도 높은 정확도로 보폭을 확인할 수 있다.According to one or more exemplary embodiments, an electronic device for checking information about walking and a method of operating the electronic device for checking information about walking are provided. The electronic device according to an embodiment may check the stride length correction model based on parameters based on acceleration data and correct the stride length using the stride length correction model. Accordingly, the electronic device according to an embodiment may check the stride length with high accuracy without using GPS data.

도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 3은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 4a는 다양한 실시예들에 따른, 보행에 따른 가속도 크기의 예시를 도시한다.
도 4b는 다양한 실시예들에 따른, 보행에 따른 SWS 차분값의 예시를 도시한다.
도 5는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 6은 다양한 실시예들에 따른, 복수의 클러스터로 분류된 복수의 보행 특징 정보의 예시를 도시한다.
도 7a는 다양한 실시예들에 따른, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델의 예시를 도시한다.
도 7b는 다양한 실시예들에 따른, 분산을 기초로 한 제2 보폭 보정 모델의 예시를 도시한다.
도 8은 다양한 실시예들에 따른, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델의 예시를 도시한다.
도 9는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 10은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 11a는 다양한 실시예들에 따른, 전자 장치에 표시되는 화면의 예시를 도시한다.
도 11b는 다양한 실시예들에 따른, 전자 장치에 표시되는 화면의 예시를 도시한다.
도 12는 다양한 실시예들에 따른, 전자 장치에 표시되는 화면의 예시를 도시한다.
도 13은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
도 14는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
3 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
4A illustrates an example of an acceleration magnitude according to walking, according to various embodiments.
4B illustrates an example of an SWS difference value according to walking, according to various embodiments.
5 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
6 illustrates an example of a plurality of gait characteristic information classified into a plurality of clusters, according to various embodiments.
7A illustrates an example of a first stride length correction model based on a maximum acceleration magnitude according to various embodiments of the present disclosure;
7B shows an example of a second stride correction model based on variance, in accordance with various embodiments.
8 illustrates an example of a stride length model representing a relationship between a gait frequency and a stride length, according to various embodiments.
9 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
10 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
11A illustrates an example of a screen displayed on an electronic device according to various embodiments of the present disclosure;
11B illustrates an example of a screen displayed on an electronic device, according to various embodiments of the present disclosure.
12 illustrates an example of a screen displayed on an electronic device, according to various embodiments of the present disclosure.
13 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;
14 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure;

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the co-processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

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

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

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

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

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

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

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.

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

도 2는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 다양한 실시예에 따라서, 도 2에 도시되는 동작들을 수행하는 전자 장치는, 도 1의 전자 장치(101)일 수 있다. 이하에서, 도 1의 참조 부호를 참조하여 설명을 진행하나, 다양한 실시예에 따른 전자 장치는 도 1의 전자 장치(101)로 제한되지 않는다. 다양한 실시예에 따라서, 도 2에 도시되는 동작들을 수행하는 전자 장치는 도 1에 도시된 전자 장치(101)의 구성요소 중 적어도 하나를 구비하지 않는 전자 장치일 수 있다. 다양한 실시예에 따라서, 도 2에 도시되는 동작들을 수행하는 전자 장치는 워치 또는 이어버드와 같은 웨어러블 전자 장치일 수 있다. 또는, 다양한 실시예에 따라서, 전자 장치는 스마트폰, 태블릿과 같이 사용자가 손에 들 수 있는 전자 장치일 수 있다. 도 2뿐만 아니라, 이하 도 3, 도 5, 도 9, 도 10, 도 13, 및 도 14에 도시되는 동작들을 수행하는 전자 장치에 대해서도 상술한 설명이 적용될 수 있다.2 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; According to various embodiments, the electronic device performing the operations illustrated in FIG. 2 may be the electronic device 101 of FIG. 1 . Hereinafter, description will be made with reference to the reference numerals of FIG. 1 , but the electronic device according to various embodiments is not limited to the electronic device 101 of FIG. 1 . According to various embodiments, the electronic device that performs the operations shown in FIG. 2 may be an electronic device that does not include at least one of the components of the electronic device 101 shown in FIG. 1 . According to various embodiments, the electronic device performing the operations illustrated in FIG. 2 may be a wearable electronic device such as a watch or an earbud. Alternatively, according to various embodiments, the electronic device may be an electronic device that the user can hold, such as a smartphone or a tablet. The above description may be applied not only to FIG. 2 but also to an electronic device that performs operations illustrated in FIGS. 3, 5, 9, 10, 13, and 14 below.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 210 동작에서 가속도 센서(예를 들어, 센서 모듈(176)에 포함된 가속도 센서)를 통하여 제1 가속도 데이터를 획득할 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs an acceleration sensor (eg, the sensor module 176 ) in operation 210 . The first acceleration data may be acquired through an acceleration sensor included in the .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 220 동작에서 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인할 수 있다. 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작에 대해서는 도 3 및 도 5를 참조하여 후술한다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) checks the step length correction model based on the first acceleration data in operation 220 . can An operation of confirming the stride length correction model based on the first acceleration data will be described later with reference to FIGS. 3 and 5 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 230 동작에서 가속도 센서(예를 들어, 센서 모듈(176)에 포함된 가속도 센서)를 통하여 제2 가속도 데이터를 획득할 수 있다.According to various embodiments, at least one processor (eg, processor 120 ) of the electronic device (eg, electronic device 101 ) may in operation 230 an acceleration sensor (eg, sensor module 176 ) The second acceleration data may be acquired through an acceleration sensor included in the .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 240 동작에서 제2 가속도 데이터에 기초한 보행 빈도를 확인하고, 메모리(예를 들어, 메모리(130))에 저장된, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델 및 확인된 보행 빈도에 기초하여 제1 보폭을 확인할 수 있다.According to various embodiments, at least one processor (eg, processor 120) of the electronic device (eg, electronic device 101) checks the gait frequency based on the second acceleration data in operation 240, The first stride length may be identified based on the checked gait frequency and the stride length model representing the relationship between the gait frequency and the stride length stored in the memory (eg, the memory 130 ).

다양한 실시예에 따라서, 보폭 모델은 전자 장치(101)의 가속도 센서를 통하여 획득되는 가속도 데이터와 관계없이 확인될 수 있다. 예를 들어, 보폭 모델은 실험을 통하여 도출된, 보행 빈도와 보폭 사이의 관계일 수 있다. 다양한 실시예에 따라서, 보폭 모델은 전자 장치(101)의 제조 시에 메모리(130)에 저장될 수 있다. 다양한 실시예에 따라서, 전자 장치(101)는 통신 회로(예를 들어, 통신 모듈(190))를 통하여 외부 전자 장치로부터 보폭 모델을 수신하여 메모리(130)에 저장할 수 있다. 보폭 모델의 예시에 대해서는 도 8을 참조하여 후술한다.According to various embodiments, the stride model may be identified regardless of acceleration data obtained through the acceleration sensor of the electronic device 101 . For example, the stride length model may be a relationship between gait frequency and stride length derived through an experiment. According to various embodiments, the stride model may be stored in the memory 130 when the electronic device 101 is manufactured. According to various embodiments, the electronic device 101 may receive a stride model from an external electronic device through a communication circuit (eg, the communication module 190 ) and store it in the memory 130 . An example of the stride length model will be described later with reference to FIG. 8 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 250 동작에서 제2 가속도 데이터 및 보폭 보정 모델에 기초하여 보폭 보정값을 확인할 수 있다. 보폭 보정값을 확인하는 구체적인 과정에 대해서는 도 9를 참조하여 후술한다.According to various embodiments, at least one processor (eg, processor 120 ) of the electronic device (eg, electronic device 101 ) performs a step length based on the second acceleration data and the step length correction model in operation 250 . You can check the correction value. A detailed process of confirming the stride length correction value will be described later with reference to FIG. 9 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 260 동작에서 제1 보폭 및 보폭 보정값에 기초하여 제2 보폭을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제1 보폭과 보폭 보정값의 합을 제2 보폭으로서 확인할 수 있다. 다른 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 보폭 보정값에 가중치를 곱하고, 이를 제1 보폭에 더한 값을 제2 보폭으로서 확인할 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a second step based on the first stride length and the stride correction value in operation 260 . You can check the stride length. According to various embodiments, the at least one processor 120 may determine the sum of the first stride length and the stride correction value as the second stride length. According to other various embodiments, the at least one processor 120 multiplies the step length correction value by a weight, and determines a value obtained by adding the weight to the first stride length as the second stride length.

도 3은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 3은 가속도 데이터에 기초하여 보행 특징 정보를 확인하기 위하여 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다.3 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 3 is a flowchart illustrating operations performed by an electronic device to check gait characteristic information based on acceleration data.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 310 동작에서 가속도 데이터에 기초하여 가속도의 크기를 확인할 수 있다. 가속도의 크기

Figure pat00001
은 수학식 1과 같이 정의될 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may determine the magnitude of the acceleration based on the acceleration data in operation 310 . . magnitude of acceleration
Figure pat00001
may be defined as in Equation 1.

Figure pat00002
Figure pat00002

수학식 1에서, x, y, 및 z는 각각 3축 가속도의 크기이다.In Equation 1, x, y, and z are the magnitudes of 3-axis acceleration, respectively.

도 4a는 다양한 실시예들에 따른, 보행에 따른 가속도 크기의 예시를 도시한다. 도 4a를 참조하면, 발걸음이 주기적으로 반복됨에 따라, 가속도 크기 값(410) 또한 발걸음의 주기에 따라 주기적으로 오르내리는 것을 확인할 수 있다. 도 4a 및 4b에서, 가로축은 샘플 수를 의미할 수 있다. 다양한 실시예에 따라서, 샘플은 10ms 단위로 획득될 수 있으며, 이 경우, 100개의 샘플은 1초를 의미할 수 있다.4A illustrates an example of an acceleration magnitude according to walking, according to various embodiments. Referring to FIG. 4A , as footsteps are periodically repeated, it can be seen that the acceleration magnitude value 410 also periodically rises and falls according to the footstep cycle. 4A and 4B , the horizontal axis may mean the number of samples. According to various embodiments, samples may be acquired in units of 10 ms, and in this case, 100 samples may mean 1 second.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 320 동작에서 SWS(sliding window summing) 차분값을 확인할 수 있다. 크기가 N인 윈도우에 대응하는 SWS 값은 수학식 2와 같이 정의될 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may check a sliding window summing (SWS) difference value in operation 320 . . An SWS value corresponding to a window having a size of N may be defined as in Equation (2).

Figure pat00003
Figure pat00003

SWS 차분값은 수학식 3과 같이 정의될 수 있다.The SWS difference value may be defined as in Equation (3).

Figure pat00004
Figure pat00004

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 330 동작에서, SWS 차분값에 기초하여 ZC(zero crossing) 지점들을 확인할 수 있다. 다양한 실시예에 따라서, ZC 지점은 SWS 차분값이 양수에서 음수로 바뀌는 과정에서 SWS 차분값이 0이 되는 지점을 의미할 수 있다. 다른 다양한 실시예에 따라서, ZC 지점은 SWS 차분값이 음수에서 양수로 바뀌는 과정에서 SWS 차분값이 0이 되는 지점을 의미할 수 있다.According to various embodiments, at least one processor (eg, processor 120 ) of the electronic device (eg, electronic device 101 ) performs zero crossing (ZC) based on the SWS difference value in operation 330 . points can be checked. According to various embodiments, the ZC point may mean a point at which the SWS difference value becomes 0 while the SWS difference value changes from a positive number to a negative number. According to other various embodiments, the ZC point may mean a point at which the SWS difference value becomes 0 while the SWS difference value is changed from a negative number to a positive number.

도 4b는 다양한 실시예들에 따른, 보행에 따른 SWS 차분값의 예시를 도시한다. 도 4b를 참조하면, 발걸음이 주기적으로 반복됨에 따라, SWS 차분값(420) 또한 발걸음의 주기에 따라 주기적으로 오르내리는 것을 확인할 수 있다. 또한, SWS 차분값(420)이 양수에서 음수로 바뀌는 과정에서 SWS 차분값이 0이 되는 지점들이 ZC 지점들(431, 432, 433, 434, 435, 436, 437, 438, 439)일 수 있다.4B illustrates an example of an SWS difference value according to walking, according to various embodiments. Referring to FIG. 4B , as footsteps are periodically repeated, it can be seen that the SWS difference value 420 also periodically rises and falls according to the footstep cycle. In addition, the points at which the SWS difference value becomes 0 in the process of changing the SWS difference value 420 from a positive number to a negative number may be ZC points 431, 432, 433, 434, 435, 436, 437, 438, 439. .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 340 동작에서, ZC 지점들에 기초하여 한 걸음 구간에 대한 보행 특징 정보를 확인할 수 있다. 한 걸음 구간은 ZC 지점들(431, 432, 433, 434, 435, 436, 437, 438, 439) 중 인접한 두 ZC 지점들 사이로 정의될 수 있다. 다양한 실시예에 따라서, 보행 특징 정보는 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함할 수 있다. 도 4b의 예시에서, ZC 지점들(431, 432, 433, 434, 435, 436, 437, 438, 439)이 9개이므로, 8개의 한 걸음 구간이 정의될 수 있고, 8개의 한 걸음 구간 각각에 대하여 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함하는 보행 특징 정보가 확인될 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a step for a step section based on the ZC points in operation 340 . You can check gait characteristic information. The one-step section may be defined between two adjacent ZC points among the ZC points 431 , 432 , 433 , 434 , 435 , 436 , 437 , 438 , and 439 . According to various embodiments, the gait characteristic information may include a gait frequency, a maximum acceleration magnitude, and variance. In the example of FIG. 4B , since there are nine ZC points 431 , 432 , 433 , 434 , 435 , 436 , 437 , 438 , 439 , 8 step intervals can be defined, and each of the 8 step intervals For , gait characteristic information including a gait frequency, a maximum acceleration magnitude, and a variance may be identified.

보행 빈도 F는 수학식 4와 같이 정의될 수 있다.The walking frequency F may be defined as in Equation (4).

Figure pat00005
Figure pat00005

수학식 4에서,

Figure pat00006
는 n번째 ZC 지점에서의 시간,
Figure pat00007
는 n-1번째 ZC 지점에서의 시간이다.In Equation 4,
Figure pat00006
is the time at the nth ZC point,
Figure pat00007
is the time at the n-1 th ZC point.

n-1번째 ZC 지점 및 n번째 ZC 지점 사이의 한 걸음 구간에 대한 가속도 크기 최댓값은,

Figure pat00008
Figure pat00009
사이의 시간 구간에 대하여,
Figure pat00010
의 최댓값으로 정의될 수 있다. 여기서,
Figure pat00011
Figure pat00012
Figure pat00013
사이의 임의의 시간을 의미할 수 있다.The maximum value of the acceleration magnitude for the step interval between the n-1st ZC point and the nth ZC point is
Figure pat00008
class
Figure pat00009
for the time interval between
Figure pat00010
It can be defined as the maximum value of here,
Figure pat00011
Is
Figure pat00012
class
Figure pat00013
It can mean any time in between.

n-1번째 ZC 지점 및 n번째 ZC 지점 사이의 한 걸음 구간에 대한 분산 V는 수학식 5와 같이 정의될 수 있다.The variance V for the one-step section between the n-1 th ZC point and the n th ZC point may be defined as in Equation 5.

Figure pat00014
Figure pat00014

여기서,

Figure pat00015
Figure pat00016
Figure pat00017
사이의 임의의 시간
Figure pat00018
에서의 3축 가속도의 벡터이고,
Figure pat00019
Figure pat00020
Figure pat00021
사이의 시간 구간에 대한 3축 가속도의 각 성분의 평균값을 성분으로 갖는 평균 가속도 벡터이다. N은
Figure pat00022
Figure pat00023
사이의 시간 구간 내의 샘플 수이다.here,
Figure pat00015
Is
Figure pat00016
class
Figure pat00017
any time between
Figure pat00018
is the vector of the three-axis acceleration at
Figure pat00019
Is
Figure pat00020
class
Figure pat00021
It is an average acceleration vector having as a component the average value of each component of the three-axis acceleration for the time interval between them. N is
Figure pat00022
class
Figure pat00023
The number of samples in the time interval between

일반적으로, 보폭이 작을수록 가속도 크기 최댓값이 작고, 보폭이 클수록 가속도 크기 최댓값이 크다. 또한, 보폭이 작을수록 분산이 작고, 보폭이 클수록 분산이 크다.In general, the smaller the stride length, the smaller the maximum acceleration magnitude, and the larger the stride length, the larger the maximum acceleration magnitude. In addition, the smaller the stride length, the smaller the variance, and the larger the stride length, the greater the variance.

비록 도 3에 도시되지는 않았으나, 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는, 330 동작에서 확인된 ZC 지점들에 기초하여 사용자가 보행 또는 달리기 중인지를 확인하고, 사용자가 보행 또는 달리기 중이라고 확인될 때만 340 동작을 수행할 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는, 인접한 ZC 지점들의 간격이 일정하고, 인접한 ZC 지점들의 간격이 미리 결정된 범위 내에 있다고 확인되는 경우, 사용자가 보행 또는 달리기 중이라고 확인할 수 있다. Although not shown in FIG. 3 , according to various embodiments, the at least one processor 120 of the electronic device 101 determines whether the user is walking or running based on the ZC points identified in operation 330 and , operation 340 may be performed only when it is confirmed that the user is walking or running. According to various embodiments, when it is determined that the interval between adjacent ZC points is constant and the interval between adjacent ZC points is within a predetermined range, the at least one processor 120 of the electronic device 101 allows the user to walk or run You can check that it is in progress.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 복수의 ZC 지점들(431, 432, 433, 434, 435, 436, 437, 438, 439) 중 인접한 ZC 지점들 사이의 시간 간격들을 확인할 수 있고, 확인된 인접한 ZC 지점들 사이의 시간 간격들 사이의 편차가 미리 결정된 수준 이하일 경우에 인접한 ZC 지점들의 간격이 일정하다고 확인할 수 있다. According to various embodiments, the at least one processor 120 may check time intervals between adjacent ZC points among the plurality of ZC points 431 , 432 , 433 , 434 , 435 , 436 , 437 , 438 , 439 . And, when the deviation between the time intervals between the confirmed adjacent ZC points is less than or equal to a predetermined level, it can be confirmed that the intervals of the adjacent ZC points are constant.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 인접한 ZC 지점들 사이의 시간 간격들 중 미리 결정된 범위 내에 있는 시간 간격들이 일정 개수 이상 또는 일정 비율 이상일 때, 인접한 ZC 지점들의 간격이 미리 결정된 범위 내에 있다고 확인할 수 있다. 다양한 실시예에 따라서, 미리 결정된 범위는 통상적인 보행 및 달리기에 대응하는 ZC 지점들 사이의 간격일 수 있다.According to various embodiments, the at least one processor 120 determines that the interval between the adjacent ZC points is within a predetermined range when the number of time intervals within a predetermined range among the time intervals between the adjacent ZC points is greater than or equal to a predetermined number or greater than a predetermined ratio. You can check that it is inside. According to various embodiments, the predetermined range may be an interval between ZC points corresponding to normal walking and running.

도 5는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 5는 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하기 위하여 전자 장치에서 수행되는 동작들을 도시한다.5 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 5 illustrates operations performed in the electronic device to confirm the stride length correction model based on the first acceleration data.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 510 동작에서, 제1 가속도 데이터에 기초하여 획득된 보행 특징 정보를 메모리(예를 들어, 메모리(130))에 저장할 수 있다. 보행 특징 정보에 대한 상세 사항은 도 3의 340 동작을 참조하여 상술하였다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs the gait characteristic acquired based on the first acceleration data in operation 510 . Information may be stored in a memory (eg, memory 130 ). Details of the gait characteristic information have been described above with reference to operation 340 of FIG. 3 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 520 동작에서, 저장된 보행 특징 정보 중 보행 빈도의 변산도(variability)를 확인할 수 있다. 보행 빈도의 변산도는 보행 빈도 값들이 평균으로부터 얼마나 넓게 퍼져서 분포하고 있는지를 나타내는 척도이다. 다양한 실시예에 따라서, 보행 빈도의 변산도는 보행 빈도의 최댓값과 최솟값의 차이로 정의될 수 있다. 다양한 실시예에 따라서, 보행 빈도의 변산도는 보행 빈도의 분산으로 정의될 수 있다. 다양한 실시예에 따라서, 보행 빈도의 변산도는 보행 빈도의 사분위간 범위(interquartile range)로 정의될 수 있다. 보행 빈도의 사분위간 범위

Figure pat00024
는 수학식 6과 같이 정의될 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs the variability of gait frequency among the stored gait characteristic information in operation 520 ( variability) can be checked. The variability of walking frequency is a measure of how widely distributed the walking frequency values are from the mean. According to various embodiments, the variability of the walking frequency may be defined as a difference between the maximum value and the minimum value of the walking frequency. According to various embodiments, the variability of the walking frequency may be defined as a variance of the walking frequency. According to various embodiments, the variability of the walking frequency may be defined as an interquartile range of the walking frequency. Interquartile range of walking frequency
Figure pat00024
can be defined as in Equation (6).

Figure pat00025
Figure pat00025

수학식 6에서,

Figure pat00026
는 보행 빈도 값들을 오름차순으로 나열하였을 때 하위 75%의 보행 빈도를 의미할 수 있다.
Figure pat00027
는 보행 빈도 값들을 오름차순으로 나열하였을 때 하위 25%의 보행 빈도를 의미할 수 있다. In Equation 6,
Figure pat00026
may mean the lower 75% of walking frequency when the walking frequency values are arranged in ascending order.
Figure pat00027
may mean the walking frequency of the lower 25% when the walking frequency values are arranged in ascending order.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 530 동작에서, 저장된 보행 특징 정보의 수가 제1 임계치를 초과하고, 보행 빈도의 변산도가 제2 임계치를 초과하는지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 저장된 보행 특징 정보의 수가 제1 임계치를 초과한다는 것은 저장된 샘플의 수가 충분히 많다는 것을 의미할 수 있다. 다양한 실시예에 따라서, 보행 빈도의 변산도가 제2 임계치를 초과한다는 것은 저장된 샘플이 충분히 다양한 보행 패턴에 대한 데이터를 포함하고 있다는 것을 의미할 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) determines in operation 530 , the number of stored gait characteristic information exceeds the first threshold. and whether the variability of the walking frequency exceeds the second threshold may be checked. According to various embodiments, the fact that the number of stored gait characteristic information exceeds the first threshold may mean that the number of stored samples is sufficiently large. According to various embodiments, that the variability of the gait frequency exceeds the second threshold may mean that the stored sample includes data on a sufficiently diverse gait pattern.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 540 동작에서, 저장된 보행 특징 정보를 보행 패턴에 따라 분류할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 다양한 군집화 알고리즘을 이용하여 540 동작을 수행할 수 있다. 예를 들어, 적어도 하나의 프로세서(120)는 k-mean, AP(affinity propagation), GMM(gaussian mixture model), HAC(hierarchical agglomerative clustering), SC(spectral clustering), 및 DBSCAN(density-based spatial clustering of applications with noise) 중 하나의 방법을 사용하여 보행 특징 정보를 보행 패턴에 따라 분류할 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may classify the stored gait characteristic information according to the gait pattern in operation 540 . can According to various embodiments, the at least one processor 120 may perform operation 540 using various clustering algorithms. For example, the at least one processor 120 may include k-mean, affinity propagation (AP), Gaussian mixture model (GMM), hierarchical agglomerative clustering (HAC), spectral clustering (SC), and density-based spatial clustering (DBSCAN). of applications with noise) can be used to classify gait characteristic information according to gait patterns.

도 6은 다양한 실시예들에 따른, 복수의 클러스터로 분류된 복수의 보행 특징 정보의 예시를 도시한다. 구체적으로, 도 6은 k-mean 방법을 이용하여 복수의 보행 특징 정보를 6개의 클러스터(610, 620, 630, 640, 650, 660)로 분류한 결과를 도시한다. 도 6에서, 각 축이 나타내는, 보행 특징 정보를 구성하는 보행 빈도, 가속도 크기 최댓값, 및 분산은 각각 정규화되었다. 도 6의 예시에서는, 최솟값-최댓값 정규화(min-max normalization)가 사용되었다. 다양한 실시예에 따라서, 복수의 보행 특징 정보를 복수의 클러스터로 분류하기 전에, 최솟값-최댓값 정규화 외에, 제트 스코어 정규화(z-score normalization)와 같은 다양한 정규화 방법이 사용될 수 있다.6 illustrates an example of a plurality of gait characteristic information classified into a plurality of clusters, according to various embodiments. Specifically, FIG. 6 shows a result of classifying a plurality of gait characteristic information into six clusters 610, 620, 630, 640, 650, and 660 using the k-mean method. In FIG. 6 , the gait frequency, the maximum acceleration magnitude, and the variance constituting the gait characteristic information indicated by each axis were normalized, respectively. In the example of FIG. 6 , min-max normalization was used. According to various embodiments, before classifying a plurality of gait characteristic information into a plurality of clusters, in addition to minimum-maximum value normalization, various normalization methods such as z-score normalization may be used.

도 6에서는 도시상의 편의를 위하여 비교적 적은 숫자인 6개의 클러스터로 복수의 보행 특징 정보를 분류한 예시를 도시하였으나, 도 7a 및 도 7b에 도시된 바와 같이, 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 복수의 보행 특징 정보를 더 많은 수의 클러스터로 분류할 수 있다.6 illustrates an example in which a plurality of gait characteristic information is classified into six clusters, which is a relatively small number, for convenience of illustration. However, as shown in FIGS. 7A and 7B , according to various embodiments, at least one processor Reference numeral 120 classifies the plurality of gait characteristic information into a larger number of clusters.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 550 동작에서, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델 및 분산을 기초로 한 제2 보폭 보정 모델을 확인할 수 있다. 도 7a는 다양한 실시예들에 따른, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델의 예시를 도시한다. 도 7b는 다양한 실시예들에 따른, 분산을 기초로 한 제2 보폭 보정 모델의 예시를 도시한다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a first step length correction based on the maximum acceleration magnitude in operation 550 . A second step length correction model based on the model and variance can be identified. 7A illustrates an example of a first stride length correction model based on a maximum acceleration magnitude according to various embodiments of the present disclosure; 7B shows an example of a second stride correction model based on variance, in accordance with various embodiments.

도 7a를 참조하면, 제1 보폭 보정 모델은 제1 보폭 보정 모델의 상한 모델(720a) 및 제1 보폭 보정 모델의 하한 모델(730a)을 포함할 수 있다. 도 7a에 표시된 각각의 점들은 540 동작에서 분류된 각 클러스터의 중심점(centroid)을 나타낸다. 다양한 실시예에 따라서, 도 7a의 보행 빈도-가속도 크기 최댓값 모델(710a)은 도 7a에 표시된 복수의 점들로 표현되는, 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초하여 다항 회귀(polynomial regression) 모델링을 수행한 결과일 수 있다. 다양한 실시예에 따라서, 보행 빈도-가속도 크기 최댓값 모델(710a)을 도출하기 위하여 다항 회귀 모델링 외에 다양한 모델링 방법이 사용될 수 있다.Referring to FIG. 7A , the first stride length correction model may include an upper limit model 720a of the first stride length correction model and a lower limit model 730a of the first stride length correction model. Each point indicated in FIG. 7A represents a centroid of each cluster classified in operation 540 . According to various embodiments, the gait frequency-acceleration magnitude maximal model 710a of FIG. 7A is polynomial regression based on the gait frequency and acceleration magnitude maxima of a plurality of center points, which are represented by the plurality of points shown in FIG. 7A . It may be a result of performing modeling. According to various embodiments, various modeling methods other than polynomial regression modeling may be used to derive the gait frequency-acceleration magnitude maximum model 710a.

다양한 실시예에 따라서, 제1 보폭 보정 모델의 상한 모델(720a)은 보행 빈도-가속도 크기 최댓값 모델(710a)을 수직축 방향으로 평행 이동한 모델로서, 도 7a에 표시된 복수의 점들로 표현되는, 복수의 중심점 중 가속도 크기 최댓값이 제1 보폭 보정 모델의 상한 모델(720a)보다 큰 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 모델로 정의될 수 있다. 예를 들어, 미리 결정된 제1 비율이 15%인 경우, 도 7a에 표시된 복수의 중심점 중 15%의 중심점이 제1 보폭 보정 모델의 상한 모델(720a)보다 위에 위치할 수 있다. According to various embodiments, the upper limit model 720a of the first stride length correction model is a model obtained by moving the walking frequency-acceleration magnitude maximum value model 710a in parallel in the vertical axis direction. It may be defined as a model in which the number of center points having a maximum acceleration magnitude among the center points of is greater than the upper limit model 720a of the first stride correction model corresponds to a first predetermined ratio. For example, when the predetermined first ratio is 15%, 15% of the center points among the plurality of center points shown in FIG. 7A may be located above the upper limit model 720a of the first stride length correction model.

다양한 실시예에 따라서, 제1 보폭 보정 모델의 하한 모델(730a)은 보행 빈도-가속도 크기 최댓값 모델(710a)을 수직축 방향으로 평행 이동한 모델로서, 도 7a에 표시된 복수의 점들로 표현되는, 복수의 중심점 중 가속도 크기 최댓값이 제1 보폭 보정 모델의 하한 모델(730a)보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 모델로 정의될 수 있다. 예를 들어, 미리 결정된 제1 비율이 15%인 경우, 도 7a에 표시된 복수의 중심점 중 15%의 중심점이 제1 보폭 보정 모델의 하한 모델(730a)보다 아래에 위치할 수 있다.According to various embodiments, the lower limit model 730a of the first step length correction model is a model obtained by moving the walking frequency-acceleration magnitude maximum value model 710a in parallel in the vertical axis direction. It may be defined as a model in which the number of center points having the maximum acceleration magnitude among the center points of is smaller than the lower limit model 730a of the first step length correction model corresponds to a first predetermined ratio. For example, when the first predetermined ratio is 15%, 15% of the center points among the plurality of center points shown in FIG. 7A may be located below the lower limit model 730a of the first stride length correction model.

도 7b를 참조하면, 제2 보폭 보정 모델은 제2 보폭 보정 모델의 상한 모델(720b) 및 제2 보폭 보정 모델의 하한 모델(730b)을 포함할 수 있다. 도 7b에 표시된 각각의 점들은 540 동작에서 분류된 각 클러스터의 중심점(centroid)을 나타낸다. 다양한 실시예에 따라서, 도 7b의 보행 빈도-분산 모델(710b)은 도 7b에 표시된 복수의 점들로 표현되는, 복수의 중심점의 보행 빈도 및 분산에 기초하여 다항 회귀(polynomial regression) 모델링을 수행한 결과일 수 있다. 다양한 실시예에 따라서, 보행 빈도-분산 모델(710b)을 도출하기 위하여 다항 회귀(polynomial regression) 모델링 외에 다양한 모델링 방법이 사용될 수 있다.Referring to FIG. 7B , the second stride length correction model may include an upper limit model 720b of the second stride length correction model and a lower limit model 730b of the second stride length correction model. Each point indicated in FIG. 7B represents a centroid of each cluster classified in operation 540 . According to various embodiments, the gait frequency-variance model 710b of FIG. 7B performs polynomial regression modeling based on the gait frequency and variance of a plurality of center points, which are represented by the plurality of points shown in FIG. 7B . could be the result. According to various embodiments, various modeling methods other than polynomial regression modeling may be used to derive the gait frequency-variance model 710b.

다양한 실시예에 따라서, 제2 보폭 보정 모델의 상한 모델(720b)은 보행 빈도-분산 모델(710b)을 수직축 방향으로 평행 이동한 모델로서, 도 7b에 표시된 복수의 점들로 표현되는, 복수의 중심점 중 분산이 제2 보폭 보정 모델의 상한 모델(720b)보다 큰 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 모델로 정의될 수 있다. 예를 들어, 미리 결정된 제1 비율이 15%인 경우, 도 7b에 표시된 복수의 중심점 중 15%의 중심점이 제2 보폭 보정 모델의 상한 모델(720b)보다 위에 위치할 수 있다. According to various embodiments, the upper limit model 720b of the second step length correction model is a model obtained by moving the walking frequency-dispersion model 710b in parallel in the vertical axis direction, and is represented by a plurality of points shown in FIG. 7B , a plurality of center points The middle variance may be defined as a model such that the number of center points greater than the upper limit model 720b of the second stride correction model corresponds to the first predetermined ratio. For example, when the first predetermined ratio is 15%, 15% of the center points among the plurality of center points shown in FIG. 7B may be located above the upper limit model 720b of the second stride length correction model.

다양한 실시예에 따라서, 제2 보폭 보정 모델의 하한 모델(730b)은 보행 빈도-분산 모델(710b)을 수직축 방향으로 평행 이동한 모델로서, 도 7b에 표시된 복수의 점들로 표현되는, 복수의 중심점 중 분산이 제2 보폭 보정 모델의 하한 모델(730b)보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 모델로 정의될 수 있다. 예를 들어, 미리 결정된 제1 비율이 15%인 경우, 도 7b에 표시된 복수의 중심점 중 15%의 중심점이 제2 보폭 보정 모델의 하한 모델(730b)보다 아래에 위치할 수 있다.According to various embodiments, the lower limit model 730b of the second step length correction model is a model obtained by moving the walking frequency-dispersion model 710b in parallel in the vertical axis direction, and is represented by a plurality of points shown in FIG. 7B , a plurality of center points. The middle variance may be defined as a model such that the number of center points smaller than the lower limit model 730b of the second stride correction model corresponds to the first predetermined ratio. For example, when the first predetermined ratio is 15%, 15% of the center points among the plurality of center points shown in FIG. 7B may be located below the lower limit model 730b of the second stride length correction model.

도 8은 다양한 실시예들에 따른, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델의 예시를 도시한다. 도 8을 참조하면, 도 8에 도시된 복수의 점이 나타내는 보행 빈도 및 보폭은 다양한 실시예에 따른 전자 장치(예를 들어, 전자 장치(101))의 사용자 이외의 다른 사람의 걸음에 대하여 측정을 수행함으로써 획득된 값일 수 있다. 다양한 실시예에 따라서, 도 8에 도시된 복수의 점이 나타내는 보행 빈도 및 보폭은 전자 장치(101)의 제조사에서 수행된 실험을 통하여 획득된 값일 수 있다. 8 illustrates an example of a stride length model representing a relationship between a gait frequency and a stride length, according to various embodiments. Referring to FIG. 8 , the gait frequency and stride length indicated by the plurality of dots shown in FIG. 8 are measured with respect to the gait of a person other than the user of the electronic device (eg, the electronic device 101 ) according to various embodiments. It may be a value obtained by performing the operation. According to various embodiments, the walking frequency and stride length indicated by the plurality of dots illustrated in FIG. 8 may be values obtained through an experiment performed by the manufacturer of the electronic device 101 .

다양한 실시예에 따라서, 보폭 모델은 도 8에 도시된 복수의 점이 나타내는 보행 빈도 및 보폭에 기초하여 다항 회귀(polynomial regression) 모델링을 수행한 결과일 수 있다. 다양한 실시예에 따라서, 보폭 모델을 도출하기 위하여 다항 회귀 모델링 외에 다양한 모델링 방법이 사용될 수 있다.According to various embodiments, the stride length model may be a result of performing polynomial regression modeling based on the gait frequency and stride length indicated by the plurality of points illustrated in FIG. 8 . According to various embodiments, various modeling methods other than polynomial regression modeling may be used to derive the stride length model.

도 9는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 9는 보폭 보정 모델에 기초하여 보폭 보정값을 확인하기 위하여 전자 장치에서 수행되는 동작들을 도시한다.9 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 9 illustrates operations performed by the electronic device to confirm a step length correction value based on the stride length correction model.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 910 동작에서 제2 가속도 데이터에 기초하여 보행 특징 정보를 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제2 가속도 데이터에 대하여 도 3에 도시된 동작들을 수행함으로써 보행 특징 정보를 확인할 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) checks gait characteristic information based on the second acceleration data in operation 910 . can According to various embodiments, the at least one processor 120 may check the gait characteristic information by performing the operations illustrated in FIG. 3 on the second acceleration data.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 920 동작에서 보행 패턴 분류 모델에 기초하여 보행 패턴을 확인하고, 보행 패턴에 대응하는 중심점 정보를 확인할 수 있다. 다양한 실시예에 따라서, 보행 패턴을 확인하는 것은, 제2 가속도 데이터에 대응하는 보행 특징 정보가 도 5의 540 동작을 참조하여 상술한 복수의 클러스터 중 어느 클러스터에 속하는지를 확인하는 것일 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 도 5의 540 동작을 참조하여 상술한 다양한 군집화 알고리즘을 이용하여 제2 가속도 데이터에 대응하는 보행 특징 정보가 어느 클러스터에 속하는지를 확인할 수 있다. 다양한 실시예에 따라서, 보행 패턴에 대응하는 중심점은 제2 가속도 데이터에 대응하는 보행 특징 정보가 속하는 클러스터의 중심점일 수 있다. 다양한 실시예에 따라서, 중심점 정보는 중심점에 대응되는 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함할 수 있다.According to various embodiments, at least one processor (eg, processor 120 ) of the electronic device (eg, electronic device 101 ) identifies a gait pattern based on the gait pattern classification model in operation 920 , and , it is possible to check the center point information corresponding to the walking pattern. According to various embodiments, the checking of the gait pattern may include checking which cluster the gait characteristic information corresponding to the second acceleration data belongs to among the plurality of clusters described above with reference to operation 540 of FIG. 5 . According to various embodiments, the at least one processor 120 may determine to which cluster the gait characteristic information corresponding to the second acceleration data belongs by using the various clustering algorithms described above with reference to operation 540 of FIG. 5 . According to various embodiments, the center point corresponding to the gait pattern may be the center point of a cluster to which the gait characteristic information corresponding to the second acceleration data belongs. According to various embodiments, the center point information may include a walking frequency, a maximum acceleration magnitude, and a variance corresponding to the center point.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 930 동작에서 제1 보폭 보정 모델의 상한 모델에 대한 제1 출력, 제1 보폭 보정 모델의 하한 모델에 대한 제2 출력, 제2 보폭 보정 모델의 상한 모델에 대한 제3 출력, 및 제2 보폭 보정 모델의 하한 모델에 대한 제4 출력을 확인할 수 있다. 다양한 실시예에 따라서, 제1 보폭 보정 모델의 상한 모델에 대한 제1 출력은 제1 보폭 보정 모델의 상한 모델에 제2 가속도 데이터에 대응하는 보행 특징 정보의 보행 빈도 값을 대입하여 도출된 가속도 크기 최댓값일 수 있다. 다양한 실시예에 따라서, 제1 보폭 보정 모델의 하한 모델에 대한 제2 출력은, 제1 보폭 보정 모델의 하한 모델에 제2 가속도 데이터에 대응하는 보행 특징 정보의 보행 빈도 값을 대입하여 도출된 가속도 크기 최댓값일 수 있다. 다양한 실시예에 따라서, 제2 보폭 보정 모델의 상한 모델에 대한 제3 출력은, 제2 보폭 보정 모델의 상한 모델에 제2 가속도 데이터에 대응하는 보행 특징 정보의 보행 빈도 값을 대입하여 도출된 분산일 수 있다. 다양한 실시예에 따라서, 제2 보폭 보정 모델의 하한 모델에 대한 제4 출력은, 제2 보폭 보정 모델의 하한 모델에 제2 가속도 데이터에 대응하는 보행 특징 정보의 보행 빈도 값을 대입하여 도출된 분산일 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a first step for the upper limit model of the first stride length correction model in operation 930 . The output, the second output for the lower limit model of the first stride length correction model, the third output for the upper limit model of the second stride length correction model, and the fourth output for the lower limit model of the second stride length correction model may be checked. According to various embodiments, the first output for the upper limit model of the first stride length correction model is the acceleration magnitude derived by substituting the gait frequency value of the gait characteristic information corresponding to the second acceleration data to the upper limit model of the first stride length correction model. It can be the maximum value. According to various embodiments, the second output of the lower limit model of the first stride length correction model may be an acceleration derived by substituting a gait frequency value of gait characteristic information corresponding to the second acceleration data to the lower limit model of the first stride length correction model. It can be the maximum size. According to various embodiments, the third output of the upper limit model of the second stride length correction model is a variance derived by substituting the gait frequency value of the gait characteristic information corresponding to the second acceleration data to the upper limit model of the second stride length correction model. can be According to various embodiments, the fourth output of the lower limit model of the second stride length correction model is a variance derived by substituting the gait frequency value of the gait characteristic information corresponding to the second acceleration data to the lower limit model of the second stride length correction model. can be

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 940 동작에서, 중심점의 가속도 크기 최댓값이 제1 출력보다 크고, 중심점의 분산이 제3 출력보다 큰지 여부를 확인할 수 있다. 중심점의 가속도 크기 최댓값이 제1 출력보다 크고, 중심점의 분산이 제3 출력보다 크다는 것은, 제2 가속도 데이터에 기초하여 확인된 보행 패턴을 나타내는(representing) 중심점이, 전자 장치(101)의 사용자의 평소 보행 패턴을 나타내는(representing) 제1 출력 및 제3 출력보다 크다는 것, 달리 말하면 제2 가속도 데이터가 사용자의 평소 보행 패턴에 비하여 비교적 더 큰 가속도 크기 최댓값 및 분산을 나타낸다는 것을 의미할 수 있다. 일반적으로, 보폭이 작을수록 가속도 크기 최댓값이 작고, 보폭이 클수록 가속도 크기 최댓값이 크므로, 중심점의 가속도 크기 최댓값이 제1 출력보다 크고, 중심점의 분산이 제3 출력보다 크다는 것은 사용자가 평소보다 더 큰 보폭으로 보행하였다는 것을 나타낸다.According to various embodiments, in operation 940 , at least one processor (eg, processor 120 ) of the electronic device (eg, electronic device 101 ) has a maximum acceleration magnitude of the central point greater than the first output. , it is possible to check whether the variance of the center point is greater than the third output. The fact that the maximum value of the acceleration magnitude of the central point is greater than the first output and the dispersion of the central point is greater than the third output means that the central point representing the gait pattern confirmed based on the second acceleration data is the user of the electronic device 101 . Being larger than the first output and the third output representing the usual gait pattern, in other words, may mean that the second acceleration data represents a relatively larger maximum and variance of the acceleration magnitude compared to the user's usual gait pattern. In general, the smaller the stride length, the smaller the maximum acceleration magnitude, and the larger the stride length, the larger the acceleration magnitude maximum. It indicates that you are walking with a large stride.

940 동작에서 중심점의 가속도 크기 최댓값이 제1 출력보다 크고, 중심점의 분산이 제3 출력보다 크다고 확인된 경우, 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 945 동작에서 중심점의 가속도 크기 최댓값, 중심점의 분산, 제1 출력, 및 제3 출력에 기초하여 보폭 보정값을 확인할 수 있다. 다양한 실시예에 따라서, 보폭 보정값

Figure pat00028
은 수학식 7과 같이 정의될 수 있다.In operation 940 , when it is confirmed that the maximum value of the acceleration magnitude of the central point is greater than the first output and the dispersion of the central point is greater than the third output, the at least one processor (eg, the processor 120 ) configures the acceleration magnitude of the central point in operation 945 . The stride correction value may be confirmed based on the maximum value, the variance of the center point, the first output, and the third output. According to various embodiments, the stride correction value
Figure pat00028
can be defined as in Equation 7.

Figure pat00029
Figure pat00029

수학식 7에서,

Figure pat00030
은 수학식 8과 같이 정의될 수 있다.In Equation 7,
Figure pat00030
can be defined as in Equation (8).

Figure pat00031
Figure pat00031

수학식 8에서,

Figure pat00032
은 제1 출력을 의미하고,
Figure pat00033
은 중심점의 가속도 크기 최댓값을 의미한다. In Equation 8,
Figure pat00032
means the first output,
Figure pat00033
is the maximum value of the acceleration magnitude of the central point.

수학식 7에서,

Figure pat00034
은 수학식 9와 같이 정의될 수 있다.In Equation 7,
Figure pat00034
can be defined as in Equation (9).

Figure pat00035
Figure pat00035

수학식 9에서,

Figure pat00036
은 제3 출력을 의미하고,
Figure pat00037
은 중심점의 분산을 의미한다. 수학식 7에서,
Figure pat00038
는 0 이상 1 이하의 값으로 설정될 수 있다. 수학식 7에서,
Figure pat00039
는 제1 보폭 보정 모델 및 제2 보폭 보정 모델에 기초하여 확인된 오차 값을 보폭과 동일 차원을 갖는 보폭 보정값으로 변환하기 위한 양의 상수일 수 있다. 수학식 8을 참조하면
Figure pat00040
이 양수이고, 수학식 9를 참조하면
Figure pat00041
이 양수이므로, 수학식 7에서 도출되는 보폭 보정값
Figure pat00042
은 양의 값을 갖는다. 즉, 사용자가 평소보다 더 큰 보폭으로 보행하였다고 확인될 때, 보폭 보정값
Figure pat00043
은 양의 값을 가질 수 있다.In Equation 9,
Figure pat00036
means the third output,
Figure pat00037
is the variance of the center point. In Equation 7,
Figure pat00038
may be set to a value of 0 or more and 1 or less. In Equation 7,
Figure pat00039
may be a positive constant for converting an error value identified based on the first stride length correction model and the second stride length correction model into a stride length correction value having the same dimension as the stride length. Referring to Equation 8,
Figure pat00040
is a positive number, and referring to Equation 9,
Figure pat00041
Since this is a positive number, the stride correction value derived from Equation 7
Figure pat00042
has a positive value. That is, when it is confirmed that the user walked with a larger stride than usual, the stride correction value
Figure pat00043
may have a positive value.

940 동작에서, 중심점의 가속도 크기 최댓값이 제1 출력 이하이거나, 중심점의 분산이 제3 출력 이하라고 확인되는 경우, 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 950 동작에서 중심점의 가속도 크기 최댓값이 제2 출력보다 작고, 중심점의 분산이 제4 출력보다 작은지 여부를 확인할 수 있다.In operation 940 , if it is determined that the maximum value of the acceleration magnitude of the central point is equal to or less than the first output or the dispersion of the central point is less than or equal to the third output, in operation 950 , at least one processor (eg, the processor 120 ) configures the acceleration of the central point in operation 950 . It may be checked whether the maximum magnitude value is smaller than the second output and the variance of the center point is smaller than the fourth output.

중심점의 가속도 크기 최댓값이 제2 출력보다 작고, 중심점의 분산이 제4 출력보다 작다는 것은, 제2 가속도 데이터에 기초하여 확인된 보행 패턴을 나타내는(representing) 중심점이, 전자 장치(101)의 사용자의 평소 보행 패턴을 나타내는(representing) 제2 출력 및 제4 출력보다 크다는 것, 달리 말하면 제2 가속도 데이터가 사용자의 평소 보행 패턴에 비하여 비교적 더 작은 가속도 크기 최댓값 및 분산을 나타낸다는 것을 의미할 수 있다. 일반적으로, 보폭이 작을수록 가속도 크기 최댓값이 작고, 보폭이 클수록 가속도 크기 최댓값이 크므로, 중심점의 가속도 크기 최댓값이 제2 출력보다 작고, 중심점의 분산이 제4 출력보다 작다는 것은 사용자가 평소보다 더 작은 보폭으로 보행하였다는 것을 나타낸다.The fact that the maximum value of the acceleration magnitude of the central point is smaller than the second output and the dispersion of the central point is smaller than the fourth output means that the central point representing the gait pattern confirmed based on the second acceleration data is the user of the electronic device 101 greater than the second and fourth outputs representing the usual gait pattern of . In general, the smaller the stride length, the smaller the maximum acceleration magnitude, and the larger the stride length, the larger the maximum acceleration magnitude. It indicates that they walked with a smaller stride.

950 동작에서 중심점의 가속도 크기 최댓값이 제2 출력보다 작고, 중심점의 분산이 제4 출력보다 작다고 확인된 경우, 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 955 동작에서 중심점의 가속도 크기 최댓값, 중심점의 분산, 제2 출력, 및 제4 출력에 기초하여 보폭 보정값을 확인할 수 있다. 다양한 실시예에 따라서, 보폭 보정값

Figure pat00044
은 수학식 10과 같이 정의될 수 있다.In operation 950 , if it is confirmed that the maximum value of the acceleration magnitude of the central point is smaller than the second output and the dispersion of the central point is smaller than the fourth output, at least one processor (eg, the processor 120 ) configures the acceleration magnitude of the central point in operation 955 . The stride correction value may be confirmed based on the maximum value, the variance of the center point, the second output, and the fourth output. According to various embodiments, the stride correction value
Figure pat00044
can be defined as in Equation (10).

Figure pat00045
Figure pat00045

수학식 10에서,

Figure pat00046
은 수학식 11과 같이 정의될 수 있다.In Equation 10,
Figure pat00046
can be defined as in Equation 11.

Figure pat00047
Figure pat00047

수학식 11에서,

Figure pat00048
은 제2 출력을 의미하고,
Figure pat00049
은 중심점의 가속도 크기 최댓값을 의미한다. In Equation 11,
Figure pat00048
means the second output,
Figure pat00049
is the maximum value of the acceleration magnitude of the central point.

수학식 9에서,

Figure pat00050
은 수학식 12와 같이 정의될 수 있다.In Equation 9,
Figure pat00050
can be defined as in Equation (12).

Figure pat00051
Figure pat00051

수학식 12에서,

Figure pat00052
은 제4 출력을 의미하고,
Figure pat00053
은 중심점의 분산을 의미한다. 수학식 10에서,
Figure pat00054
는 0 이상 1 이하의 값으로 설정될 수 있다. 수학식 10에서,
Figure pat00055
는 제1 보폭 보정 모델 및 제2 보폭 보정 모델에 기초하여 확인된 오차 값을 보폭과 동일 차원을 갖는 보폭 보정값으로 변환하기 위한 양의 상수일 수 있다. 수학식 11을 참조하면
Figure pat00056
이 양수이고, 수학식 12를 참조하면
Figure pat00057
이 양수이므로, 수학식 10에서 도출되는 보폭 보정값
Figure pat00058
은 음의 값을 갖는다. 즉, 사용자가 평소보다 더 작은 보폭으로 보행하였다고 확인될 때, 보폭 보정값
Figure pat00059
은 음의 값을 가질 수 있다.In Equation 12,
Figure pat00052
means the fourth output,
Figure pat00053
is the variance of the center point. In Equation 10,
Figure pat00054
may be set to a value of 0 or more and 1 or less. In Equation 10,
Figure pat00055
may be a positive constant for converting an error value identified based on the first stride length correction model and the second stride length correction model into a stride length correction value having the same dimension as the stride length. Referring to Equation 11,
Figure pat00056
is a positive number, and referring to Equation 12,
Figure pat00057
Since this is a positive number, the stride correction value derived from Equation 10
Figure pat00058
has a negative value. That is, when it is confirmed that the user walked with a shorter stride than usual, the stride correction value
Figure pat00059
may have a negative value.

950 동작에서 중심점의 가속도 크기 최댓값이 제2 출력 이상이거나, 중심점의 분산이 제4 출력 이상이라고 확인되는 경우, 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 960 동작에서 보폭 보정을 수행하지 않을 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)가 제1 보폭과 보폭 보정값의 합을 제2 보폭으로서 확인하는 경우, 적어도 하나의 프로세서(120)는 보폭 보정값이 0이라고 확인함으로써, 보폭 보정을 수행하지 않을 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 보폭 보정값을 정의하지 않고, 보폭 보정을 수행하지 않을 것을 확인할 수 있다. 이 경우, 제2 보폭은 제1 보폭과 동일할 수 있다.In operation 950 , if it is confirmed that the maximum value of the acceleration magnitude of the central point is equal to or greater than the second output or the dispersion of the central point is greater than or equal to the fourth output, at least one processor (eg, the processor 120 ) performs stride correction in operation 960 . You can confirm that you won't. According to various embodiments, when the at least one processor 120 determines the sum of the first stride length and the stride correction value as the second stride length, the at least one processor 120 determines that the stride correction value is 0, thereby You can confirm that no calibration is performed. According to various embodiments, the at least one processor 120 does not define a stride correction value and may determine that the stride correction is not performed. In this case, the second stride length may be the same as the first stride length.

도 10은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 10은 보정 모델을 외부 전자 장치로부터 수신하는 전자 장치에서 보폭을 확인하기 위하여 수행되는 동작들을 도시한다.10 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 10 illustrates operations performed to check a stride length in an electronic device that receives a correction model from an external electronic device.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1010 동작에서, 외부 전자 장치로부터 보폭 보정 모델을 수신할 수 있다. 다양한 실시예에 따라서, 외부 전자 장치로부터 수신되는 보폭 보정 모델은 보행 빈도 및 가속도 크기 최댓값에 기초한 제1 보폭 보정 모델 및 보행 빈도 및 분산에 기초한 제2 보폭 보정 모델을 포함할 수 있다. 제1 보폭 보정 모델은 제1 보폭 보정 모델의 상한 모델 및 제1 보폭 보정 모델의 하한 모델을 포함할 수 있으며, 제2 보폭 보정 모델은 제2 보폭 보정 모델의 상한 모델 및 제2 보폭 보정 모델의 하한 모델을 포함할 수 있다. 보폭 보정 모델에 관한 상세 사항은 도 5의 550 동작, 도 7a, 및 도 7b를 참조하여 상술한 바와 동일하다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may receive the stride correction model from the external electronic device in operation 1010 . there is. According to various embodiments of the present disclosure, the stride length correction model received from the external electronic device may include a first stride length correction model based on a gait frequency and maximum acceleration magnitude and a second stride length correction model based on a gait frequency and variance. The first stride length correction model may include an upper limit model of the first stride length correction model and a lower limit model of the first stride length correction model, and the second stride length correction model includes an upper limit model of the second stride length correction model and an upper limit model of the second stride length correction model. A lower bound model may be included. Details regarding the step length correction model are the same as described above with reference to operation 550 of FIG. 5 and FIGS. 7A and 7B .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1020 동작에서, 외부 전자 장치의 종류를 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 통신 회로(예를 들어, 통신 모듈(190))를 통하여 외부 전자 장치로부터 외부 전자 장치의 종류를 나타내는 신호를 수신할 수 있다. 외부 전자 장치의 종류는 예를 들어, 스마트폰과 같은 핸드헬드 디바이스, 손목에 착용되는 웨어러블 디바이스, 귀에 착용되는 이어폰형 디바이스, 손가락에 착용되는 웨어러블 디바이스, 머리에 착용되는 헤드 마운티드 디바이스, 헤드폰 형태의 웨어러블 디바이스, 및 발목에 착용되는 웨어러블 디바이스를 포함할 수 있다. 헤드 마운티드 디바이스는, 예를 들어, 안경, 모자, 또는 고글의 형태를 가질 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may identify the type of the external electronic device in operation 1020 . According to various embodiments, the at least one processor 120 may receive a signal indicating the type of the external electronic device from the external electronic device through a communication circuit (eg, the communication module 190 ). Types of the external electronic device include, for example, a handheld device such as a smartphone, a wearable device worn on the wrist, an earphone-type device worn on the ear, a wearable device worn on the finger, a head mounted device worn on the head, and a headphone type. It may include a wearable device and a wearable device worn on the ankle. The head mounted device may take the form of, for example, glasses, a hat, or goggles.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1030 동작에서 가속도 센서를 통하여 가속도 데이터를 획득할 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may acquire acceleration data through the acceleration sensor in operation 1030 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1040 동작에서 가속도 데이터에 기초한 보행 빈도 및 보폭 모델에 기초하여 제1 보폭을 확인할 수 있다. 가속도 데이터에 기초하여 보행 빈도를 확인하는 과정에 대해서는 도 3을 참조하여 상술하였다. 보폭 모델에 관한 상세 사항은 도 2의 240 동작 및 도 8을 참조하여 상술하였다.According to various embodiments, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) is configured to: The first stride length can be checked. The process of determining the gait frequency based on the acceleration data has been described above with reference to FIG. 3 . Details regarding the stride length model have been described above with reference to operation 240 of FIG. 2 and FIG. 8 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1050 동작에서 가속도 데이터 및 보폭 보정 모델에 기초하여 보폭 보정값을 확인할 수 있다. 여기서, 보폭 보정 모델은 1010 동작에서 외부 전자 장치로부터 수신된 보폭 보정 모델일 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a step length correction value based on the acceleration data and the stride length correction model in operation 1050 . can confirm. Here, the stride length correction model may be the stride length correction model received from the external electronic device in operation 1010 .

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1060 동작에서 제1 보폭, 보폭 보정값, 및 외부 전자 장치의 종류에 기초한 가중치에 기초하여 제2 보폭을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 보폭 보정값에 가중치를 곱하고, 여기에 제1 보폭을 더한 값을 제2 보폭으로서 확인할 수 있다. 다양한 실시예에 따라서, 가중치는 외부 전자 장치의 종류 및 전자 장치(101)의 종류에 따라서 달라질 수 있다. 일반적으로, 가속도 데이터가 클수록 가속도 크기 최댓값 및 분산이 크고, 전자 장치(101)와 사용자의 발 사이의 거리가 가까울수록 가속도 데이터가 크다. 다양한 실시예에 따라서, 전자 장치(101)가 외부 전자 장치보다 사용자의 발로부터의 거리가 먼 경우, 가중치는 보폭 보정값을 더 크게 하는, 1보다 더 큰 값으로 설정될 수 있다. 반대로, 전자 장치(101)가 외부 전자 장치보다 사용자의 발로부터의 거리가 가까운 경우, 가중치는 보폭 보정값을 더 작게 하는, 1보다 작은 값으로 설정될 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 메모리(예를 들어, 메모리(130))에는 외부 전자 장치의 종류에 대응하는 가중치의 룩업 테이블이 저장될 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a first step length, a step length correction value, and an external electronic device in operation 1060 . The second stride length may be confirmed based on the weight based on the type of . According to various embodiments, the at least one processor 120 may check a value obtained by multiplying the stride length correction value by a weight and adding the first stride length thereto as the second stride length. According to various embodiments, the weight may vary according to the type of the external electronic device and the type of the electronic device 101 . In general, the greater the acceleration data, the greater the maximum acceleration magnitude and dispersion, and the shorter the distance between the electronic device 101 and the user's feet, the greater the acceleration data. According to various embodiments, when the electronic device 101 is farther from the user's foot than the external electronic device, the weight may be set to a value greater than 1, which increases the stride length correction value. Conversely, when the electronic device 101 has a shorter distance from the user's foot than the external electronic device, the weight may be set to a value smaller than 1, which makes the stride correction value smaller. According to various embodiments, a lookup table of weights corresponding to the type of the external electronic device may be stored in the memory (eg, the memory 130 ) of the electronic device 101 .

도 11a는 다양한 실시예들에 따른, 전자 장치에 표시되는 화면의 예시를 도시한다. 구체적으로, 도 11a는 전자 장치(예를 들어, 전자 장치(101))의 달리기 코칭 기능이 실행될 때 전자 장치(101)의 디스플레이 모듈(160) 상에 표시되는 화면을 도시한다. 11A illustrates an example of a screen displayed on an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 11A illustrates a screen displayed on the display module 160 of the electronic device 101 when a running coaching function of the electronic device (eg, the electronic device 101) is executed.

다양한 실시예에 따라서, 달리기 코칭 기능은 사용자의 속력이 너무 빠르면 조금 천천히 달릴 것을 제안하는 음성 또는 시각적 메시지를 출력하고, 사용자의 속력이 너무 느리면 조금 빠르게 달릴 것을 제안하는 음성 또는 시각적 메시지를 출력하는 기능일 수 있다. 도 11a를 참조하면, 화면(1100)은 코칭 정확도 개선을 위한 보폭 보정 수행을 지시하는 사용자 인터페이스(1110)를 포함할 수 있다.According to various embodiments, the running coaching function outputs a voice or visual message suggesting to run a little slower if the user's speed is too fast, and a function of outputting a voice or visual message suggesting to run a little faster if the user's speed is too slow can be Referring to FIG. 11A , the screen 1100 may include a user interface 1110 instructing to perform stride correction for improving coaching accuracy.

사용자 인터페이스(1110)가 선택되면, 전자 장치(101)는 가속도 데이터를 획득하고, 가속도 데이터에 기초하여 보폭 보정 모델을 확인할 수 있다. 도 11b는 전자 장치(예를 들어, 전자 장치(101))에서 보폭 모델이 확인된 후에 표시될 수 있는 화면을 도시한다.When the user interface 1110 is selected, the electronic device 101 may obtain acceleration data and check a stride correction model based on the acceleration data. 11B illustrates a screen that may be displayed after a stride model is checked in the electronic device (eg, the electronic device 101).

도 11b를 참조하면, 화면(1120)에는 보폭 보정에 기초하여 도출된 보정된 보폭에 기초하여 산출된 운동 상세 정보(1130)가 표시될 수 있다. 또한, 화면(1120)은 보폭에 대한 학습이 완료되었으므로 보다 정확한 운동 정보가 제공될 수 있다는 메시지(1140)를 포함할 수 있다.Referring to FIG. 11B , detailed exercise information 1130 calculated based on the corrected stride length derived based on the stride length correction may be displayed on the screen 1120 . In addition, the screen 1120 may include a message 1140 indicating that more accurate exercise information can be provided because learning on the stride length is completed.

도 12는 다양한 실시예들에 따른, 전자 장치에 표시되는 화면의 예시를 도시한다. 구체적으로, 도 12는 전자 장치(예를 들어, 전자 장치(101))에서 하루 동안의 누적 활동량을 표시하는 화면(1200)의 예시를 도시한다. 도 12를 참조하면, 화면(1200)에서 일별 소모 칼로리(1210)가 표시될 수 있다. 일별 소모 칼로리(1210)는 보폭 보정 모델의 정확도에 따라서 상이한 색상으로 표시될 수 있다. 도 12를 참조하면, 13일 및 14일의 일별 소모 칼로리는 보폭 보정 모델을 확인할 수 있을 정도로 충분한 수의 가속도 데이터가 수집되지 않은 상태에서, 보폭 보정을 수행하지 않고 도출된 값일 수 있다. 15일 및 16일의 일별 소모 칼로리는 보폭 보정 모델 확인을 가능하게 하는 수의 가속도 데이터가 수집되었으나, 정확도가 충분히 높게 하는 가속도 데이터가 수집되지 않았을 때 도출된 값일 수 있다. 17일 및 18일의 일별 소모 칼로리는 보폭 보정 모델의 정확도가 충분히 높을 정도로 가속도 데이터가 충분히 수집되었을 때 도출된 값일 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 가속도 데이터의 수에 대한 미리 정해진 구간을 저장하고, 수집된 가속도 데이터의 수가 어느 구간에 속하는지에 따라서 일별 소모 칼로리를 상이한 색으로 표시할 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 색상 외 다른 시각적 특징, 예를 들어, 모양, 또는 투명도를 상이하게 표시할 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 일별 소모 칼로리 외에도, 보폭에 종속적으로 결정되는 다양한 사용자 활동에 관한 정보를 보폭 보정 모델의 정확도에 따라 시각적 특징을 상이하게 하여 표시할 수 있다.12 illustrates an example of a screen displayed on an electronic device, according to various embodiments of the present disclosure. Specifically, FIG. 12 illustrates an example of a screen 1200 that displays the accumulated activity amount for one day in the electronic device (eg, the electronic device 101 ). Referring to FIG. 12 , daily consumption calories 1210 may be displayed on the screen 1200 . Daily calories consumed 1210 may be displayed in different colors according to the accuracy of the stride length correction model. Referring to FIG. 12 , the daily calories consumed for the 13th and 14th days may be values derived without performing the stride length correction in a state in which a sufficient number of acceleration data to confirm the stride length correction model has not been collected. The daily calorie consumption for the 15th and 16th days may be a value derived when a number of acceleration data enabling confirmation of the stride correction model have been collected, but acceleration data with sufficiently high accuracy have not been collected. The daily calorie consumption for the 17th and 18th days may be a value derived when the acceleration data are sufficiently collected so that the accuracy of the stride length correction model is sufficiently high. According to various embodiments, the at least one processor 120 of the electronic device 101 stores a predetermined section for the number of acceleration data, and sets different daily calorie consumption according to which section the number of collected acceleration data belongs to. can be indicated by color. According to various embodiments, the at least one processor 120 of the electronic device 101 may display a visual characteristic other than a color, for example, a shape or transparency differently. According to various embodiments, the at least one processor 120 of the electronic device 101 may display information about various user activities determined depending on the stride length, in addition to daily calories consumed, as different visual characteristics according to the accuracy of the stride length correction model. can be displayed.

도 12를 참조하면, 화면(1200)에서는 선택된 날짜(도 12의 예시에서는 17일)의 시간별 소모 칼로리가 표시될 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 가속도 데이터의 수에 대한 미리 정해진 구간을 저장하고, 수집된 가속도 데이터의 수가 어느 구간에 속하는지에 따라서 시간별 소모 칼로리를 상이한 색으로 표시할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 화면(1200)에서 가속도 데이터의 수가 제1 개수 미만일 때 시간별 소모 칼로리(1221), 가속도 데이터의 수가 제1 개수 이상이고, 제1 개수보다 큰 제2 개수 미만일 때 시간별 소모 칼로리(1222), 및 가속도 데이터의 수가 제2 개수 이상일 때 시간별 소모 칼로리(1223)는 상이한 색상으로 표시될 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 시간별 소모 칼로리를 표시할 때 가속도 데이터의 수에 따라서 색상 외 다른 시각적 특징, 예를 들어, 모양, 또는 투명도를 상이하게 표시할 수 있다.Referring to FIG. 12 , on the screen 1200 , calories consumed by time of the selected date (17 days in the example of FIG. 12 ) may be displayed. According to various embodiments, the at least one processor 120 of the electronic device 101 stores a predetermined section for the number of acceleration data, and sets different calories consumed per time according to which section the number of collected acceleration data belongs to. can be indicated by color. For example, as shown in FIG. 12 , when the number of acceleration data on the screen 1200 is less than the first number, the number of calories consumed per hour 1221 and the number of acceleration data is greater than or equal to the first number, and the second number is greater than the first number. When the number is less than the number of calories consumed per hour 1222 , and when the number of acceleration data is equal to or greater than the second number, the number of calories consumed per hour 1223 may be displayed in different colors. According to various embodiments, when the at least one processor 120 of the electronic device 101 displays calories consumed by time, a visual characteristic other than a color, for example, a shape, or transparency may be differently changed according to the number of acceleration data. can be displayed

다양한 실시예에 따라서, 화면(1200)에서는 선택된 날짜(도 12의 예시에서는 17일)에 대응하는 걸은 거리(1230) 및 칼로리 소모량(1240)이 표시될 수 있다.According to various embodiments, a walking distance 1230 and a calorie consumption 1240 corresponding to the selected date (17 days in the example of FIG. 12 ) may be displayed on the screen 1200 .

도 13은 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 13은 GPS 데이터를 송수신할 수 있는 전자 장치에서 수행되는 동작들을 도시한다.13 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 13 illustrates operations performed by an electronic device capable of transmitting and receiving GPS data.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1310 동작에서, GPS 데이터를 이용가능한지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 전자 장치(101)가 실내에 위치하여 GPS 신호를 수신할 수 없는 경우, 전자 장치(101)의 적어도 하나의 프로세서(120)는 GPS 데이터를 이용할 수 없다고 확인할 수 있다. 다양한 실시예에 따라서, 수신되는 GPS 신호에 대응되는 위성 수가 충분히 많지 않아서 전자 장치(101)의 위치를 결정할 수 없거나, 전자 장치(101)의 위치를 제한된 정확도로만 결정할 수 있을 때, 전자 장치(101)의 적어도 하나의 프로세서(120)는 GPS 데이터를 이용할 수 없다고 확인할 수 있다.According to various embodiments, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) may determine whether GPS data is available in operation 1310 . According to various embodiments, when the electronic device 101 is located indoors and cannot receive a GPS signal, at least one processor 120 of the electronic device 101 may determine that GPS data is not available. According to various embodiments, when the location of the electronic device 101 cannot be determined because the number of satellites corresponding to the received GPS signal is not large enough, or when the location of the electronic device 101 can be determined only with limited accuracy, the electronic device 101 ) of at least one processor 120 may determine that GPS data is not available.

1310 동작에서 GPS 데이터를 이용할 수 있다고 확인되는 경우, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1315 동작에서 GPS 데이터에 기초하여 보폭 보정을 수행할 수 있다. If it is determined in operation 1310 that the GPS data is available, the at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) is configured to perform the operation 1315 based on the GPS data. You can perform stride correction.

1310 동작에서 GPS 데이터를 이용할 수 없다고 확인되는 경우, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1320 동작에서 자세 변화 조건이 만족되는지를 확인할 수 있다. 적어도 하나의 프로세서(120)가 자세 변화 조건이 만족되는지 확인하는 구체적인 방법에 대해서는 도 14를 참조하여 후술한다.If it is determined in operation 1310 that the GPS data cannot be used, at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101) satisfies the posture change condition in operation 1320 . can check whether A specific method for the at least one processor 120 to determine whether the posture change condition is satisfied will be described later with reference to FIG. 14 .

1320 동작에서 자세 변화 조건이 만족되지 않는 것으로 확인되는 경우, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 자세 변화 조건이 만족되는 것으로 확인될 때까지 자세 변화 조건이 만족되는지를 확인할 수 있다.If it is determined in operation 1320 that the posture change condition is not satisfied, at least one processor (eg, the processor 120) of the electronic device (eg, the electronic device 101) determines that the posture change condition is satisfied. It can be confirmed whether the posture change condition is satisfied until it is confirmed.

1320 동작에서 자세 변화 조건이 만족되는 것으로 확인되는 경우, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는 1330 동작에서 가속도 데이터에 기초하여 보폭 보정을 수행할 수 있다. 가속도 데이터에 기초한 보폭 보정은 가속도 데이터 및 보폭 보정 모델에 기초한 보폭 보정을 의미할 수 있다.When it is determined that the posture change condition is satisfied in operation 1320 , at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) determines in operation 1330 based on the acceleration data Thus, stride correction can be performed. The stride length correction based on the acceleration data may refer to the stride length correction based on the acceleration data and the stride length correction model.

도 13에서는 1310 동작에서 GPS 데이터를 이용할 수 없다고 확인되는 경우, 적어도 하나의 프로세서(120)가 1320 동작에서 자세 변화 조건이 만족되는지 확인하는 예시가 도시되었으나, 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 1310 동작에서 GPS 데이터를 이용할 수 없다고 확인되는 경우 자세 변화 조건과 무관하게 가속도 데이터에 기초하여 보폭 보정을 수행할 수 있다. 가속도 데이터에 기초한 보폭 보정은 가속도 데이터 및 보폭 보정 모델에 기초한 보폭 보정을 의미할 수 있다.In FIG. 13 , when it is determined in operation 1310 that GPS data cannot be used, the at least one processor 120 confirms whether the posture change condition is satisfied in operation 1320 . However, according to various embodiments, at least one processor In operation 1310 , when it is determined that GPS data cannot be used, step 120 may perform stride correction based on the acceleration data regardless of the posture change condition. The stride length correction based on the acceleration data may refer to the stride length correction based on the acceleration data and the stride length correction model.

또한, 도 13에서는 GPS 데이터를 이용할 수 없는 경우에 가속도 데이터에 기초하여 보폭 보정을 수행하고, GPS 데이터를 이용할 수 있는 경우에 GPS 데이터에 기초하여 보폭 보정을 수행하는 예시가 도시되었으나, 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 데이터를 이용할 수 있는 경우에도, GPS 데이터가 전자 장치(101)의 위치가 미리 지정된 영역 내에 있음을 나타내는 경우 가속도 데이터에 기초하여 보폭 보정을 수행할 수 있다. 이 경우, 미리 지정된 영역은, 빌딩이 많은 영역과 같이, 다중경로(multipath) 문제로 GPS 신호의 궤적이 왜곡되어 GPS 데이터를 이용하여 전자 장치(101)의 위치를 결정할 경우 결정되는 위치의 정확도가 제한되는 영역일 수 있다.13 shows an example of performing stride correction based on acceleration data when GPS data is not available and performing stride correction based on GPS data when GPS data is available. Accordingly, even when GPS data is available, the at least one processor 120 may perform stride correction based on the acceleration data when the GPS data indicates that the location of the electronic device 101 is within a predetermined area. there is. In this case, in the predetermined area, like an area with many buildings, the trajectory of the GPS signal is distorted due to a multipath problem, so that the accuracy of the location determined when the location of the electronic device 101 is determined using GPS data is not It may be a restricted area.

도 14는 다양한 실시예들에 따른, 전자 장치에서 수행되는 동작들을 나타내는 흐름도이다. 구체적으로, 도 14는 자세 변화 조건이 만족되는지 확인하기 위하여 전자 장치에서 수행되는 동작들을 도시한다.14 is a flowchart illustrating operations performed by an electronic device according to various embodiments of the present disclosure; Specifically, FIG. 14 illustrates operations performed by the electronic device to determine whether a posture change condition is satisfied.

1410 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 자이로 센서 데이터 확인이 가능한지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 전자 장치(101)에 포함된 자이로 센서가 활성화되어 있는지 여부에 기초하여, 자이로 센서 데이터 확인이 가능한지 여부를 확인할 수 있다.In operation 1410 , the at least one processor 120 of the electronic device 101 may determine whether gyro sensor data can be checked. According to various embodiments, the at least one processor 120 may determine whether the gyro sensor data can be checked based on whether the gyro sensor included in the electronic device 101 is activated.

1410 동작에서 자이로 센서 데이터 확인이 가능하다고 확인된 경우, 전자 장치(101)의 적어도 하나의 프로세서(120)는 1420 동작에서 자이로 센서에 의하여 센싱된 자이로 센서 데이터를 확인할 수 있다.When it is confirmed in operation 1410 that the gyro sensor data can be checked, the at least one processor 120 of the electronic device 101 may check the gyro sensor data sensed by the gyro sensor in operation 1420 .

1425 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 가속도 데이터 및 자이로 센서 데이터에 기초한 센서 퓨전을 이용하여 전자 장치(101)의 롤(roll) 및 피치(pitch)를 확인할 수 있다.In operation 1425 , the at least one processor 120 of the electronic device 101 may check a roll and a pitch of the electronic device 101 using sensor fusion based on the acceleration data and the gyro sensor data. .

1410 동작에서 자이로 센서 데이터 확인이 가능하지 않다고 확인된 경우, 전자 장치(101)의 적어도 하나의 프로세서(120)는 자이로 센서 데이터 없이 가속도 데이터에 기초하여 자세 변화 조건이 만족되는지 여부를 확인할 수 있다. If it is determined in operation 1410 that the gyro sensor data check is not possible, the at least one processor 120 of the electronic device 101 may check whether a posture change condition is satisfied based on the acceleration data without the gyro sensor data.

1430 동작에서, 적어도 하나의 프로세서(120)는 가속도 변화량을 확인할 수 있다. 다양한 실시예에 따라서, 가속도 변화량은 가속도 데이터에 기초하여 확인된, 미리 설정된 시간 간격 동안의 가속도의 크기의 변화량 또는 미리 설정된 시간 간격 동안의 가속도의 특정 방향 성분의 변화량 중 적어도 하나를 포함할 수 있다. In operation 1430 , the at least one processor 120 may check an acceleration change amount. According to various embodiments, the acceleration change amount may include at least one of a change amount of the magnitude of the acceleration for a preset time interval or a change amount of a specific direction component of the acceleration for a preset time interval, which is confirmed based on the acceleration data. .

1435 동작에서, 적어도 하나의 프로세서(120)는 1430 동작에서 확인된 가속도 변화량이 제3 임계치 미만인지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 제3 임계치는 가속도 데이터에 기반하여 미리 설정된 수준의 정확도를 가지고 롤(roll) 및 피치(pitch)를 확인할 수 있는 가속도의 변화량일 수 있다.In operation 1435, the at least one processor 120 may determine whether the amount of acceleration change identified in operation 1430 is less than a third threshold. According to various embodiments of the present disclosure, the third threshold may be an amount of change in acceleration capable of confirming a roll and a pitch with a preset level of accuracy based on the acceleration data.

1435 동작에서 가속도 변화량이 제3 임계치 이상이라고 확인되는 경우, 적어도 하나의 프로세서(120)는 1470 동작에서 자세 변화 조건이 만족되지 않는다고 확인할 수 있다.If it is determined in operation 1435 that the amount of acceleration change is equal to or greater than the third threshold, the at least one processor 120 may determine that the posture change condition is not satisfied in operation 1470 .

1435 동작에서 가속도 변화량이 제3 임계치 미만이라고 확인되는 경우, 적어도 하나의 프로세서(120)는 1440 동작에서 가속도 데이터에 기반하여 롤 및 피치를 확인하고, 1445 동작에서 롤의 변화량 및 피치의 변화량을 확인할 수 있다. 다양한 실시예에 따라서, 롤의 변화량 및 피치의 변화량은 미리 설정된 시간 간격 내에서 롤의 최대값과 최소값의 차이 및 피치의 최대값과 최소값의 차이일 수 있다. If it is determined in operation 1435 that the acceleration change amount is less than the third threshold, the at least one processor 120 checks the roll and pitch based on the acceleration data in operation 1440 , and checks the roll change amount and the pitch change amount in operation 1445 . can According to various embodiments, the amount of change of the roll and the amount of change of the pitch may be the difference between the maximum value and the minimum value of the roll and the difference between the maximum value and the minimum value of the pitch within a preset time interval.

1450 동작에서, 적어도 하나의 프로세서(120)는 롤의 변화량이 제4 임계치 미만이고, 피치의 변화량이 제5 임계치 미만인지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 제4 임계치 및 제5 임계치는 각각 미리 설정된 수준의 정확도를 가지고 사용자의 보행 패턴을 확인할 수 있는 롤의 변화량 및 피치의 변화량일 수 있다.In operation 1450 , the at least one processor 120 may determine whether the amount of change in the roll is less than the fourth threshold and whether the amount of change in the pitch is less than the fifth threshold. According to various embodiments of the present disclosure, the fourth threshold and the fifth threshold may be the amount of change in the roll and the amount of change in the pitch by which the user's gait pattern can be confirmed with a preset level of accuracy, respectively.

1450 동작에서 롤의 변화량이 제2 임계치 미만이고, 피치의 변화량이 제3 임계치 미만이라고 확인되는 경우, 적어도 하나의 프로세서(120)는 1460 동작에서 자세 변화 조건이 만족된다고 확인할 수 있다. If it is determined in operation 1450 that the amount of change in the roll is less than the second threshold and the amount of change in the pitch is less than the third threshold, the at least one processor 120 may determine that the posture change condition is satisfied in operation 1460 .

1450 동작에서 롤의 변화량이 제2 임계치 이상이거나, 피치의 변화량이 제3 임계치 이상이라고 확인되는 경우, 적어도 하나의 프로세서(120)는 1470 동작에서 자세 변화 조건이 만족되지 않는다고 확인할 수 있다.If it is determined in operation 1450 that the amount of change in the roll is equal to or greater than the second threshold or greater than the third threshold, the at least one processor 120 may determine that the posture change condition is not satisfied in operation 1470 .

도 14에서는 전자 장치(101)가 가속도 센서와 자이로 센서를 모두 포함한다는 것을 전제로 설명하였으나, 다양한 실시예에 따라서, 전자 장치(101)는 가속도 센서를 포함하고 자이로 센서를 포함하지 않을 수 있으며, 이 경우, 전자 장치(101)는 1410 동작, 1420 동작, 및 1425 동작을 수행하지 않고, 1410 동작을 수행한 후 1430 동작을 수행할 수 있다.14, the electronic device 101 has been described on the premise that it includes both the acceleration sensor and the gyro sensor, but according to various embodiments, the electronic device 101 may include the acceleration sensor but not the gyro sensor, In this case, the electronic device 101 may perform operation 1430 after performing operation 1410 without performing operation 1410 , operation 1420 , and operation 1425 .

다양한 실시예에 따라서, 전자 장치(101)가 가속도 센서와 자이로 센서를 모두 포함하고, 자이로 센서 데이터를 항상 확인할 수 있는 경우에는, 1410 동작이 생략되고, 1410 동작이 수행된 후 1420 동작 및 1425 동작이 수행될 수 있다. According to various embodiments, when the electronic device 101 includes both the acceleration sensor and the gyro sensor and the gyro sensor data can always be checked, operation 1410 is omitted and operation 1420 and operation 1425 are performed after operation 1410 is performed. This can be done.

또한, 도 14에서는 롤 및 피치의 변화량에 기초하여 자세 변화 조건이 만족되는지 여부가 확인되는 예시를 설명하였으나, 다양한 실시예에 따라서, 롤 및 피치의 변화량 이외에도, 미리 설정된 수준의 정확도를 가지고 사용자의 보행 패턴을 확인할 수 있는 상태를 나타낼 수 있는 다양한 파라미터에 기초하여 자세 변화 조건이 만족되는지 여부가 확인될 수 있다.In addition, although an example has been described in which it is checked whether the posture change condition is satisfied based on the amount of change of the roll and pitch in FIG. 14, according to various embodiments, in addition to the amount of change of the roll and the pitch, the user's with a preset level of accuracy It may be determined whether a posture change condition is satisfied based on various parameters that may indicate a state in which a gait pattern may be confirmed.

다양한 실시예에 따라서, 전자 장치는, 가속도 센서, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 가속도 센서를 통하여 제1 가속도 데이터를 획득하고, 상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하고, 상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하고, 제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고, 상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하도록 구성될 수 있다.According to various embodiments of the present disclosure, an electronic device includes an acceleration sensor, a memory for storing a step length model representing a relationship between a walking frequency and a stride length, and at least one processor, wherein the at least one processor is configured to operate through the acceleration sensor Acquire first acceleration data, confirm a step length correction model based on the first acceleration data, obtain second acceleration data through the acceleration sensor, and obtain a gait frequency based on the second acceleration data and the stride length model based on the second acceleration data to check the first stride length, check the step length correction value based on the second acceleration data and the stride length correction model, and determine the second stride length based on the first stride length and the stride length correction value. .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 제1 가속도 데이터에 기초하여, 복수의 보행 특징 정보를 확인하고, 상기 복수의 보행 특징 정보는 각각 한 걸음 구간에 대응되고, 상기 복수의 보행 특징 정보를 저장하고, 상기 복수의 보행 특징 정보를 보행 패턴에 따라 복수의 클러스터로 분류하고, 상기 복수의 클러스터에 기초하여, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델 및 분산을 기초로 한 제2 보폭 보정 모델을 확인하도록 구성되고, 상기 제1 보폭 보정 모델 및 상기 제2 보폭 보정 모델은 상기 보폭 보정 모델에 포함될 수 있다.According to various embodiments, the at least one processor checks a plurality of gait characteristic information based on the first acceleration data, and the plurality of gait characteristic information corresponds to one step section, respectively, and the plurality of gait characteristic information Storing the characteristic information, classifying the plurality of gait characteristic information into a plurality of clusters according to a gait pattern, based on the plurality of clusters, a first step length correction model based on the maximum acceleration magnitude and variance and identify a second stride length correction model, wherein the first stride length correction model and the second stride length correction model may be included in the stride length correction model.

다양한 실시예에 따라서, 상기 복수의 보행 특징 정보 각각은 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함할 수 있다.According to various embodiments, each of the plurality of gait characteristic information may include a gait frequency, a maximum value of an acceleration magnitude, and a variance.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 저장된 복수의 보행 특징 정보의 수가 제1 임계치를 초과하고, 상기 저장된 복수의 보행 특징 정보에 포함된 보행 빈도의 변산도가 제2 임계치를 초과한다고 확인되는 것에 기초하여, 상기 복수의 보행 특징 정보를 보행 패턴에 따라 분류하도록 구성될 수 있다.According to various embodiments of the present disclosure, the at least one processor may be configured to: A number of the stored plurality of gait characteristic information exceeds a first threshold, and a degree of variability in gait frequency included in the stored plurality of gait characteristic information exceeds a second threshold It may be configured to classify the plurality of gait characteristic information according to a gait pattern based on the confirmation that the gait is performed.

다양한 실시예에 따라서, 상기 제1 보폭 보정 모델은, 상기 복수의 클러스터에 대응되는 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 상한 모델, 및 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 하한 모델을 포함하고, 상기 제2 보폭 보정 모델은, 상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 상한 모델, 및 상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 하한 모델을 포함할 수 있다.According to various embodiments, the first step length correction model may include an upper limit model of the first stride length correction model, and the plurality of center points based on walking frequency and maximum acceleration magnitudes of the plurality of center points corresponding to the plurality of clusters. and a lower limit model of the first step length correction model based on the maximum value of the walking frequency and acceleration magnitude of It may include an upper limit model, and a lower limit model of the second step length correction model based on the walking frequency and variance of the plurality of center points.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 제2 가속도 데이터에 기초하여 제2 보행 특징 정보를 확인하고, 상기 복수의 클러스터 중 상기 제2 보행 특징 정보가 속하는 제1 클러스터의 제1 중심점 정보를 확인하고, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 상한 모델을 적용하여 제1 출력을 확인하고, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 하한 모델을 적용하여 제2 출력을 확인하고, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 상한 모델을 적용하여 제3 출력을 확인하고, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 하한 모델을 적용하여 제4 출력을 확인하고, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제1 출력보다 크고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제3 출력보다 크다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제1 출력, 및 상기 제3 출력에 기초하여 상기 보폭 보정값을 확인하고, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제2 출력보다 작고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제4 출력보다 작다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제2 출력, 및 상기 제4 출력에 기초하여 상기 보폭 보정값을 확인하도록 구성될 수 있다.According to various embodiments of the present disclosure, the at least one processor may check second gait characteristic information based on the second acceleration data, and a first center point of a first cluster to which the second gait characteristic information belongs among the plurality of clusters. information is checked, the first output is confirmed by applying the upper limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information, and the second gait frequency included in the second gait characteristic information is applied to the gait frequency. The second output is confirmed by applying the lower limit model of the first step length correction model, the third output is confirmed by applying the upper limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information, and the third output is confirmed. 2 The fourth output is confirmed by applying the lower limit model of the second stride length correction model to the gait frequency included in the gait characteristic information, and the maximum acceleration magnitude included in the first central point information is greater than the first output, and the first Based on it is confirmed that the variance included in the first center point information is greater than the third output, the maximum acceleration magnitude included in the first center point information, the variance included in the first center point information, the first output, and the first 3 The stride correction value is checked based on the output, the maximum acceleration magnitude included in the first central point information is smaller than the second output, and it is confirmed that the variance included in the first central point information is smaller than the fourth output based on the first central point information, the maximum acceleration magnitude included in the information, the variance included in the first central point information, the second output, and the fourth output may be configured to check the stride correction value .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초하여, 보행 빈도-가속도 크기 최댓값 모델을 확인하고, 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 상한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 상한 모델을 확인하고, 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 큰 중심점의 수가 상기 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 하한 모델을 확인하도록 구성될 수 있다.According to various embodiments, the at least one processor is configured to identify a walking frequency-acceleration magnitude maximum value model based on the walking frequency and acceleration magnitude maximum values of the plurality of center points, and the walking frequency-acceleration magnitude maximum value model based on the walking frequency-acceleration magnitude maximum value model. , Among the plurality of central points, the maximum value of the acceleration magnitude confirmed by applying the walking frequency of each of the plurality of central points to the upper limit model of the first step length correction model is smaller than the maximum value of the acceleration magnitude of each of the plurality of central points The number of central points is predetermined Check the upper limit model of the first step length correction model to correspond to the first ratio, and based on the walking frequency-acceleration magnitude maximum value model, the walking frequency of each of the plurality of center points among the plurality of center points is the first The first step length correction model in which the number of central points in which the maximum acceleration magnitude confirmed by applying to the lower limit model of the stride correction model is greater than the maximum acceleration magnitude of each of the plurality of central points corresponds to the first predetermined ratio Confirm the lower limit model of the step length correction model can be configured to

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 분산에 기초하여, 보행 빈도-분산 모델을 확인하고, 상기 보행 빈도-분산 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 상한 모델에 적용하여 확인되는 분산이 상기 복수의 중심점 각각의 분산보다 작은 중심점의 수가 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 상한 모델을 확인하고, 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 분산보다 큰 중심점의 수가 상기 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 하한 모델을 확인하도록 구성될 수 있다.According to various embodiments of the present disclosure, the at least one processor is configured to identify a walking frequency-variance model based on the walking frequency and variance of the plurality of center points, and based on the walking frequency-variance model, among the plurality of center points, , the number of center points in which the variance of the walking frequency of each of the plurality of center points is smaller than the variance of each of the plurality of center points by applying to the upper limit model of the second step length correction model corresponds to a predetermined second ratio. Check the upper limit model of the stride length correction model, and based on the walking frequency-acceleration magnitude maximum model, the gait frequency of each of the plurality of central points among the plurality of central points is applied to the lower limit model of the second stride correction model. and identify a lower limit model of the second stride length correction model such that the number of center points in which the maximum acceleration magnitude is greater than the variance of each of the plurality of center points corresponds to the second predetermined ratio.

다양한 실시예에 따라서, 상기 전자 장치는 GPS 회로를 더 포함하고, 상기 적어도 하나의 프로세서는, 상기 GPS 회로를 통하여 GPS 통신이 이용가능한지 여부를 확인하고, 상기 GPS 통신을 이용할 수 없다고 확인되는 것에 기초하여, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하도록 구성될 수 있다.According to various embodiments, the electronic device further includes a GPS circuit, wherein the at least one processor determines whether GPS communication is available through the GPS circuit, and based on determining that the GPS communication is not available Accordingly, the step length correction value may be confirmed based on the second acceleration data and the stride length correction model.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서는, 상기 GPS 통신을 이용할 수 없다고 확인되는 것에 기초하여, 상기 전자 장치의 움직임의 정도가 미리 결정된 수준 미만임을 나타내는 자세 변화 조건이 만족되는지 여부를 확인하고, 상기 자세 변화 조건이 만족된다고 확인되는 것에 기초하여, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하도록 구성될 수 있다.According to various embodiments, the at least one processor determines whether a posture change condition indicating that the degree of movement of the electronic device is less than a predetermined level is satisfied based on it is determined that the GPS communication is not available; , based on it is confirmed that the posture change condition is satisfied, and confirm a step length correction value based on the second acceleration data and the stride length correction model.

다양한 실시예에 따라서, 전자 장치는, 가속도 센서, 보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리, 통신 회로, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통하여, 외부 전자 장치로부터 보폭 보정 모델을 수신하고, 상기 외부 전자 장치의 종류를 확인하고, 상기 가속도 센서를 통하여 가속도 데이터를 획득하고, 상기 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고, 상기 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고, 상기 제1 보폭, 상기 보폭 보정값, 및 상기 외부 전자 장치의 종류에 기초한 가중치에 기초하여 제2 보폭을 확인하도록 구성될 수 있다.According to various embodiments, an electronic device includes an acceleration sensor, a memory for storing a step length model representing a relationship between a walking frequency and a stride length, a communication circuit, and at least one processor, wherein the at least one processor is configured to: Receive a step length correction model from an external electronic device through a circuit, check a type of the external electronic device, obtain acceleration data through the acceleration sensor, and walk frequency based on the acceleration data and based on the step length model A first step length is checked, a step length compensation value is checked based on the acceleration data and the step length compensation model, and a second step length compensation value is confirmed based on the first step length, the step length compensation value, and a weight based on the type of the external electronic device. It may be configured to check the stride length.

다양한 실시예에 따라서,전자 장치에서 수행되는 방법은, 가속도 센서를 통하여 제1 가속도 데이터를 획득하는 동작, 상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작, 상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하는 동작, 제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하는 동작, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하는 동작, 및 상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the method performed in the electronic device includes obtaining first acceleration data through an acceleration sensor, identifying a step length correction model based on the first acceleration data, and performing a second operation through the acceleration sensor. The operation of acquiring acceleration data, the operation of confirming the first stride length based on the walking frequency and the stride length model based on the second acceleration data, the operation of confirming the step length correction value based on the second acceleration data and the stride length correction model , and confirming a second stride length based on the first stride length and the stride length correction value.

다양한 실시예에 따라서, 상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작은, 상기 제1 가속도 데이터에 기초하여, 각각 한 걸음 구간에 대응되는 복수의 보행 특징 정보를 확인하는 동작, 상기 복수의 보행 특징 정보를 저장하는 동작, 상기 복수의 보행 특징 정보를 보행 패턴에 따라 복수의 클러스터로 분류하는 동작, 및 상기 복수의 클러스터에 기초하여, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델 및 분산을 기초로 한 제2 보폭 보정 모델을 확인하는 동작을 포함하고, 상기 제1 보폭 보정 모델 및 상기 제2 보폭 보정 모델은 상기 보폭 보정 모델에 포함될 수 있다.According to various embodiments, the checking of the step length correction model based on the first acceleration data may include checking a plurality of pieces of gait characteristic information corresponding to each step section based on the first acceleration data; A first step length correction model based on an operation of storing a plurality of gait characteristic information, an operation of classifying the plurality of gait characteristic information into a plurality of clusters according to a gait pattern, and a maximum value of an acceleration magnitude based on the plurality of clusters and checking a second stride length correction model based on variance, wherein the first stride length correction model and the second stride length correction model may be included in the stride length correction model.

다양한 실시예에 따라서, 상기 복수의 보행 특징 정보 각각은 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함할 수 있다.According to various embodiments, each of the plurality of gait characteristic information may include a gait frequency, a maximum value of an acceleration magnitude, and a variance.

다양한 실시예에 따라서, 상기 복수의 보행 특징 정보를 보행 패턴에 따라 분류하는 동작은, 상기 저장된 복수의 보행 특징 정보의 수가 제1 임계치를 초과하고, 상기 저장된 복수의 보행 특징 정보에 포함된 보행 빈도의 변산도가 제2 임계치를 초과한다고 확인되는 것에 기초하여 수행될 수 있다.According to various embodiments, the classifying of the plurality of gait characteristic information according to the gait pattern may include: the number of the stored plurality of gait characteristic information exceeds a first threshold, and a gait frequency included in the stored plurality of gait characteristic information. It may be performed based on it is determined that the variability of ? exceeds the second threshold.

다양한 실시예에 따라서, 상기 제1 보폭 보정 모델은, 상기 복수의 클러스터에 대응되는 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 상한 모델, 및 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 하한 모델을 포함하고, 상기 제2 보폭 보정 모델은, 상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 상한 모델, 및 상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 하한 모델을 포함할 수 있다.According to various embodiments, the first step length correction model may include an upper limit model of the first stride length correction model, and the plurality of center points based on walking frequency and maximum acceleration magnitudes of the plurality of center points corresponding to the plurality of clusters. and a lower limit model of the first step length correction model based on the maximum value of the walking frequency and acceleration magnitude of It may include an upper limit model, and a lower limit model of the second step length correction model based on the walking frequency and variance of the plurality of center points.

다양한 실시예에 따라서, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하는 동작은, 상기 제2 가속도 데이터에 기초하여 제2 보행 특징 정보를 확인하는 동작, 상기 복수의 클러스터 중 상기 제2 보행 특징 정보가 속하는 제1 클러스터의 제1 중심점 정보를 확인하는 동작, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 상한 모델을 적용하여 제1 출력을 확인하는 동작, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 하한 모델을 적용하여 제2 출력을 확인하는 동작, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 상한 모델을 적용하여 제3 출력을 확인하는 동작, 상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 하한 모델을 적용하여 제4 출력을 확인하는 동작, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제1 출력보다 크고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제3 출력보다 크다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제1 출력, 및 상기 제3 출력에 기초하여 상기 보폭 보정값을 확인하는 동작, 및 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제2 출력보다 작고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제4 출력보다 작다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제2 출력, 및 상기 제4 출력에 기초하여 상기 보폭 보정값을 확인하는 동작을 포함할 수 있다.According to various embodiments, the confirming of the step length correction value based on the second acceleration data and the step length correction model may include identifying second gait characteristic information based on the second acceleration data, and the plurality of clusters. checking the first center point information of the first cluster to which the second gait characteristic information belongs, and applying the upper limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information to obtain a first output Confirming operation, operation of confirming a second output by applying the lower limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information, the second gait frequency included in the second gait characteristic information Checking the third output by applying the upper limit model of the second step length correction model, checking the fourth output by applying the lower limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information; Acceleration included in the first central point information based on it being confirmed that the maximum acceleration magnitude included in the first central point information is greater than the first output and that the variance included in the first central point information is greater than the third output Checking the step length correction value based on the maximum magnitude value, the variance included in the first center point information, the first output, and the third output, and the maximum acceleration magnitude value included in the first center point information is the first 2, based on it being confirmed that the variance contained in the first center point information is smaller than the fourth output, the maximum acceleration magnitude included in the first center point information, the variance contained in the first center point information, and the and confirming the step length correction value based on the second output and the fourth output.

다양한 실시예에 따라서, 상기 복수의 클러스터에 기초하여, 상기 가속도 크기 최댓값을 기초로 한 상기 제1 보폭 보정 모델을 확인하는 동작은, 상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초하여, 보행 빈도-가속도 크기 최댓값 모델을 확인하는 동작, 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 상한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 상한 모델을 확인하는 동작, 및 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 큰 중심점의 수가 상기 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 하한 모델을 확인하는 동작을 포함할 수 있다.According to various embodiments, the checking of the first stride length correction model based on the maximum value of the acceleration magnitude based on the plurality of clusters may include, in the at least one processor, gait frequency and acceleration of the plurality of center points. Based on the maximum size, walking frequency-acceleration size maximum value model is confirmed The operation of confirming the upper limit model of the first stride correction model such that the number of central points in which the maximum acceleration magnitude checked by applying to the upper limit model of the model is smaller than the maximum acceleration magnitude of each of the plurality of central points corresponds to a first predetermined ratio; and based on the walking frequency-acceleration magnitude maximal model, among the plurality of central points, the gait frequency of each of the plurality of central points is applied to the lower limit model of the first step length correction model and the acceleration magnitude maximum value is the plurality of central points. and checking a lower limit model of the first stride length correction model such that the number of center points greater than each acceleration magnitude maximum value corresponds to the first predetermined ratio.

다양한 실시예에 따라서, 상기 복수의 클러스터에 기초하여, 상기 분산을 기초로 한 상기 제2 보폭 보정 모델을 확인하는 동작은, 상기 복수의 중심점의 보행 빈도 및 분산에 기초하여, 보행 빈도-분산 모델을 확인하는 동작, 상기 보행 빈도-분산 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 상한 모델에 적용하여 확인되는 분산이 상기 복수의 중심점 각각의 분산보다 작은 중심점의 수가 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 상한 모델을 확인하는 동작, 및 상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 분산보다 큰 중심점의 수가 상기 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 하한 모델을 확인하는 동작을 포함할 수 있다.According to various embodiments, the checking of the second stride length correction model based on the variance based on the plurality of clusters may include, based on the walking frequency and variance of the plurality of center points, a walking frequency-variance model. Based on the gait frequency-variance model, the gait frequency of each of the plurality of center points among the plurality of center points is applied to the upper limit model of the second stride length correction model to determine the variance confirmed by the plurality of center points identifying an upper limit model of the second stride length correction model such that the number of center points smaller than each variance corresponds to a second predetermined ratio, and based on the walking frequency-acceleration magnitude maximum model, among the plurality of center points, The number of center points in which the gait frequency of each of the plurality of center points is larger than the variance of each of the plurality of center points by applying to the lower limit model of the second step length correction model to determine the maximum value of the center point corresponds to the predetermined second ratio. It may include checking the lower limit model of the second stride length correction model.

다양한 실시예에 따라서, 상기 방법은 GPS 통신이 이용가능한지 여부를 확인하는 동작을 더 포함하고, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 상기 보폭 보정값을 확인하는 동작은, 상기 GPS 통신을 이용할 수 없다고 확인되는 것에 응답하여 수행될 수 있다.According to various embodiments, the method further includes checking whether GPS communication is available, and the checking of the step length correction value based on the second acceleration data and the step length correction model may include: may be performed in response to confirming that the .

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

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

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

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

Claims (20)

전자 장치에 있어서,
가속도 센서,
보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리, 및
적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 가속도 센서를 통하여 제1 가속도 데이터를 획득하고,
상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하고,
상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하고,
제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고,
상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고,
상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하도록 구성되는, 전자 장치.
In an electronic device,
accelerometer,
a memory storing a stride model representing a relationship between gait frequency and stride length; and
at least one processor;
the at least one processor,
acquiring first acceleration data through the acceleration sensor;
check the stride length correction model based on the first acceleration data;
acquiring second acceleration data through the acceleration sensor;
confirming the first stride length based on the gait frequency and the stride length model based on the second acceleration data;
check a step length correction value based on the second acceleration data and the stride length correction model;
and identify a second stride length based on the first stride length and the stride length correction value.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 제1 가속도 데이터에 기초하여, 복수의 보행 특징 정보를 확인하고, 상기 복수의 보행 특징 정보는 각각 한 걸음 구간에 대응되고,
상기 복수의 보행 특징 정보를 저장하고,
상기 복수의 보행 특징 정보를 보행 패턴에 따라 복수의 클러스터로 분류하고,
상기 복수의 클러스터에 기초하여, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델 및 분산을 기초로 한 제2 보폭 보정 모델을 확인하도록 구성되고,
상기 제1 보폭 보정 모델 및 상기 제2 보폭 보정 모델은 상기 보폭 보정 모델에 포함되는, 전자 장치.
According to claim 1,
the at least one processor,
Based on the first acceleration data, a plurality of gait characteristic information is checked, and the plurality of gait characteristic information corresponds to one step section, respectively,
Storing the plurality of gait characteristic information,
Classifying the plurality of gait characteristic information into a plurality of clusters according to gait patterns,
and identify, based on the plurality of clusters, a first stride correction model based on an acceleration magnitude maximum and a second stride correction model based on variance;
and the first stride length correction model and the second stride length correction model are included in the stride length correction model.
제2항에 있어서,
상기 복수의 보행 특징 정보 각각은 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함하는, 전자 장치.
3. The method of claim 2,
The electronic device, wherein each of the plurality of gait characteristic information includes a gait frequency, a maximum acceleration magnitude, and a variance.
제3항에 있어서, 상기 적어도 하나의 프로세서는,
상기 저장된 복수의 보행 특징 정보의 수가 제1 임계치를 초과하고, 상기 저장된 복수의 보행 특징 정보에 포함된 보행 빈도의 변산도가 제2 임계치를 초과한다고 확인되는 것에 기초하여, 상기 복수의 보행 특징 정보를 보행 패턴에 따라 분류하도록 구성되는, 전자 장치.
The method of claim 3, wherein the at least one processor comprises:
Based on it being confirmed that the number of the stored plurality of gait characteristic information exceeds a first threshold and the degree of variability in gait frequency included in the stored plurality of gait characteristic information exceeds a second threshold, the plurality of gait characteristic information and classify according to a gait pattern.
제2항에 있어서,
상기 제1 보폭 보정 모델은,
상기 복수의 클러스터에 대응되는 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 상한 모델, 및
상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 하한 모델을 포함하고,
상기 제2 보폭 보정 모델은,
상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 상한 모델, 및
상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 하한 모델을 포함하는, 전자 장치.
3. The method of claim 2,
The first step length correction model,
An upper limit model of the first step length correction model, based on the maximum value of the walking frequency and acceleration magnitude of the plurality of center points corresponding to the plurality of clusters, and
a lower limit model of the first step length correction model based on the maximum value of the walking frequency and acceleration magnitude of the plurality of center points;
The second step length correction model,
an upper limit model of the second step length correction model based on the walking frequency and variance of the plurality of center points; and
and a lower limit model of the second step length correction model based on the walking frequency and variance of the plurality of center points.
제5항에 있어서,
상기 적어도 하나의 프로세서는,
상기 제2 가속도 데이터에 기초하여 제2 보행 특징 정보를 확인하고,
상기 복수의 클러스터 중 상기 제2 보행 특징 정보가 속하는 제1 클러스터의 제1 중심점 정보를 확인하고,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 상한 모델을 적용하여 제1 출력을 확인하고,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 하한 모델을 적용하여 제2 출력을 확인하고,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 상한 모델을 적용하여 제3 출력을 확인하고,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 하한 모델을 적용하여 제4 출력을 확인하고,
상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제1 출력보다 크고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제3 출력보다 크다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제1 출력, 및 상기 제3 출력에 기초하여 상기 보폭 보정값을 확인하고,
상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제2 출력보다 작고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제4 출력보다 작다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제2 출력, 및 상기 제4 출력에 기초하여 상기 보폭 보정값을 확인하도록 구성되는, 전자 장치.
6. The method of claim 5,
the at least one processor,
Checking second gait characteristic information based on the second acceleration data,
check first center point information of a first cluster to which the second gait characteristic information belongs among the plurality of clusters;
Check the first output by applying the upper limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information,
Checking the second output by applying the lower limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information,
Checking the third output by applying the upper limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information,
A fourth output is confirmed by applying the lower limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information,
Acceleration included in the first central point information based on it being confirmed that the maximum acceleration magnitude included in the first central point information is greater than the first output and that the variance included in the first central point information is greater than the third output Check the stride correction value based on the maximum magnitude value, the variance included in the first center point information, the first output, and the third output,
The acceleration included in the first central point information is based on it being confirmed that the maximum acceleration magnitude included in the first central point information is smaller than the second output and that the variance included in the first central point information is smaller than the fourth output and determine the stride correction value based on a magnitude maximum value, a variance included in the first center point information, the second output, and the fourth output.
제5항에 있어서,
상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초하여, 보행 빈도-가속도 크기 최댓값 모델을 확인하고,
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 상한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 상한 모델을 확인하고,
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 큰 중심점의 수가 상기 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 하한 모델을 확인하도록 구성되는, 전자 장치.
6. The method of claim 5,
The at least one processor, based on the walking frequency and the maximum acceleration magnitude of the plurality of center points, identifies a walking frequency-acceleration magnitude maximum value model,
Based on the walking frequency-acceleration magnitude maximum model, among the plurality of central points, each of the plurality of central points is applied to the upper limit model of the first stride length correction model, and the acceleration magnitude maximum value confirmed by each of the plurality of central points Check the upper limit model of the first stride correction model such that the number of center points smaller than the maximum acceleration magnitude of the first step corresponds to a first predetermined ratio,
Based on the walking frequency-acceleration magnitude maximum model, among the plurality of central points, each of the plurality of central points is applied to the lower limit model of the first step length correction model to determine the maximum acceleration magnitude value, each of the plurality of central points and identify a lower bound model of the first stride correction model such that a number of center points greater than an acceleration magnitude maximum of n corresponds to the first predetermined ratio.
제5항에 있어서,
상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 분산에 기초하여, 보행 빈도-분산 모델을 확인하고,
상기 보행 빈도-분산 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 상한 모델에 적용하여 확인되는 분산이 상기 복수의 중심점 각각의 분산보다 작은 중심점의 수가 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 상한 모델을 확인하고,
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 분산보다 큰 중심점의 수가 상기 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 하한 모델을 확인하도록 구성되는, 전자 장치.
6. The method of claim 5,
The at least one processor, based on the walking frequency and variance of the plurality of center points, identifies a walking frequency-variance model,
Based on the walking frequency-variance model, among the plurality of center points, the variance confirmed by applying the walking frequency of each of the plurality of center points to the upper limit model of the second step length correction model is smaller than the variance of each of the plurality of center points confirming the upper limit model of the second stride length correction model such that the number of center points corresponds to a second predetermined ratio;
Based on the walking frequency-acceleration magnitude maximal model, among the plurality of central points, each of the plurality of central points is applied to the lower limit model of the second step length correction model, and the acceleration magnitude maximum value confirmed is each of the plurality of central points and identify a lower bound model of the second stride length correction model such that a number of centroids greater than a variance of n t corresponds to the second predetermined ratio.
제1항에 있어서,
상기 전자 장치는 GPS 회로를 더 포함하고,
상기 적어도 하나의 프로세서는,
상기 GPS 회로를 통하여 GPS 데이터가 이용가능한지 여부를 확인하고,
상기 GPS 데이터를 이용할 수 없다고 확인되는 것에 기초하여, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하도록 구성되는, 전자 장치.
According to claim 1,
The electronic device further comprises a GPS circuit,
the at least one processor,
Checking whether GPS data is available through the GPS circuit,
and determine a stride correction value based on the second acceleration data and the stride correction model based on determining that the GPS data is not available.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 GPS 데이터를 이용할 수 없다고 확인되는 것에 기초하여, 상기 전자 장치의 움직임의 정도가 미리 결정된 수준 미만임을 나타내는 자세 변화 조건이 만족되는지 여부를 확인하고,
상기 자세 변화 조건이 만족된다고 확인되는 것에 기초하여, 상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하도록 구성되는, 전자 장치.
10. The method of claim 9,
the at least one processor,
Based on it is confirmed that the GPS data is not available, it is determined whether a posture change condition indicating that the degree of movement of the electronic device is less than a predetermined level is satisfied;
and confirm a step length correction value based on the second acceleration data and the stride length correction model based on it being confirmed that the posture change condition is satisfied.
전자 장치에서 수행되는 방법에 있어서,
가속도 센서를 통하여 제1 가속도 데이터를 획득하는 동작,
상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작,
상기 가속도 센서를 통하여 제2 가속도 데이터를 획득하는 동작,
제2 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하는 동작,
상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하는 동작, 및
상기 제1 보폭 및 상기 보폭 보정값에 기초하여 제2 보폭을 확인하는 동작을 포함하는 방법.
A method performed in an electronic device, comprising:
acquiring first acceleration data through the acceleration sensor;
checking a step length correction model based on the first acceleration data;
acquiring second acceleration data through the acceleration sensor;
confirming the first stride length based on the gait frequency and the stride length model based on the second acceleration data;
checking a step length correction value based on the second acceleration data and the step length correction model; and
and determining a second stride length based on the first stride length and the stride length correction value.
제11항에 있어서,
상기 제1 가속도 데이터에 기초하여 보폭 보정 모델을 확인하는 동작은,
상기 제1 가속도 데이터에 기초하여, 각각 한 걸음 구간에 대응되는 복수의 보행 특징 정보를 확인하는 동작,
상기 복수의 보행 특징 정보를 저장하는 동작,
상기 복수의 보행 특징 정보를 보행 패턴에 따라 복수의 클러스터로 분류하는 동작, 및
상기 복수의 클러스터에 기초하여, 가속도 크기 최댓값을 기초로 한 제1 보폭 보정 모델 및 분산을 기초로 한 제2 보폭 보정 모델을 확인하는 동작을 포함하고,
상기 제1 보폭 보정 모델 및 상기 제2 보폭 보정 모델은 상기 보폭 보정 모델에 포함되는, 방법.
12. The method of claim 11,
The operation of confirming the step length correction model based on the first acceleration data includes:
checking a plurality of pieces of gait characteristic information corresponding to each step section based on the first acceleration data;
storing the plurality of gait characteristic information;
classifying the plurality of gait characteristic information into a plurality of clusters according to gait patterns, and
based on the plurality of clusters, identifying a first stride length correction model based on the maximum acceleration magnitude and a second stride length correction model based on variance;
and the first stride correction model and the second stride correction model are included in the stride correction model.
제12항에 있어서,
상기 복수의 보행 특징 정보 각각은 보행 빈도, 가속도 크기 최댓값, 및 분산을 포함하는, 방법.
13. The method of claim 12,
Each of the plurality of gait characteristic information includes a gait frequency, a maximum acceleration magnitude, and a variance.
제13항에 있어서,
상기 복수의 보행 특징 정보를 보행 패턴에 따라 분류하는 동작은,
상기 저장된 복수의 보행 특징 정보의 수가 제1 임계치를 초과하고, 상기 저장된 복수의 보행 특징 정보에 포함된 보행 빈도의 변산도가 제2 임계치를 초과한다고 확인되는 것에 기초하여 수행되는, 방법.
14. The method of claim 13,
The operation of classifying the plurality of gait characteristic information according to gait patterns includes:
The method is performed on the basis of determining that the number of the stored plurality of gait characteristic information exceeds a first threshold, and the variability of gait frequency included in the stored plurality of gait characteristic information exceeds a second threshold.
제12항에 있어서,
상기 제1 보폭 보정 모델은,
상기 복수의 클러스터에 대응되는 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 상한 모델, 및
상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초한, 상기 제1 보폭 보정 모델의 하한 모델을 포함하고,
상기 제2 보폭 보정 모델은,
상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 상한 모델, 및
상기 복수의 중심점의 보행 빈도 및 분산에 기초한, 상기 제2 보폭 보정 모델의 하한 모델을 포함하는, 방법.
13. The method of claim 12,
The first step length correction model,
An upper limit model of the first step length correction model, based on the maximum value of the walking frequency and acceleration magnitude of the plurality of center points corresponding to the plurality of clusters, and
a lower limit model of the first step length correction model based on the maximum value of the walking frequency and acceleration magnitude of the plurality of center points;
The second step length correction model,
an upper limit model of the second step length correction model based on the walking frequency and variance of the plurality of center points; and
and a lower bound model of the second stride length correction model based on the gait frequency and variance of the plurality of center points.
제15항에 있어서,
상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하는 동작은,
상기 제2 가속도 데이터에 기초하여 제2 보행 특징 정보를 확인하는 동작,
상기 복수의 클러스터 중 상기 제2 보행 특징 정보가 속하는 제1 클러스터의 제1 중심점 정보를 확인하는 동작,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 상한 모델을 적용하여 제1 출력을 확인하는 동작,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제1 보폭 보정 모델의 하한 모델을 적용하여 제2 출력을 확인하는 동작,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 상한 모델을 적용하여 제3 출력을 확인하는 동작,
상기 제2 보행 특징 정보에 포함되는 보행 빈도에 상기 제2 보폭 보정 모델의 하한 모델을 적용하여 제4 출력을 확인하는 동작,
상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제1 출력보다 크고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제3 출력보다 크다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제1 출력, 및 상기 제3 출력에 기초하여 상기 보폭 보정값을 확인하는 동작, 및
상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값이 상기 제2 출력보다 작고, 상기 제1 중심점 정보에 포함되는 분산이 상기 제4 출력보다 작다고 확인되는 것에 기초하여, 상기 제1 중심점 정보에 포함되는 가속도 크기 최댓값, 상기 제1 중심점 정보에 포함되는 분산, 상기 제2 출력, 및 상기 제4 출력에 기초하여 상기 보폭 보정값을 확인하는 동작을 포함하는, 방법.
16. The method of claim 15,
Checking the step length correction value based on the second acceleration data and the stride length correction model includes:
checking second gait characteristic information based on the second acceleration data;
checking first center point information of a first cluster to which the second gait characteristic information belongs among the plurality of clusters;
checking the first output by applying the upper limit model of the first stride length correction model to the gait frequency included in the second gait characteristic information;
checking a second output by applying a lower limit model of the first stride length correction model to a gait frequency included in the second gait characteristic information;
confirming a third output by applying the upper limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information;
confirming a fourth output by applying the lower limit model of the second stride length correction model to the gait frequency included in the second gait characteristic information;
Acceleration included in the first central point information based on it being confirmed that the maximum acceleration magnitude included in the first central point information is greater than the first output and that the variance included in the first central point information is greater than the third output checking the stride correction value based on the maximum magnitude value, the variance included in the first center point information, the first output, and the third output, and
Acceleration included in the first central point information based on it being confirmed that the maximum acceleration magnitude included in the first central point information is smaller than the second output and that the variance included in the first central point information is smaller than the fourth output and determining the stride correction value based on the maximum magnitude value, the variance included in the first center point information, the second output, and the fourth output.
제15항에 있어서,
상기 복수의 클러스터에 기초하여, 상기 가속도 크기 최댓값을 기초로 한 상기 제1 보폭 보정 모델을 확인하는 동작은,
상기 적어도 하나의 프로세서는, 상기 복수의 중심점의 보행 빈도 및 가속도 크기 최댓값에 기초하여, 보행 빈도-가속도 크기 최댓값 모델을 확인하는 동작,
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 상한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 작은 중심점의 수가 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 상한 모델을 확인하는 동작, 및
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제1 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 가속도 크기 최댓값보다 큰 중심점의 수가 상기 미리 결정된 제1 비율에 대응하도록 하는 상기 제1 보폭 보정 모델의 하한 모델을 확인하는 동작을 포함하는, 방법.
16. The method of claim 15,
The operation of confirming the first step length correction model based on the maximum value of the acceleration magnitude based on the plurality of clusters,
the at least one processor, based on the walking frequency and the maximum acceleration magnitude of the plurality of center points, confirming a walking frequency-acceleration magnitude maximum value model;
Based on the walking frequency-acceleration magnitude maximum model, among the plurality of central points, each of the plurality of central points is applied to the upper limit model of the first stride length correction model, and the acceleration magnitude maximum value confirmed by each of the plurality of central points identifying an upper limit model of the first stride correction model such that the number of center points smaller than the maximum acceleration magnitude of
Based on the walking frequency-acceleration magnitude maximum model, among the plurality of central points, each of the plurality of central points is applied to the lower limit model of the first step length correction model to determine the maximum acceleration magnitude value, each of the plurality of central points and identifying a lower bound model of the first stride correction model such that the number of center points greater than the acceleration magnitude maximum of n corresponds to the first predetermined ratio.
제15항에 있어서,
상기 복수의 클러스터에 기초하여, 상기 분산을 기초로 한 상기 제2 보폭 보정 모델을 확인하는 동작은,
상기 복수의 중심점의 보행 빈도 및 분산에 기초하여, 보행 빈도-분산 모델을 확인하는 동작,
상기 보행 빈도-분산 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 상한 모델에 적용하여 확인되는 분산이 상기 복수의 중심점 각각의 분산보다 작은 중심점의 수가 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 상한 모델을 확인하는 동작, 및
상기 보행 빈도-가속도 크기 최댓값 모델에 기초하여, 상기 복수의 중심점 중, 상기 복수의 중심점 각각의 보행 빈도가 상기 제2 보폭 보정 모델의 하한 모델에 적용하여 확인되는 가속도 크기 최댓값이 상기 복수의 중심점 각각의 분산보다 큰 중심점의 수가 상기 미리 결정된 제2 비율에 대응하도록 하는 상기 제2 보폭 보정 모델의 하한 모델을 확인하는 동작을 포함하는, 방법.
16. The method of claim 15,
The operation of confirming the second stride length correction model based on the variance based on the plurality of clusters,
based on the walking frequency and variance of the plurality of center points, confirming a walking frequency-dispersion model;
Based on the walking frequency-variance model, among the plurality of center points, the variance confirmed by applying the walking frequency of each of the plurality of center points to the upper limit model of the second step length correction model is smaller than the variance of each of the plurality of center points identifying an upper limit model of the second stride length correction model such that the number of center points corresponds to a second predetermined ratio; and
Based on the walking frequency-acceleration magnitude maximal model, among the plurality of central points, each of the plurality of central points is applied to the lower limit model of the second step length correction model, and the acceleration magnitude maximum value confirmed is each of the plurality of central points identifying a lower bound model of the second stride length correction model such that a number of centroids greater than a variance of n t corresponds to the second predetermined ratio.
제11항에 있어서,
상기 방법은 GPS 통신이 이용가능한지 여부를 확인하는 동작을 더 포함하고,
상기 제2 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 상기 보폭 보정값을 확인하는 동작은, 상기 GPS 통신을 이용할 수 없다고 확인되는 것에 응답하여 수행되는, 방법.
12. The method of claim 11,
The method further comprises the operation of checking whether GPS communication is available,
and determining the step length correction value based on the second acceleration data and the stride length correction model is performed in response to determining that the GPS communication is unavailable.
전자 장치에 있어서,
가속도 센서,
보행 빈도와 보폭 사이의 관계를 나타내는 보폭 모델을 저장하는 메모리,
통신 회로, 및
적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통하여, 외부 전자 장치로부터 보폭 보정 모델을 수신하고,
상기 외부 전자 장치의 종류를 확인하고,
상기 가속도 센서를 통하여 가속도 데이터를 획득하고,
상기 가속도 데이터에 기초한 보행 빈도 및 상기 보폭 모델에 기초하여 제1 보폭을 확인하고,
상기 가속도 데이터 및 상기 보폭 보정 모델에 기초하여 보폭 보정값을 확인하고,
상기 제1 보폭, 상기 보폭 보정값, 및 상기 외부 전자 장치의 종류에 기초한 가중치에 기초하여 제2 보폭을 확인하도록 구성되는, 전자 장치.
In an electronic device,
accelerometer,
a memory storing a stride model representing the relationship between gait frequency and stride length;
communication circuitry, and
at least one processor;
the at least one processor,
receiving a stride correction model from an external electronic device through the communication circuit;
Check the type of the external electronic device,
Acceleration data is obtained through the acceleration sensor,
confirming a first stride length based on the gait frequency and the stride length model based on the acceleration data;
check a step length correction value based on the acceleration data and the stride length correction model;
and identify a second stride length based on a weight based on the first stride length, the stride length correction value, and a type of the external electronic device.
KR1020200128297A 2020-10-05 2020-10-05 Electronic device identifying information related to walking and operation method of the same KR20220045489A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200128297A KR20220045489A (en) 2020-10-05 2020-10-05 Electronic device identifying information related to walking and operation method of the same
PCT/KR2021/011975 WO2022075603A1 (en) 2020-10-05 2021-09-03 Electronic device for identifying information relating to walking, and an operation method of electronic device for identifying information relating to walking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200128297A KR20220045489A (en) 2020-10-05 2020-10-05 Electronic device identifying information related to walking and operation method of the same

Publications (1)

Publication Number Publication Date
KR20220045489A true KR20220045489A (en) 2022-04-12

Family

ID=81126641

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200128297A KR20220045489A (en) 2020-10-05 2020-10-05 Electronic device identifying information related to walking and operation method of the same

Country Status (2)

Country Link
KR (1) KR20220045489A (en)
WO (1) WO2022075603A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118909A (en) * 2004-10-20 2006-05-11 Matsushita Electric Works Ltd Walking meter
US7647196B2 (en) * 2007-08-08 2010-01-12 Dp Technologies, Inc. Human activity monitoring device with distance calculation
US10959649B2 (en) * 2015-01-29 2021-03-30 Beijing Shunyuan Kaihua Technology Limited Systems and methods for stride length calibration
JP7173673B2 (en) * 2018-06-25 2022-11-16 ラピスセミコンダクタ株式会社 Semiconductor device, portable terminal device, stride derivation method and program
KR102150973B1 (en) * 2019-05-22 2020-09-02 포항공과대학교 산학협력단 Method and apparatus for providing excercise information

Also Published As

Publication number Publication date
WO2022075603A1 (en) 2022-04-14

Similar Documents

Publication Publication Date Title
US20230147478A1 (en) Method for calibrating geomagnetic sensor of electronic device and electronic device thereof
KR20220102715A (en) Electronic device and method to automatically control the brightness of electronic device
KR20220102436A (en) Electronic device and method for determining user's posture using acceleration sensor of wearable electronic device
KR20220045489A (en) Electronic device identifying information related to walking and operation method of the same
KR20230013385A (en) Electronic apparatus and operating method thereof
KR20220087104A (en) Wearable device and method for detecting motion gesture of the wearable device
KR20220001666A (en) Hearable device connected electronic device and operating method thereof
KR20220043534A (en) Electronic device providing contents recommendation service and method thereof
KR20220018854A (en) Electronic device detecting wearing state of electronic device using inertial sensor and method for controlling thereof
US20240033575A1 (en) Wearable electronic device for outputting information on exercise, and control method of wearable electronic device
KR20240049065A (en) Electronic device and method for performing fall detection
EP4294027A1 (en) Electronic device for controlling speed of workout video and control method thereof
US20220401815A1 (en) Method for providing workout data using a plurality of electronic devices and electronic devices therefor
US11995752B2 (en) Electronic device and method for displaying character object based on priority of multiple states in electronic device
EP4372710A1 (en) Electronic device and method for performing fall detection
KR20220126555A (en) Electronic device and method for determining user's step length using motion sensor and gps module of electronic device
EP4270160A1 (en) Method for reducing fatigue level of eyes and electronic device therefor
US20230046769A1 (en) Electronic device and method for displaying character object based on priority of multiple states in electronic device
US20220225054A1 (en) Electronic device for measuring posture of user and method thereof
KR20220107470A (en) Electronic device and method for providing service
KR20240047891A (en) Exercise data processing method and electronic device performing the same
KR20230020328A (en) Electronic device for modifying an image and method thereof
KR20230105049A (en) Wearable electronic device that can be mounted on user's head and method for providing function using biometric information in the electronic device
KR20240047871A (en) Electronic device for providing exercise route information and method for controlling thereof
KR20220079172A (en) Method for detecting hand washing behavior and electronic device thereof